Commit graph

1658 commits

Author SHA1 Message Date
Treehugger Robot
7761d90af1 Merge "Updated vehicleManager_fuzzer" into main 2023-09-25 03:21:12 +00:00
Ryan Prichard
680fd80663 Use std::filesystem when libc++ is new enough
_LIBCPP_VERSION in external/libcxx is 8000. When _LIBCPP_VERSION is
newer, assume it's the new libc++ toolchain prebuilt, which has a
finalized std::filesystem, and use std::filesystem instead. To make
Soong happy, keep the android.hardware.automotive@libc++fs library for
now but stub out the C++ source files and make the
android::hardware::automotive::filesystem namespace an alias for
std::filesystem.

Bug: 152067309
Bug: 175635923
Test: treehugger
Test: m android.hardware.automotive.can@1.0-service
Test: m android.hardware.automotive@libc++fs
Change-Id: I7aede74cda0122434d972a075d7c7a9933845450
2023-09-20 14:46:18 -07:00
Ayushi Khopkar
a9d67d5eb7 Updated vehicleManager_fuzzer
Resolved fdsan abort issue

Test: ./vehicleManager_fuzzer
Bug: 232476708
Bug: 263591012

Change-Id: I51bf940e61574db4255eedc0f264375d8908282d
2023-09-13 12:01:35 +05:30
Changyeon Jo
bacdd1ec09 Update OWNERS file
This change updates OWNERS file for EVS interface.

Bug: 299195329
Test: Manual
Change-Id: Ife421b8aa4a380d8585e6d8476f0a24f31bc2633
2023-09-06 00:57:59 +00:00
Terry Guan
b324444c8a Update version for audiocontrol
Bug: 255369346
Bug: 255383566
Test: atest vts_treble_vintf_vendor_test
Change-Id: I17000be75963e511d2a56583be0f619a3dee66f1
Merged-In: I17000be75963e511d2a56583be0f619a3dee66f1
Merged-In: Ic42e51b616782a2763eb80e1cad5ca776cc079d4
2023-08-04 16:50:58 -07:00
Yu Shan
21d7b02a9a [RESTRICT AUTOMERGE] Pass property set error to subscribed clients.
Pass the async property set error generated by VehicleHardware layer
to subscribed clients.

Test: atest DefaultVehicleHalTest
Bug: 286384730
Bug: 292001021
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:6fe26625db72da7760014d0c71019fb3e847e2d3)
Merged-In: Iadd92e1c0c741ad6450a0508fe9e6301bdfe66c5
Change-Id: Iadd92e1c0c741ad6450a0508fe9e6301bdfe66c5
2023-08-02 22:03:41 +00:00
Yu Shan
bdba2b578d Fix flaky recurrent timer test.
Do not rely on sleep in tests, but wait for the events to happen
before timeout. Set the timeout to be large enough (5s) so that the
tests are more stable.

Test: atest RecurrentTimerTest
Bug: 289759453
Change-Id: Iff271ca440426871ed3a798bab50b9532f9256f0
Merged-In: Iff271ca440426871ed3a798bab50b9532f9256f0
(cherry picked from commit 76d7fbf6a1)
2023-07-07 20:30:43 +00:00
Changyeon Jo
b484054880 Increase frame counters in the same critical section am: 928a4535c8 am: a343d0cf0c am: c070b5a14b am: 55baee93d6 am: 4bf0cb2c5f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2594993

Change-Id: I74e22a7195fb761c3920b7fd865b000d0a4d3ee7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-16 01:16:37 +00:00
Changyeon Jo
4bf0cb2c5f Increase frame counters in the same critical section am: 928a4535c8 am: a343d0cf0c am: c070b5a14b am: 55baee93d6
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2594993

Change-Id: I8ac30fb5abe6c6205d099d089e769ffb477ddc7b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-16 00:32:36 +00:00
Changyeon Jo
55baee93d6 Increase frame counters in the same critical section am: 928a4535c8 am: a343d0cf0c am: c070b5a14b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2594993

Change-Id: Ic0db29743b092a5a2d01860e76356a38e3e4788b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-16 00:04:30 +00:00
Changyeon Jo
c070b5a14b Increase frame counters in the same critical section am: 928a4535c8 am: a343d0cf0c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2594993

Change-Id: Ibcaac170949c319d2cff5b45bc8114238d0ada7b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-15 23:21:50 +00:00
Changyeon Jo
a343d0cf0c Increase frame counters in the same critical section am: 928a4535c8
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2594993

