Commit Graph

45159 Commits

Author SHA1 Message Date
Treehugger Robot
d2bbda8b32 Merge "Drop <name>I</name> from mapper HAL." 2023-01-20 17:10:47 +00:00
Treehugger Robot
115b1a7dae Merge changes Ie7e60128,I1a648227
* changes:
  Move AIDL library from shared to static for BT VTS
  Add bluetooth VTS to TEST_MAPPING
2023-01-20 02:02:52 +00:00
Devin Moore
21ca742b9e Move AIDL library from shared to static for BT VTS
It can't find the .so in /system when the binary is pushed to the
device.

Test: na
Bug: 205758693
Change-Id: Ie7e601285b96d8242d6c8e162c452363a78ed87e
2023-01-20 00:28:50 +00:00
Treehugger Robot
b53e8ef9b4 Merge "Dispatch correct callbacks from AIDL HAL" 2023-01-19 23:01:25 +00:00
Devin Moore
c1b5f69ea0 Add bluetooth VTS to TEST_MAPPING
Test: na
Bug: 205758693
Change-Id: I1a64822740e4cff402a2b5bd62eed359e3c2f123
2023-01-19 21:13:36 +00:00
Sarah Chin
47213a189c Fix setupDataCall tests for osAppid
Test: atest VtsHalRadioTargetTest
Bug: 265830733
Change-Id: I1b342bb7a829585607db4518bf4017e28b6db84f
Merged-In: I1b342bb7a829585607db4518bf4017e28b6db84f
2023-01-19 13:07:04 -08:00
David Duarte
a58b79d44e Dispatch correct callbacks from AIDL HAL
Test: pts-bot
Bug: 266052984
Change-Id: I323f32ddbc9773df08f7cc466d37c395279e3dd9
2023-01-19 21:01:13 +00:00
jiabin
b76981e2a7 Add interfaces to query aaudio hardware information.
Add interfaces to query aaudio hardware information. The new interfaces
are supposed to replace the system properties. The information includes
aaudio mixer burst count and aaudio hardware burst minimum usec.

Bug: 193275465
Test: atest VtsHalAudioCoreTargetTest
Change-Id: Id3442dae15937baba84f053f2e244bc294f4d718
2023-01-19 18:06:22 +00:00
Treehugger Robot
ed2054123f Merge "Check for failures in base SetUp()" 2023-01-19 10:39:57 +00:00
Treehugger Robot
fa44e8e809 Merge "Add owners for the security HALs" 2023-01-19 10:20:42 +00:00
Treehugger Robot
91ca65c35c Merge "audio: Add supportsBluetoothVariableLatency API to IModule" 2023-01-19 10:08:36 +00:00
Dylan Tian
8a6e09c72d Vts implementation for Bluetooth Hci
Bug: 205758693
Test: atest VtsHalBluetoothTargetTest
Change-Id: If3e193303881990cbca858a0882891a7b8e19c75
2023-01-18 17:24:27 -08:00
Treehugger Robot
f358c7be57 Merge "Add tetheroffload VTS to general-tests" 2023-01-18 22:22:34 +00:00
Alistair Delva
75928372fa Merge "bluetooth: Add support for linux bluetooth raw hci sockets" 2023-01-18 22:16:06 +00:00
Treehugger Robot
2524ba06a2 Merge "Adjust for library rename" 2023-01-18 21:54:46 +00:00
Andrew Scull
18008afa5d Add owners for the security HALs
Test: n/a
Change-Id: Ie5e4856bd80e901262fe53a9edd5d7d70d1e77b4
2023-01-18 21:54:42 +00:00
Devin Moore
b9b0aa4878 Add tetheroffload VTS to general-tests
Also add it to TEST_MAPPING so it's run in presubmits.

Test: na
Bug: 205762647
Change-Id: I9c43ffcff5ccf0fcabcab08101ebc454c7fe3317
2023-01-18 20:58:12 +00:00
Devin Moore
6ffc5c4958 Merge "Remove CAS HIDL interface from compat matrix" 2023-01-18 17:36:03 +00:00
Lorena Torres-Huerta
2e6d97a4e8 Merge "audio VTS: Limit mix ports that route to attached devices" 2023-01-18 02:18:25 +00:00
Treehugger Robot
68da77a0b9 Merge "Add an exception for QTI SM8550" into android13-tests-dev am: 2f27d9e80c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2369268

