Commit graph

42936 commits

Author SHA1 Message Date
Treehugger Robot
2f2544e410 Merge "ID attestation: update docs for a second IMEI" 2022-11-22 12:16:58 +00:00
Treehugger Robot
c84a388681 Merge "Define ApPowerControl library." 2022-11-22 00:18:34 +00:00
Karthik Bharadwaj
34557d4596 Merge "Default accel Z direction value to +9.8" 2022-11-21 22:03:14 +00:00
Yu Shan
fb0cc2241a Define ApPowerControl library.
Define a library for the communication channel between TCU and
application processor. This library will be implemented with
device-specific logic.

Test: local compile
Bug: 254547153
Change-Id: I241ba141f9a5a4a3852017e291fbbc08cadf2bfe
2022-11-21 13:47:01 -08:00
Steven Moreland
e9d1bca6d7 Merge "composer3 frozen" 2022-11-21 20:30:28 +00:00
Karthik Bharadwaj
4cea52915a Default accel Z direction value to +9.8
Default the accelerometer defaut Z value to +9.8 to indicate a
more 'natural' resting position of flat with screen up for the
device.

Bug: 242736284
Test: Presubmits, vts VtsHalSensorsV2_0TargetTest.
Change-Id: I92357119173dbc99a0a6665de5d733286ac30c3e
2022-11-21 18:28:44 +00:00
Steven Moreland
e49b3684a1 Merge "example vendor app" 2022-11-21 17:58:11 +00:00
Steven Moreland
a4f9873b72 Merge "vndk libs - frozen true" 2022-11-21 17:34:05 +00:00
Eran Messeri
b9d71d3e09 ID attestation: update docs for a second IMEI
Update the comment describing the attestation record:
* KeyMint version bump to V3
* Inclusion of the 2nd IMEI.

Bug: 244732345
Test: That it builds
Change-Id: I19f89bc9936b747647dc690d4702c60d2bbe92c5
2022-11-21 15:53:37 +00:00
Steven Moreland
576e098973 composer3 frozen
magic -> explicit

Bug: 259465531
Test: build
Merged-In: Iefdfe812fc9309a0a758eedb3da9d3676e956f02
Change-Id: Icc336c6640adc064e755ab23c934d7d07cc6339f
2022-11-19 04:26:01 +00:00
Steven Moreland
0385dac9fc example vendor app
see comments added in code and Android.bp

We don't have examples of a common Android ecosystem usecase, so
I'm adding one here.

Bug: 227289255
Test: after sepolicy + PRODUCT_PACKAGES:
    11-19 03:14:27.460   488   488 I android.hardware.vibrator-service.example: Vibrator on for timeoutMs: 100
Change-Id: Iee430d85e23c6c8f771dc5aa77bff9be1a91f080
2022-11-19 03:35:37 +00:00
Treehugger Robot
3777e1cb44 Merge "a.h.graphics.common frozen true" 2022-11-19 00:51:08 +00:00
Steven Moreland
93ea25ca9b vndk libs - frozen true
magic -> explicit

Bug: 259465531
Test: build
Change-Id: I700814bcbc7557b78d8dc708cbeeb33049250a9d
2022-11-18 23:40:59 +00:00
Shunkai Yao
efb45b2672 Merge "AIDL effect vts test cases refinement" 2022-11-18 23:17:59 +00:00
Steven Moreland
3bc7a4937d a.h.graphics.common frozen true
magic -> explicit

Bug: 259465531
Test: build
Merged-In: I080bee98df6d4ad8799dd60c5090c2e79244ce2f
Change-Id: I3223d33c296c73e7c14e8ed87806ba6ed8ff3392
2022-11-18 20:11:02 +00:00
Shunkai Yao
812d5b4ce0 AIDL effect vts test cases refinement
Bug: 255361653
Test: atest VtsHalAudioEffectTargetTest
atest VtsHalAudioEffectFactoryTargetTest
atest VtsHalEqualizerTargetTest

Change-Id: I4d4c4de97a73d4ea6dedd9c9e1733da03860430b
2022-11-18 19:50:24 +00:00
Treehugger Robot
77b9374f01 Merge "Add a new capability to indcate min slot duration." 2022-11-18 19:27:51 +00:00
Devin Moore
3259213a9e Merge changes from topics "sensor_conver", "sensorservice_aidl"
* changes:
  Add a convert library for sensor AIDL
  Add host_supported to sensors AIDL interface
