Commit Graph

45221 Commits

Author SHA1 Message Date
David Drysdale
9ea96ddd9d Skip curve25519 upgrade tests on KeyMint v1
Bug: 266010760
Test: VtsAidlKeyMintTargetTest
Change-Id: Ib65e8209477251cce15161b2502c893f9983da42
2023-02-01 07:44:43 +00:00
Treehugger Robot
9113258fe0 Merge "wifi: put vintf fragment into wifi apex" 2023-01-31 02:57:52 +00:00
Xiang Wang
2acfb5ddc8 Merge "Fix typo in Thermal AIDL interface and run update API" 2023-01-30 21:39:56 +00:00
Devin Moore
adf99047d5 Merge "Change optional="false" to "true" in compat matrix 7" 2023-01-30 17:55:31 +00:00
Treehugger Robot
e47d1c9ebb Merge "Make android.hardware.thermal HAL optional" 2023-01-30 17:20:20 +00:00
Jooyung Han
caad2b9831 wifi: put vintf fragment into wifi apex
The AOSP-version of wifi hal apex now contains the VINTF fragment in it.

Bug: 247018693
Bug: 266885060
Test: atest CtsWifiTestCases
Merged-In: Id8f196386967c3023cb5ee308d31b8cdeed7df0b
Change-Id: Id8f196386967c3023cb5ee308d31b8cdeed7df0b
2023-01-30 11:27:22 +09:00
Mikhail Naganov
5324db0668 Merge "audio: Match framework expectations for mic addresses" 2023-01-28 02:04:45 +00:00
Treehugger Robot
ae0621bf2a Merge "Change fastboot default impl to 'recovery: true'" 2023-01-28 01:31:19 +00:00
Devin Moore
3f1ac704b7 Change fastboot default impl to 'recovery: true'
It is needed to install in recovery according to bug.

Test: na
Bug: 266981597
Change-Id: I74f917d54ae7bec26fc4085e7b794916576fa4c2
2023-01-28 00:09:35 +00:00
Mikhail Naganov
b0f3d97f1a audio: Match framework expectations for mic addresses
The framework expects that "built-in mic" has address "bottom",
and the "buitl-in back mic" has address "back". This logic
will be incorporated into the XML to AIDL serializer later.

Bug: 205884982
Test: enable AIDL audio HAL on CF and run `atest CtsMediaAudioTestCases`
Change-Id: I5052b312b673e18e3148f917487b1f90a1e04ba6
2023-01-27 16:08:29 -08:00
Devin Moore
d874a23fc0 Make android.hardware.thermal HAL optional
A common workflow for vendors is to develop their new launching devices
targeting N-1 compatibility matrix so they can update each of their HALs
independently at different times.

This works because the target (N-1) framework compatibility matrix is squashed
with the newer compatibility matrices allowing the use of newer
interfaces.

This doesn't work when converting a service from HIDL to AIDL when the
HIDL service is marked as optional="false". It allows for the use of the
new AIDL interface, but it still requires the old HIDL interface.

Marking the old HIDL interfaces as optional allows vendors to develop
before the device targets level 8.

Test: atest vts_treble_vintf_vendor_test
Bug: 247575800
Change-Id: I0da1b10b2bf5c10b19b2713b56be72738a15eec1
2023-01-27 23:10:56 +00:00
Devin Moore
f2cada53a3 Change optional="false" to "true" in compat matrix 7
A common workflow for vendors is to develop their new launching devices
targeting N-1 compatibility matrix so they can update each of their HALs
independently at different times.

This works because the target (N-1) framework compatibility matrix is squashed
with the newer compatibility matrices allowing the use of newer
interfaces.

This doesn't work when converting a service from HIDL to AIDL when the
HIDL service is marked as optional="false". It allows for the use of the
new AIDL interface, but it still requires the old HIDL interface.

Marking the old HIDL interfaces as optional allows vendors to develop
before the device targets level 8.

Test: m
Bug: 247575800
Change-Id: I4446cdaa4a44b4dae1e9eee68089bf723dd25276
2023-01-27 23:07:43 +00:00
Xiang Wang
d9dbb06a4b Fix typo in Thermal AIDL interface and run update API
Bug: b/205762943
Test: m
Change-Id: Ic85c569eb48edd136bfc0ec8df3202fad3d67b46
2023-01-27 00:20:25 +00:00
Devin Moore
227fecd3ed Merge "Rename compatibility_matrix.current.xml" 2023-01-26 20:33:59 +00:00
Shunkai Yao
1d2d51a55d audio: Add API to get io handle
Add new API to fetch IO handle which is
used for offloaded effects.

Test: atest VtsHalAudioEffectFactoryTargetTest
Test: atest VtsHalAudioEffectTargetTest

