Commit Graph

67346 Commits

Author SHA1 Message Date
Orlando Arbildo
60d8a03ecd hwcrypto: Add protectionIDs to keys
Added function to tag keys with protectionIDs. This
allow the key creator to limit the types of buffer
that a key can operate onto.

Bug: 284177057
Test: qemu android build
Change-Id: Ie0eb266c93877c690a1cf27b356c7f8f35b1fd97
2024-11-15 15:24:18 +00:00
David Drysdale
d0b8688a8d Merge "KeyMint VTS: emit values on failure" into main 2024-11-15 10:47:00 +00:00
Treehugger Robot
2764f6223c Merge "Drop references to CAN HAL from libnetdevice and libnl++" into main 2024-11-15 00:09:45 +00:00
Tomasz Wasilczyk
ef3851752a Drop references to CAN HAL from libnetdevice and libnl++
Bug: 310710841
Test: m
Change-Id: I362bb91860fa2e78168b4b27a1c9b36d1c23ba7e
Merged-In: I362bb91860fa2e78168b4b27a1c9b36d1c23ba7e
2024-11-14 19:37:46 +00:00
David Drysdale
0269d49d9a KeyMint VTS: emit values on failure
Test: VtsAidlKeyMintTargetTest
Change-Id: Iac65b379f22eb2ff9b4d1e47b652d41072eaafe9
2024-11-14 17:15:00 +00:00
Orlando Arbildo
293607e427 Merge "hwcrypto: Add key token export/import" into main 2024-11-14 17:10:26 +00:00
David Drysdale
76418972da Merge "KeyMint VTS tests for module hash feature" into main 2024-11-14 11:49:16 +00:00
shihchienc
bac748d16d threadnetwork: Avoid execute command if service does not exist am: 0afad08ea2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3343649

Change-Id: I49499989692fda16b2d92daa42c0d68ba3388ded
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-14 02:10:22 +00:00
Grzegorz Jaszczyk
db7be07c9c ExternalCameraDevice: increase max bytes per pixel
This fixes some USB external camera which fails to initialize with:

  I ExtCamDevSsn@3.4: configureV4l2StreamLocked: V4L2 buffer size is 614989
  E ExtCamDevSsn@3.4: configureV4l2StreamLocked: V4L2 buffer size: 614989 looks invalid. Expected maximum size: 614400
  E ExtCamDevSsn@3.4: V4L configuration failed!, format:MJPG, w 640, h 480

BUG=b:326773369, b:309244873
Test: Manual camera operation verification

Change-Id: I532bef429792f5a841034a4f3d4eadfa6ed78b2a
Reviewed-by: Tomasz Nowicki <tnowicki@google.com>
Tested-by: Tomasz Nowicki <tnowicki@google.com>
Reviewed-by: Konrad Adamczyk <konrada@google.com>
2024-11-13 22:55:21 +00:00
Treehugger Robot
c3b754ac34 Merge changes I6a62eea4,I599435cc into main
* changes:
  Fix AIDL warnings in Radio HAL
  Move deprecated annotation from structs to their fields
2024-11-13 20:51:30 +00:00
Tomasz Wasilczyk
ed43421b66 Fix AIDL warnings in Radio HAL
Bug: 310710841
Test: mma in any HAL implementation folder
Flag: EXEMPT aidl only
Change-Id: I6a62eea436eae6b416c813f44adeacafa7f38453
2024-11-13 11:38:49 -08:00
Treehugger Robot
d60f75431e Merge changes from topic "bt-cs-hal-v2" into main
* changes:
  Update default service for channel sounding HAL v2
  Update the channel sounding HAL API
2024-11-13 16:52:29 +00:00
shihchienc
0afad08ea2 threadnetwork: Avoid execute command if service does not exist
We might run VTS when the thread_network service is not available. This
patch prevents shell commands from being executed if the service is
absent.

