Commit graph

1883 commits

Author SHA1 Message Date
Purushottam Kushwaha
843c3d3dfa Add Legacy HAL API to create an interface
using vendor data.

Bug: 296069900
Test: m
Change-Id: If2cb15034682dc71b684329b731960abb568255f
Signed-off-by: Purushottam Kushwaha <quic_pkushwah@quicinc.com>
2024-02-29 18:35:25 +00:00
Treehugger Robot
4d26a7c131 Merge "Migrate Test Targets to New Android Ownership Model" into main am: 242710e3d9 am: 1e882cccdd
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/2944291

Change-Id: I2a620decc93eeff7639709d5d09fc22b94d34780
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-13 00:19:52 +00:00
Treehugger Robot
1e882cccdd Merge "Migrate Test Targets to New Android Ownership Model" into main am: 242710e3d9
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/2944291

Change-Id: I066009b95fd0c17cedd33b7200c7e7187572670e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-12 23:40:26 +00:00
Treehugger Robot
242710e3d9 Merge "Migrate Test Targets to New Android Ownership Model" into main 2024-02-12 23:12:00 +00:00
Aditya Choudhary
24a71ace30 Migrate Test Targets to New Android Ownership Model
This CL is created as a best effort to migrate test targets to the new Android ownership model.
It is based on historical data from repository history and insights from git blame.
Given the nature of this effort, there may be instances of incorrect attribution. If you find incorrect or unnecessary
attribution in this CL, please create a new CL to fix that.

For detailed guidelines and further information on the migration please refer to the link below,
go/new-android-ownership-model

Bug: 304529413
Test: N/A
Change-Id: I6252960a39589b5e400acecea6745d847813b129
2024-02-02 13:57:59 +00:00
Xin Li
82d6844ba7 [automerger skipped] Merge Android 24Q1 Release (ab/11220357) am: 2178cf6783 -s ours
am skip reason: Merged-In I79c67f34b77dac100610cc2e22f22dd631ecc17a with SHA-1 eca888d407 is already in history

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

Change-Id: I5208ee7560e9afc02a4a06956840ae873b8fe090
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-31 02:02:41 +00:00
Xin Li
2178cf6783 Merge Android 24Q1 Release (ab/11220357)
Bug: 319669529
Merged-In: I79c67f34b77dac100610cc2e22f22dd631ecc17a
Change-Id: I47de8b64d89f7b3b581b5d2b34fc7067c654ba0a
2024-01-17 22:14:15 -08:00
Steven Moreland
d83403850a Merge "Revert "uevent.c: avoid POLLERR infinite loop"" into main am: ce4e1d99ad am: 5b2b1c055a am: ec43851ffa
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/2901647

Change-Id: Ic5255a9b165fd52ae1a6cc1fdaa808765a3fe84f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-08 21:13:44 +00:00
Steven Moreland
ec43851ffa Merge "Revert "uevent.c: avoid POLLERR infinite loop"" into main am: ce4e1d99ad am: 5b2b1c055a
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/2901647

Change-Id: I34e056e1b1cfc1a1da28eb6653567bfecf54b33d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-08 20:42:26 +00:00
Steven Moreland
5b2b1c055a Merge "Revert "uevent.c: avoid POLLERR infinite loop"" into main am: ce4e1d99ad
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/2901647

Change-Id: Ic4361d412e481e9c12f41c1c44ce210f6fbbbd4b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-08 19:52:46 +00:00
Steven Moreland
ce4e1d99ad Merge "Revert "uevent.c: avoid POLLERR infinite loop"" into main 2024-01-08 19:18:48 +00:00
Steven Moreland
682a1afcf4 Revert "uevent.c: avoid POLLERR infinite loop"
This reverts commit e44aa092c5.

Reason for revert: b/318929257

Change-Id: I5d114adcd3df31ea3745354d8021e50852cdc2ef
2024-01-08 19:17:06 +00:00
Mahesh KKV
cf247da059 Merge "Deprecate wifi_twt_clear_stats" into main 2024-01-05 22:43:01 +00:00
Steven Moreland
7446e52665 Merge "uevent.c: avoid POLLERR infinite loop" into main am: cc5dc08c15 am: 566a2901e9 am: 2d47fe3f42
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/2878224

Change-Id: I08aac87aba9ee7b4e23427cdbc17b435e6e2aa73
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-03 23:02:43 +00:00
Steven Moreland
2d47fe3f42 Merge "uevent.c: avoid POLLERR infinite loop" into main am: cc5dc08c15 am: 566a2901e9
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/2878224

Change-Id: Ic0c5497a1e2a6de75e38c422efc8ef445002d915
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-03 22:15:56 +00:00
Steven Moreland
566a2901e9 Merge "uevent.c: avoid POLLERR infinite loop" into main am: cc5dc08c15
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/2878224

Change-Id: I3262b82c9849723ce3930a2690a31157927e5c43
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-03 21:44:32 +00:00
Steven Moreland
cc5dc08c15 Merge "uevent.c: avoid POLLERR infinite loop" into main 2024-01-03 21:03:18 +00:00
Steven Moreland
e44aa092c5 uevent.c: avoid POLLERR infinite loop
I have not reproduced this infinite loop.
An infinite loop may be more useful to debug.