Change-Id: I82abe76036507e770f0e2aed2feef7905d85a5c9
2023-01-26 18:18:32 +00:00
Shunkai Yao
293a52a471 Merge "AIDL effect: add AutomaticGainControlV1 AIDL" 2023-01-26 17:24:51 +00:00
David Drysdale
85fb71b280 Merge "RKPv2 spec clarifications" 2023-01-26 09:44:06 +00:00
David Drysdale
28b953032e RKPv2 spec clarifications
- Rename keysToCertify to keysToSign to match param name in a few
  places.
- Make clearer that P-256 is allowed in EEK.
- Make clearer that EEK curve should match that specified in
  RpcHardwareInfo.supportedEekCurve.
- Add note about AAD for AES-GCM encryption.
- Add note about format of public key data in KDF context.

Test: None, comments only
Change-Id: Ie775a453b4d3941b7d24396da66681ab91978d81
2023-01-26 06:31:02 +00:00
Shunkai Yao
ca10874012 AIDL effect: add AutomaticGainControlV1 AIDL
Bug: 261129656
Test: Compile and build, will add usage and test code in followup CL.
Change-Id: Ib20ff6e8f8fe9b7c3ac3286c5c05edc6880a44fe
2023-01-26 05:24:27 +00:00
Shubhangi Pawar
7b3833fe82 Merge "drm aidl vts: proper skip tests without vendor module" into android13-tests-dev am: 05f5fd842d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2379389

Change-Id: If1129db3fd44a3961373f5602a954db7877a6e5e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-26 04:25:34 +00:00
Shubhangi Pawar
05f5fd842d Merge "drm aidl vts: proper skip tests without vendor module" into android13-tests-dev 2023-01-26 03:45:22 +00:00
Treehugger Robot
d627f61ecc Merge "Camera VTS: Keep buffer ids and frame numbers consistent" into android13-tests-dev am: ceeef2d2bf
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2393593

Change-Id: Iab70382aa05ec5812520cb60f79b689184ffb413
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-25 23:05:52 +00:00
Treehugger Robot
ceeef2d2bf Merge "Camera VTS: Keep buffer ids and frame numbers consistent" into android13-tests-dev 2023-01-25 22:25:06 +00:00
Devin Moore
d89a33b8c7 Rename compatibility_matrix.current.xml
We can stick with the expected number and drop the use of "current".

Test: m
Bug: 266392619
Change-Id: I309f3e2a031ae364d59b4f86a711ca637a30e6e1
2023-01-25 22:21:22 +00:00
Shunkai Yao
0d1d349b72 Merge "AIDL effect: add Range for effect capabilities" 2023-01-25 21:54:06 +00:00
Treehugger Robot
be3a5b2517 Merge "Camera VTS: Fix AIDL status typo" 2023-01-25 20:05:05 +00:00
Shunkai Yao
88b24b2dea AIDL effect: add Range for effect capabilities
Bug: 261129656
Test: Compile and build, will add usage in effect capabilities.
Change-Id: I29b80ee8b3e08fa3b6f0e5cf0e9349096adddb43
2023-01-25 19:46:10 +00:00
Emilian Peev
470d138062 Camera VTS: Keep buffer ids and frame numbers consistent
In case we have a camera device that doesn't support the
Hal buffer management mode, services are required to use
the frame number and stream id to deduce the specific
buffer id and Hals are not mandated to return valid
buffer ids as part of the capture result.

Bug: 265092659
Test:adb shell
/data/nativetest64/VtsAidlHalCameraProvider_TargetTest/VtsAidlHalCameraProvider_TargetTest
--gtest_filter=PerInstance/CameraAidlTest.process10BitDynamicRangeRequest/0_android_hardware_camera_provider_ICameraProvider_internal_0