2022-11-18 19:21:47 +00:00
Chih-hung Hsieh
66808f0c5e Merge "Fix array-parameter warning" 2022-11-18 19:21:20 +00:00
ziyiw
b922b6b215 Add a new capability to indcate min slot duration.
Test: compile
Bug: 254655623
Merged-In: Icac53069ddc61bbd60049880119973f1b4b0286d
Change-Id: Icac53069ddc61bbd60049880119973f1b4b0286d
2022-11-18 18:25:47 +00:00
Devin Moore
00721dc031 Add a convert library for sensor AIDL
This is moving the conversion functions from
frameworks/native/services/sensorservice/AidlSensorHalWrapper.cpp.
This conversion code needs to be shared between sensorservice, a new
libsensorserviceaidl, and the new VTS tests for AIDL sensorservice.
It will likely also be used by vendors interacting with the new AIDL
sensorservice.

Test: VtsHalSensorManagerV1_0TargetTest
Bug: 205764765
Change-Id: Iabb0bcf0770672671e51fd304f79e14ca94a2d15
2022-11-18 00:58:35 +00:00
Devin Moore
9ef0c60a25 Add host_supported to sensors AIDL interface
Useful for host fuzzing. Needed to make the new sensorservice AIDL
host_supported.

Test: m
Bug: 205764765
Change-Id: I3fb0786fe27274d91c05a0598bf9d96c20062edf
2022-11-18 00:58:28 +00:00
Treehugger Robot
a335badc22 Merge changes I2dfd304c,I978432e2
* changes:
  LoudnessEnhancer: Add AIDL implementation and its unit test
  Audio AIDL Effect VTS : Extract all common parameters to defaults
2022-11-17 22:00:44 +00:00
Chih-Hung Hsieh
494ef7f133 Fix array-parameter warning
Bug: 241941550
Test: presubmit
Change-Id: I03ede7721fbbe027598e0491b405faee8029fadc
2022-11-17 18:41:21 +00:00
Shraddha Basantwani
68041cab61 LoudnessEnhancer: Add AIDL implementation and its unit test
Added AIDL implementation for LoudnessEnhancer audio effect
parameters and its unit test.

Bug: 258124419
Test: atest VtsHalLoudnessEnhancerTargetTest

Change-Id: I2dfd304ca9f72383572fd1f762d41864dd73e39d
2022-11-17 10:24:06 +05:30
Shraddha Basantwani
5a2577cad6 Audio AIDL Effect VTS : Extract all common parameters to defaults
Bug: 258124419
Test: atest VtsHalAudioEffectTargetTest
atest VtsHalEqualizerTargetTest

Change-Id: I978432e2efcdcbb7341000b39b5f39e0e5d82eb7
2022-11-17 10:23:58 +05:30
Jooyung Han
00c47d2e15 Merge "USB APEX with AIDL implementation" 2022-11-17 04:05:28 +00:00
Steven Moreland
00ba1e951d android.hardware.graphics.allocator - VNDK - use V1
Breaking SDK finalization.

Bug: 259146177
Change-Id: I637ab649cbd1d0c886c91859398888f22025b963
Test: N/A
2022-11-17 00:07:44 +00:00
Shunkai Yao
f0c263b547 Use AIDL effect bundle in effectserviceexampleimpl.
Bug: 255361653
Test: atest VtsHalAudioEffectTargetTest
atest VtsHalAudioEffectFactoryTargetTest
atest VtsHalEqualizerTargetTest

Change-Id: Ia50ff5066e007f6a8569114e36f0e4565a6100ea
2022-11-16 18:09:17 +00:00
Tri Vo
2ac5066335 Merge "Add an implementation defined limit on number of keys in CSR" 2022-11-16 03:44:22 +00:00
Treehugger Robot
38bd71130e Merge "Preemptive minimal import" 2022-11-16 03:09:04 +00:00
Jooyung Han
c2a204e4bb USB APEX with AIDL implementation
The previous USB APEX was bundling HIDL 1.0 default implemetation.
Migrating the USB APEX to use AIDL implementation.

Bug: 227791019
Test: tbd
Change-Id: I99aa16fa36215ff296f8194717381efdcf3e8ed8
2022-11-16 10:27:56 +09:00
Treehugger Robot
41b932f43e Merge "audio: Add missing GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST" 2022-11-15 23:44:20 +00:00
Tri Vo
9cab73c8bd Add an implementation defined limit on number of keys in CSR
Rationale here is that many IRPC implementations are memory constrained.
We add a way for implementations to report the maximum number of
supported keys. This way we can guarantee consistent behavior across
different devices.

For implementation of IRPC version 3 and later we define the lowest
number of keys supported to be 20. This specific value was chosen
because the current implementation of RemoteProvisioner already combines
keys into batches of exactly 20.

Bug: 254137722
Test: atest VtsHalRemotelyProvisionedComponentTargetTest
Change-Id: Ib6fb6d6ec7c74004524a5505a37aa82c9e44ef91
2022-11-15 14:19:55 -08:00
Mikhail Naganov
88cb2f4662 audio: Add missing GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST
This fixes test error when on devices that do not have
AIDL HAL.

