Commit graph

2267 commits

Author SHA1 Message Date
Treehugger Robot
0e1c989a36 Merge "Modify CameraUseStreamConfigToDisplay" into android13-tests-dev am: 4c7a5de957 am: b4fadec4ff
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2911485

Change-Id: I435a47ef473b078290487d6470e93452270204da
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-18 05:06:18 +00:00
Treehugger Robot
b4fadec4ff Merge "Modify CameraUseStreamConfigToDisplay" into android13-tests-dev am: 4c7a5de957
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2911485

Change-Id: Ib03e2c8e9b8dd43bca4741dbd1024ab0da6c5f97
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-18 04:44:07 +00:00
Changyeon Jo
47640027f2 Modify CameraUseStreamConfigToDisplay
Exclude logical camera devices from CameraUseStreamConfigToDisplay test
case.

Bug: 275049370
Test: atest VtsHalEvsV1_0TargetTest and
      atest VtsHalEvsV1_1TargetTest
Change-Id: If6b31d94bdbffd2f4e9ab9bd5c8957ec85904187
(cherry picked from commit d5732b6bbf)
2024-01-17 01:46:07 +00:00
Felix Obenhuber
a77f2df473 automotive: Add Rust backend to the vhal AIDL
This enables us to write a vhal service in Rust.

Test: Verified with a custom replacement of the DefaultVehicleHal and ran in cuttlefish
Change-Id: I53601e1a10cee75877e76ae04f7837e7d1a20ebd
2024-01-10 16:23:03 +01:00
Treehugger Robot
20768c89d7 Merge "Handle logical camera devices properly" into main 2024-01-09 22:41:15 +00:00
Tomasz Wasilczyk
5370670c4a No need to modify acc for std::accumulate
Bug: 175635923
Test: m MODULES-IN-hardware-interfaces-automotive-audiocontrol
Change-Id: Ic26706d72966b991424c47c5fb7dd46612a3dcc3
2024-01-09 12:16:56 -08:00
Tomasz Wasilczyk
b87cdae8d6 Add missing libc++ includes
Bug: 175635923
Test: m MODULES-IN-hardware-interfaces-automotive-can
Change-Id: I2fcc511f45d87b0ca6d80d18df2ba9f92e0155f9
2024-01-09 11:56:43 -08:00
Changyeon Jo
050b2ce1cf Handle logical camera devices properly
- HighPriorityCameraClient test case is not executed against logical
  camera devices because clients are not allowed to change camera
  parameters via logical cameras.
- CameraStreamExternalBuffering test case closes logical camera device
  explicitly, to avoid any influence on following test scenarios.

Bug: 319165229
Test: atest VtsHalEvsTargetTest
Change-Id: I734d701a2056ab84fe74179b083c3f6c5463447b
2024-01-09 06:15:34 +00:00
Victor Shutemov
1e14bd55bd Fix AIDL VHAL metadata extraction script
Add capability to process values from imports.
Update json metadata file with new data.

Testing:
1. cd hardware/interfaces/automotive/vehicle/aidl/emu_metadata
2. ./generate_emulator_metadata.py ../../aidl_property/android/hardware/automotive/vehicle out.json

Bug: 317529575
Test: manual
Change-Id: I315f1f75c2372796bde3bdacd39246344579c002
2024-01-03 13:25:57 +01:00
Tyler Trephan
35bf32ff0f Fixed spelling mistake in LaneCenteringAssistCommand
Test: None
Bug: 290972334
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:077e36dee61db38ad8d0e28a62542e571e2921ae)
Merged-In: Ic85ba803abe349ea9a7edd7dca5cbe7159df34ac
Change-Id: Ic85ba803abe349ea9a7edd7dca5cbe7159df34ac
2023-12-27 20:02:52 +00:00
Yu Shan
c61a19bc28 Merge "Make sure the VehiclePropValue object is initialized" into main 2023-12-15 19:57:50 +00:00
Liu, Kai1
cb700ebc64 Make sure the VehiclePropValue object is initialized
If MALLOC_ZERO_CONTENTS is false, the new created VehiclePropValue
object maybe filled with dirty data, we should initialize it so that
its status member can be initialized to zero to avoid timeout when
car services get properties, such as property OBD2_LIVE_FRAME.

Bug: 315728228
Test: hidl_test