Change-Id: Ic7ba994a7c0df8c8aa18b9d40bde14637d85de17
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-18 01:02:27 +00:00
Treehugger Robot
2f27d9e80c Merge "Add an exception for QTI SM8550" into android13-tests-dev 2023-01-18 00:29:00 +00:00
Lorenzo Colitti
7306073719 Merge "Convert Tetheroffload HIDL to AIDL." 2023-01-18 00:04:51 +00:00
Treehugger Robot
8e8f82502b Merge "Use libcert_request_validator to check DICE chain" 2023-01-18 00:03:04 +00:00
Mikhail Naganov
5f477d864b audio VTS: Limit mix ports that route to attached devices
In tests that do not request and activate simulation of
connection of external devices, limit the mix port query to
return ports that can be routed to attached device ports only.

Bug: 205884982
Test: atest VtsHalAudioCoreTargetTest
Change-Id: I7e77b269c07b763a5080f42ebf7ec7d0fcaee195
2023-01-17 15:34:25 -08:00
Yifan Hong
ccb250d550 Drop <name>I</name> from mapper HAL.
libvintf now supports empty interface names for native HALs.

Test: TH
Bug: 264267049
Change-Id: Ie525478631e785ce8b9d813d08b0a92331047ced
2023-01-17 15:23:32 -08:00
Treehugger Robot
26ceba03bc Merge "Add an exception for QTI SM8550" 2023-01-17 22:22:33 +00:00
Seth Moore
b2f7bf2a38 Merge "Drop minimum RKP challenge size to 16 bytes" 2023-01-17 15:45:33 +00:00
Treehugger Robot
d023dfb808 Merge "Fix OfflineLicenseTest not provisioned" 2023-01-17 15:34:49 +00:00
KH Shi
d97a308637 Convert Tetheroffload HIDL to AIDL.
This patch converts Tetheroffload HIDL to AIDL and adds an empty
example implementation.
There are some changes in AIDL HAL:
1. Combine IOffloadConfig and IOffloadControl into IOffload
2. Use AIDL builtin errors exception code with message as return

Bug: b/205762647
Test: m android.hardware.tetheroffload-update-api
      m android.hardware.tetheroffload-V1-ndk
      m android.hardware.tetheroffload-service.example
      atest VtsHalTetheroffloadTargetTest
Change-Id: I9859ff3df608c058786b4e2b91cb6cd5f38e653a
2023-01-17 22:44:55 +08:00
Eran Messeri
a720d56824 Merge "2nd IMEI attestation: Clarify tag usage." 2023-01-17 11:39:42 +00:00
Henri Chataing
f44890e669 Merge "secure_element: Rework the VTS tests for ISecureElement AIDL" 2023-01-17 08:32:19 +00:00
Eric Laurent
e2432ea1a7 audio: Add supportsBluetoothVariableLatency API to IModule
Add API to query if the Module supports control of variable latency over
playback paths.

Bug: 197823000
Test: atest VtsHalAudioCoreTargetTest
Change-Id: I3a08d682a1a639d8373869725e12702fff962d53
2023-01-16 11:32:02 +01:00
Andrew Scull
c54f43300d Adjust for library rename
libcert_request_validator is now called libhwtrust so update the
references to match.

Test: atest VtsHalRemotelyProvisionedComponentTargetTest
Change-Id: I3c73e2749996ef684da4567a3c86daf8b9c0fd09
2023-01-15 21:51:44 +00:00
Andrew Scull
9a8c945682 Use libcert_request_validator to check DICE chain
Remove one of the DICE chain validation implementations and replace it
with a call to the libcert_request_validator library which has the most
complete validation and is planned to be the only implementation we
support.

VTS will now check both degenerate and proper DICE chain more completely
and will be consistent with other tools like `bcc_validator`. P-384 will
become a supported key type in the DICE chain.

The whole static library is included so that clients that statically
link remote_prov_utils don't need to be aware of the dependency.

Bug: 254510672
Bug: 265455904
Test: atest VtsHalRemotelyProvisionedComponentTargetTest
Change-Id: I067f7e8710e379a4b404ef9d2c04fe6410f73dc4
2023-01-15 21:51:41 +00:00
Eran Messeri
36594490fd 2nd IMEI attestation: Clarify tag usage.
Clarify that the tag for the 2nd IMEI must denote an IMEI different to
the tag used for the first IMEI, and may be used independently of it.

