Commit graph

52899 commits

Author SHA1 Message Date
Treehugger Robot
8a01e4676c Merge changes Ida3533de,Ifec6e212 into udc-dev
* changes:
  Complete VHAL GRPC Interfaces
  GRPC Vehicle Proxy Server
2023-04-14 20:53:25 +00:00
Tri Vo
78e07d5dff Allow uninstantiated BootloaderStateTest
No tests are instantiated if KeyMint is present on the the device.
Explicitly allow that.

Bug: 277975776
Test: VtsAidlKeyMintTargetTest
Change-Id: I88f1c0a81f36d198dabcb1420b62a00bacdbb6e7
2023-04-14 11:01:22 -07:00
Sihu Song
61859e7776 Merge "Add emulator metadata generator script" am: 72205da1e6 am: 1d67e9c801 am: 87a1249b48
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2531482

Change-Id: Ia976f5fe77f914c2d9da41c7098fc04522f8d8b8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-14 03:30:05 +00:00
Yuyang Huang
b37f9a8a83 Add @VsrTest annotation to Apf test
Bug: 259309511
Test: atest VtsHalWifiStaIfaceTargetTest
Change-Id: I860e7bff6a31ae7871a6041ab76c2c685b7c8c38
2023-04-14 12:26:32 +09:00
Sihu Song
87a1249b48 Merge "Add emulator metadata generator script" am: 72205da1e6 am: 1d67e9c801
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2531482

Change-Id: I2c074435ff63deae7d19bc8a1b7d1f7d6cd5f66e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-14 02:57:02 +00:00
Sihu Song
1d67e9c801 Merge "Add emulator metadata generator script" am: 72205da1e6
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2531482

Change-Id: I9e2f14eb4d993adaaddfaf094725bcf4cbcc7f39
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-14 02:10:54 +00:00
Sihu Song
72205da1e6 Merge "Add emulator metadata generator script" 2023-04-14 01:40:15 +00:00
Treehugger Robot
27ddba211b Merge "Use IsSubsetOf matcher for comparing changed vs updated properties" into udc-dev 2023-04-14 00:32:29 +00:00
Treehugger Robot
4ce4be5c61 Merge changes I4c49f255,I26c4260b into udc-dev
* changes:
  HVAC dependent properties should return NOT_AVAILABLE_DISABLED
  Print out content of VehiclePropValue when test fails
2023-04-14 00:32:24 +00:00
Treehugger Robot
662839cf2f [automerger skipped] Merge "Add compatibility matrix for V." am: cd4380e4a5 am: 901db5619e am: 4889f6b3c2 -s ours
am skip reason: Merged-In Ic42e51b616782a2763eb80e1cad5ca776cc079d4 with SHA-1 d1df10178d is already in history

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

Change-Id: If63da727d8e7283c650552d685c1080ecf93cf46
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-13 21:17:01 +00:00
Treehugger Robot
4889f6b3c2 Merge "Add compatibility matrix for V." am: cd4380e4a5 am: 901db5619e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2534539

Change-Id: I98dc0da3cdd94daa54f7ba089f07b9dacc42ba02
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-13 20:44:18 +00:00
Treehugger Robot
901db5619e Merge "Add compatibility matrix for V." am: cd4380e4a5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2534539

Change-Id: I878c56f8987614e6070ef3e37f631d7d862597bb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-13 20:13:22 +00:00
Treehugger Robot
cd4380e4a5 Merge "Add compatibility matrix for V." 2023-04-13 18:59:01 +00:00
Treehugger Robot
43a6934217 Merge "Add EventFlag for effect HAL thread processing" am: fe4b88ab73 am: b91c54705b am: 9bab6aa527
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2529223

Change-Id: Iae1fb8b92e5336073cf00df4b74c7d4b6a0c516d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-13 18:02:47 +00:00
Treehugger Robot
2e10b87f4a Merge "AHAL: use PCM_FORMAT_INVALID as the termination of format array." am: d10869b255 am: 3c7da0cf68 am: ff4d1519d2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2534999

Change-Id: I23f3ae5779ccd75a1ab0d47129d64945f99d5f3a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-13 17:59:49 +00:00
Treehugger Robot
9bab6aa527 Merge "Add EventFlag for effect HAL thread processing" am: fe4b88ab73 am: b91c54705b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2529223

Change-Id: Ieb2677ba14e6b4cb3cd897adc76b40198f18dae4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-13 17:30:05 +00:00
Treehugger Robot
ff4d1519d2 Merge "AHAL: use PCM_FORMAT_INVALID as the termination of format array." am: d10869b255 am: 3c7da0cf68
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2534999

Change-Id: Ie51df5ea8f7121ab5aa3e8207427dbb51158d897
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-13 17:29:01 +00:00
Maxim Pleshivenkov
7c3f7854e7 Merge "Update makefile." into udc-dev 2023-04-13 17:01:25 +00:00
Treehugger Robot
b91c54705b Merge "Add EventFlag for effect HAL thread processing" am: fe4b88ab73
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2529223

