Commit graph

1652 commits

Author SHA1 Message Date
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
shrikar
f331f1202f Change default units to be consistent in tm-qpr-dev/DefaultConfig.h
Bug: 259879204
Test: atest CarPropertyManagerTest
Change-Id: I6060ffbce028dc95091e2b002b594a5b6a5eed48
Merged-In: Ib159f781f61de8a7cd1498ad2a07e5dbd0eca734
2023-01-19 17:07:33 +00:00
Samip Garg
654a97357b Merge "Snap tm-dev to android13-tests-dev" into tm-dev am: 5a1bde04ae am: a9e748a594
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/20513348

Change-Id: If1acda13d3e9b84536dc545e7c50dd2ee898a8eb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-16 04:00:05 +00:00
Treehugger Robot
1df03b9d8b Merge "Mark modules frozen explicitly." am: 11fa86bbb4 am: a4eefbe687
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2328923

Change-Id: I3ac5155f4178060d87cdea9630d89ef28a0f6d4c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-20 01:20:18 +00:00
Treehugger Robot
11fa86bbb4 Merge "Mark modules frozen explicitly." 2022-12-20 00:01:29 +00:00
Steven Moreland
13666147e9 Mark modules frozen explicitly.
Makes it easier to see which versions are available.

Bug: 188871598
Test: N/A
Change-Id: Iec656df1d0008d95ab50f9bd8806517b95242f00
Merged-In: Ica76a8225fec8dc5267362cbfd43e06e65ad3f1e
2022-12-14 01:47:26 +00:00
Yu Shan
2f3325628a Avoid holding lock while calling recurrent actions. am: 417ca2541a
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/20682672

Change-Id: Ifa21b22ec2d6f9c1b2eb567ff2f5d0a3ebd1919e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-10 03:51:12 +00:00