Change-Id: I530bc95a3074c917be853f55cd1736558b140da4
Signed-off-by: Liu, Kai1 <kai1.liu@intel.com>
2023-12-13 16:52:05 +08:00
Treehugger Robot
e35fd5922b Merge "Update OWNERS file." into main 2023-12-13 01:28:25 +00:00
Yu Shan
bdd4c1aaea Update OWNERS file.
Test: None
Bug: None
Change-Id: I0c2b9bba98c0543ed44cf7c5ad1a350e195b7b29
2023-12-12 17:24:42 -08:00
Yi Kong
4eeda91a4a Fix -Wunused-variable compiler warning am: 810d41a774
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2861356

Change-Id: I3383d70ff4387df65a0fdcaf0004061e5ad0c9a0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-06 12:29:41 +00:00
Yi Kong
810d41a774 Fix -Wunused-variable compiler warning
Test: presubmit
Change-Id: I146d3435fe76da7f300452a14b62ce430c38ae36
2023-12-06 14:03:58 +09:00
Treehugger Robot
fab0804671 Merge "Sandbox VehicleServerProtoStub_cc/h@default-grpc" into main am: 73c04536b0
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2838463

Change-Id: I761f48b9c8c337af4442267c28a2f69032d92995
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-22 20:35:14 +00:00
Cole Faust
52d7446074 Sandbox VehicleServerProtoStub_cc/h@default-grpc
go/roboleaf-busy-beavers-sandboxing

Bug: 307824623
Test: ./build/soong/tests/genrule_sandbox_test.py VehicleServerProtoStub_cc@default-grpc VehicleServerProtoStub_h@default-grpc
Change-Id: I35d56c909e5eda8bc337f7f994e669fb8e3c9cb0
2023-11-20 14:36:58 -08:00
Treehugger Robot
1daa555faf Merge "Refactored vehicleManager_fuzzer" into main am: 3db45f8509
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2769161

Change-Id: If5cc1fe6e378291a37a63131597c3353b857be04
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-17 09:45:01 +00:00
Treehugger Robot
3db45f8509 Merge "Refactored vehicleManager_fuzzer" into main 2023-11-17 09:15:07 +00:00
Treehugger Robot
c66f9eb482 Merge "Refactored automotiveCanV1.0_fuzzer" into main am: abe08ca9fe
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2761765

Change-Id: I7a53253c300de28996273af494b10261c785910d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-15 06:34:49 +00:00
Treehugger Robot
abe08ca9fe Merge "Refactored automotiveCanV1.0_fuzzer" into main 2023-11-15 06:00:41 +00:00
Shunkai Yao
95732c6cb9 Add defaults for audio AIDL interfaces
- with defaults user don't have to change their Android.bp when there is
  a update
- update AIDL audio interfaces with android.media.audio.common.types
- update Spatialization and HeadTracking AIDL usage

Bug: 273373363
Bug: 293370815
Test: m
Test: lunch panther-trunk_staging-userdebug; m; test Bluetooth Audio
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:1977a4a664cc71e1d9841a01573b63793f88ae59)
Merged-In: Ic9d8afc1d4e19e4243c66065b0a5d29156632851
Change-Id: Ic9d8afc1d4e19e4243c66065b0a5d29156632851
2023-11-07 18:18:24 +00:00
Shunkai Yao
195d3d6915 Add defaults for audio AIDL interfaces
- with defaults user don't have to change their Android.bp when there is
  a update
- update AIDL audio interfaces with android.media.audio.common.types
- update Spatialization and HeadTracking AIDL usage

Bug: 273373363
Bug: 293370815
Test: m
Test: lunch panther-trunk_staging-userdebug; m; test Bluetooth Audio
Change-Id: Ic9d8afc1d4e19e4243c66065b0a5d29156632851
Merged-In: Ic9d8afc1d4e19e4243c66065b0a5d29156632851
2023-11-06 19:14:32 +00:00
Changyeon Jo
ba22368df0 Update CameraStreamBuffering test and correct instance name am: 912b16f8c5 am: b89bbf5625
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2794200

Change-Id: If7df49ed360c8484d18f393199105ea85a6c032e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-25 01:36:43 +00:00
Changyeon Jo
b89bbf5625 Update CameraStreamBuffering test and correct instance name am: 912b16f8c5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2794200

Change-Id: If6a14f102e39d5754a4ca42d6e2857a04a6a4e60
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-25 01:08:02 +00:00
Xin Li
3d862c9608 Merge "Merge 10952656" into aosp-main-future 2023-10-19 17:58:46 +00:00
Changyeon Jo
912b16f8c5 Update CameraStreamBuffering test and correct instance name
- CameraStreamBuffering test is modified to use the minimum number of
  frame buffers that is required to run a camera pipeline for a single
  client instead of using an arbitrarily chosen number, which may not
  work for certain device implementations.