Change-Id: I106f1e488007de0e89ebcfeb2f8f5928f725f96e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-13 17:01:19 +00:00
Treehugger Robot
3c7da0cf68 Merge "AHAL: use PCM_FORMAT_INVALID as the termination of format array." am: d10869b255
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2534999

Change-Id: I5accfff84fe1cdd8c4a14d7097885beb08199de3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-13 17:00:42 +00:00
Treehugger Robot
fe4b88ab73 Merge "Add EventFlag for effect HAL thread processing" 2023-04-13 16:57:44 +00:00
Treehugger Robot
d10869b255 Merge "AHAL: use PCM_FORMAT_INVALID as the termination of format array." 2023-04-13 16:56:20 +00:00
Gabriel Biren
72235e8d40 Merge "Use the default SAP interface name in VtsHalWifiHostapdV1_2TargetTest." into udc-dev 2023-04-13 15:15:47 +00:00
Treehugger Robot
31de63e897 Merge changes from topic "radio-satellite-v" into udc-dev
* changes:
  DO NOT MERGE disable V matrix.
  Add compatibility matrix for V.
2023-04-13 05:38:48 +00:00
Maxim Pleshivenkov
94220b8613 Update makefile.
Migrate to use andoid.frameworks.automotive.powerpolicy-V2-ndk.

Bug: 277954369
Test: manual build
Change-Id: I5331284b329b9aad731d86a1d1a26cc0b042387a
2023-04-13 00:25:02 -04:00
TreeHugger Robot
d6818349ef Merge "AIDL VHAL GRPC Client" into udc-dev 2023-04-13 00:37:33 +00:00
jiabin
768c6f94d6 AHAL: use PCM_FORMAT_INVALID as the termination of format array.
Bug: 266216550
Test: make
Change-Id: Ibe2056eb4fdecb14c3e25daa3dbdd769d6433136
2023-04-12 23:46:55 +00:00
Aaqib Ismail
76dbff1e9c Use IsSubsetOf matcher for comparing changed vs updated properties
The previous implementation did not work as intended because it was
comparing using equality. This means that if there is a mismatch in
the number of elements in each list it would fail.

Bug: 277359330
Bug: 277359630
Bug: 277359374
Bug: 277359394
Bug: 277359419
Bug: 277359421
Bug: 277359396
Bug: 277359260

Test: atest FakeVehicleHardwareTest
Change-Id: If624ee39271725c6158c004181104ca6b30d4598
2023-04-12 16:31:23 -07:00
Aaqib Ismail
5df458d2c0 HVAC dependent properties should return NOT_AVAILABLE_DISABLED
To be consistent with the new API in Android U, NOT_AVAILABLE_DISABLED
is the more appropiate StatusCode.

Bug: 255430764
Test: atest CtsCarTestCases:CarPropertyManagerTest
Test: atest FakeVehicleHardwareTest
Change-Id: I4c49f255817f1f9bc2888c99177c6dc666213ab6
2023-04-12 16:31:23 -07:00
Aaqib Ismail
dc90e2265f Print out content of VehiclePropValue when test fails
Currently when a test fails, it prints out a byte representation of the
object which is not helpful.

Bug: 277359330
Bug: 277359630
Bug: 277359374
Bug: 277359394
Bug: 277359419
Bug: 277359421
Bug: 277359396
Bug: 277359260

Test: atest FakeVehicleHardwareTest
Change-Id: I26c4260b2dbf5a71fbfe94e11c111b482337e6f5
2023-04-12 16:31:20 -07:00
Hao Chen
a810fb2583 Complete VHAL GRPC Interfaces
Add missing operations from IVehicleHardware.h

Bug: 266001013
Test: `atest GRPCVehicleHardwareUnitTest GRPCVehicleProxyServerUnitTest`

Change-Id: Ida3533dedce49c49c4762b2f9a43997317f5d2c4
2023-04-12 16:17:51 -07:00
Hao Chen
32d467066a GRPC Vehicle Proxy Server
The GRPC proxy server speaks to another IVehicleHardware (no matter if it is real or fake) to serve
other GRPC vehicle hardware(s). It can be used as a real GRPC Vehicle
Hardware backend when it is running on the machine that have a direct
access to the real vehicle bus, or it can also be used as a fake backend
for testing.

Test: `atest GRPCVehicleProxyServerUnitTest`
Bug: 266001013
Change-Id: Ifec6e21223986a68ab089a87a9664c1b52601ea2
2023-04-12 16:12:18 -07:00
Yifan Hong
ffcf238842 Add compatibility matrix for V.
Test: TH
Bug: 266741352
Change-Id: Id87a43f231c9482a55e61204f9c67c975fff746c
Merged-In: Ic42e51b616782a2763eb80e1cad5ca776cc079d4
2023-04-12 21:54:01 +00:00
Yifan Hong
c2340359de DO NOT MERGE disable V matrix.
Disable 9.xml on the Android 14 branch because
it should not know about the new HALs.

