Commit graph

1425 commits

Author SHA1 Message Date
android-build-team Robot
040bebb1b9 Snap for 5746716 from 36c48e4023 to qt-c2f2-release
Change-Id: I4e6375053e6ba7a693067863d19a53bdf14f55d6
2019-07-23 03:11:40 +00:00
Tri Vo
36c48e4023 DO NOT MERGE Demote libpower_test to postsubmit
The state of the test device w.r.t. root permissions is not guaranteed,
which leads to this test (and others) to be flaky.

Bug: 137888802
Test: n/a
Change-Id: Ieb87e3275289b11f843c18343e5d50a41c7b1993
(cherry picked from commit 329dbd296d)
2019-07-19 18:27:56 +00:00
Ahmed ElArabawy
86d26ee18d Merge "Wifi: Update the wifi_sar_scenario enum" 2019-04-03 14:54:00 +00:00
Ahmed ElArabawy
ed29afb0b6 Wifi: Add ether type to sending offloaded packet
In current implementation, the ether type used for offloaded
packets is always hardcoded to IPv4 in lower layers.
This commit adds support to specify ether type of offloaded
packets from user space.

Bug: 122487582
Test: Manual
Change-Id: I1ca7391bd70ecebaf0591e0eafe08b79383538c5
2019-04-02 15:30:59 -07:00
Ahmed ElArabawy
151427c297 Wifi: Update the wifi_sar_scenario enum
This commit updates the enum for wifi_sar_scenario.

Bug: 112205428
Test: Compiles (just a header file change)
Change-Id: If01d0daf5e535e8fdca6eeab115f6c409cc38c46
2019-03-29 01:54:49 +00:00
Ahmed ElArabawy
fc49b8693e Wifi: Add ether_type to sending offloaded packet
This commit is part of the addition of the ether_type as an argument
to the legacy hal function to send an offloaded packet.

Bug: 122487582
Test: Manual
Test: Make sure code builds properly
Change-Id: I5c56acb74f5724ac3d6199433c7632177bfc9704
2019-03-18 15:58:41 -07:00
Jooyung Han
18bd84a68a Merge "Revert "Mark libhardware_legacy as double_loadable"" am: 0f90ed1ffc am: 1a0ad92fd9
am: 3617f1eb59

Change-Id: I266b995a4c863cf84176fc79ed509308148650b5
2019-03-12 15:33:44 -07:00
Jooyung Han
3617f1eb59 Merge "Revert "Mark libhardware_legacy as double_loadable"" am: 0f90ed1ffc
am: 1a0ad92fd9

Change-Id: Ic9218d86f5963043e08fa8ab8d87be8601304e58
2019-03-12 15:28:42 -07:00
Jooyung Han
1a0ad92fd9 Merge "Revert "Mark libhardware_legacy as double_loadable""
am: 0f90ed1ffc

Change-Id: Ib15b303f5b5f6a8a1e87ee9ba625bfc3ee3e4ffa
2019-03-12 15:24:41 -07:00
Treehugger Robot
0f90ed1ffc Merge "Revert "Mark libhardware_legacy as double_loadable"" 2019-03-12 22:11:27 +00:00
Jooyung Han
53a4f1a31f Revert "Mark libhardware_legacy as double_loadable"
This reverts commit 3ec8dc636a.

Reason for revert: libhardware_legacy is no longer used by libmediandk(aosp/915075)

Change-Id: I74accc24cf20dae40c29a3b1a2fcd985346143cb
2019-03-11 14:11:02 +00:00
Tri Vo
f6335797c7 Merge "libpower: remove VTS configs" am: 2bd0b3da7e am: ee40e5225e
am: dd7156f26e

Change-Id: I7fea8ae637b7448fd03b88f306363843000e236a
2019-03-01 10:13:36 -08:00
Tri Vo
dd7156f26e Merge "libpower: remove VTS configs" am: 2bd0b3da7e
am: ee40e5225e

Change-Id: I61d6953420519c898b11997ad87f17135b719447
2019-03-01 09:59:08 -08:00
Tri Vo
ee40e5225e Merge "libpower: remove VTS configs"
am: 2bd0b3da7e

Change-Id: I11b3c499224801016ade398f7894ff6426ba8f8e
2019-03-01 09:42:59 -08:00
Treehugger Robot
2bd0b3da7e Merge "libpower: remove VTS configs" 2019-03-01 17:30:34 +00:00
Tri Vo
0f6b6bdf59 libpower: remove VTS configs
Rationale:
- libpower_test is not part of VTS compliance.
- we already rely on TEST_MAPPING for continuous integration.

Bug: n/a
Test: n/a
Change-Id: I20830712276a04be98b4c60d6d24036998501de6
2019-02-28 14:31:57 -08:00
Xin Li
832e184f43 Merge stage-aosp-master into pi-dev-plus-aosp
am: a78a06d7d3

