Commit Graph

40482 Commits

Author SHA1 Message Date
TreeHugger Robot
a0fb8acaa5 Merge "getDisplayDecorationSupport test: allow errors" into tm-dev 2022-02-23 17:31:08 +00:00
Alice Kuo
b3a4a1b11e Merge "Set bluetooth.audio AIDL HAL to mandatory for Android T" am: 53b601d590 am: c6e816aad8 am: 31a9f2280c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1977705

Change-Id: I5eb69face96919e1397aaf668b138b92b1f39d6d
2022-02-23 17:25:11 +00:00
Alice Kuo
31a9f2280c Merge "Set bluetooth.audio AIDL HAL to mandatory for Android T" am: 53b601d590 am: c6e816aad8
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1977705

Change-Id: Iccb48bcb424967236881bffb57f0728915033ec8
2022-02-23 17:01:53 +00:00
Alice Kuo
c6e816aad8 Merge "Set bluetooth.audio AIDL HAL to mandatory for Android T" am: 53b601d590
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1977705

Change-Id: I8f194ce924f85df1202c37fa0dcab42a00628bdc
2022-02-23 16:33:06 +00:00
Hao Chen
36de177bb3 [automerger skipped] Merge changes from topic "gnss" into sc-v2-dev am: 3870153fac -s ours am: 96e84fbb5c -s ours
am skip reason: Merged-In Ide7bbb3e81a90414496084691227bd95a2e7af18 with SHA-1 f46bb4ac80 is already in history

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

Change-Id: I66f69ac086631090330b240009077e9951f58ac1
2022-02-23 16:31:49 +00:00
Yuchen He
c66d4d9c73 [automerger skipped] Supported synchronized fixed location and measurement from device files am: 55c22f897e -s ours am: 31cf8964bc -s ours
am skip reason: Merged-In Ide7bbb3e81a90414496084691227bd95a2e7af18 with SHA-1 f46bb4ac80 is already in history

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

Change-Id: Idf2365b77154e7a1b722907efc27fbb232503d9d
2022-02-23 16:31:47 +00:00
Leon Scroggins III
915908797a getDisplayDecorationSupport test: allow errors
Allow getDisplayDecorationSupport to return an error, and treat that as
unsupported. This allows Cuttlefish, which, with
I91105fc3345dbd75aeb0b102f3f0138fa33120c0, returns Unsupported, to pass
the test.

Bug: 209458568
Test: this
Change-Id: I8e17d3c0ca0ac4eacb0b5e4c8ae540f271e68a23
2022-02-23 09:51:21 -05:00
Alice Kuo
53b601d590 Merge "Set bluetooth.audio AIDL HAL to mandatory for Android T" 2022-02-23 10:53:32 +00:00
sandeepjs
5561b4baba VTS testcases for HAL API setSimSlotMapping
To accomodate MEP, we have updated the setSimSlotMapping API in the HAL,
Writing the tescases to check functionality of the same.

Test: atest VtsHalRadioTargetTest
Bug: 217665559
Change-Id: Idbff19db2e536d3c2f7b80afbbf244575d8247d0
Merged-In: Idbff19db2e536d3c2f7b80afbbf244575d8247d0
(cherry picked from commit 2a01674368)
2022-02-23 05:45:23 +00:00
Super Liu
91ffc400e8 Merge "Revert "Add bssid to onEapFailure callback method."" into tm-dev 2022-02-23 02:37:45 +00:00
Robert Shih
69367a9a53 Merge "aidl drm: independent min/max SecurityLevel for each supported mime" into tm-dev 2022-02-23 02:08:46 +00:00
Super Liu
c5e5f2059c Revert "Add bssid to onEapFailure callback method."
Revert "[automerge] Add bssid to onEapFailure callback method. 2..."

Revert "Update framework callback implementation to accept the b..."

Revert "[automerge] Update framework callback implementation to ..."

Revert "[automerge] Update framework callback implementation to ..."

Revert submission 16982405-eap-failure-bssid

