Commit graph

40457 commits

Author SHA1 Message Date
Gabriel Biren
0453f81fb6 Merge "wifi: Add qosPolicyRequestId in definition of supplicant AIDL APIs" into tm-dev 2022-02-22 20:20:18 +00:00
Hao Chen
7cc7dd1386 [automerger skipped] Merge changes from topic "gnss-cherry-pick" into sc-v2-dev-plus-aosp am: 9e09a58e13 -s ours
am skip reason: Merged-In Ide7bbb3e81a90414496084691227bd95a2e7af18 with SHA-1 090f16c0b8 is already in history

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

Change-Id: I304fa3d84d95018976531334fa8ff946dc2c18c7
2022-02-22 19:14:03 +00:00
Hao Chen
9e09a58e13 Merge changes from topic "gnss-cherry-pick" into sc-v2-dev-plus-aosp
* changes:
  Supported synchronized fixed location and measurement from device files
  Add parser to support CSV location data
  Read GNSS measurement from device file when available
  Add raw measurement parser
  fix potential use-after-frees of stack memory
  Refactor and reuse some read device file logic Add skeleton on HAL for Gnss raw measurement injection
2022-02-22 18:40:36 +00:00
Treehugger Robot
6d4fd1620c Merge "Add @PropagateAllowBlocking tag to supplicant methods that return an interface." am: 4965e27b86 am: 1331953ef3 am: 24d6da2df8
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1964740

Change-Id: I979a22233e74337a0c50c22820455e142db014d1
2022-02-22 18:31:53 +00:00
Treehugger Robot
24d6da2df8 Merge "Add @PropagateAllowBlocking tag to supplicant methods that return an interface." am: 4965e27b86 am: 1331953ef3
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1964740

Change-Id: I0bcd03263c9d9825f7ab2041498e6fef51349758
2022-02-22 17:59:58 +00:00
Treehugger Robot
1331953ef3 Merge "Add @PropagateAllowBlocking tag to supplicant methods that return an interface." am: 4965e27b86
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1964740

Change-Id: If47724de35d8399d0e391a29a4aa92aa4e1dbbd7
2022-02-22 17:28:45 +00:00
Shivani Baranwal
65f6167f5f wifi: Add qosPolicyRequestId in definition of supplicant AIDL APIs
This CL is to add param qosPolicyRequestId in the supplicant AIDL
APIs needed for QoS policy feature. This param contains the
dialog token information of the Qos Policies.

Bug: 191426881
Test: atest VtsHalWifiSupplicantStaIfaceTargetTest
Change-Id: I31f9bf6006652ac8c75cbdfba231535bfd676ecd
2022-02-22 17:17:11 +00:00
Treehugger Robot
4965e27b86 Merge "Add @PropagateAllowBlocking tag to supplicant methods that return an interface." 2022-02-22 17:07:12 +00:00
Alice Kuo
2210d4117b Remove bluetooth.audio@2.2 default implementation and utils handles am: 921760d9a7 am: d3f8b39e76 am: e6d27b4463
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1959014

Change-Id: Id40bf71b69d1a7bb87993d0caa45dcd28d40d694
2022-02-22 12:21:57 +00:00
Alice Kuo
bd95ac34cb Remove bluetooth.audio@2.2 interface am: 13c3701537 am: af1c5194a5 am: 4416aa8071
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1962885

Change-Id: I96cacdc67d76e83bf1d12446c169dc53c27bc994
2022-02-22 12:21:53 +00:00
Alice Kuo
e6d27b4463 Remove bluetooth.audio@2.2 default implementation and utils handles am: 921760d9a7 am: d3f8b39e76
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1959014

Change-Id: I8a61f053b89b3f8e6d8b3ecad1e7ee4f55981030
2022-02-22 11:55:35 +00:00
Alice Kuo
4416aa8071 Remove bluetooth.audio@2.2 interface am: 13c3701537 am: af1c5194a5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1962885

Change-Id: I3f01cf0179a50d51cd8e9aec69a18f6a7e3ed52f
2022-02-22 11:55:32 +00:00
Alice Kuo
d3f8b39e76 Remove bluetooth.audio@2.2 default implementation and utils handles am: 921760d9a7
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1959014