Change-Id: I317089608ec6625026efd4005f563bf7120a678d
2019-02-25 05:36:55 -08:00
Xin Li
a78a06d7d3 Merge stage-aosp-master into pi-dev-plus-aosp
Bug: 126125118
Change-Id: I47c7f0d8fad0aac954e88402ce0068d978337086
2019-02-25 00:30:27 -08:00
Xin Li
6b3259d4f3 DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-master
Bug: 120848293
Change-Id: I4d500884139b866223b9fb4cd5da0b49f2f6ac72
2019-02-20 16:19:27 -08:00
Jooyung Han
eb3a40b2de Merge "Mark libhardware_legacy as double_loadable" am: 8258648600 am: e394c4d180
am: 58ffd829c7

Change-Id: I22b4ed3261c4441b4307ccf8638df9326bf30ffb
2019-02-13 20:57:17 -08:00
Jooyung Han
58ffd829c7 Merge "Mark libhardware_legacy as double_loadable" am: 8258648600
am: e394c4d180

Change-Id: I06dd6c17d3ad636266b17ef95bb7008325071ed1
2019-02-13 20:51:40 -08:00
Jooyung Han
e394c4d180 Merge "Mark libhardware_legacy as double_loadable"
am: 8258648600

Change-Id: Ife2d3846e22588b162db48892308afd94015e3ab
2019-02-13 20:22:59 -08:00
Treehugger Robot
8258648600 Merge "Mark libhardware_legacy as double_loadable" 2019-02-14 02:10:05 +00:00
Jooyung Han
3ec8dc636a Mark libhardware_legacy as double_loadable
libhardware_legacy is a VNDK lib and also used by LLNDK(libmediandk)
which means this lib can be double-loaded.

deps:
 - libmediandk -> libmedia_jni -> libandroid_runtime -> libhardware_legacy

Bug: 121280180
Test: m -j
Change-Id: I169e6fe520edb4a6961a6452b22b49b9bfbdf823
2019-02-08 11:44:08 +09:00
Tri Vo
6a565cd7f3 Merge "libpower: add TEST_MAPPING" am: 6827114793 am: b9599c61dd
am: 53068026d1

Change-Id: I0b030150d0004b0b63bdf9353c63b5d53dbbdd00
2019-02-04 19:48:39 -08:00
Tri Vo
53068026d1 Merge "libpower: add TEST_MAPPING" am: 6827114793
am: b9599c61dd

Change-Id: Ie2fddbcba958e77f7e76012a99efae9942b75056
2019-02-04 19:42:31 -08:00
Tri Vo
b9599c61dd Merge "libpower: add TEST_MAPPING"
am: 6827114793

Change-Id: Ib52303bfc32f59d105c202db1b61dc4eb85a61f1
2019-02-04 19:27:40 -08:00
Tri Vo
6827114793 Merge "libpower: add TEST_MAPPING" 2019-02-05 03:15:26 +00:00
Tri Vo
850ab7e2a0 libpower: add TEST_MAPPING
Bug: n/a
Test: presubmit
Change-Id: Ib2505acb33871eb920c9ed7d62cabd6ad7e36839
2019-02-03 18:18:23 -08:00
Jimmy Chen
630281abbf Merge "p2p: synchronize p2p random MAC feature flag from driver." 2019-01-23 02:53:10 +00:00
Jimmy Chen
a922b0809f p2p: synchronize p2p random MAC feature flag from driver.
P2P random MAC needs the driver to support changing MAC address.

Bug: 118904478
Test: manual test
      * Enter WiFI Direct Page
      * check the feature is enabled in logcat
        * WifiP2pService: Supported feature: P2P MAC randomization
      * check p2p0 MAC address is randomized.

Change-Id: Iadae3cf74722d29014caffe7080e0efa44a7659e
2019-01-17 10:59:23 +08:00
Peng Xu
c499510957 Add NDPE attribute config and enable support
Add NDPE attribute config and enable support so that the framework
can decide the usage of it.

Bug: 113149569
Bug: 112586769
Test: (ACTS) act.py ThroughputTest:test_iperf_max_ndi_aware_only_passphrases
Test: (CTS) atest SingleDeviceTest

Change-Id: I0c93ba53fa7de3e346ab0913d04bd670a528ec4e
2019-01-15 17:26:29 -08:00
Tri Vo
4035c5ce86 Merge "libpower: handle SystemSuspend shutdown on client side." am: 899b195ce7 am: 18cb7da6ea
am: da84ea052b

Change-Id: I0f1151c068e79d147203e547084da4884d18dee8
2018-12-04 19:24:42 -08:00
Tri Vo
da84ea052b Merge "libpower: handle SystemSuspend shutdown on client side." am: 899b195ce7
am: 18cb7da6ea

