Commit graph

46505 commits

Author SHA1 Message Date
Henry Fang
d29b706a30 UEC is not static on real device, so check its range intead of specific value am: c2794f8c26 am: 44272133e5 am: 047d533cdc
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2611423

Change-Id: Ic3ef537fb3f10249e8916c0d69d66260affce09a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-03 00:00:33 +00:00
Henry Fang
047d533cdc UEC is not static on real device, so check its range intead of specific value am: c2794f8c26 am: 44272133e5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2611423

Change-Id: Ia81b10cf46a0b37aa09ef96143463d5970fa2979
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-02 23:30:57 +00:00
Henry Fang
44272133e5 UEC is not static on real device, so check its range intead of specific value am: c2794f8c26
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2611423

Change-Id: Ic52778208de887ab8ff62b9e275c96fdd604215f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-02 23:09:07 +00:00
Henry Fang
c2794f8c26 UEC is not static on real device, so check its range intead of specific value
Change-Id: If165935ce639bac439af21f23b741ab2fa999bb9
bug:285561687
test: manaul
2023-06-02 17:15:12 +00:00
Edward Liaw
24a8a39219 Merge "TEST_MAPPING: enable vts hal tests in kernel-presubmit" 2023-06-01 20:34:33 +00:00
Treehugger Robot
3258884207 Merge "Extend QC SPU waiver to VSR-S devices." 2023-06-01 19:39:19 +00:00
Treehugger Robot
139b663e38 Merge "Rewrite RKP readme in terms of DICE" 2023-06-01 19:11:05 +00:00
Edward Liaw
24696b3e32 TEST_MAPPING: enable vts hal tests in kernel-presubmit
Enable the following tests:
VtsHalBluetoothAudioTargetTest
VtsHalGraphicsComposerV2_4TargetTest

Bug: 284307085
Bug: 258819618
Test: atest :kernel-presubmit
Change-Id: I8667eaee120777a776339481f72558566e6c94b3
Signed-off-by: Edward Liaw <edliaw@google.com>
2023-06-01 16:08:42 +00:00
Shawn Willden
0f1b257f96 Extend QC SPU waiver to VSR-S devices.
Bug: 281452355
Test: VtsAidlKeyMintTargetTest
Change-Id: I9fc1d1f9a3b5b29cfee3ad325bc1c4ef72c44c13
2023-05-31 10:22:54 -06:00
Jooyung Han
bf8eae1ac4 Mark Face HAL as updatable-via-apex
Bug: 279674662
Test: VtsHalBiometricsFaceTargetTest
Change-Id: I91c19a4cb1f3791cebcc70827f95e47778592e31
2023-05-31 11:23:10 +09:00
John Reck
4ef9f5dd2b Merge "Add test for USAGE query for >32-bit" 2023-05-30 20:11:24 +00:00
Jooyung Han
ee8374606a Merge "Set root elements for xsd_config modules" 2023-05-30 03:58:25 +00:00
Jooyung Han
f7a7d8e20b Merge "Add faceauth HAL APEX" 2023-05-30 01:46:02 +00:00
John Reck
b9cd45c741 Add test for USAGE query for >32-bit
Bug: 284333373
Test: this
Change-Id: Ie9683e5cccb85db1280b85b0b32d7cec042d79a3
2023-05-26 16:55:09 -04:00
Tri Vo
29e3465494 Merge "KM 4 test fix Root-of-Trust parsing" 2023-05-25 17:29:41 +00:00
Jooyung Han
d5842aebcd Add faceauth HAL APEX
This moves the faceauth HAL into a vendor apex:
  com.android.hardware.biometrics.face

The contents:

  ./apex_manifest.pb
  ./bin/hw/android.hardware.biometrics.face-service.example
  ./etc/face-default-apex.rc
  ./etc/permissions/android.hardware.biometrics.face.prebuilt.xml
  ./etc/vintf/face-default-apex.xml
  ./lib64/android.hardware.biometrics.common-V2-ndk.so
  ./lib64/android.hardware.biometrics.face-V2-ndk.so
  ./lib64/android.hardware.keymaster-V3-ndk.so

Bug: 279674662
Test: Not installed yet
Test: m com.android.hardware.biometrics.face
Change-Id: I6e52c83601d29bcc6a9ef4e165fab48f3579426c
2023-05-25 17:35:23 +09:00
Gabriel Biren
b487f23ca9 Skip HIDL v1.6 RTT responder VTS tests if the am: 9c7ff0f4e0
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2600788

