Commit graph

66612 commits

Author SHA1 Message Date
Rohit Sekhar
579f81f4ae camera: Make overrideFormat from reserved fields opt-in
Change-Id: Ic0025ae5a4d359074e25692e1913eb98f47bbcec
2024-09-07 23:46:52 +02:00
Abhijit Trivedi
df1c0cd96e frameworks: Update HIDL overrideFormat from HAL
--HAL requires 64 bit usage flags to support more feature
--Re-used one of the reserved locations to read 64bit usage flags
and override format

CRs-fixed: 2264577
Change-Id: I9a4cbb80b1c2d82ec4af3941f0d98b67ecfd59ef
2024-09-07 23:46:41 +02:00
Bruno Martins
35a13ce9fe compatibility_matrices: Add p/android-4.4 into FCM 4
FCM 3 & 4 is gone, so just add it there.

Change-Id: I34b163281e9b110c9efb6d9f2cd63ac986265abf
Signed-off-by: zlewchan <zlewchan@icloud.com>
2024-09-07 23:46:25 +02:00
LuK1337
c61513d4c5 Restore q/android-4.9
This partially reverts commit d05e5fa654.

Change-Id: I3b90489c273ba9d8a814738b6ef96249b60739ad
Signed-off-by: zlewchan <zlewchan@icloud.com>
2024-09-07 23:44:58 +02:00
Shivaprasad Hongal
dbffd3d096 keymasterV4_0: Tags support for FBE wrapped key.
Define two new tags for FBE Key Management.
FBE_ICE: This is a boolean which specifies if new key
management is used.
KEY_TYPE: Specifies if it is a DE_USER or a CE_USER key.

CRs-Fixed: 2288316