Change-Id: I8031bcf1236d953427be35c4cc0497a6737866cd
2018-12-04 19:20:12 -08:00
Tri Vo
18cb7da6ea Merge "libpower: handle SystemSuspend shutdown on client side."
am: 899b195ce7

Change-Id: I07e79066d5df7c9bc3aa5e3c467f32ccce4b2172
2018-12-04 19:15:10 -08:00
Treehugger Robot
899b195ce7 Merge "libpower: handle SystemSuspend shutdown on client side." 2018-12-05 03:00:02 +00:00
Tri Vo
631215c63a libpower: handle SystemSuspend shutdown on client side.
On device shutdown, it's possible for SystemSuspend to have exited
before its clients. We change libpower to handle this case by checking
DEAD_OBJECT transaction error, so that client can shutdown cleanly.

Fixes: 120292523
Test: libpower_test
Change-Id: Ie43b72f2c326a9dcdc48371c03b4d97d7fd4e12a
2018-12-04 16:22:28 -08:00
Ahmed ElArabawy
dc1658a9fc Wifi: Support setting latency mode
This commit adds the enum and prototype to enable setting of wifi
latency mode.

Bug: 34905427
Test: Unit test
Test: ./hardware/interfaces/wifi/1.3/default/tests/runtests.sh
Test: VTS test
Test: run vts -m VtsHalWifiV1_3TargetTest

Change-Id: I846fd5f41b740be9ebf2efb16be87d456b573b2a
2018-12-03 16:00:31 -08:00
Tri Vo
a376f0ceac Merge "Handle concurrent exit and wake lock acquisition." am: 8803d61599 am: b69e9a62c7
am: d3429a0c72

Change-Id: I423a17cfd5b25d4dc7cce7d3191f637bf9106b45
2018-11-29 11:40:28 -08:00
Tri Vo
d3429a0c72 Merge "Handle concurrent exit and wake lock acquisition." am: 8803d61599
am: b69e9a62c7

Change-Id: I72cfd53e8441f2ee9d1fe4e643f7056d5da17cd7
2018-11-29 11:29:07 -08:00
Tri Vo
b69e9a62c7 Merge "Handle concurrent exit and wake lock acquisition."
am: 8803d61599

Change-Id: I38e255cf1c48e8b7097c61ad62d775c5b9cdd44b
2018-11-29 11:15:41 -08:00
Tri Vo
8803d61599 Merge "Handle concurrent exit and wake lock acquisition." 2018-11-29 18:51:24 +00:00
Tri Vo
ca0b45a15e Handle concurrent exit and wake lock acquisition.
We use "-Wexit-time-destructors" and "-fno-c++-static-destructors" flags
to make sure that no static variables are destroyed at exit time.

We do this to avoid the race condition between process exit and use of
static vars when calling acquire/release_wake_lock().

Bug: 117575503
Test: libpower_test
Change-Id: I16acfeb2412685e376d8bd1069c86f60f56d215a
2018-11-28 16:04:12 -08:00
Tri Vo
88479ce7a4 Merge "libpower: try detect memory corruption and abort" am: 3e7f1b1a79 am: 53b0b7e011
am: 7ca5dbd0a4

Change-Id: I7da9145fd619e81539669feb378c59e0e12db24a
2018-11-16 17:27:42 -08:00
Tri Vo
7ca5dbd0a4 Merge "libpower: try detect memory corruption and abort" am: 3e7f1b1a79
am: 53b0b7e011

Change-Id: I1b43833b6cd404f5147d68f9992ff18817b7f8c7
2018-11-16 17:23:40 -08:00
Tri Vo
53b0b7e011 Merge "libpower: try detect memory corruption and abort"
am: 3e7f1b1a79

Change-Id: I3dbe172bffce0bd12bf8bbacd0de0a591dd47ac3
2018-11-16 17:19:35 -08:00
Tri Vo
3e7f1b1a79 Merge "libpower: try detect memory corruption and abort" 2018-11-17 01:07:52 +00:00
Tri Vo
a8742d6851 libpower: try detect memory corruption and abort
Bug: 117575503
Test: device boots
Change-Id: Idf81ad5591c675473624dc4d0a057ae715ed748f
2018-11-16 14:35:13 -08:00
Tri Vo
c1054a7187 Merge "VTS configs for libpower test." am: 66487b5083 am: d9dd1c1a06
am: b1f506cd23

Change-Id: I062f593c801467c393cb5e962db7863560827af2
2018-10-27 14:09:16 -07:00
Tri Vo
b1f506cd23 Merge "VTS configs for libpower test." am: 66487b5083
am: d9dd1c1a06

Change-Id: I2128b2a3a7104a4fab6dd21655d80d5c95ea6b75
2018-10-27 14:05:25 -07:00