- Fix a name of v1.0 EvsManager implementation in
  VtsHalEvsV1_0TargetTest.cpp

Bug: 305642713
Test: atest VtsHalEvsV1_0TargetTest and
      atest VtsHalEvsV1_1TargetTest
Change-Id: Ieec986dbdf947311e0bc86871432da8a988d37ad
(cherry picked from commit 2d8834dc96)
2023-10-18 20:40:53 +00:00
Changyeon Jo
2d8834dc96 Update CameraStreamBuffering test and correct instance name
- CameraStreamBuffering test is modified to use the minimum number of
  frame buffers that is required to run a camera pipeline for a single
  client instead of using an arbitrarily chosen number, which may not
  work for certain device implementations.
- Fix a name of v1.0 EvsManager implementation in
  VtsHalEvsV1_0TargetTest.cpp

Bug: 305642713
Test: atest VtsHalEvsV1_0TargetTest and
      atest VtsHalEvsV1_1TargetTest
Change-Id: Ieec986dbdf947311e0bc86871432da8a988d37ad
2023-10-18 18:58:07 +00:00
Changyeon Jo
ab78601274 Update VtsHalEvsV1_*TargetTest
- Removes a requirement of the landscape aspect ratio of the captured
  frames because the Extended View System now allows the video streams
  in any aspect ratio
- Increases the maximum latency of the video stream start request from
  500 ms to 1 second to accommodate the camera system design with the
  additional processing units outside of the head unit
- Reduces a number of additional buffers to allocate from 6 to 2 in
  CameraStreamBuffering test, to be consistent with comments

Bug: 204835095
Bug: 305642713
Test: atest VtsHalEvsV1_0TargetTest and
      atest VtsHalEvsV1_1TargetTest
Change-Id: Id41bde10964b650f78e76d4f97a4588367f7c7fc
Merged-In: Id41bde10964b650f78e76d4f97a4588367f7c7fc
(cherry picked from commit 7bc98ce6ed)
2023-10-18 18:55:43 +00:00
Yu Shan
e7c8946102 Merge "Allow CDD required properties to be absent in VTS." into main am: 816e644a44 am: 46b04797a2 am: 50c08a0d29 am: 77dbeecc42
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2779279

Change-Id: Ifde4f151fa6b016004a36d0c951bc20007c63a71
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-11 22:13:57 +00:00
Yu Shan
da7a4ddabd Allow CDD required properties to be absent in VTS.
Allow CDD required properties not to be supported in VHAL VTS since
this is already covered in CTS. We also need to consider special
cases where one VHAL instance does not support all required
properties.

Test: atest VtsHalAutomotiveVehicle_TargetTest
Bug: 301577794
Merged-In: I93020e7e024760601bc5a8edf9997cc356a568c6
Change-Id: I93020e7e024760601bc5a8edf9997cc356a568c6
2023-10-11 19:56:52 +00:00
Yu Shan
076976eea2 Allow CDD required properties to be absent in VTS.
Allow CDD required properties not to be supported in VHAL VTS since
this is already covered in CTS. We also need to consider special
cases where one VHAL instance does not support all required
properties.

Test: atest VtsHalAutomotiveVehicle_TargetTest
Bug: 301577794
Change-Id: I93020e7e024760601bc5a8edf9997cc356a568c6
(Cherry-picked from commit b84f6f3c68fcd7f613146146821130eb354865c1)
2023-10-11 19:55:21 +00:00
Yu Shan
775b6eca77 Allow CDD required properties to be absent in VTS.
Allow CDD required properties not to be supported in VHAL VTS since
this is already covered in CTS. We also need to consider special
cases where one VHAL instance does not support all required
properties.

Test: atest VtsHalAutomotiveVehicleV2_0TargetTest
Bug: 301577794
Merged-In: I93020e7e024760601bc5a8edf9997cc356a568c6
Change-Id: I1c95625d45f5199328c4e157ebaa05f480d9e1cc
2023-10-11 19:46:53 +00:00
Yu Shan
8a1ab8705d Allow CDD required properties to be absent in VTS.
Allow CDD required properties not to be supported in VHAL VTS since
this is already covered in CTS. We also need to consider special
cases where one VHAL instance does not support all required
properties.