Bug: 264979486
Test: N/A
Change-Id: I45a46d1052e45a965c8be391d11157cc4481545b
2023-01-15 10:39:22 +00:00
Robert Shih
da4d0bcb15 Merge "drm aidl vts: proper skip tests without vendor module" 2023-01-14 04:46:22 +00:00
Treehugger Robot
c3a910776f Merge "Add API to query mmap policy information." 2023-01-14 01:43:09 +00:00
Seth Moore
8a0f18051d Drop minimum RKP challenge size to 16 bytes
The current RKP server produces challenges smaller than 32 bytes.
As existing devices in the field may have some length limitations
due to this, let's not start sending larger challenges to those
devices. Instead, drop the challenge to 16 bytes to maintain compat.
There should be plenty of entropy in 16 bytes.

Test: n/a
Change-Id: I1dfd9b4b06131df907683207e4b6bfb2d1c93d65
2023-01-13 15:37:33 -08:00
Andy Hung
7d8406c75a Merge "Effect: Move thread priority updates from threadLoop" 2023-01-13 23:23:55 +00:00
jiabin
9a8e686628 Add API to query mmap policy information.
Bug: 193275465
Test: atest VtsHalAudioCoreTargetTest
Change-Id: I8374a6e7942d68259d820b5de1f4ec597f1b6473
2023-01-13 22:57:34 +00:00
Andy Hung
5332cc7528 Effect: Move thread priority updates from threadLoop
Now updated in prepareForProcessing(), which avoids race
with close().

Test: atest AudioEffectTest
Test: Run spatial audio
Test: adb shell 'uclampset -a -p $(pgrep -of android.hardware.audio.service)'
Bug: 265055114
Merged-In: I31de38d54aa42d7ae3cc87d0afc4a410fc3336ad
Change-Id: I31de38d54aa42d7ae3cc87d0afc4a410fc3336ad
2023-01-13 13:48:48 -08:00
Treehugger Robot
19345258e5 Merge changes Ided4e9bb,I2808441c
* changes:
  Make libkeymint_remote_prov_support a static dep
  Add ro.serialno sysprop to JSON output
2023-01-13 20:25:42 +00:00
Treehugger Robot
f48de73ef1 Merge "Sync wait for the bluetooth to be disabled / enabled" into android13-tests-dev am: 7aeaa3a0a2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2375108

Change-Id: I9c39e76a6dd936231141ffa97bc82dfc392ec463
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-13 18:35:47 +00:00
Daniel Angell
1f5ab0d6f8 Make libkeymint_remote_prov_support a static dep
This made it easier to run libkeymint_remote_prov_support_test.

Bug: 264302050
Test: atest libkeymint_remote_prov_support_test
Change-Id: Ided4e9bb442274ea7711d283bc947c35f34ebc35
2023-01-13 18:30:40 +00:00
Daniel Angell
eacb1c16f1 Add ro.serialno sysprop to JSON output
To help with error reporting on the RKP servers in the future it
will be helpful to be able to address CSRs by serial number when
possible.

Bug: 264302050
Test: libkeymint_remote_prov_support_test and sent JSON to server
Change-Id: I2808441c200d0679e618580abc464cd3c71c220e
2023-01-13 18:30:38 +00:00
Sally Qi
2b42a74573 Merge "Remove length check to allow empty HDR10+ blobs to HWC" 2023-01-13 18:24:15 +00:00
Treehugger Robot
7aeaa3a0a2 Merge "Sync wait for the bluetooth to be disabled / enabled" into android13-tests-dev 2023-01-13 18:13:42 +00:00
Devin Moore
32ca32b443 Add anapic script to upload diffs for review
These diffs are between the hidl2aidl tool output and the existing
interface definition.
It generates 2 CLs, the second one is more readable and shows going from
the hidl2aidl output TO the existing definition today.

example:
anapic_hidl2aidl_review.sh android.hardware.boot@1.2

Test: run example command and verify output
Bug: none

Change-Id: I18ab248de7d5f0832ba0d2f749d97f96a1b06f8b
2023-01-13 00:57:15 +00:00
Treehugger Robot
7f86031bee Merge "aidl: corrected ERROR_GENERAL_FAILURE description." 2023-01-12 22:56:06 +00:00
Treehugger Robot
45d79216b4 Merge "audio: Remove android.hardware.audio.core.AudioMode type" 2023-01-12 18:32:08 +00:00