Change-Id: I3b10e91d38a13afcca45f26712cc5d5c241c2a32
2023-01-25 11:07:37 -08:00
Yi Kong
07448c2929 Fix compiler warning discovered by clang-r484482
external/googletest/googletest/include/gtest/gtest.h:1545:11: error: invalid operands to binary expression ('const std::vector<unsigned char>' and 'const android::hardware::hidl_vec<unsigned char>') [clang-diagnostic-error]
  if (lhs == rhs) {
      ~~~ ^  ~~~

Test: presubmit
Change-Id: Iabe98a58d5dc5b9943c38240da2d8df6ac61fb7f
2023-01-26 01:23:03 +09:00
Treehugger Robot
98a65f23f0 Merge "Camera VTS: Fix AIDL status typo" into android13-tests-dev am: 1c4170754f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2397737

Change-Id: I41ac1e6f5f871ca24aace3a1086dd5b24fbd3c7e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-25 02:36:52 +00:00
Treehugger Robot
1c4170754f Merge "Camera VTS: Fix AIDL status typo" into android13-tests-dev 2023-01-25 02:11:46 +00:00
Treehugger Robot
77373d5774 Merge "Updated the comments where the status code is used in other types." 2023-01-25 00:18:27 +00:00
Treehugger Robot
f4957e5586 Merge "Remove VTS that were moved to new directory" 2023-01-24 22:29:05 +00:00
Subrahmanyaman
31d630b6aa Updated the comments where the status code is used in other types.
Bug: 205760843
Test: VtsHalGatekeeperTarget
Change-Id: I6a1ed4008989f607a37b53a966b3ba8327cc1381
2023-01-24 19:34:58 +00:00
Yu-Han Yang
e0b0a8c2a7 Skip TestGnssPowerIndication if capability is not supported am: 5da610c660
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2397741

Change-Id: I874c8f080db515cb36d3a0c5bf288b34d0fa0a9c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-24 19:07:48 +00:00
Eran Messeri
506089a8e9 Merge "Extending AttestKeyTest#EcdsaAttestationID test to use IMEI as attestation id." 2023-01-24 16:48:26 +00:00
David Drysdale
8c526e4d3e Merge "Add missing endquote and newline" 2023-01-24 16:30:59 +00:00
Nathalie Le Clair
3c85daf45b Remove VTS that were moved to new directory
These tests can now be found in the hdmi/connection directory, instead of the hdmi/directory.

Test: none
Bug:233026642

Change-Id: I60a8086e543d8a4714dda54456fd6e2dfb2a6069
2023-01-24 14:19:52 +00:00
David Drysdale
9c99dc9a39 Add missing endquote and newline
Test: tsAidlKeyMintTargetTest --gtest_filter="*KeyBlobUpgradeTest*After*default"  --keyblob_dir /data/local/tmp/keymint-blobs
Change-Id: I6f1d2778637cf4603e1ab896d63df936fbf82a38
2023-01-24 12:21:21 +00:00
Nathalie Le Clair
4e24d7a342 Specify that only output ports need to be positive.
Test: presubmit
Bug: 265117347

Change-Id: Ibac61ae11368baa62438c5b04549c5ea9e2b1c9f
2023-01-24 10:57:19 +00:00
Robert Shih
d4a24d77bb Merge "DRM HAL README.md" 2023-01-24 03:16:25 +00:00
Treehugger Robot
9a484aa9c7 Merge "health: expose battery health data and update version to V2" 2023-01-24 00:52:34 +00:00
Myles Watson
3443ca47b8 Merge "VtsHalBluetoothTargetTest: test loopback" 2023-01-23 20:47:31 +00:00
Treehugger Robot
0e1baf5c63 Merge "audio: Update README.md to add info about the AIDL version" 2023-01-23 18:15:31 +00:00
Shunkai Yao
e7b0f091be Merge "AIDL effect: add VERY_HIGH level in NoiseSuppression" 2023-01-23 18:05:55 +00:00
Emilian Peev
54c4856226 Camera VTS: Fix AIDL status typo
"physicalCameraDeviceStatusChange" returns a default
ScopedAStatus that will not include a valid AStatus instance.
This will result in binder instabilities once the status
is being parceled.
Return "ScopedAStatus::ok" instead.

Bug: 253993253
Test: adb shell VtsAidlHalCameraProvider_TargetTest
Change-Id: I219f608a04aaec0631e3de58a7e0d47a30294e52
2023-01-23 17:35:05 +00:00
Robert Shih
36c6225ca7 DRM HAL README.md
Bug: 266091099
Change-Id: Ibfa71908cacd9c74891300c7c6227f2b11149503
2023-01-23 15:25:13 +00:00
Jack Wu
3356161d6c health: expose battery health data and update version to V2
1. add the new propertes
  - batteryHealthData
  - batteryStateOfHealth
  - chargingState
  - chargingPolicy
2. add new types to health status
3. add new methods
  - setChargingPolicy
  - getChargingPolicy
  - getBatteryHealthData

Bug: 251425963
Test: m android.hardware.health-update-api
Change-Id: Ie2339c50e1f9bfc28427e4108a95b1a16c739205
Signed-off-by: Jack Wu <wjack@google.com>
2023-01-21 07:33:51 +00:00
Myles Watson
e1708c8c44 VtsHalBluetoothTargetTest: test loopback
Add tests for loopback testing mode.

Bug: 205758693
Test: atest VtsHalBluetoothTargetTest
Change-Id: Ie4d23136f0cff901435ec33f8668dd1e261d9870
2023-01-20 17:52:31 -08:00
Myles Watson
022e49b684 Bluetooth HAL: Fail loudly on a write failure
Bug: 205758693
Test: VtsHalBluetoothTargetTest
Change-Id: I2151b324247a83a454b81c28c9f0f5cd5581be09
2023-01-20 17:49:06 -08:00