Commit graph

1611 commits

Author SHA1 Message Date
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
Tri Vo
d9dd1c1a06 Merge "VTS configs for libpower test."
am: 66487b5083

Change-Id: I5b10f6c2bf726e2640996f8eb866c275e35fd53e
2018-10-27 14:01:21 -07:00
Tri Vo
66487b5083 Merge "VTS configs for libpower test." 2018-10-27 20:49:38 +00:00
Tri Vo
ff454503df VTS configs for libpower test.
Test: vts-tradefed run commandAndExit vts-systems
--skip-all-system-status-check --primary-abi-only --skip-preconditions
--skip-device-info --module LibpowerTest -l VERBOSE
Change-Id: I1371beb8f3d7cef9cddcfdd7f3c0276ab940ea46
2018-10-25 15:00:24 -07:00
Bill Yi
d5c1054650 [automerger skipped] Merge pie-platform-release to aosp-master - DO NOT MERGE am: 916b76a48f -s ours am: b432aff068 -s ours
am: b5863a928a  -s ours

Change-Id: I5d5dcac0cdc22afc369f94f1ca859d598a2eb7a0
2018-10-24 19:10:30 -07:00
Bill Yi
b5863a928a [automerger skipped] Merge pie-platform-release to aosp-master - DO NOT MERGE am: 916b76a48f -s ours
am: b432aff068  -s ours

Change-Id: I907fa58ddaef7b6a320fe3a0303ee66567955618
2018-10-24 18:45:23 -07:00
Bill Yi
b432aff068 [automerger skipped] Merge pie-platform-release to aosp-master - DO NOT MERGE
am: 916b76a48f  -s ours

Change-Id: I37eabf5e38179537510f204fe6bf397399906566
2018-10-24 16:28:41 -07:00
Bill Yi
916b76a48f Merge pie-platform-release to aosp-master - DO NOT MERGE
Change-Id: Ib32ef1865b9e1e87d28c47e772d1a65de4ecfdd2
2018-10-24 14:47:07 -07:00
Bill Yi
da97e071fe [automerger skipped] Merge pi-platform-release to stage-aosp-master - DO NOT MERGE am: 90240578b8 -s ours
am: 144b90bceb  -s ours

Change-Id: If7f8abdcf50d7a9ca74b27bc7052308a429d00f6
2018-10-24 11:02:54 -07:00
Bill Yi
144b90bceb [automerger skipped] Merge pi-platform-release to stage-aosp-master - DO NOT MERGE
am: 90240578b8  -s ours

Change-Id: I448b8e6202542d76ef302bf973ad06a313e4fd5f
2018-10-24 10:50:15 -07:00
Bill Yi
90240578b8 Merge pi-platform-release to stage-aosp-master - DO NOT MERGE
Change-Id: I566acd7ef9db22313cbc80494616c92c6cf6600d
2018-10-24 09:06:59 -07:00
Tri Vo
2da8a044f4 Merge "libhardware_legacy: add trong to OWNERS" am: 11a3e53789 am: 783ff8d435
am: bb3327c885

Change-Id: I2f3e3db1776842606a235434b3bd6e44d41fc318
2018-10-22 18:42:46 -07:00
Tri Vo
bb3327c885 Merge "libhardware_legacy: add trong to OWNERS" am: 11a3e53789
am: 783ff8d435

Change-Id: Ie237b2984f151edde8d0fcbdd66bf40af6196f4f
2018-10-22 18:29:40 -07:00
Tri Vo
783ff8d435 Merge "libhardware_legacy: add trong to OWNERS"
am: 11a3e53789

Change-Id: Idad2b7b5ec24b21d81ef106ff162dad7df3f541e
2018-10-22 18:24:38 -07:00
Treehugger Robot
11a3e53789 Merge "libhardware_legacy: add trong to OWNERS" 2018-10-23 01:16:57 +00:00