Change-Id: I38f8e9a73d41727909a88d5bbe4f95bef560bcc6
2022-02-22 11:32:11 +00:00
Alice Kuo
af1c5194a5 Remove bluetooth.audio@2.2 interface am: 13c3701537
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1962885

Change-Id: I56145e7c42df2407312d96b0cebd9dadfcc196bc
2022-02-22 11:32:10 +00:00
Alice Kuo
921760d9a7 Remove bluetooth.audio@2.2 default implementation and utils handles
Bug: 204585486
Test: a2dp software/offload, le audio software/offload verified pass
Change-Id: I7c8f32dd294562052ff5af73e6f3c48642c03fe4
2022-02-21 10:52:39 +08:00
Alice Kuo
13c3701537 Remove bluetooth.audio@2.2 interface
Bug: 204585486
Test: A2dp software/offload, le audio software offload verified pass
Change-Id: Icca0d0e0f5f074fc3f68742722a8c268e8289558
2022-02-21 10:52:20 +08:00
Robert Shih
5cb7fe91c6 Merge "Add drm aidl owners" am: 29988fd22f am: 065a377950 am: 1f1240ee1d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1991237

Change-Id: I6099376a0e13f1bcff7b4146c565a4bb96d76d91
2022-02-19 21:29:07 +00:00
Robert Shih
1f1240ee1d Merge "Add drm aidl owners" am: 29988fd22f am: 065a377950
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1991237

Change-Id: I925adbebc1300e28d771fa88ed42725ca3a6b586
2022-02-19 21:05:26 +00:00
Robert Shih
065a377950 Merge "Add drm aidl owners" am: 29988fd22f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1991237

Change-Id: Ia001271f6528d055c09d895f922eab79ff78d127
2022-02-19 20:42:33 +00:00
Robert Shih
29988fd22f Merge "Add drm aidl owners" 2022-02-19 20:23:24 +00:00
TreeHugger Robot
ac5dc18df1 Merge "wifi: fix NULL pointer in unit tests" into tm-dev 2022-02-19 02:07:53 +00:00
Yuchen He
f46bb4ac80 Supported synchronized fixed location and measurement from device files
Replace NMEA by one row fixed location data

Test: atest VtsHalGnssTargetTest
Test: launch_cvd -cpus 16 -memory_mb 16192  --start_gnss_proxy --gnss_file_path=/usr/local/google/home/yuchenhe/Downloads/raw.txt --fixed_location_file_path=/google/data/rw/users/yu/yuchenhe/input.txt
Bug: 213225295

Merged-In: Ide7bbb3e81a90414496084691227bd95a2e7af18
Change-Id: Ide7bbb3e81a90414496084691227bd95a2e7af18
2022-02-18 18:05:09 -08:00
Yuchen He
76ff33b72d Add parser to support CSV location data
Bug: 213225295
Test: launch_cvd -cpus 16 -memory_mb 16192  --start_gnss_proxy
--gnss_file_path=/google/data/rw/users/yu/yuchenhe/input.txt (Running blue
dot in Google Maps)

Almost a cherry-pick but changed the data type from AIDL GnssLocation to
the HIDL type, since there are no AIDL GnssLocation Type in SC-V2.

Merged-In: I572315888c2f57ce701e695acb03aa6b28787f31
Change-Id: I572315888c2f57ce701e695acb03aa6b28787f31
2022-02-18 18:05:00 -08:00
Yuchen He
4eb8cf8f6a Read GNSS measurement from device file when available
Test: atest CtsLocationGnssTestCases GtsLocationTestCases on CF
Bug: 190757198
Change-Id: Ic03d56a5df6b99f7b20c5840e7091ead138316b1
Merged-In: Ic03d56a5df6b99f7b20c5840e7091ead138316b1
2022-02-18 18:03:44 -08:00
Yuchen He
6ceb09d60c Add raw measurement parser
Test: manual test (data cross verified with GnssLogger app)
Bug: 190757198

