Commit graph

51679 commits

Author SHA1 Message Date
KH Shi
ad57868c48 Merge changes from topic "tetheroffload-aidl-cherry-pick" into tm-mainline-prod am: d1de52c170
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/21368718

Change-Id: I8bf1dc8abc369e78a5dee87973c90848b31326f4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-22 10:11:32 +00:00
KH Shi
47b1a9ecaf [automerger skipped] Follow-up commit of aosp/2329897 am: 5babeec8a6 -s ours
am skip reason: Merged-In Ied83dac5c33e06f6ad4ced18fbee785047b24c38 with SHA-1 562cbfeea2 is already in history

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

Change-Id: I9d01c375700a62b06d0391a82c1bdcde12bfdadf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-22 10:11:28 +00:00
KH Shi
d1de52c170 Merge changes from topic "tetheroffload-aidl-cherry-pick" into tm-mainline-prod
* changes:
  Fix tethering build after ag/21363239
  Follow-up commit of aosp/2329897
  Add tetheroffload VTS to general-tests
  Convert Tetheroffload HIDL to AIDL.
2023-02-22 08:57:52 +00:00
Jack Wu
1bad00b86c Merge "Revert "health: batteryStateOfHealth should be a property"" into udc-dev 2023-02-22 02:52:43 +00:00
Jusik Chung
e89d5d57ba [automerger skipped] Merge "VHAL for PERF_VEHICLE_SPEED_DISPLAY." into tm-qpr-dev am: 2549d56990 am: ce60031f6e -s ours
am skip reason: Merged-In Ifdd41da591e8c352326a247f65a59cda36b76981 with SHA-1 22ec893a66 is already in history

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

Change-Id: I5a2dea1c58af1202c30d85fb10b2dc1b1ce28f71
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-22 02:42:40 +00:00
Jusik Chung
ce60031f6e Merge "VHAL for PERF_VEHICLE_SPEED_DISPLAY." into tm-qpr-dev am: 2549d56990
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/21475566

Change-Id: I5ea8be5f964004b670edd3874f6c948fac2268c7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-22 01:34:00 +00:00
Jusik Chung
2549d56990 Merge "VHAL for PERF_VEHICLE_SPEED_DISPLAY." into tm-qpr-dev 2023-02-21 23:57:42 +00:00
Jusik Chung
c36d6be8ff VHAL for PERF_VEHICLE_SPEED_DISPLAY.
Bug: 261934875
Bug: 261943854
Test: adb shell cmd car_service get-property-value 0x11600208
Change-Id: I0390189129ebd41a913f5fc0f903a0ee22b226d7
Merged-In: Ifdd41da591e8c352326a247f65a59cda36b76981
2023-02-21 23:56:29 +00:00
Jack Wu
f5a0732d83 Revert "health: batteryStateOfHealth should be a property"
This reverts commit a60e7a43a9.

Reason for revert: merge to aosp first
Bug: 251427118
Test: m android.hardware.health-update-api

Change-Id: If56fe4b141b3ad31b7f859118e432f08915c98f3
Signed-off-by: Jack Wu <wjack@google.com>
2023-02-21 23:41:03 +00:00
Treehugger Robot
dd9febd153 Merge "Enforce boot and vendor patch level format always" am: efd4cf71e5 am: 6cff83c776 am: 6833466375
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2441391

Change-Id: I2fa2fa3b0954f08cdb7ebdfcd22cdf676624e1d9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-21 22:45:15 +00:00
Treehugger Robot
6833466375 Merge "Enforce boot and vendor patch level format always" am: efd4cf71e5 am: 6cff83c776
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2441391

Change-Id: I72baa97cf1fe2347d6c66a024ab296bffa623674
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-21 21:33:28 +00:00
Sarah Chin
18ac002deb Merge "Add backwards compatible default value for NR timing advance" into udc-dev 2023-02-21 20:58:06 +00:00
Treehugger Robot
6cff83c776 Merge "Enforce boot and vendor patch level format always" am: efd4cf71e5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2441391