Note, libhardware_legacy AIDL interface dependency
already includes liblog, so this won't change
which libraries are loaded.

Bug: 300009377
Test: N/A
Change-Id: I1f5545456e7074823f0f9df35496cbf5a2a012a4
2024-01-02 23:45:44 +00:00
Mahesh KKV
929b24d90c Deprecate wifi_twt_clear_stats
Bug: 296108122
Test: m
Change-Id: I5d51e3579e73e2ab798f5feb0219c110267b21e4
2023-12-29 08:44:03 -08:00
Mahesh KKV
1486d3011e Add number of spatial streams for 11az results
Bug: 317922145
Test: m
Change-Id: I439f3cd2e4adc5ddcd444e9af322ab5fcddf6845
2023-12-27 16:11:38 -08:00
Mahesh KKV
081ccd0011 Merge "Make TWT wake interval 64 bit" into main 2023-12-15 18:26:50 +00:00
Nikita Putikhin
ce7bbb5409 Merge "Check that ISystemSuspend is declared before acquiring a wake lock" into main am: c315f49b2e am: a39da7cb44 am: 9cfa2eca98
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/2870803

Change-Id: I81b054572ce193bdedf7b6f6b7f12ca430468f9f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-15 11:19:52 +00:00
Nikita Putikhin
9cfa2eca98 Merge "Check that ISystemSuspend is declared before acquiring a wake lock" into main am: c315f49b2e am: a39da7cb44
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/2870803

Change-Id: I5538810ba418fc988d338f60d20000b25edb1b99
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-15 10:47:37 +00:00
Nikita Putikhin
a39da7cb44 Merge "Check that ISystemSuspend is declared before acquiring a wake lock" into main am: c315f49b2e
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/2870803

Change-Id: Ibe65e62a2ebbb8a98ffc540e7d2862e6456cdfd5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-15 10:15:55 +00:00
Nikita Putikhin
c315f49b2e Merge "Check that ISystemSuspend is declared before acquiring a wake lock" into main 2023-12-15 09:47:35 +00:00
maheshkkv
b83596e8e6 Make TWT wake interval 64 bit
As the TWT Wake Interval Mantissa is a 2-byte field and TWT Wake
Interval Exponent is a 5-bit field, Maximum TWT Wake Interval = 65,535 x
[2^31] microseconds. So make TWT wake inteval 64 bit to avoid overflow.

Bug: 296108122
Test: m
Change-Id: Ib4736a98f50abd1b8d63e3c5fa32b2c540bbcb0f
2023-12-14 16:35:41 -08:00
maheshkkv
ba4e0aa3bd Fix 11az non-TB measurment time unit
Bug: 295619650
Test: m
BYPASS_INCLUSIVE_LANGUAGE_REASON=HE refers to High Efficiency.
Change-Id: I56e25cffece0d18e22dd9a8dee19fb38893e5021
2023-12-14 20:55:55 +00:00
maheshkkv
4b094d3591 Add I2R and R2I 11az LTF repetition count
Add IEEE 802.11az LTF repetition count for both I2R and R2I in 11az
RTT ranging result. Also remove the LTF repetition count from RTT
capabilities and config. The reason for removing is that vendor
software can pick the optimized value without an input from
framework.

Bug: 295619650
Test: m
Change-Id: I604421cbe8b792cc5fd9f766fd5e2422bc14e5bd
2023-12-14 09:07:30 -08:00
Nikita Putikhin
3ff648d5ff Check that ISystemSuspend is declared before acquiring a wake lock
On some systems (Minidroid & friends) there is no suspend-service, which
means that acquiring a wake lock would wait indefinitely. In our case
this prevented `adb bugreport` from working.

With this change if the service is not declared, acquire_wake_lock would
fail, as opposed to getting stuck.

Test: atest libpower_test
Test: block_suspend
  - works on aosp_cf_x86_64_phone-trunk_staging-userdebug
  - fails (expected) on aosp_cf_x86_64_minidroid-trunk_staging-userdebug

Bug: 291070376
Change-Id: Ie25f3d96e457aa7945f36c301e70b751d529e6c7
2023-12-13 12:00:35 +01:00
Isaac Chiou
1ccf6c5f05 Merge "Expanding WiFi SAR scenarios for CAP sensor" into main 2023-12-13 03:32:26 +00:00
Mahesh KKV
7826fc79ee Merge "Add TWT support for legacy vendor HAL" into main 2023-12-12 21:36:47 +00:00
maheshkkv
eca888d407 Add TWT support for legacy vendor HAL
Bug: 296108122
Test: m
Change-Id: I79c67f34b77dac100610cc2e22f22dd631ecc17a
2023-12-12 10:53:35 -08:00
Kai Shi
9061e7a162 Merge "Add capability bit for the cached scan data feature" into main 2023-12-11 23:21:33 +00:00
Xin Li
06f1fb7d4c [automerger skipped] Merge "Merge Android 14 QPR1" into main am: 53f0ce5f59 -s ours am: 9a6a1b3d4e -s ours am: 73b708661d -s ours
am skip reason: Merged-In I1031deea32ae4c5c3d432a2fceecda86a8158c10 with SHA-1 4437a8f9b8 is already in history

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

