Commit graph

1655 commits

Author SHA1 Message Date
Steven Moreland
cadeb73a86 [automerger skipped] Merge "Remove ndk_platform backend. Use the ndk backend." am: 18e980bac2 am: 27b19b918b am: ef90be2d62 am: a39725ccb6 am: e1a8d21728 -s ours
am skip reason: Merged-In Ifadc89ec1cdb32dc39d5639665167c7bae336836 with SHA-1 1f909ca20a is already in history

Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/1789270

Change-Id: I76a11f87ab347c4f8957c24a655100a79328c1d2
2021-08-27 10:28:10 +00:00
Steven Moreland
e1a8d21728 Merge "Remove ndk_platform backend. Use the ndk backend." am: 18e980bac2 am: 27b19b918b am: ef90be2d62 am: a39725ccb6
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/1789270

Change-Id: I0faddab755e6e430cc67cd3cfb0f752708860aa3
2021-08-27 10:14:11 +00:00
Steven Moreland
a39725ccb6 Merge "Remove ndk_platform backend. Use the ndk backend." am: 18e980bac2 am: 27b19b918b am: ef90be2d62
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/1789270

Change-Id: I7cd02e886e2c6af101a1ddcba7d567ffab2710d5
2021-08-25 20:17:20 +00:00
Steven Moreland
ef90be2d62 Merge "Remove ndk_platform backend. Use the ndk backend." am: 18e980bac2 am: 27b19b918b
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/1789270

Change-Id: I3d7edd928a51e9af582690705db9da9e2d026d40
2021-08-25 20:02:03 +00:00
Steven Moreland
27b19b918b Merge "Remove ndk_platform backend. Use the ndk backend." am: 18e980bac2
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/1789270

Change-Id: I63befde52711ce60502d5ddfcb47e6f1faddbad0
2021-08-25 19:45:22 +00:00
Steven Moreland
18e980bac2 Merge "Remove ndk_platform backend. Use the ndk backend." 2021-08-25 19:28:36 +00:00
Roshan Pius
7813a70208 uwb: Allow uwb apex to include libpower
Bug: 188911079
Test: Compiles
Change-Id: Ia04e09f1f589dd49534bffe2878ef84e32434a7d
2021-08-19 12:19:50 -07:00
Xin Li
21752b993e [automerger skipped] Merge sc-dev-plus-aosp-without-vendor@7634622 am: 4381e43edc -s ours am: ea7041e7a9 -s ours am: 3e8852b8ac -s ours am: fde9a61c30 -s ours
am skip reason: Merged-In I784966b69df92eb1fde4fa4d80e0b1fad9c70a01 with SHA-1 019e325e34 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/15564470

Change-Id: I06941dd1f20e636ee69ea66300f40b7c25149cbb
2021-08-18 00:23:34 +00:00
Xin Li
fde9a61c30 [automerger skipped] Merge sc-dev-plus-aosp-without-vendor@7634622 am: 4381e43edc -s ours am: ea7041e7a9 -s ours am: 3e8852b8ac -s ours
am skip reason: Merged-In I784966b69df92eb1fde4fa4d80e0b1fad9c70a01 with SHA-1 019e325e34 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/15564470

Change-Id: Id30c1996aa802ac2e57bbc0da61dc1185fe5d488
2021-08-17 20:32:15 +00:00
Xin Li
3e8852b8ac [automerger skipped] Merge sc-dev-plus-aosp-without-vendor@7634622 am: 4381e43edc -s ours am: ea7041e7a9 -s ours
am skip reason: Merged-In I784966b69df92eb1fde4fa4d80e0b1fad9c70a01 with SHA-1 019e325e34 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/15564470

Change-Id: Ie46cebf3b19a98fe3713481b9ee519732c31f73b
2021-08-17 19:46:10 +00:00
Xin Li
ea7041e7a9 [automerger skipped] Merge sc-dev-plus-aosp-without-vendor@7634622 am: 4381e43edc -s ours
am skip reason: Merged-In I784966b69df92eb1fde4fa4d80e0b1fad9c70a01 with SHA-1 019e325e34 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/15564470

Change-Id: Ie1b18de9be5279089f53843129e402859b262c3b
2021-08-17 18:35:40 +00:00
Xin Li
4381e43edc Merge sc-dev-plus-aosp-without-vendor@7634622
Merged-In: I784966b69df92eb1fde4fa4d80e0b1fad9c70a01
Change-Id: I2b9353fae26aab847985bfe1b702f67f57e82a2f
2021-08-14 06:30:58 +00:00
Jiyong Park
6c8e9f4b94 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
Merged-In: Ifadc89ec1cdb32dc39d5639665167c7bae336836
Change-Id: I99947e7fc58b5f6ab7d75f2af63b6bf9384917c3
2021-08-09 09:06:11 +09:00
TreeHugger Robot
7af2715a1e Merge "Remove ndk_platform backend. Use the ndk backend." 2021-08-05 09:35:37 +00:00
Kalesh Singh
f77e00c734 Merge "libpower: Check if suspend service is null" am: a719829bb8 am: 17c06cc780 am: 019e325e34 am: d6d2e1a677
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/1786228

Change-Id: Ie5be5290f639e6c17882a9109917568c00e5be8d
2021-08-04 21:14:33 +00:00
Kalesh Singh
d6d2e1a677 Merge "libpower: Check if suspend service is null" am: a719829bb8 am: 17c06cc780 am: 019e325e34
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/1786228

Change-Id: I1c4069600119831b09c529b9ad2924ff59cd7260
2021-08-04 21:03:57 +00:00
Kalesh Singh
019e325e34 Merge "libpower: Check if suspend service is null" am: a719829bb8 am: 17c06cc780
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/1786228

Change-Id: I784966b69df92eb1fde4fa4d80e0b1fad9c70a01
2021-08-04 20:50:10 +00:00
Kalesh Singh
17c06cc780 Merge "libpower: Check if suspend service is null" am: a719829bb8
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/1786228

Change-Id: I7419ba70ee90ea493f8b0174a31040d1225d2af8
2021-08-04 20:29:06 +00:00
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