The 9.xml file itself is kept to avoid future
merge conflicts.

Bug: 277379745
Test: TH

Change-Id: I32263830e69080eece47dcc0880be32be02e2a9c
2023-04-12 14:47:42 -07:00
Yifan Hong
d1df10178d Add compatibility matrix for V.
Copied from U matrix. Also include the radio.satellite HAL.

Test: TH
Bug: 266741352
Change-Id: Ic42e51b616782a2763eb80e1cad5ca776cc079d4
2023-04-12 14:47:31 -07:00
Gabriel Biren
282c8312bf Use the default SAP interface name in
VtsHalWifiHostapdV1_2TargetTest.

Test currently sets up a new interface
and uses that interface's name. On Pixel,
the new interface is wlan1, which does not
seem to support the OpenAccessPointWithoutAcs
configuration. However, the default SAP
interface wlan0 does support it.

The method to get the default interface name
is taken from this file before ag/19202002
was merged.

Bug: 270509029
Test: atest VtsHalWifiHostapdV1_2TargetTest
       (on a Bramble device running rvc-qpr3-release)
Change-Id: Ic3c516f452dfb54f155246073a9bca20dbecaa0f
2023-04-12 21:33:50 +00:00
Hao Chen
6cb8689d10 AIDL VHAL GRPC Client
Bug: 266001013
Test: `atest GRPCVehicleHardwareUnitTest`
Change-Id: I89b1c260aa2c34f353e88547a92718bb1cc37e5f
2023-04-12 14:31:50 -07:00
Aaqib Ismail
a9eeef4395 Merge "Split BLIND_SPOT_WARNING_STATE into 2 area IDs on emulator" into udc-dev 2023-04-12 20:41:19 +00:00
Muralidhar Reddy Mule
fe20b8a86e Merge "Ignore new tests of IRadioSim, IRadioModem V2 in devices with V1" into udc-dev 2023-04-12 20:07:00 +00:00
Gabriel Biren
f5c86e53bf Merge "Acquire the global lock when the dump method is called." into udc-dev 2023-04-12 20:06:12 +00:00
Tri Vo
dc91a4dbf4 Merge "Test for bootloader state" am: eb94a4f9ef am: e1c1abb059 am: cd06c1740a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2514097

Change-Id: I96df03008dc42ad6c251b8d6f22f115a9480a680
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 17:54:36 +00:00
Tri Vo
cd06c1740a Merge "Test for bootloader state" am: eb94a4f9ef am: e1c1abb059
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2514097

Change-Id: I78c2cc0f362a14f5d6ad64d59eebdeffeb784010
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 17:24:54 +00:00
Tri Vo
e1c1abb059 Merge "Test for bootloader state" am: eb94a4f9ef
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2514097

Change-Id: I6a29cb23f3d9d6525f36a2187fa8742854d94c43
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 16:55:17 +00:00
Tri Vo
eb94a4f9ef Merge "Test for bootloader state" 2023-04-12 16:20:51 +00:00
Muralidhar Reddy
eb1c617446 Ignore new tests of IRadioSim, IRadioModem V2 in devices with V1
Bug: 270513760
Test: atest VtsHalRadioTargetTest:PerInstance/RadioSimTest, atest VtsHalRadioTargetTest:PerInstance/RadioModemTest
Change-Id: Ia981f1f341c6d2ebe3c7ff768505057140c9d718
2023-04-12 12:57:17 +00:00
Yifan Hong
3db9f6880a Merge "Finalize U kernel requirements." am: 09e267b874 am: 1f9618cd2a am: 9219e63bf5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2531999

Change-Id: I022d1cef3bb4ef00103b893d866bd42a26235781
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 08:05:51 +00:00
Yifan Hong
9219e63bf5 Merge "Finalize U kernel requirements." am: 09e267b874 am: 1f9618cd2a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2531999

Change-Id: I493f3f82eec9fa35e423c2e25723e71dce2a7593
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 07:33:06 +00:00
Yifan Hong
1f9618cd2a Merge "Finalize U kernel requirements." am: 09e267b874
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2531999

Change-Id: I1a4d5f61e036e65041fc465e706e6f217dfb3768
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 07:00:17 +00:00
Steven Moreland
957a032a33 Merge "Explicit init .rc user." am: 51aec020ef am: 555d54d1a2 am: a197855f32
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2528129

Change-Id: I9a1e84a186e801e2bc74ff25a5f3e8ee377a002c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 03:16:09 +00:00
Steven Moreland
a197855f32 Merge "Explicit init .rc user." am: 51aec020ef am: 555d54d1a2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2528129

Change-Id: I8debdf5503ee6ef46f1247ec6c7b5c967e57aac9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 02:44:20 +00:00