Change-Id: I603011283c1bece014846bf5f318651db89e4ec4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-21 19:48:24 +00:00
Austin Delgado
36d5fb13b1 Merge "Update fingerprint AIDL for Android U" into udc-dev 2023-02-21 19:42:43 +00:00
Sunil Ravi
c6d1ed407c Merge "wifi: set join to true in p2p connect tests" into udc-dev 2023-02-21 19:35:49 +00:00
Rajesh Nyamagoud
c2658ea39f Adding a test using second IMEI as attestation ids. am: 5283f81f64 am: e146a75eb5 am: 6db972db0e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2378091

Change-Id: I3061f88ad88beb4eaea33ecac4f6b8894900949f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-21 19:32:09 +00:00
Treehugger Robot
efd4cf71e5 Merge "Enforce boot and vendor patch level format always" 2023-02-21 18:36:50 +00:00
Rajesh Nyamagoud
6db972db0e Adding a test using second IMEI as attestation ids. am: 5283f81f64 am: e146a75eb5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2378091

Change-Id: I5fd1b7df82dea483ed2dce7e6ab3ffd01bd841e2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-21 18:17:46 +00:00
Sunil Ravi
284883f847 wifi: set join to true in p2p connect tests
After adding ag/21179155, auto join flag is
not set for every p2p connect command. The tests
are passing an unknown peer MAC address to connect(). To
pass the tests, the connect should trigger a scan and
try to find this unknown mac address. So set join flag
to true to run the same scan logic.

Bug: 268236829
Bug: 218608010
Test: atest VtsHalWifiSupplicantP2pIfaceTargetTest
Change-Id: Id5baa0f599d11a3563780aae15ff3cea0407060c
2023-02-21 18:00:53 +00:00
Gabriel Biren
dcd883ff85 Merge "Free version buffer in the Vendor HAL's XML parsing logic." into udc-dev 2023-02-21 17:55:07 +00:00
Rajesh Nyamagoud
e146a75eb5 Adding a test using second IMEI as attestation ids. am: 5283f81f64
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2378091

Change-Id: I809dd6a3113de1667c753b6c491d4c4d7149170b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-21 17:15:54 +00:00
Rajesh Nyamagoud
5283f81f64 Adding a test using second IMEI as attestation ids.
1. Using second IMEI as attestation id without using first IMEI.
       Test should generate a key using second IMEI as attestation id
       without using first IMEI as attestation id. Test should validate
       second IMEI in attesation record.

    2. Using first IMEI as well as second IMEI as attestation ids.
       Test should generate a key using first IMEI and second IMEI as
       attestation ids. Test should validate first IMEI and second IMEI
       in attestation record.

Test: atest -c VtsAidlKeyMintTargetTest
Bug: 263197083, 264979486
Change-Id: I61c3f32e15a8d478a838d14e7db9917a33682267
2023-02-20 20:40:12 +00:00
Sarah Chin
f9a4d9f7e5 Add backwards compatible default value for NR timing advance
Test: atest SignalStrengthTest
Bug: 141097448
Bug: 266825334
Change-Id: I97413b651fa99d4a0e119d4af670fb7216fca704
2023-02-18 02:49:39 -08:00
Alec Mouri
58ce0f2860 [automerger skipped] Check the correct sysprop for P010 support for gralloc 3 and 4. am: 960c14db22 am: 1924f8cb9b am: 56c9a23942 am: cbcb5b532c -s ours am: 92ef107b0a -s ours
am skip reason: Merged-In I00ae5aa01117704158c38f0689e91df99473e208 with SHA-1 960c14db22 is already in history

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

Change-Id: I31a4b54cbea4d6238d5eae265c3860eb9e54006e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-18 07:06:13 +00:00
Alec Mouri
92ef107b0a [automerger skipped] Check the correct sysprop for P010 support for gralloc 3 and 4. am: 960c14db22 am: 1924f8cb9b am: 56c9a23942 am: cbcb5b532c -s ours
am skip reason: Merged-In I00ae5aa01117704158c38f0689e91df99473e208 with SHA-1 960c14db22 is already in history

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