Change-Id: I8d57826c6aa2a9d1a09b4847aadfda8c9160b36f
Merged-In: I8d57826c6aa2a9d1a09b4847aadfda8c9160b36f
2022-02-18 18:03:34 -08:00
George Burgess IV
e7d2bbadca fix potential use-after-frees of stack memory
`devname_value` is a local variable; if `property_get` succeeds, we'll
return a pointer to it. Returning a `std::string` instead sidesteps this
problem.

Bug: 190757198
Test: TreeHugger
Change-Id: If9ca733dd21128706f2a9f62e8460b1286631aa5
Merged-In: If9ca733dd21128706f2a9f62e8460b1286631aa5
2022-02-18 18:03:24 -08:00
Yuchen He
95276a229b Refactor and reuse some read device file logic
Add skeleton on HAL for Gnss raw measurement injection

Bug: 190757198
Test: manual test
Merged-In: I9b58043d5ed321aa71ff4f23031df251ae89c407
Change-Id: I9b58043d5ed321aa71ff4f23031df251ae89c407
2022-02-18 18:03:12 -08:00
TreeHugger Robot
f268ae2cef Merge "Change TOC and TOE to long" into tm-dev 2022-02-19 01:01:40 +00:00
Gabriel Biren
b29181a507 Merge "Reorder the hostapd Generation enum to list the WiFi generations chronologically." into tm-dev 2022-02-18 23:09:21 +00:00
Ahmed ElArabawy
25692880c0 Merge "Wifi: Add VTS tests for Vendor HAL 1.6" into tm-dev 2022-02-18 22:22:52 +00:00
Ahmed ElArabawy
98112251b1 Merge "Wifi: Fix VTS tests broken due to uprev to Vendor HAL 1.6" into tm-dev 2022-02-18 22:20:45 +00:00
Michael Butler
51f3a442b1 Merge "Remove isUpdatable query from NNAPI -- hal" am: 82d36078b9 am: 3d9540d5ed am: 7c858f2ae4
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1985407

Change-Id: I25779bbd5701bb1a3c0c6c3dcc2e82a5e50ec271
2022-02-18 22:09:47 +00:00
Michael Butler
7c858f2ae4 Merge "Remove isUpdatable query from NNAPI -- hal" am: 82d36078b9 am: 3d9540d5ed
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1985407

Change-Id: Iadf47d5d0e056b4a58314c05f1fe67b467b7a1c3
2022-02-18 21:45:11 +00:00
Michael Butler
3d9540d5ed Merge "Remove isUpdatable query from NNAPI -- hal" am: 82d36078b9
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1985407

Change-Id: I6869e9085e8a68635ab187411acd1cfd4d323b83
2022-02-18 21:13:41 +00:00
Quang Luong
6a72ebc9c5 Merge "Reinstate functionality of IWifiChip.getAvailableModes()" into tm-dev 2022-02-18 21:13:34 +00:00
Michael Butler
82d36078b9 Merge "Remove isUpdatable query from NNAPI -- hal" 2022-02-18 20:23:29 +00:00
Yu-Han Yang
c2fb318471 Change TOC and TOE to long
Change TOC and TOE definition to
1. long
2. time in seconds since GPS epoch, regardless of constellation
3. must not be encoded
4. rename to timeOfClockSeconds and timeOfEphemerisSeconds

Bug: 219575003
Test: on device
Change-Id: Icb75a3397d3bf41c91e2a19bbec8a95a97100a07
(cherry picked from commit f20e55cf46)
2022-02-18 19:49:01 +00:00
Jimmy Chen
1cfe081491 wifi: fix NULL pointer in unit tests
getSupportedIfaceName() should be mocked to avoid
NULL pointer exception.

Bug: 217267980
Test: atest android.hardware.wifi@1.0-service-tests
Change-Id: I97a9cb8430ea77a6fe068f20586ab27df9291400
2022-02-18 09:21:48 -08:00
Gabriel Biren
832cfea94c Create callback to call on auxiliary supplicant events, namely
EAP_METHOD_SELECTED, SSID_TEMP_DISABLED, and OPEN_SSL_FAILURE.

Bug: 165342942
Test: m
Change-Id: I28ccd513bba937041ae8be1c5eff1fa6cb491c97
2022-02-18 16:54:35 +00:00
Ahmed ElArabawy
b2c8852cba Wifi: Add VTS tests for Vendor HAL 1.6
This commit adds the VTS tests for the Wifi Vendor HAL 1.6