Change-Id: I8a59e6173179a284bb90960b30e2e5a35de075a1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-15 22:39:21 +00:00
Changyeon Jo
928a4535c8 Increase frame counters in the same critical section
Bug: 275049370
Test: atest VtsHalEvsV1_0TargetTest
Change-Id: I814aac4edec142027d3802f5ee0d7a444ae2ee86
2023-06-15 21:11:09 +00:00
Xin Li
71a948bc4c Merge Android 13 QPR3 tm-qpr-dev-plus-aosp-without-vendor@9936994
Bug: 275386652
Merged-In: Icd15f6e7bfdd7b3e3d0d4b407195258d4171c560
Change-Id: I115d5b25fc5b997a76ac4672262945f3393a9c78
2023-04-18 16:34:16 -07:00
Sihu Song
72205da1e6 Merge "Add emulator metadata generator script" 2023-04-14 01:40:15 +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
Steven Moreland
f13464d1dd Explicit init .rc user.
Set the user explicitly.

Bug: 276813155
Test: boot
Change-Id: Ifd5cbacd308ee74de64dd12741771f01abc5b1d5
2023-04-10 20:43:50 +00:00
Treehugger Robot
538cd39aa3 Merge "Updated fuzz_config in Android.bp file" am: 73c824414b am: 7ce958221c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2505243

Change-Id: I1957ce7de74fe7d25ebded4de4d94d51dce85c7b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-31 06:33:12 +00:00
Treehugger Robot
9f0a230d5a Merge "Updated fuzz_config in Android.bp file" am: 728011d97c am: a0c74c29f9
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2505239

Change-Id: Id9168c0ff98990dcc5c1eb7fcc6d39ab0b71e6f5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-31 06:33:00 +00:00
Treehugger Robot
e81ca58e04 Merge "Updated fuzz_config in Android.bp file" am: bf89d7ed4a am: 3978a1cb20
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2505240

Change-Id: I18ac45a2c6033fc84a1c2b2cbc7768fcdda20c96
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-31 06:31:35 +00:00
Treehugger Robot
174b8a0186 Merge "Updated fuzz_config in Android.bp file" am: bbf290bb5d am: 4d798fd44a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2505238

Change-Id: Ic260de13d57aae81941d4bba66559dc8206e3af4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-31 06:31:22 +00:00
Treehugger Robot
73c824414b Merge "Updated fuzz_config in Android.bp file" 2023-03-31 05:28:36 +00:00
Treehugger Robot
728011d97c Merge "Updated fuzz_config in Android.bp file" 2023-03-31 05:23:13 +00:00
Treehugger Robot
bf89d7ed4a Merge "Updated fuzz_config in Android.bp file" 2023-03-31 05:21:13 +00:00
Treehugger Robot
bbf290bb5d Merge "Updated fuzz_config in Android.bp file" 2023-03-31 05:11:52 +00:00
Devin Moore
2d0b3d8bbc Merge "Add a manifest fragment for occupant awareness" am: 2247059f55 am: fc24255d23
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2506595

Change-Id: I106c3b8086bbd0b96e2420ca4d889e00622d553a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-28 23:26:26 +00:00
Devin Moore
a301ca6711 Add a manifest fragment for occupant awareness
Test: atest VtsHalOccupantAwarenessV1_0TargetTest
Bug: 274164202

Change-Id: I781e956b0b654e30b28ae0a50d793389e97cb7e8
2023-03-23 16:28:59 +00:00
Ayushi Khopkar
9367a9e5d7 Updated fuzz_config in Android.bp file
Added new fields in fuzz_config like - hotlists,
description, vector, service_privilege, users, fuzzed_code_usage, etc.

Bug: 271384401
Test: Build audiocontrolV1.0_fuzzer

Change-Id: I8b0c08ec26e9c4f599c309ec49bb13df017e1f96
2023-03-23 14:33:31 +05:30
Ayushi Khopkar
5088c6cdc3 Updated fuzz_config in Android.bp file
Added new fields in fuzz_config like - hotlists,
description, vector, service_privilege, users, fuzzed_code_usage, etc.

Bug: 271384401
Test: Build vehicleManager_fuzzer

Change-Id: I0d648ae43328ca8860daa8cf39e8e2d10868952a
2023-03-23 14:26:25 +05:30
Ayushi Khopkar
133c500469 Updated fuzz_config in Android.bp file
Added new fields in fuzz_config like - hotlists,
description, vector, service_privilege, users, fuzzed_code_usage, etc.

Bug: 271384401
Test: Build automotiveSvV1.0_fuzzer

Change-Id: I2ab534b469956fd0c274b098cceb33e011178b10
2023-03-23 14:24:15 +05:30
Ayushi Khopkar
f19832876a Updated fuzz_config in Android.bp file
Added new fields in fuzz_config like - hotlists,
description, vector, service_privilege, users, fuzzed_code_usage, etc.

Bug: 271384401
Test: Build automotiveCanV1.0_fuzzer

Change-Id: I305cdd1b0a990bd72788c7562197e190a4256f38
2023-03-23 14:19:53 +05:30
Victor Shutemov
1d4fe975c5 Add emulator metadata generator script
Add script to generate vehicle properties metadata file
for use with emulator's vehicle tab.
Metadata includes:
    - names of the properties,
    - names for the data enum values
    - change and access modes