Change-Id: I264dbf40ac21d60006648238052ad29d78980162
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-11 23:00:38 +00:00
Xin Li
f865bca7c6 [automerger skipped] Merge Android 14 QPR1 am: 0a80706d87 -s ours am: c08c1ac9ed -s ours am: 65dd6bd9fa -s ours
am skip reason: Merged-In I1031deea32ae4c5c3d432a2fceecda86a8158c10 with SHA-1 4437a8f9b8 is already in history

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

Change-Id: Ide499df2f2c8e7f77146cb328a66ae0ea99d6798
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-11 22:57:38 +00:00
Xin Li
73b708661d [automerger skipped] Merge "Merge Android 14 QPR1" into main am: 53f0ce5f59 -s ours am: 9a6a1b3d4e -s ours
am skip reason: Merged-In I1031deea32ae4c5c3d432a2fceecda86a8158c10 with SHA-1 4437a8f9b8 is already in history

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

Change-Id: I087597ab2ccc3357bb66646b0b8ea31ece372ae6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-11 22:05:28 +00:00
Xin Li
65dd6bd9fa [automerger skipped] Merge Android 14 QPR1 am: 0a80706d87 -s ours am: c08c1ac9ed -s ours
am skip reason: Merged-In I1031deea32ae4c5c3d432a2fceecda86a8158c10 with SHA-1 4437a8f9b8 is already in history

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

Change-Id: Icfb572f559ef99291aad4ef186c9ca1c840bc7a6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-11 22:02:26 +00:00
Xin Li
9a6a1b3d4e [automerger skipped] Merge "Merge Android 14 QPR1" into main am: 53f0ce5f59 -s ours
am skip reason: Merged-In I1031deea32ae4c5c3d432a2fceecda86a8158c10 with SHA-1 4437a8f9b8 is already in history

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

Change-Id: Ib92d2e624281542f8f992104896a0a35313abdb6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-11 21:19:46 +00:00
Xin Li
c08c1ac9ed [automerger skipped] Merge Android 14 QPR1 am: 0a80706d87 -s ours
am skip reason: Merged-In I1031deea32ae4c5c3d432a2fceecda86a8158c10 with SHA-1 4437a8f9b8 is already in history

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

Change-Id: I014fcffa07ca3e5c6aee14ef68d22bb34e626e60
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-11 21:16:36 +00:00
Mahesh KKV
ab39d6ea62 Merge "Add IEEE 802.11az support for legacy HAL" into main 2023-12-11 18:35:31 +00:00
maheshkkv
7ea8202556 Add IEEE 802.11az support for legacy HAL
Bug: 295619650
Test: Run RTT with WifiRttScan app
Change-Id: I22ea32e3845ae3e285ac29be8d5531018cd8c2b3
2023-12-11 01:29:15 +00:00
Kai Shi
1e6e9b8117 Add capability bit for the cached scan data feature
Test: compilation
Bug: 269485350
Change-Id: Ib8d01c97d095ec598a81f083464e05222352ece1
2023-12-08 17:25:59 -08:00
Les Lee
77f5f11fc5 Merge "wifi: Supports new feature flag about Voip mode" into main 2023-12-09 00:48:08 +00:00
Xin Li
53f0ce5f59 Merge "Merge Android 14 QPR1" into main 2023-12-09 00:11:53 +00:00
Xin Li
0a80706d87 Merge Android 14 QPR1
Merged-In: I1031deea32ae4c5c3d432a2fceecda86a8158c10
Bug: 315507370
Change-Id: Ibd9c5114d2d6a2bb8fc4f3d326adecb442c054cf
2023-12-08 13:14:16 -08:00
Nate Jiang
edcec4bb31 Merge "[Wifi-Aware]- Pairing related interface changes." into main 2023-12-08 19:15:09 +00:00
Les Lee
1861cc223c wifi: Supports new feature flag about Voip mode
Bug: 295885471
Test: manual test, wifi works normally
Change-Id: I44e6d741a924e16a480476f864d08f5545081846
2023-12-08 01:22:32 +00:00
Les Lee
7bc634dc1d Merge "wifi: rename mode 'ON' to 'VOICE'." into main 2023-12-07 23:23:02 +00:00
Isaac Chiou
7b7f24071c Expanding WiFi SAR scenarios for CAP sensor
Add more scenarios for CAP sensor enabled case

Bug: 307167824
Test: New scenarios can be set properly
Change-Id: I80a91108b650adbe4ff4c0a7986acbe8b193cf77
2023-12-07 08:44:32 +00:00
divya.n1
da2ba3d9a2 Add support bit for the roaming mode feature
in libhardware_legacy.

Bug: 269196966
Test: m

Change-Id: I987abe655bb1beb20ae479bb245b586c9832202f
2023-12-07 00:50:30 +00:00