Bug: 220014236
Test: atest VtsHalWifiV1_6TargetTest
Test: atest VtsHalWifiNanV1_6TargetTest
Test: atest VtsHalWifiRttV1_6TargetTest
Change-Id: Id9f034c25029ef7a7f437185082abef67776ac8f
2022-02-18 08:54:31 -08:00
Gabriel Biren
fea031e81d Reorder the hostapd Generation enum to list
the WiFi generations chronologically.

Bug: 213475388
Test: Build the interface (mm -j)
Change-Id: I9f501c021956a376c03884dadade473ab0953bd3
(cherry picked from commit 04deb64be1)
2022-02-18 16:53:03 +00:00
Ahmed ElArabawy
7f40eee612 Wifi: Fix VTS tests broken due to uprev to Vendor HAL 1.6
This commit skips the tests for the deprecated HAL APIs due to the
addition of the Vendor HAL ver. 1.6

Bug: 220201314
Test: atest VtsHalWifiRttV1_4TargetTest
Test: atest VtsHalWifiV1_5TargetTest
Change-Id: I9c15249effa9a678115bf644012c0047ad13c66b
2022-02-18 08:51:53 -08:00
Quang Luong
6d66167031 Reinstate functionality of IWifiChip.getAvailableModes()
IWifiChip.getAvailableModes() is needed as a dependency for VTS tests.
Reinstate the API to avoid breaking old tests, ignoring the new
AP_BRIDGED concurrency type.

Bug: 219617823
Test: atest VtsHalWifiV1_0TargetTest VtsHalWifiV1_1TargetTest
VtsHalWifiV1_2TargetTest VtsHalWifiV1_3TargetTest
VtsHalWifiV1_4TargetTest VtsHalWifiV1_5TargetTest

Change-Id: Ide5b251b20f1ea56a76c2ce3b04c4e28fc29624c
2022-02-18 08:51:34 -08:00
Josh Wu
dceca455a1 BtAudio: Enable LE Audio software encoding VTS am: 3202eab88a am: 0ecae80b26 am: 381b56aed2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1991530

Change-Id: Iadad76275b305ce13ba2380766f285814473acf7
2022-02-18 05:13:07 +00:00
Treehugger Robot
53cfd9341f Merge "broadcastradio 2.0: uses correct interface tag." am: bade4d7bd2 am: ff37dcdc9b am: d32c2f4979
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1984587

Change-Id: Ib39a777a22c9a692f4a8c3ddd2923ba7faa260fd
2022-02-18 05:12:14 +00:00
Karthik Ramakrishnan
83ad8d20b1 VtsHalBluetoothV1_0: Turn off/on BT for all users am: 0dc66a2c69 am: f26e49bf49 am: 136142007d
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/16810781

Change-Id: I5842135b6ca60a846c8eff1ff47593451141df4e
2022-02-18 05:02:43 +00:00
Josh Wu
381b56aed2 BtAudio: Enable LE Audio software encoding VTS am: 3202eab88a am: 0ecae80b26
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1991530

Change-Id: Id3c02d098a1c0b513713be10f3e798428a414560
2022-02-18 04:57:40 +00:00
Treehugger Robot
d32c2f4979 Merge "broadcastradio 2.0: uses correct interface tag." am: bade4d7bd2 am: ff37dcdc9b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1984587

Change-Id: Iec70f78d3de54a5d46fc24ecdf9ea73f9c7d2599
2022-02-18 04:57:32 +00:00
Josh Wu
0ecae80b26 BtAudio: Enable LE Audio software encoding VTS am: 3202eab88a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1991530

Change-Id: Icf9112b5367b920d4bd7026295d528a2cf7a8d40
2022-02-18 04:25:08 +00:00
Treehugger Robot
ff37dcdc9b Merge "broadcastradio 2.0: uses correct interface tag." am: bade4d7bd2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1984587

Change-Id: Id124373236fa8ab776b2354d9d86ee7ec8148f1a
2022-02-18 04:24:36 +00:00