Bug: 374009923
Bug: 355317617
Bug: 376750874
Test: atest VtsHalThreadNetworkTargetTest
Change-Id: I94dd7e2e7585e061f53291c47e46841e5e670b6c
(cherry picked from commit ae9ea3c896)
2024-11-13 08:21:00 +00:00
David Drysdale
b9c1291dfb Merge "Add an explicitly v3 manifest fragment" into main 2024-11-13 06:50:42 +00:00
Treehugger Robot
84646b6772 Merge "Refactor function signatures to remove mocked IRPC" into main 2024-11-13 02:15:23 +00:00
Steven Liu
14b3e64423 Update default service for channel sounding HAL v2
Bug: 357090692
Test: build
Change-Id: I78eec190a4b216799462578cf6309b6fef5b0a9b
2024-11-13 01:43:11 +00:00
Steven Liu
ccd1274582 Update the channel sounding HAL API
Bug: 357090692
Test: build
Change-Id: I7bb5d1e10f6681103199d741ff4496dbb3530c0e
2024-11-13 01:42:26 +00:00
Treehugger Robot
d9c0272480 Merge "have one implementation of deviceSuffix" into main 2024-11-13 01:05:18 +00:00
Treehugger Robot
6fa3976058 Merge "Add SUPPORTED_MAX_SESSION_COUNT as part of UwbVendorCapabilityTlvTypes" into main 2024-11-13 00:22:40 +00:00
Matt Buckley
7074af9d87 Add ADPF_OWNERS to power interface
Bug: none
Test: n/a
Change-Id: Ic55047cde9937cae1917c5683412c24166b3dc96
2024-11-12 23:33:47 +00:00
Sean Thomas
afbab6080c have one implementation of deviceSuffix
Test: atest libkeymint_remote_prov_support_test
Change-Id: I2c9634dea7324a03e34c789f272248ddd720ca84
2024-11-12 23:10:31 +00:00
Spandan Das
edf613313c Merge "List required transitive deps of com.android.hardware.audio explicitly" into main 2024-11-12 19:04:01 +00:00
Tomasz Wasilczyk
bc7038f925 Move deprecated annotation from structs to their fields
Having (deprecated) methods with deprecated types as their arguments
prevent from cleanly doing no-op implementations for them. Moving the
annotation from the structure to all their fields will keep the warning
anywhere they would be used, but won't bother implementations who don't
really provide them.

Bug: 310710841
Test: m
Flag: EXEMPT aidl changes only
Change-Id: I599435cc31d712c371d9d3e7fa5cc538b854cd03
2024-11-12 11:00:46 -08:00
Sean Thomas
2d2385bca3 Refactor function signatures to remove mocked IRPC
Test: atest libkeymint_remote_prov_support_test
      atest VtsHalRemotelyProvisionedComponentTargetTest

Change-Id: I8dd47bca149bcef244c223f8e94d3965deb13f13
2024-11-12 17:42:56 +00:00
Seth Moore
8925adb102 Merge "Expose more from hwtrust for DICE chain validation" into main 2024-11-12 16:08:10 +00:00
David Drysdale
da0b04ce83 KeyMint VTS tests for module hash feature
Test: VtsAidlKeyMintTargetTest
Bug: 369375199
Bug: 373446864
Bug: 373446999
Bug: 360941058
Change-Id: Iaca508f39be4d76d07ae4f7cf6e640466af78ae4
2024-11-12 15:50:35 +00:00
Spandan Das
a459d31603 List required transitive deps of com.android.hardware.audio explicitly
These are prebuilt etc files which are installed outside this apex in
/vendor/etc/... Transitive deps that are installed outside the apex are
currently supported when building vendor.img with make, but the current
plan is that this behavior will not be ported when building vendor.img
with soong. To ensure that these deps are installed when building
vendor.img with soong, list these `required` deps explicitly on the top-level apex.

Test: verified that the list of installed files of vendor remain the
same
Bug: 374371755

Change-Id: I0961ab92d9db8e69ecb54b90ffd5b2511843c695
2024-11-12 01:54:05 +00:00
David Drysdale
af23f37935 Add an explicitly v3 manifest fragment
Test: TreeHugger
Bug: 369375199
Change-Id: Ie4ebd03fd628f6ff87e711c8403b082461afbb6f
2024-11-11 10:39:19 +00:00
Sean Thomas
4eb29280d9 Expose more from hwtrust for DICE chain validation
There are a lot of upcoming requirements (see below) that place
restrictions on the CSR and the DICE chain. This is a first step to
make some of the infrastructure necessary to utilize
the already-existing functionality inside hwtrust.

Bug: 372843164
Bug: 376297620

A lot of parsing happens in `remote_prov_utils`. It would be nice to
have all parsing and validation occur in hwtrust.

Test: atest VtsHalRemotelyProvisionedComponentTargetTest
      atest libkeymint_remote_prov_support_test
Change-Id: I52383c0c62a6bb73554fd0771d2e7a8b366246c0
2024-11-08 18:55:55 +00:00
Orlando Arbildo
bf97d3ab98 hwcrypto: Add key token export/import
Added functions to export and import opaque
keys between different connections/clients