Change-Id: I632596976e86b2543420602f56a902ef0ab50281
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-18 06:07:48 +00:00
Treehugger Robot
9d1e7e4296 Merge "health: update owners" am: 72394c7c55 am: a3b804cd5e am: 437a663a99
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2441527

Change-Id: I88537917e6b117c36c41bb47f4082ef75e2db968
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-18 05:56:36 +00:00
Alec Mouri
a40e55968e [automerger skipped] Check the correct sysprop for P010 support for gralloc 3 and 4. am: 960c14db22 am: bedde5e845 am: 4e5e50f4c9 am: d638abdbe7 -s ours
am skip reason: Merged-In I00ae5aa01117704158c38f0689e91df99473e208 with SHA-1 78d76ea43f is already in history

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

Change-Id: I4174a863a5c9171dcea4d448e30901151f2bb1e8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-18 05:53:52 +00:00
Treehugger Robot
437a663a99 Merge "health: update owners" am: 72394c7c55 am: a3b804cd5e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2441527

Change-Id: I8a93983a15d24670b9f63b7cbb6cec6f47e12404
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-18 04:43:19 +00:00
Alec Mouri
cbcb5b532c Check the correct sysprop for P010 support for gralloc 3 and 4. am: 960c14db22 am: 1924f8cb9b am: 56c9a23942
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2441523

Change-Id: I73c06b3d0dbbfc435a5508d9ad28bfe854f2f394
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-18 04:41:30 +00:00
Alec Mouri
d638abdbe7 Check the correct sysprop for P010 support for gralloc 3 and 4. am: 960c14db22 am: bedde5e845 am: 4e5e50f4c9
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2441523

Change-Id: I3ef1862efa7bda58129a8796134dd2899c5074c9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-18 04:40:45 +00:00
Alec Mouri
26d3d659ec [automerger skipped] Check the correct sysprop for P010 support for gralloc 3 and 4. am: 960c14db22 am: 1924f8cb9b am: cbfd376e5f -s ours
am skip reason: Merged-In I00ae5aa01117704158c38f0689e91df99473e208 with SHA-1 78d76ea43f is already in history

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

Change-Id: I2067576cf67b920cc7e403ef4637783c59724878
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-18 04:36:18 +00:00
Treehugger Robot
a3b804cd5e Merge "health: update owners" am: 72394c7c55
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2441527

Change-Id: I49ca6300d58a7dd2e8383b16cc0896b893d75e53
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-18 03:44:51 +00:00
Alec Mouri
4e5e50f4c9 Check the correct sysprop for P010 support for gralloc 3 and 4. am: 960c14db22 am: bedde5e845
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2441523

Change-Id: Ifdf82fdecdb88b6d182f61d179ca2e2ddfaf2556
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-18 03:43:32 +00:00
Alec Mouri
56c9a23942 Check the correct sysprop for P010 support for gralloc 3 and 4. am: 960c14db22 am: 1924f8cb9b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2441523

Change-Id: Ia4d4a0a8f0db8713fec7e348d9bbbd54107ae0d2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-18 03:41:04 +00:00
Alec Mouri
cbfd376e5f Check the correct sysprop for P010 support for gralloc 3 and 4. am: 960c14db22 am: 1924f8cb9b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2441523

Change-Id: Icea988adfa3b07c0309643f826b994ce7e9b0367
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-18 03:38:38 +00:00
Treehugger Robot
72394c7c55 Merge "health: update owners" 2023-02-18 02:54:19 +00:00
Alec Mouri
1924f8cb9b Check the correct sysprop for P010 support for gralloc 3 and 4. am: 960c14db22
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2441523

Change-Id: Icaf4d03f9722c7b1593619c1153499c957630dd3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-18 02:13:20 +00:00
Alec Mouri
bedde5e845 Check the correct sysprop for P010 support for gralloc 3 and 4. am: 960c14db22
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2441523