Change-Id: Ica1df3466b7965916d11adc513f6472d439e1119
2023-03-15 11:27:14 +00:00
Treehugger Robot
d65d1a6b64 Merge "Fix the missing std" am: 39337adcc9 am: a4ab908631
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2468920

Change-Id: I8b172f905230c87edc96c4919fc0c7785e641043
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-03 17:11:26 +00:00
Treehugger Robot
a4ab908631 Merge "Fix the missing std" am: 39337adcc9
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2468920

Change-Id: I152bcab905b232b5fc7e2a2cdf48735caf9edd11
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-03 17:08:03 +00:00
zijunzhao
ab9e5bcdea Fix the missing std
Bug: b/239662094
Test: enable Wunqualified-std-cast-call locally and run m to build
Change-Id: Ifc51be5ee13296e9711c91ffac320d1cc7048ff0
2023-03-03 03:42:02 +00:00
Treehugger Robot
4edb0654f5 Merge "Update OWNERS file" am: 83248af588 am: d41829ab33
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2458408

Change-Id: I4f5c04b1b345fa6b6e711eed99c5b2f2a0431ee0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-01 06:11:56 +00:00
Treehugger Robot
d41829ab33 Merge "Update OWNERS file" am: 83248af588
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2458408

Change-Id: Idf9c91f8d7aaa5e0c5afbe7ab0adcb4da1f570fe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-01 05:34:00 +00:00
Treehugger Robot
83248af588 Merge "Update OWNERS file" 2023-03-01 04:53:11 +00:00
Treehugger Robot
3d7c3ced96 Merge "audio: Add AudioOffloadMetadata and a method to update it" am: e18f77b983 am: 38cf924450
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2459291

Change-Id: I7ba9cf4b567c39f84d9d1d7b599975bf80d9330c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-01 03:54:12 +00:00
Treehugger Robot
38cf924450 Merge "audio: Add AudioOffloadMetadata and a method to update it" am: e18f77b983
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2459291

Change-Id: I1bdc96dabb6b647c33e379e858c08d0e6a8e7ba5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-01 03:05:10 +00:00
Mikhail Naganov
d150942aa7 audio: Add AudioOffloadMetadata and a method to update it
AudioOffloadMetadata contains the same information
as 'AUDIO_OFFLOAD_CODEC_*' framework parameters.
It is updated via a new method IStreamOut.updateOffloadMetadata
which only works for compressed offload streams.

Bug: 270731693
Test: atest VtsHalAudioCoreTargetTest
Change-Id: I6c8a8853f216438284082f79e3f57e511a2a1f06
Merged-In: I6c8a8853f216438284082f79e3f57e511a2a1f06
2023-02-28 19:26:14 +00:00
Changyeon Jo
24d22eb9df Update OWNERS file
Bug: 270900095
Test: Treehugger
Change-Id: Ieb0bf7eacb039db53da61207f2cb4ff70641bf75
2023-02-27 16:05:58 +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
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
Treehugger Robot
389d9a2904 Merge "Move canhalconfigurator to /system_ext" am: 02cbb00444 am: 7fd971398c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2400612

Change-Id: I8a405b9362bc776cdbf9eb2eed98f7a7c52459ac
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-01 02:47:12 +00:00
Treehugger Robot
7fd971398c Merge "Move canhalconfigurator to /system_ext" am: 02cbb00444
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2400612

Change-Id: I41e84ca85d96a4761eab9eaf9c3a4d9dddcd61ef
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-01 02:10:31 +00:00
Changyeon Jo
a613b2e812 Fix how displays are used in test cases am: 017cb98ee9 am: b536f21f4c am: f1ccb71825
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2305821

Change-Id: Ibddcf3a941ffa3cd306bd56cff2127e9df17dd5f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-25 20:37:37 +00:00
Philip Chen
402ae986f0 Move canhalconfigurator to /system_ext
Let's move canhalconfigurator from the system partition to the
system_ext partition to share a common system image across internal
AAOS builds.

Bug: 263516803
Test: build and confirm the files are relocated
Change-Id: Ibd68797aa9356e3e80662442434d939eca955576
2023-01-23 23:07:39 +00:00
Shrikar Amirisetty
1d7be47b7b Merge "Change default units to be consistent in tm-qpr-dev/DefaultConfig.h" into tm-qpr-dev am: 53cb2459e8
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/20814765

Change-Id: Ibe4529d4e61d574076ee2a72e573fa4eaaeaf1e6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-20 19:16:07 +00:00
Shrikar Amirisetty
53cb2459e8 Merge "Change default units to be consistent in tm-qpr-dev/DefaultConfig.h" into tm-qpr-dev 2023-01-20 18:36:37 +00:00