Bug: 205884982
Bug: 259294358
Test: m
Change-Id: I6cec10f35cd42eb06947bf483555287257a6a58e
2022-11-15 22:11:17 +00:00
John Reck
1dd64b4f83 Preemptive minimal import
Just to handle conflicts from internal

Test: make
Merged-In: I6fbc22272ba95b44aa09ff08f9d9a7adbb9ae8be
Change-Id: Ibe3ca5c654057b60fa9f045e6fc1f39d14463b44
2022-11-15 16:27:54 -05:00
Treehugger Robot
c1bd610345 Merge "Implement oemlock AIDL default" 2022-11-15 19:53:03 +00:00
Devin Moore
204599a398 Implement oemlock AIDL default
Test: atest OemLockAidlTest
Bug: 233850220
Change-Id: Icec67b5c46e35468ad98b94017ac373b5583c1af
2022-11-15 17:37:08 +00:00
Treehugger Robot
1b038bc69c Merge "Set android.hardware.camera.provider as updatable" 2022-11-15 07:31:42 +00:00
Steven Moreland
f856184c02 Merge "switch identity back to V4" 2022-11-15 01:32:47 +00:00
Treehugger Robot
373425a141 Merge "audio: Fix HAL reply handling in CompressedOffloadOutputStreamTest" into android13-tests-dev am: e37ff34514
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2295710

Change-Id: Id09c46e4900b260baa0773e06de294800edbe447
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-15 00:52:37 +00:00
Treehugger Robot
e37ff34514 Merge "audio: Fix HAL reply handling in CompressedOffloadOutputStreamTest" into android13-tests-dev 2022-11-15 00:29:39 +00:00
Steven Moreland
48b194d550 switch identity back to V4
V5 was a temporary version, to handle mismatched import versions,
but now that the temporary version (and differences) are removed,
it's causing an error.

Bug: 259146177
Change-Id: I0595c4e414701918a6f51128bbbb596633330c4c
Test: N/A
2022-11-14 23:47:46 +00:00
Jooyung Han
59ab6bb6ff Set android.hardware.camera.provider as updatable
android.hardware.camera.provider has been updatable since Android S. In
Android U, HALs updatable via APEX should declare the updatability.

Bug: 248142818
Test: checkvintf with updated DM
Merged-In: I51ddb9d141c71d22b7c7909b33ebfc8a0a703431
Change-Id: I51ddb9d141c71d22b7c7909b33ebfc8a0a703431
2022-11-14 23:24:11 +00:00
Andrew Scull
5eeb73beb7 Merge changes from topic "rkp-csrv3-updates"
* changes:
  Update the VTS test for CSRv3 updates
  Adjust CSRv3 CDDL after implementation experience
2022-11-14 22:01:53 +00:00
Treehugger Robot
14762528b0 Merge "Add pointer to default AIDL Camera HAL Implementation in README.md" 2022-11-14 16:32:20 +00:00
Shunkai Yao
6c04ef2c55 Merge changes from topic "aidl_audio_effect_8_config"
* changes:
  Add effect config xml parser in AIDL effect factory
  Support effect config parser in effect AIDL
2022-11-14 15:24:01 +00:00
Tommy Chiu
7d22f60924 KeyMint VTS: Police key validity from v2 HAL
The key validity can be ignored when generatKey on Android-12 (S).

Bug: 257445538
Test: Pass on S builds
Change-Id: Iafd8d080f324c7d8d6affbb9d28d4f265f13e2ab
2022-11-14 21:03:44 +08:00
Jayant Chowdhary
752fc7d851 Add pointer to default AIDL Camera HAL Implementation in README.md
Bug: 258543462

Test: N/A

Change-Id: Iec00fd6ffa9422ccc5a664d419e658dcb01bfbcc
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
2022-11-13 04:29:49 +00:00
Andrew Scull
fb49ad2f3c Update the VTS test for CSRv3 updates
Conform to the latest CDDL changes. Organize parsing to observe the
AuthenticatedRequest structure.

Return the deserialized CSR payload rather than the DICE chain keys
because it simplified the return types.  The return value is only used
by one VTS test that checks sequential CSRs consist of the same request.
The test was incomplete before and it now only looks as the CSR payload
whereas it previously only look at the DICE chain keys.

Bug: 250910137
Test: atest libkeymint_remote_prov_support_test librkp_factory_extraction_test
Test: atest VtsHalRemotelyProvisionedComponentTargetTest
Change-Id: I1ba2e0cec22e25312fb890923a4c93043e9046cd
2022-11-11 15:24:38 +00:00