Kalesh Singh
a719829bb8
Merge "libpower: Check if suspend service is null"
2021-08-04 20:13:01 +00:00
Kalesh Singh
06c0d048b1
libpower: Check if suspend service is null
...
Before requesting wakelock ensure that we have a valid suspend service.
Use waitForService instead of checkService.
Test: libpower_test
Test: block_suspend
Test: atest NexusLauncherOutOfProcTests:MemoryTests#testAppLaunchFromWorkspace --rerun-until-failure 10
Bug: 195319784
Change-Id: If13e233360a7b5f372dd2991c1891ee0bee8544b
2021-08-04 19:30:18 +00:00
Jiyong Park
1f909ca20a
Remove ndk_platform backend. Use the ndk backend.
...
The ndk_platform backend will soon be deprecated because the ndk backend
can serve the same purpose. This is to eliminate the confusion about
having two variants (ndk and ndk_platform) for the same ndk backend.
Bug: 161456198
Test: m
Change-Id: Ifadc89ec1cdb32dc39d5639665167c7bae336836
2021-08-04 12:48:07 +09:00
Kalesh Singh
caa24e956c
Merge "libpower: Use AIDL suspend HAL" am: fc7f7499c2
am: c7b64322c2
am: da1d02fbee
am: 18db79755b
...
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/1773450
Change-Id: I2365b2d75faf5a46d55d9b2ced6b872db4ab19e7
2021-07-23 18:59:57 +00:00
Kalesh Singh
18db79755b
Merge "libpower: Use AIDL suspend HAL" am: fc7f7499c2
am: c7b64322c2
am: da1d02fbee
...
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/1773450
Change-Id: I81e0b1cbfe26d23426f993daf216ec842f91f14b
2021-07-23 18:42:40 +00:00
Kalesh Singh
da1d02fbee
Merge "libpower: Use AIDL suspend HAL" am: fc7f7499c2
am: c7b64322c2
...
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/1773450
Change-Id: I9b3f2b4bb02871b4b8ac65c2ddf1c740e60dd4db
2021-07-23 18:23:27 +00:00
Kalesh Singh
c7b64322c2
Merge "libpower: Use AIDL suspend HAL" am: fc7f7499c2
...
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/1773450
Change-Id: I1c83a40f1bad480c85e9e31d881638bc5c89b48c
2021-07-23 18:11:23 +00:00
Kalesh Singh
fc7f7499c2
Merge "libpower: Use AIDL suspend HAL"
2021-07-23 17:17:03 +00:00
Kalesh Singh
b64a38eee2
libpower: Use AIDL suspend HAL
...
Use the system susepnd AIDL hal for requesting wakelocks from libpower
or libhardware_legacy.
Bug: 170260236
Test: boot test on cf (suspend blocker works).
Test: libpower_test
Test: block_suspend
Change-Id: I8fc345c33fb893ca11603826b0e993ca908d5b20
2021-07-22 19:57:05 +00:00
Xin Li
fd51808350
Merge sc-mainline-prod
...
Bug: 189946434
Change-Id: I7f4512b5a2cfa7ff637ff8c38bcf3c8e01f0b67c
2021-06-02 16:51:48 +00:00
Ahmed ElArabawy
5e0f73b736
WiFi: Add new SAR Scenarios for foldable devices am: 2cf8cd3978
am: e26703dab9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/14556075
Change-Id: I12ddbc28b56c70af83e62422b06a09167431e68c
2021-06-02 03:27:03 +00:00
Ahmed ElArabawy
e26703dab9
WiFi: Add new SAR Scenarios for foldable devices am: 2cf8cd3978
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/14556075
Change-Id: Ie0c7d52559c88715a851686c3e26f71ac3155ca8
2021-06-02 02:38:17 +00:00
Ahmed ElArabawy
2cf8cd3978
WiFi: Add new SAR Scenarios for foldable devices
...
This commit adds new SAR scenarios for foldable devices.
Bug: 188138055
Test: Verify proper scenario selection
Change-Id: I472d3989edb1f8949a0eb1efd249b13aa55dc537
2021-05-19 09:11:23 +00:00
chenpaul
55a5842138
Wifi: Add argument "WifiHandle" in "wifi_set_subsystem_restart_handler" am: 4ebb0af45c
am: 825cb8f771
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/14026465
Change-Id: I52f5e0cf82b5feeab855431fc164b038607cda44
2021-05-17 11:28:37 +00:00
chenpaul
825cb8f771
Wifi: Add argument "WifiHandle" in "wifi_set_subsystem_restart_handler" am: 4ebb0af45c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/14026465
Change-Id: Iddb94744af18fbe815f9b66ce59049417b2c284f
2021-04-16 01:50:21 +00:00
chenpaul
9afe37add5
Wifi: Add argument "WifiHandle" in "wifi_set_subsystem_restart_handler" am: 4ebb0af45c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/14026465
Change-Id: Icacd59e50a2c0367fa398b05e8794f63463d0ac7
2021-04-16 01:47:58 +00:00
chenpaul
3da7ba553b
Wifi: Add argument "WifiHandle" in "wifi_set_subsystem_restart_handler" am: 4ebb0af45c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/14026465
Change-Id: I3a5b8693a22f5a4a0a0d3923b0b192ac09c8e34a
2021-04-16 01:47:46 +00:00
chenpaul
4ebb0af45c
Wifi: Add argument "WifiHandle" in "wifi_set_subsystem_restart_handler"
...
Bug: 178126071
Bug: 183483123
Test: vendor HAL can received API call
Change-Id: I0d6c9ce294e1bcea1ed19e4050babd923e6b6141
2021-03-31 20:15:55 +08:00
chenpaul
7a2dabce24
Wifi: New API to query the trigger subsystem restart am: 35390b6dff
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/13825826
Change-Id: I90989f7c9710fa9f1c0686c63470360818f4357c
2021-03-23 11:29:55 +00:00
chenpaul
e9f8f0ce53
Wifi: New API to query the trigger subsystem restart am: 35390b6dff
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/13825826
Change-Id: Icfcb158a83ab6dcdfc909b75a769efe2b62b5680
2021-03-23 11:29:38 +00:00
chenpaul
35390b6dff
Wifi: New API to query the trigger subsystem restart
...
This commit adds a method to forward the subsystem restart request
Bug: 178126071
Test: Trigger firmware restart and make sure event was forwarded
Change-Id: I5e97e645b630822865b1614f999e8b465a6d2b0b
2021-03-19 15:21:39 +08:00
Ahmed ElArabawy
25f9a284c1
Merge "WiFi: Add new SAR scenarios" into sc-dev am: 1e6f8f6fcf
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/13881546
Change-Id: If3133c547db44941eb0af0efb3e53260c255ef9b
2021-03-18 22:04:50 +00:00
Ahmed ElArabawy
30b11a3149
Merge "WiFi: Add new SAR scenarios" into sc-dev am: 1e6f8f6fcf
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/13881546
Change-Id: Ia932b3f6d469a97d5ffc8984e6e7f1261bedd3e2
2021-03-18 21:56:39 +00:00
Ahmed ElArabawy
1e6f8f6fcf
Merge "WiFi: Add new SAR scenarios" into sc-dev
2021-03-18 21:10:11 +00:00
Ahmed ElArabawy
958307b14f
WiFi: Add new SAR scenarios
...
This commit adds new SAR Scenarios.
Bug: 162191325
Test: Builds successfully
Change-Id: I70c45a5675b9bc374422fe732f888b3782058dd2
2021-03-15 21:41:42 -07:00
Kumar Anand
5fd47db094
Wifi: Remove multiple definitions am: f2eed442a6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/13876726
Change-Id: I6389863b87e83bacdc00c1c1a4aae4a1b993833b
2021-03-16 00:56:16 +00:00
Kumar Anand
97e879aaf6
Wifi: Remove multiple definitions am: f2eed442a6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/13876726
Change-Id: Ia1d865e28738731853f08874024a543e2e584d18
2021-03-16 00:56:07 +00:00
Kumar Anand
f2eed442a6
Wifi: Remove multiple definitions
...
Remove compilation warnings due to -Wtypedef-redefinition.
Bug: 160212907
Test: Build Successfully
Change-Id: I8925cf33fa64fbba4a6cbb782ecc107a7741fe87
2021-03-15 11:27:54 -07:00
Kalesh Singh
4a11b19769
Merge "RAII style wakelocks: Add tryGet() factory method." am: ddff8e6dd0
am: e3a6357533
am: 9176bf1929
am: a731921669
...
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/1592033
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Icab1ed6a0d89f8f956ab64b1f6e3eb3575ec59f6
2021-02-25 00:27:24 +00:00
Kalesh Singh
97ed13f792
Merge "RAII style wakelocks: Add tryGet() factory method." am: ddff8e6dd0
am: e3a6357533
am: 9176bf1929
am: a731921669
...
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/1592033
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ic37c06a8bc9c56d024d425a3a26cd597c9dfff9b
2021-02-25 00:27:19 +00:00
Kalesh Singh
a731921669
Merge "RAII style wakelocks: Add tryGet() factory method." am: ddff8e6dd0
am: e3a6357533
am: 9176bf1929
...
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/1592033
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I51ad002d2d778d6e674a86363e74eb5040d3219a
2021-02-24 23:51:50 +00:00
Kalesh Singh
9176bf1929
Merge "RAII style wakelocks: Add tryGet() factory method." am: ddff8e6dd0
am: e3a6357533
...
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/1592033
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I4788f1e46ef2c581f74cdbb10350ccd7f9547c6a
2021-02-24 22:58:01 +00:00
Kalesh Singh
e3a6357533
Merge "RAII style wakelocks: Add tryGet() factory method." am: ddff8e6dd0
...
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/1592033
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I1d63478a6f2956d687971033621360f2abb3b9d2
2021-02-24 22:14:07 +00:00
Kalesh Singh
ddff8e6dd0
Merge "RAII style wakelocks: Add tryGet() factory method."
2021-02-24 18:49:58 +00:00
Kalesh Singh
d8da2af1e5
RAII style wakelocks: Add tryGet() factory method.
...
Wakelock acquisition can fail if suspend service is not available.
Make this clear by returning an optional value that client must
check before entering wakelock critical sections.
Bug: b/179229598
Test: Boot test on Pixel 4 device
Change-Id: Ied00fa919c20d8a30f1c40ee34a91a2a7e240689
2021-02-23 10:06:19 -05:00
Xin Li
352c70fe39
[automerger skipped] Mark ab/7061308 as merged in stage. am: b4d4bcc011
-s ours am: c48f0b7f15
-s ours am: 98759c6fb5
-s ours
...
am skip reason: Change-Id If168d378ac5793e151f2b502b004e4da515865e7 with SHA-1 60185e956c
is in history
Original change: undetermined
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I99d450f3081833ad57477eeb0bf404258d2d08b9
2021-02-20 18:20:56 +00:00
Xin Li
5482ea3940
[automerger skipped] Mark ab/7061308 as merged in stage. am: b4d4bcc011
-s ours am: c48f0b7f15
-s ours am: 98759c6fb5
-s ours
...
am skip reason: Change-Id If168d378ac5793e151f2b502b004e4da515865e7 with SHA-1 60185e956c
is in history
Original change: undetermined
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I3bb5f589095444e407d0523aeffde2f03046a369
2021-02-20 18:13:18 +00:00
Bob Badour
48d1527f1c
Merge "[LSC] Add LOCAL_LICENSE_KINDS to hardware/libhardware_legacy" am: afd79930cc
am: 63be865585
am: fba2066876
am: b6ce28b677
...
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/1588038
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ie195a62418b2d2110fb5391882465397fd7a7f78
2021-02-20 18:08:04 +00:00
Bob Badour
82bfc1d286
Merge "[LSC] Add LOCAL_LICENSE_KINDS to hardware/libhardware_legacy" am: afd79930cc
am: 63be865585
am: fba2066876
am: b6ce28b677
...
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/1588038
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I03ffa40a40a1f2e8670d75dd4e0d0ad36433f1e0
2021-02-20 18:07:45 +00:00
Xin Li
98759c6fb5
[automerger skipped] Mark ab/7061308 as merged in stage. am: b4d4bcc011
-s ours am: c48f0b7f15
-s ours
...
am skip reason: Change-Id If168d378ac5793e151f2b502b004e4da515865e7 with SHA-1 60185e956c
is in history
Original change: undetermined
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I69e22496eb5ce2ae342e5eebec88fc1526628ec4
2021-02-20 17:37:41 +00:00
Bob Badour
b6ce28b677
Merge "[LSC] Add LOCAL_LICENSE_KINDS to hardware/libhardware_legacy" am: afd79930cc
am: 63be865585
am: fba2066876
...
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/1588038
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I362a99e806ff938c3105e654fd3251a9da875d00
2021-02-20 17:23:05 +00:00
Xin Li
c48f0b7f15
[automerger skipped] Mark ab/7061308 as merged in stage. am: b4d4bcc011
-s ours
...
am skip reason: Change-Id If168d378ac5793e151f2b502b004e4da515865e7 with SHA-1 60185e956c
is in history
Original change: undetermined
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I9d3d3168ae0b6b56a8fe1a44ebb1be137f5276b4
2021-02-20 11:44:23 +00:00
Xin Li
b4d4bcc011
Mark ab/7061308 as merged in stage.
...
Bug: 180401296
Merged-In: If168d378ac5793e151f2b502b004e4da515865e7
Change-Id: I584355711fa46131ff11fdafdb1cfcc53882796b
2021-02-20 00:24:30 -08:00
Bob Badour
fba2066876
Merge "[LSC] Add LOCAL_LICENSE_KINDS to hardware/libhardware_legacy" am: afd79930cc
am: 63be865585
...
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/1588038
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ie510edc0b80ce8fb322aeaf77faadc2171f0d833
2021-02-19 02:25:32 +00:00
Bob Badour
63be865585
Merge "[LSC] Add LOCAL_LICENSE_KINDS to hardware/libhardware_legacy" am: afd79930cc
...
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/1588038
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I9bc3c423e20e821e7d841b67cbdb6a811fbe25a9
2021-02-19 00:58:45 +00:00
Bob Badour
afd79930cc
Merge "[LSC] Add LOCAL_LICENSE_KINDS to hardware/libhardware_legacy"
2021-02-18 23:43:50 +00:00
Kumar Anand
10a68d8d0c
Wifi: Filter usable channels by Coex, Concurrency am: 33adbb23f6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/13549368
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I8ee833d0f05f2db03f0612000b1dc0f8ddf0e2fe
2021-02-17 03:27:59 +00:00
Kumar Anand
2307f5369f
Wifi: Filter usable channels by Coex, Concurrency am: 33adbb23f6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/13549368
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I29cdd327f62a58d73cd1cdfee1489a2db5dbaa9d
2021-02-17 03:27:40 +00:00
Kumar Anand
33adbb23f6
Wifi: Filter usable channels by Coex, Concurrency
...
Add ability to filter usable channnels due to coex &
concurrency limitations. Normally in standalone mode,
list of usable channels is dictated by regulatory. But
list of usable channels could be additionally limited
due to coex and also due to concurrency limitations.
Bug: 160212907
Test: Using halutil
Change-Id: Iafde3b4fe9ca8986404ee078ed0a1a31062a4bbb
2021-02-16 14:12:48 -08:00
Bob Badour
9380e9875c
[LSC] Add LOCAL_LICENSE_KINDS to hardware/libhardware_legacy
...
Added SPDX-license-identifier-Apache-2.0 to:
Android.bp
audio/Android.bp
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: Id879ff71929846da71ae2df96ab748a4ad464d82
2021-02-12 16:32:13 -08:00