Change-Id: Ie9422c8eadeb8c658879a85330dd6431d29d565b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-25 00:55:33 +00:00
Treehugger Robot
087b29d75a Merge "identity: Set testMode to false for RKP." 2023-05-24 22:59:30 +00:00
Devin Moore
090c0bb61c Merge "Add defaults to identity-support-lib" 2023-05-24 21:39:43 +00:00
David Zeuthen
50001471e5 identity: Set testMode to false for RKP.
Bug: 283196184
Test: atest VtsHalIdentityTargetTest
Change-Id: Iabe0f4cf14d96aa2cf48fac4709640495e4c522a
2023-05-24 17:13:29 -04:00
kumarashishg
b44a84db6b Add OWNERS for USB functionality
Add active owners

Bug: 284073105
Test: tests are not required to add owners
Change-Id: Ie7e39ca71949880fb588bf346a2f3becd0c14acb
2023-05-24 19:10:17 +00:00
Tri Vo
4387c4d619 KM 4 test fix Root-of-Trust parsing
ROT was previously parsed into local variable, then discarded.
Fix it so that we are actually using parsed values.

Bug: 283892150
Test: VtsHalKeymasterV4_0TargetTest
Change-Id: I8af439d6262141648b01f1accaa9eb739fea85f8
2023-05-24 14:15:29 -04:00
Devin Moore
8790fa3fde Add defaults to identity-support-lib
For sharing the dependencies with credstore.

Test: m
Bug: 280829178
Change-Id: I3d0b3f958efa205856360d585a86fb3f853e675d
2023-05-24 15:44:37 +00:00
Andrew Scull
99cba0640d Rewrite RKP readme in terms of DICE
Update the RKP readme to match contemporary philosophy about the design.
This includes replacing discussion if the obsolete term `BCC` with a
description of the Android Profile for DICE.

The privacy concerns are relaxed to match updates to the HAL which
remove the superencryption of the DICE chain.

Test: n/a
Fix: 281755202
Change-Id: I3a6fd2cd12599c5843b5dce0044eb16c2afbffa2
2023-05-23 21:08:29 +00:00
Gabriel Biren
9c7ff0f4e0 Skip HIDL v1.6 RTT responder VTS tests if the
capabilities do not indicate responder support.

Bug: 280550766
Test: atest VtsHalWifiRttV1_6TargetTest
Change-Id: I4e76a874837c6199b2bef65b3f0c138260972b4a
(cherry picked from commit e8aca0a7aa)
2023-05-23 16:40:08 +00:00
Gabriel Biren
c08b6ba9ed Merge "Skip HIDL v1.6 RTT responder VTS tests if the capabilities do not indicate responder support." 2023-05-23 14:37:47 +00:00
Mikhail Naganov
310b1c6e7e audio: Add more legacy channel masks for the input direction
This is in order to achieve a better parity both with
legacy output channel masks and AIDL channel layouts.
The change only affects the XSD schema used to generate
a parser for legacy configuration files.

Bug: 283542128
Test: atest audio_aidl_conversion_tests
Change-Id: Ic69b94f6ec650e0814f0200dbef219567eac9fe2
2023-05-22 13:52:50 -07:00
Gabriel Biren
e8aca0a7aa Skip HIDL v1.6 RTT responder VTS tests if the
capabilities do not indicate responder support.

Bug: 280550766
Test: atest VtsHalWifiRttV1_6TargetTest
Change-Id: I4e76a874837c6199b2bef65b3f0c138260972b4a
2023-05-22 18:58:06 +00:00
Jooyung Han
16d5af6755 Set root elements for xsd_config modules
This reduces the code size by not generating unnecessary code for
non-root elements.

Bug: 283700992
Test: m
Change-Id: I23bd5c2a0ccc40fded3ca08155ead5f4680c2ed9
2023-05-22 16:43:12 +09:00
Mikhail Naganov
3755134720 audio: Fix the comment about threading of DriverInterface::init
'DriverInterface::init' is called on the same thread as other
interface methods (the worker thread), except
for 'setConnectedDevices'. Update the comment to reflect this,
and rearrange the methods order in the interface.

Bug: 283463913
Test: m
Change-Id: I8937506d20ff8233b4b934c421173ce2bec9d43e
2023-05-19 20:08:53 -07:00
Maciej Żenczykowski
5bbc1a4021 Merge "remove inprocess tethering" 2023-05-19 20:44:31 +00:00
Treehugger Robot
9886fbe306 Merge "Fix typo in FreeBufferNegative test" 2023-05-19 19:58:00 +00:00
John Reck
1ba7c5124c Fix typo in FreeBufferNegative test
Wrong buffer was being free'd, triggering ASAN violations