Test: atest VtsHalAutomotiveVehicle_TargetTest
Bug: 301577794
Merged-In: I93020e7e024760601bc5a8edf9997cc356a568c6
Change-Id: I93020e7e024760601bc5a8edf9997cc356a568c6
(Cherry-picked from commit b84f6f3c68fcd7f613146146821130eb354865c1)
2023-10-11 18:46:56 +00:00
kunal rai
f247dafd11 Refactored automotiveCanV1.0_fuzzer
The following are the updates to the fuzzer:
1. Randomised order of API calls using fdp.
2. Added New APIs.

exec/s: 35
Test: ./automotiveCanV1.0_fuzzer
Bug: 301907840

Change-Id: I66b4622bcf93ac5fbead522f6991a62361b85dda
2023-10-09 11:25:51 +05:30
kunal rai
213e8bba85 Refactored vehicleManager_fuzzer
The following are the updates to the fuzzer:
1. Randomised order of API calls using fdp.
2. Enhanced code coverage by 10%.

exec/s: 6
Test: ./vehicleManager_fuzzer
Bug: 302903753

Change-Id: I83f0a4121871d5b08b4f00f40dd096854aee63c5
2023-10-09 05:07:30 +00:00
Krzysztof Kosiński
b9f07c7a80 Clean up obsolete aliases for Truth. am: 13de1b68b4 am: ed99513fb8 am: 99e2437fcb am: 8da2eb9000
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2777192

Change-Id: Icf5b7cb488bbc9fd966b084dd2874f6475cc0b55
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-07 05:04:02 +00:00
Krzysztof Kosiński
13de1b68b4 Clean up obsolete aliases for Truth.
Bug: 255714762
Test: presubmit
Change-Id: I0cb0dd70d7aaa1a2388f725f3365ffff6dbc3b37
2023-10-07 00:48:10 +00:00
Terry Guan
03b2efa43d Merge "Add buffer result for generating vendor configs" into udc-qpr-dev am: 2e73101dd6
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/24814739

Change-Id: I3e767b84c4e49324af11808ecdf787fd6b73d5fc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-03 21:27:34 +00:00
Hugo Drumond Jacob
2b26c3efe1 Merge "Adjust path to sdv_ivi_cf" into udc-qpr-dev-plus-aosp 2023-09-29 17:51:41 +00:00
Treehugger Robot
4c89ed66e7 Merge "Refactored automotiveSvV1.0_fuzzer" into main am: 05d080dd16 am: 5de5782cf7 am: 8e10b94061 am: 0d5d484d72
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2707273

Change-Id: I1fd5246607690aec6b0bf04cd43a6fb4594ec30d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-28 09:55:55 +00:00
Treehugger Robot
5de5782cf7 Merge "Refactored automotiveSvV1.0_fuzzer" into main am: 05d080dd16
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2707273

Change-Id: I91007755ac5a01a55061ff2f9731f0127ef0192c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-28 07:03:15 +00:00
Treehugger Robot
05d080dd16 Merge "Refactored automotiveSvV1.0_fuzzer" into main 2023-09-28 06:14:27 +00:00
Treehugger Robot
258dbb3cc6 Merge "Update automotive.vehicle OWNERS file" into main am: 06d47be3d0 am: 7559fbaeb2 am: c442b11ff8 am: 3350fa61fc
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2765946

Change-Id: I5b32c1e0bcc9b8c25d1d081ddde98375d75a9fe4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-28 03:47:17 +00:00
Treehugger Robot
7559fbaeb2 Merge "Update automotive.vehicle OWNERS file" into main am: 06d47be3d0
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2765946

Change-Id: I91b383d44c8e366f7a3e4c10fd2d591f0c836eed
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-28 00:52:18 +00:00
Devin Moore
46c0057798 Update automotive.vehicle OWNERS file
Test: none
Bug: none
Change-Id: I6f6a64658a2ad6151447bdcc77d83e66c9c12320
2023-09-27 22:56:36 +00:00
Hugo Drumond Jacob
f1522dc4bf Adjust path to sdv_ivi_cf
Bug: 301578741
Bug: 291278377
Change-Id: I48d24ca611a92f3945a1e0b66fb14a13b2786e7f
2023-09-27 16:08:51 +02:00
Treehugger Robot
16eca29bce Merge "Updated vehicleManager_fuzzer" into main am: 7761d90af1 am: 6569dc7511 am: 535ac9f544 am: ae164210c6
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2097954

Change-Id: I5c4ff6f1cbb4184c1fa8997fa5db9bfdd82ced38
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-25 07:08:39 +00:00
Treehugger Robot
6569dc7511 Merge "Updated vehicleManager_fuzzer" into main am: 7761d90af1
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2097954

Change-Id: Ic84b53a9c26e671cec114c7fb82a8a23600ea619
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-25 04:34:27 +00:00