Reason for revert: Broken build on git_master
Reverted Changes:
I2d2a27255:Add bssid to onEapFailure callback method.
I5eb812575:[automerge] Update framework callback implementati...
I64474d678:[automerge] Update framework callback implementati...
If08fc19f0:Update framework callback implementation to accept...
I71a514dde:[automerge] Add bssid to onEapFailure callback met...
I1490b9dcc:[automerge] Add bssid to onEapFailure callback met...
I699052131:Update supplicant service to call onEapFailure wit...

Change-Id: I7c926e2d446399ee79ea62f50735647411a35576
2022-02-23 01:19:06 +00:00
Gabriel Biren
827968b25f Merge "Add bssid to onEapFailure callback method." into tm-dev 2022-02-23 00:48:07 +00:00
Hao Chen
96e84fbb5c [automerger skipped] Merge changes from topic "gnss" into sc-v2-dev am: 3870153fac -s ours
am skip reason: Merged-In Ide7bbb3e81a90414496084691227bd95a2e7af18 with SHA-1 f46bb4ac80 is already in history

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

Change-Id: Iec30fb3ec54b231083a15e173d87e732741012ac
2022-02-22 23:34:54 +00:00
Yuchen He
31cf8964bc [automerger skipped] Supported synchronized fixed location and measurement from device files am: 55c22f897e -s ours
am skip reason: Merged-In Ide7bbb3e81a90414496084691227bd95a2e7af18 with SHA-1 f46bb4ac80 is already in history

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

Change-Id: I48ec5cf61738e932bc47eebc41adccaf71ab0014
2022-02-22 23:34:52 +00:00
Hao Chen
3870153fac Merge changes from topic "gnss" into sc-v2-dev
* changes:
  Supported synchronized fixed location and measurement from device files
  Add parser to support CSV location data
2022-02-22 23:08:40 +00:00
TreeHugger Robot
5d966b382e Merge "composer: remove IComposer.dumpDebugInfo" into tm-dev 2022-02-22 23:08:34 +00:00
Gabriel Biren
ce8b56cd0f Add bssid to onEapFailure callback method.
Bug: 165342942
Test: atest VtsHalWifiSupplicantStaIfaceTargetTest
Change-Id: I2d2a272552d8c46eeba1ef28bdd2f8b61fb31b40
2022-02-22 21:37:51 +00:00
Roshan Pius
4aa000993c Merge "uwb(hal): Modify TLV value size for interleaving params" into tm-dev 2022-02-22 20:34:37 +00:00
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
Roshan Pius
89791a7891 uwb(hal): Modify TLV value size for interleaving params
Bug: 220173516
Test: Compiles
Change-Id: Idf26f6d4adbbc79f4f1f260aa8b8c608f3391b98
2022-02-22 10:09:35 -08: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
Ady Abraham
89d7270dcd composer: remove IComposer.dumpDebugInfo
aidl already have a dump funciton, so there is no need to
expose a custom dumpDebugInfo from IComposer.

Bug: 220171623
Test: atest VtsHalGraphicsComposer3_TargetTest
Test: adb shell dumpsys SurfaceFlinger
Test: adb shell dumpsys android.hardware.graphics.composer3.IComposer/default
Change-Id: I5036193c06ba9fdd8aa5f79cd756541d9edc146c
2022-02-22 02:54:41 +00:00
Alice Kuo
da125c608b Set bluetooth.audio AIDL HAL to mandatory for Android T
Bug: 203490261
Test: make
Change-Id: Ic975290fb3b43ffa3eadc2902f76ee43e8215619
2022-02-21 10:53:18 +08: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
1203027999 aidl drm: independent min/max SecurityLevel for each supported mime
Bug: 219528925
Test: atest MediaDrmTest.testIsCryptoSchemeSupportedForSecurityLevels
Change-Id: I9dcd786fe921c6ed4ac49bba5a6dddf887404df3
Merged-In: I9dcd786fe921c6ed4ac49bba5a6dddf887404df3
2022-02-20 19:35:30 +00: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