Bug: 284177057
Test: qemu android build
Change-Id: I7e89dbb1ebae040b5668f238fe5ed8d6649c78ea
2024-11-08 17:57:55 +00:00
Seth Moore
d65b3820b5 Add Vikram as owner for RKP HAL and VTS
Change-Id: Icc977023adfbbfead28fd06229de7201ca2e4d4b
2024-11-08 17:23:45 +00:00
Yomna ~
82b2a3a1a5 Merge "Update cellular security transparency HAL language" into main 2024-11-08 01:48:03 +00:00
Tomasz Wasilczyk
a87df9ff02 Merge "Use RadioConst to define undefined magic constants" into main 2024-11-08 00:39:29 +00:00
Treehugger Robot
95e6875d39 Merge "Graphics: Add Rust and AIDL defaults for graphics HALS, migrate usages" into main 2024-11-07 23:43:54 +00:00
yomna
1d207f368f Update cellular security transparency HAL language
Bugs: b/283336425
Test: N/A
Flags: EXEMPT bugfix
Change-Id: Ifd29f44e0bd7eee54ee858133450c0f7409c8677
2024-11-07 21:07:57 +00:00
Treehugger Robot
79c86b7b99 Merge "Refactor VTS tests to use common sine input generation method" into main 2024-11-07 19:27:51 +00:00
Treehugger Robot
9604dae9cb Merge "Audio CAP: Address ANAPIC comments, Part 2." into main 2024-11-07 19:17:11 +00:00
Treehugger Robot
c008dd447e Merge "audio: add rollback support for streams in setAudioPatch." into main 2024-11-07 17:32:26 +00:00
Treehugger Robot
d6dce1a891 Merge "Add proposed trendy teams for VTS modules" into main 2024-11-07 16:25:08 +00:00
Sneha Patil
ed98f7b27c Refactor VTS tests to use common sine input generation method
Bug: 305866207
Test: atest VtsHalVolumeTargetTest
      atest VtsHalPresetReverbTargetTest
      atest VtsHalVirtualizerTargetTest
      atest VtsHalBassBoostTargetTest
      atest VtsHalEnvironmentalReverbTargetTest
Change-Id: I6b31ba94ffed15b4ac467eec87e45c4c5f5b3805
2024-11-07 04:33:06 +00:00
Treehugger Robot
75e2b44508 Merge changes from topic "ch_hal_v4" into main
* changes:
  Update contexhub stub impl to V4
  Introduce new endpoint lifecycle interfaces for ContextHub v4
  Introduce new interfaces for ContextHub v4
2024-11-07 03:15:18 +00:00
Yihan Dong
c173e90343 Merge "Add proposed trendy teams for VTS modules" into main 2024-11-07 00:58:17 +00:00
Eino-Ville Talvala
a65c9af01d Graphics: Add Rust and AIDL defaults for graphics HALS, migrate usages
- Add new defaults for Rust and AIDL graphics HAL library references
- Migrate HAL interfaces to use new AIDL defaults

This is in preparation for upgrading the graphics.common HAL to V6.

Test: Builds
Bug: 368395888
Flag: EXEMPT build changes
Merged-In: I9d312328255226fbd7162b9dfd151dfa823f1858
Change-Id: I9d312328255226fbd7162b9dfd151dfa823f1858
2024-11-06 15:18:22 -08:00
Arthur Ishiguro
3294beb8e0 Add arthuri@ to hardware/interfaces contexthub OWNERS
Test: None, OWNERS only

Change-Id: I01a4069eb4c65c0b4fedf6c5d5ff0251770a2741
2024-11-06 22:33:50 +00:00
Ajender Reddy
32e85fccc8 audio: add rollback support for streams in setAudioPatch.
This rollback support isn't altering the the definition
of the IModule::setAudioPatch API, in case of success.
But, in case of failure, setAudioPatch tries to rollback
to the old patch.

Although, rollback isn't guaranteed.
But the rollback attempt is ensured.

Thereby, rollback support enables framework to take fail safe
decisions and tries to create a deterministic behavior for HAL.

Add brief comments for this logic.

Reason, the Bluetooth devices (external devices) may fail to connect
and thus leaving the stream with empty devices may not be desirable.

Thus, Rollback attempt to previous devices may be desirable.

Bug: 370242708
Test: atest VtsHalAudioCoreTargetTest
Change-Id: I40627c6af1df61c6331cbadf32d259378906431c
2024-11-06 16:02:05 +00:00
David Drysdale
c2723cdea3 Merge "keygen test not generating the key for every iteration" into main 2024-11-06 10:40:29 +00:00
Karuna Wadhera
28e04e6221 Merge "Add module info AIDL changes and bump the KeyMint version" into main 2024-11-06 07:09:01 +00:00
Catherine Vlasov
a742007dfa Merge "Expect SHA-256 digest for attested VBMeta digest on VSR-V+." into main 2024-11-05 16:12:49 +00:00
Catherine Vlasov
c4f2acc76d Expect SHA-256 digest for attested VBMeta digest on VSR-V+.
Bug: 309963984
Bug: 376832222
Test: atest VtsAidlKeyMintTargetTest
Change-Id: I99684cf16d84a08f607aceeb8f51d78d89e93511
2024-11-05 15:19:50 +00:00
Treehugger Robot
c5d9dca9a1 Merge "VtsHalTargetTest: Define kSamplingFrequency in EffectHelper.h" into main 2024-11-05 08:45:59 +00:00