Change-Id: I86b2df035255b94e8a682c1870efea0df450aec4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-18 02:10:40 +00:00
Tri Vo
b21e6df7c2 Enforce boot and vendor patch level format always
Test: atest VtsAidlKeyMintTargetTest
Change-Id: I80bc96a6aee62474b33b015b6d04de7527fe757c
2023-02-17 14:55:51 -08:00
Austin Delgado
88ded642f2 Update fingerprint AIDL for Android U
1. Adds sensor shape and touch detection configuration.
2. Adds onPointerCancelWithContext and setIgnoreDisplayTouches.
3. Adds LIFT_TOO_SOON constant to AcquiredInfo.
4. Deprecates SensorLocation displayId, onPointerDown, and onPointerUp.

Bug: 266476972
Test: m android.hardware.biometrics.fingerprint-update-api
Test: built locally
Change-Id: I3aae3c7f8a65d5805f3dd583330407c255ca1369
2023-02-17 21:30:26 +00:00
TreeHugger Robot
87bc929ecf Merge "Wifi: Add support to query and use driver advertised interface combination" into udc-dev 2023-02-17 20:06:23 +00:00
AleX Pelosi
2d1878a090 Merge "health: batteryStateOfHealth should be a property" into udc-dev 2023-02-17 19:57:59 +00:00
TreeHugger Robot
912bba0295 Merge "Add PASSENGER_DISPLAY_BRIGHTNESS property" into udc-dev 2023-02-17 19:18:04 +00:00
Treehugger Robot
16c22a4eed Merge "[dice] Adapt dice service and tests to the new DiceArtifacts trait" am: 249640be0a am: e62da12e4d am: b866dedbd5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2438095

Change-Id: Ie4c4d948f09bc2c14eacb886e7180872a101b5f5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-17 18:37:21 +00:00
Treehugger Robot
d75233adf2 Merge "Fix test assumption for KeyMint+RKP integration" am: 86d2173992 am: 555a0103ff am: 5e31b04350
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2439538

Change-Id: I14f9b5cea71ee62f4a5f46130c315f66a34d9cab
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-17 18:35:52 +00:00
Eric Jeong
a9a3ec3e1a Add PASSENGER_DISPLAY_BRIGHTNESS property
- DISPLAY_BRIGHTNESS can send a brightness to be applied on one display.
- On multi-display devices, brightness of each display should be
  communicated separately to VHAL.
- PASSENGER_DISPLAY_BRIGHTNESS is added to serve that purpose.

Bug: 269186221
Test: build okay
Change-Id: I749ecd451afc4f24039f6e594860f1cb0fcf3509
(cherry picked from commit b9748bad63)
Merged-In: I749ecd451afc4f24039f6e594860f1cb0fcf3509
2023-02-17 18:03:39 +00:00
Treehugger Robot
b866dedbd5 Merge "[dice] Adapt dice service and tests to the new DiceArtifacts trait" am: 249640be0a am: e62da12e4d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2438095

Change-Id: I680db9c800593b18562e427ab51b5027d79827a6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-17 17:27:44 +00:00
Treehugger Robot
5e31b04350 Merge "Fix test assumption for KeyMint+RKP integration" am: 86d2173992 am: 555a0103ff
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2439538

Change-Id: If70f94f625be68c95ff0197c4b2ded9e1c0982ef
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-17 17:26:21 +00:00
Gabriel Biren
204e17171b Free version buffer in the Vendor HAL's
XML parsing logic.

Fixes a minor memory leak that results from
not freeing that buffer.

Bug: 269520490
Test: Manual test
       1. Create several XML files under
          /vendor/etc/wifi/vendor_hals
       2. Modify the codepath to run the
          initVendorHalsDescriptorList method
	  (does not run by default on Pixel).
       3. Check that the XML parsing logic is
          working as intended.
Change-Id: I42944169b70c759998d94e8523d2aa55d0366ffd
2023-02-17 16:47:29 +00:00
Treehugger Robot
e62da12e4d Merge "[dice] Adapt dice service and tests to the new DiceArtifacts trait" am: 249640be0a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2438095

Change-Id: I7e66223b85bca01bbd794da5f3272c01d720c7c8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-17 16:27:04 +00:00