Change-Id: Id9468d1fab0b0517a0a96734cdfe5612855fd2d9
2024-09-07 23:43:49 +02:00
Android Build Coastguard Worker
488942f82b Merge cherrypicks of ['android-review.googlesource.com/3192000'] into 24Q3-release.
Change-Id: I5086af46494b19c34050939aff2b503f507f6442
2024-08-02 22:32:02 +00:00
Steve Pomeroy
9ec2405e1a Use parameterized test to disable test for devices without NFC
Test: atest VtsNfcBehaviorChangesTest
Bug: 345575225
(cherry picked from https://android-review.googlesource.com/q/commit:a667849ed08197a0811857939d63cdf923f6818d)
Merged-In: I22393acc260d200d2e472d276c64af005a75ab6b
Change-Id: I22393acc260d200d2e472d276c64af005a75ab6b
2024-08-02 22:31:14 +00:00
Android Build Coastguard Worker
250f176013 Merge cherrypicks of ['android-review.googlesource.com/3177740'] into 24Q3-release.
Change-Id: I9f8a641105d9d74ea93c9886c5153d8286f34861
2024-07-18 03:50:47 +00:00
Emilian Peev
09c1cfea06 CameraVTS: build with static libhidlbase
The test may run on older devices and it is possbile that the
android::hardware::isHidlSupported is not available.
So statically link libhidlbase.

Bug: 352683715
Bug: 352486655
Bug: 346693391
Test: cameraservice VTS
(cherry picked from https://android-review.googlesource.com/q/commit:ca6839888e8f82b6f3a1d9f5c42571a72550637b)
Merged-In: I5bad6363fba4ebe3285c64cbaaf722e8da5cafdf
Change-Id: I5bad6363fba4ebe3285c64cbaaf722e8da5cafdf
2024-07-18 03:42:49 +00:00
Android Build Coastguard Worker
c6a9ae93b4 Snap for 11973804 from 4a3d4c1a08 to 24Q3-release
Change-Id: I575d9846c12f3fe72dba5993c6a72eed40cc7d78
2024-06-15 01:19:48 +00:00
Treehugger Robot
4a3d4c1a08 Merge "Update OWNERS files for power and display services." into main am: 038cac118d am: 5598cc4067
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3130334

Change-Id: I2380f89aca4bc4ea370fdaf23f7779386b670bdf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-14 15:14:41 +00:00
Treehugger Robot
5598cc4067 Merge "Update OWNERS files for power and display services." into main am: 038cac118d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3130334

Change-Id: Id72d677611dc019a1658f7e6bd0cca345d6af7d6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-14 15:06:37 +00:00
Treehugger Robot
038cac118d Merge "Update OWNERS files for power and display services." into main 2024-06-14 15:01:01 +00:00
Shikha Panwar
05572dc726 Merge "Vts: New dice_policy_builder api with TargetEntry." into main am: adad97cb79 am: 578eae1d52
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3127995

Change-Id: Ib1c6a5715f93e7913628b77a8ca2772c1e380d8e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-14 09:07:17 +00:00
Shikha Panwar
578eae1d52 Merge "Vts: New dice_policy_builder api with TargetEntry." into main am: adad97cb79
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3127995

Change-Id: If79596e0661aad7485ce3dee42f7f5067d94c83b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-14 08:59:55 +00:00
Shikha Panwar
adad97cb79 Merge "Vts: New dice_policy_builder api with TargetEntry." into main 2024-06-14 08:54:39 +00:00
lichen yu
fae1e5a02c [automerger skipped] Fix VtsHalSensorsV2_0TargetTest am: 8659a96281 am: d8246d8300 am: a2a0e37299 am: 5117191d71 -s ours
am skip reason: Merged-In I6f6d36d1e3c98b85b412189c3f97163c0945a7ab with SHA-1 8659a96281 is already in history

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

Change-Id: Iaad73d8763d06e4e0e4e2c4a54b7f356bddc5696
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-14 04:14:03 +00:00
lichen yu
5117191d71 Fix VtsHalSensorsV2_0TargetTest am: 8659a96281 am: d8246d8300 am: a2a0e37299
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3115574

Change-Id: I2ce4d83cbd9f029d0e0b8579c6f4070461008009
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-14 03:50:50 +00:00
lichen yu
4e5536fb5d [automerger skipped] Fix VtsHalSensorsV2_0TargetTest am: 8659a96281 am: d8246d8300 am: aef3b1691c -s ours
am skip reason: Merged-In I6f6d36d1e3c98b85b412189c3f97163c0945a7ab with SHA-1 8659a96281 is already in history

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

Change-Id: I9073c68731740e2f5b25496eae8dceed87be67d4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-14 03:44:26 +00:00
lichen yu
a2a0e37299 Fix VtsHalSensorsV2_0TargetTest am: 8659a96281 am: d8246d8300
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3115574

Change-Id: Iacc3986d686df3fa34adf10e67d96daf03bf7ae9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-14 03:29:44 +00:00
lichen yu
aef3b1691c Fix VtsHalSensorsV2_0TargetTest am: 8659a96281 am: d8246d8300
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3115574

Change-Id: I72fe09cc9686ed7838c6a794503c2f06bb6c361b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-14 03:29:26 +00:00
lichen yu
d8246d8300 Fix VtsHalSensorsV2_0TargetTest am: 8659a96281
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3115574

Change-Id: Ied0498a11b9f98994921c8dbe0953cfa8e42cbc0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-14 03:08:00 +00:00
lichen yu
d026fb1701 [automerger skipped] Fix VtsHalSensorsV2_0TargetTest am: 8659a96281 -s ours am: fc47032de5 -s ours am: ee02c9a971 -s ours
am skip reason: Merged-In I6f6d36d1e3c98b85b412189c3f97163c0945a7ab with SHA-1 3beaf4faca is already in history

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

Change-Id: Ic0620cc4c544665768435f24c328c75f08aa8ac0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-14 03:07:22 +00:00
lichen yu
ee02c9a971 [automerger skipped] Fix VtsHalSensorsV2_0TargetTest am: 8659a96281 -s ours am: fc47032de5 -s ours
am skip reason: Merged-In I6f6d36d1e3c98b85b412189c3f97163c0945a7ab with SHA-1 3beaf4faca is already in history

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

Change-Id: I7060c448400a79db08b823100cf9b710761fea88
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-14 02:59:57 +00:00
lichen yu
fc47032de5 [automerger skipped] Fix VtsHalSensorsV2_0TargetTest am: 8659a96281 -s ours
am skip reason: Merged-In I6f6d36d1e3c98b85b412189c3f97163c0945a7ab with SHA-1 3beaf4faca is already in history

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

Change-Id: I56a90e1a6b1eba513b789829f83b4909e9235a95
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-14 02:52:54 +00:00
Android Build Coastguard Worker
0e2ef5aeff Snap for 11967491 from 49d05decfe to 24Q3-release
Change-Id: I0bfbb0abe897374710613c57b22936e361bc3f18
2024-06-13 23:19:42 +00:00
Treehugger Robot
fc324f7e00 Merge "Fix flaky GNSS VTS" into main 2024-06-13 23:14:00 +00:00
Shikha Panwar
d530f7e39b Vts: New dice_policy_builder api with TargetEntry.
The policy building library changes in aosp/3125493, accordingly change
the function call. This does not change the behaviour or test coverage
of VTS.

Test: atest VtsSecretkeeperTargetTest
Bug: 291245237
Change-Id: I21a7b0abe5bf186893ec9a68bb080b41778d3313
2024-06-13 14:55:51 +00:00
Michael Wright
c2e34fcb91 Update OWNERS files for power and display services.
I'm no longer on the team, so make sure any place I'm an explicit owner points
to the generic owners file.

Bug: 346974431
Change-Id: Icbcb3b2024f8adb9980c6128022965e8f9a87918
2024-06-13 13:32:08 +00:00
lichen yu
49d05decfe Fix VtsHalSensorsV2_0TargetTest am: 3beaf4faca am: d65c459061
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3115968

Change-Id: I0a5674590186e7d3d2a9b1e8166369167fd7a883
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-13 01:58:50 +00:00
lichen yu
d65c459061 Fix VtsHalSensorsV2_0TargetTest am: 3beaf4faca
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3115968

Change-Id: I7e198b398d0c69b25c54f51f69bd2581e55c0ad4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-13 01:44:01 +00:00
lichen yu
3beaf4faca Fix VtsHalSensorsV2_0TargetTest
During VTS testing, when many sensors are quickly enabled, the load on the Sensorhub side will be too heavy, and then continue to send sensor enable instructions and Sensor Flush instructions. These instructions sent by the Kernel driver to the Sensorhub through inter-core communication cannot be responded to in a timely manner. After the Kernel side judges the timeout, it will determine that the enable fails; after the enable fails, it cannot continue to test the flush or return the expected flush data.

ten sensors is tested as a group

Bug: 339763843
Test: run vts -m VtsHalSensorsV2_0TargetTest
(cherry picked from https://android-review.googlesource.com/q/commit:09952885e441bcf0d8f0bf0834ff46608b07e0d0)
Change-Id: I6f6d36d1e3c98b85b412189c3f97163c0945a7ab
2024-06-13 00:01:10 +00:00
lichen yu
8659a96281 Fix VtsHalSensorsV2_0TargetTest
During VTS testing, when many sensors are quickly enabled, the load on the Sensorhub side will be too heavy, and then continue to send sensor enable instructions and Sensor Flush instructions. These instructions sent by the Kernel driver to the Sensorhub through inter-core communication cannot be responded to in a timely manner. After the Kernel side judges the timeout, it will determine that the enable fails; after the enable fails, it cannot continue to test the flush or return the expected flush data.

ten sensors is tested as a group

Bug: 339763843
Test: run vts -m VtsHalSensorsV2_0TargetTest
(cherry picked from https://android-review.googlesource.com/q/commit:09952885e441bcf0d8f0bf0834ff46608b07e0d0)
Merged-In: I6f6d36d1e3c98b85b412189c3f97163c0945a7ab
Change-Id: I6f6d36d1e3c98b85b412189c3f97163c0945a7ab
2024-06-12 23:39:23 +00:00
Android Build Coastguard Worker
b9bd2b0915 Snap for 11959661 from 853a3a6934 to 24Q3-release
Change-Id: Ibe93ec5fbdbebd26fbd27e54e7d680a001b4c20b
2024-06-12 23:20:19 +00:00
Treehugger Robot
2a60fca9a6 Merge "Added supportedEnums logic description to enum files" into main 2024-06-12 18:21:53 +00:00
David Drysdale
853a3a6934 Merge "KeyMint: version gate attestation of IMEI2" into main am: 54db6b2214 am: e10b12929c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3125954

Change-Id: I30dcfd156bacbf8ff25b047af5af676f84058d3a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-12 10:36:57 +00:00
David Drysdale
e10b12929c Merge "KeyMint: version gate attestation of IMEI2" into main am: 54db6b2214
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3125954

Change-Id: I0f73da5fbf1274e8555f493d3b408f9b29fbb963
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-12 10:19:30 +00:00
David Drysdale
54db6b2214 Merge "KeyMint: version gate attestation of IMEI2" into main 2024-06-12 09:57:28 +00:00
Yu Shan
4f45ed5f75 Merge "Revert^2 "Add PER_DISPLAY_MAX_BRIGHTNESS VHAL property."" into main 2024-06-11 23:52:21 +00:00
Yu-Han Yang
23e78269a3 Fix flaky GNSS VTS
In the original code, vector::erase() would invalidate iterators so we
should move the thread object into the std::async() for the blocking
operation.

Bug: 344250967
Test: atest VtsHalGnssTargetTest
Change-Id: I4cc82131bb070a37cb6ed9dbe9d7cccc7ab5ee89
2024-06-11 23:40:30 +00:00
Android Build Coastguard Worker
118add8232 Snap for 11954976 from 4f0602f112 to 24Q3-release
Change-Id: Ib10e44cb1c710cc2f5ec967502c4a9f4b4426ff8
2024-06-11 23:20:45 +00:00
Treehugger Robot
29e5340a69 Merge "Update the input duration to reduce the number of samples to process" into main am: 12086575b5 am: 7bcd9c7b13
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3125534

Change-Id: I1fe03ee78ea00e1faca8642b6902318eaab9c96c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-11 20:22:12 +00:00
Treehugger Robot
7bcd9c7b13 Merge "Update the input duration to reduce the number of samples to process" into main am: 12086575b5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3125534

Change-Id: I1614dd6323da566f354596476234ce789eb42898
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-11 20:07:37 +00:00
Treehugger Robot
12086575b5 Merge "Update the input duration to reduce the number of samples to process" into main 2024-06-11 19:52:33 +00:00
Treehugger Robot
4f0602f112 Merge "media.bufferpool2: Ensure uniqueness of connection id" into main am: e540e3385d am: 4e10251c1d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3118258

Change-Id: I3667338dd766145f568f97f0292b873f60336d93
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-11 18:56:58 +00:00
Treehugger Robot
4e10251c1d Merge "media.bufferpool2: Ensure uniqueness of connection id" into main am: e540e3385d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3118258

Change-Id: I15540b657902daa97eb6a2027d85f7921f3991f8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-11 18:37:30 +00:00
Treehugger Robot
e540e3385d Merge "media.bufferpool2: Ensure uniqueness of connection id" into main 2024-06-11 18:15:11 +00:00
David Drysdale
e9dcae53e4 KeyMint: version gate attestation of IMEI2
aosp/3106417 added extra tests with for device ID attestation, but
didn't include a version gate for attesting to the second IMEI value,
which is only present in KeyMint v3+.

Test: VtsAidlKeyMintTargetTest
Change-Id: I95f47942058781709efe96d38442e0518e39705d
2024-06-11 15:43:12 +01:00
Sneha Patil
a9171f9d8d Update the input duration to reduce the number of samples to process
Bug: 305866207
Test: atest VtsHalBassBoostTargetTest
      atest VtsHalVolumeTargetTest
      atest VtsHalVirtualizerTargetTest
      atest VtsHalPresetReverbTargetTest
Change-Id: I6dc4fa6006634e570d075f8099401bd3dc572da1
2024-06-11 13:11:37 +00:00
Yu Shan
14404f2444 Revert^2 "Add PER_DISPLAY_MAX_BRIGHTNESS VHAL property."
This reverts commit 439e897d10.

Reason for revert: Seahawk now uses v3 lib, which should not be affected

Change-Id: Ia04c9a2c28829778c4d9d24b4a1138b615ac9377
2024-06-11 00:11:22 +00:00