Fixes: 278138497
Test: this
Change-Id: I7be7c85a55a58d01576324d2cd201e5a03e88283
2023-05-19 14:24:21 -04:00
Yichun Li
3ac998fa8c Merge "Revert "Remove unused hardware/bluetooth.h include"" 2023-05-19 00:45:21 +00:00
Yichun Li
6d9773daf4 Revert "Remove unused hardware/bluetooth.h include"
Revert submission 2517798-remove_bluetooth_h

Reason for revert: DroidMonitor-triggered revert due to breakage https://android-build.googleplex.com/builds/quarterdeck?branch=git_tm-qpr-dev-plus-aosp&target=aosp_bramble-userdebug&lkgb=10164200&lkbb=10164726&fkbb=10164208

Reverted changes: /q/submissionid:2517798-remove_bluetooth_h

Bug: 10164208
Change-Id: I52877f236db874e95228707d533698e3c12ecde1
2023-05-19 00:33:14 +00:00
David Duarte
9d2cdddb88 Merge "Remove unused hardware/bluetooth.h include" 2023-05-18 21:50:50 +00:00
Myles Watson
f5212f4528 Merge "Bluetooth HIDL 1.0: Log BDADDR source" 2023-05-18 18:34:24 +00:00
Myles Watson
970886d163 Bluetooth HIDL 1.0: Log BDADDR source
Bug: 283116345
Test: atest VtsHalBluetoothV1_0TargetTest
Change-Id: I2099dac406035a5f4698806a2d3b016e5dc1a913
2023-05-18 10:32:39 -07:00
Maciej Żenczykowski
e8b8d4b7f9 remove inprocess tethering
(comment appears incorrect, so just remove it)

Test: TreeHugger
Bug: 279942846
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: Ie8bb5715b0b795672501d5192916a52dc00349f2
2023-05-17 15:19:29 +00:00
Lorena Torres-Huerta
aa8f76af92 audio: Provide code for parsing surround sound config from XML
The main change is to convert the result of parsing from XSDC
types to AIDL, and add a VTS test for IConfig.getSurroundSoundConfig.

Extra changes:
  - add 'Unchecked' suffix to conversion functions that do not
    wrap the result into ConversionResult;
  - enable more compile-time checks for the default AIDL service,
    fix issues found.

Bug: 205884982
Test: atest VtsHalAudioCoreTargetTest
Change-Id: Icf578b8d28647e6355ed5328599c77d2ca1234f9
2023-05-16 18:00:14 -07:00
Mikhail Naganov
b511b8aa21 audio: Enable more compile time checks in the default impl
Enable "-Wall, Wextra, Werror, Wthread-safety",
fix discovered issues.

Bug: 205884982
Test: m
Change-Id: I0a8d3095dd24dbb3bc7cf6569c1f71945cd55168
2023-05-16 17:54:30 -07:00
Shunkai Yao
492dc40711 Merge "Implement AIDL effect IFacotry::queryProcessing" 2023-05-16 22:38:43 +00:00
Andrew Scull
122b4986d4 Merge "Require the config hash" 2023-05-16 21:19:24 +00:00
Mikhail Naganov
cd0609de1e Merge "audio: Update hardwired configuration" 2023-05-16 00:40:10 +00:00
Shunkai Yao
5824efbe84 Implement AIDL effect IFacotry::queryProcessing
Bug: 281572768
Test: atest --test-mapping hardware/interfaces/audio/aidl/vts:presubmit
Change-Id: I0166786d531437ef52690b92067766879b043a1d
Merged-In: I0166786d531437ef52690b92067766879b043a1d
2023-05-15 23:13:07 +00:00
Andrew Scull
1d23120bad Merge "Add security version to config descriptor" 2023-05-15 22:43:39 +00:00
David Duarte
26e456b792 Remove unused hardware/bluetooth.h include
Change-Id: I1877f6266cd105bb830a37ff4ac964f240dfa163
2023-05-15 20:30:54 +00:00
Treehugger Robot
434a0cc160 Merge "VTS: Test specifying --expect_upgrade {yes,no}" 2023-05-15 09:11:41 +00:00
Tommy Chiu
025f3c5acd VTS: Test specifying --expect_upgrade {yes,no}
It should definitely be the case that a different SPL triggers key
requires upgrade, but the converse isn't true -- if no SPL change, it's
OK for the device to request upgrade anyhow.

Bug: 281604435
Change-Id: Ic03ce51fb4b18ff669595ab430f9fccd1da48997
2023-05-15 07:23:27 +00:00
David Benjamin
727f1ed7f3 Use BoringSSL's public API in keymaster_hidl_hal_test
Reaching into the struct will fail to build in the future when we make
the struct opaque. Use the public APIs instead.

Test: mm, treehugger
Change-Id: I78cbf5e66f0c4a891049edd187c8705ad163f658
2023-05-15 00:16:39 -04:00