Commit graph

1666 commits

Author SHA1 Message Date
Roshan Pius
10c3ee551c libpower: Set uwb apex sdk to Tiramisu
Bug: 215526504
Test: Compiles
Change-Id: I7da60eaa71cecbf96e7d4cfa235a16f947d5a416
2022-01-20 18:52:07 +00:00
Nate(Qiang) Jiang
a07d7c97d0 Merge "Add wifi-aware 3.1 support" 2022-01-07 01:43:57 +00:00
Nate Jiang
4dac6dcef8 Add wifi-aware 3.1 support
Add instant communication mode and NCS-PK support

Bug: 203220137
Test: build
Change-Id: I46fd18d1e1780b76c40f59ed05503e39b71e3aa6
2021-10-18 16:57:57 -07:00
Veerendranath Jakkam
6a489c0360 wifi: Add feature flag to indicate support for set MAC without iface reset
This commit adds the enum to indicate driver support for MAC address
change without iface reset.

Bug: 202424223
Test: atest VtsHalWifiV1_5TargetTest
Test: Manual - Connect STA to AP and check random mac is set

Change-Id: I29662153d83eedf9986142f8371f3a7251b625dc
2021-10-14 13:05:42 -07:00
Xin Li
75ebab6ba4 [automerger skipped] Merge "Merge Android 12" am: 5282db2a81 -s ours am: a954bc4fe0 -s ours am: 45c9cb51ce -s ours am: e2555413d1 -s ours am: 0ed1edd8d4 -s ours
am skip reason: Merged-In I63befde52711ce60502d5ddfcb47e6f1faddbad0 with SHA-1 27b19b918b is already in history

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

Change-Id: Ie2ede4dbc22fba9d0554033aaef8a3fbfe3c3cc6
2021-10-08 08:59:35 +00:00
Xin Li
0ed1edd8d4 [automerger skipped] Merge "Merge Android 12" am: 5282db2a81 -s ours am: a954bc4fe0 -s ours am: 45c9cb51ce -s ours am: e2555413d1 -s ours
am skip reason: Merged-In I63befde52711ce60502d5ddfcb47e6f1faddbad0 with SHA-1 27b19b918b is already in history

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

Change-Id: Ieaaa64aa67b8efa10166a1e4c2ba9ca7502b6e01
2021-10-08 08:29:24 +00:00
Xin Li
e2555413d1 [automerger skipped] Merge "Merge Android 12" am: 5282db2a81 -s ours am: a954bc4fe0 -s ours am: 45c9cb51ce -s ours
am skip reason: Merged-In I63befde52711ce60502d5ddfcb47e6f1faddbad0 with SHA-1 27b19b918b is already in history

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

Change-Id: If487827dc94bd27296fbcef48fa98bcab80cc831
2021-10-08 07:56:26 +00:00
Xin Li
45c9cb51ce [automerger skipped] Merge "Merge Android 12" am: 5282db2a81 -s ours am: a954bc4fe0 -s ours
am skip reason: Merged-In I63befde52711ce60502d5ddfcb47e6f1faddbad0 with SHA-1 27b19b918b is already in history

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

Change-Id: Ia5340359b4dbb5916ce611ad9a50a3cc36d241cd
2021-10-08 01:39:10 +00:00
Xin Li
a954bc4fe0 [automerger skipped] Merge "Merge Android 12" am: 5282db2a81 -s ours
am skip reason: Merged-In I63befde52711ce60502d5ddfcb47e6f1faddbad0 with SHA-1 27b19b918b is already in history

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

Change-Id: I9c9740f32aa192661db7b494f4ffc388fd1490e8
2021-10-08 01:19:44 +00:00
Xin Li
5282db2a81 Merge "Merge Android 12" 2021-10-07 23:50:45 +00:00
Xin Li
0a1470ac3c Merge Android 12
Bug: 202323961
Merged-In: I63befde52711ce60502d5ddfcb47e6f1faddbad0
Change-Id: I58d44f7c910fa23a1d3fdc279252eca063aa32cf
2021-10-06 22:53:41 +00:00
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