Commit graph

65745 commits

Author SHA1 Message Date
Yomna Nasser
5dcb2ad7a9 Merge "Mark cellular security transparency APIs optional" into main am: a95aa0fe46
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3077418

Change-Id: Ia4bc35b2dd6279a2d9b61b4e432d71c08456647d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-13 21:03:09 +00:00
Yomna Nasser
a95aa0fe46 Merge "Mark cellular security transparency APIs optional" into main 2024-05-13 20:48:34 +00:00
Akhilesh Sanikop
0e568bc8e5 Added keymint_authSet_fuzzer
exec/s: 490
Test: ./keymint_authSet_fuzzer
Bug: 337985606

Change-Id: I47ee42e6e97b98110bab8f923a94ed7b6e8b992d
2024-05-13 23:47:19 +05:30
Akhilesh Sanikop
007129a7fd Added keymint_attestation_fuzzer
exec/s: 2
Test: ./keymint_attestation_fuzzer
Bug: 337985606

Change-Id: I2c0d56e1af97190a5eb06a34e15bcd93123f39a6
2024-05-13 23:46:36 +05:30
yomna
7b55d44afe Mark cellular security transparency APIs optional
Bug: b/300159864 b/276752426
Test: m
Flag: exempt
Change-Id: I814d8162ade48559ea35c55ac54f55eaee279e11
2024-05-13 18:03:52 +00:00
Nikita Putikhin
eedb69e377 Merge "Make fmq product_available" into main am: 64b1d27ab6
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3079563

Change-Id: Idc1f91d00637f3bf79ab8dbd2848c3593bdca947
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-13 08:55:33 +00:00
Nikita Putikhin
64b1d27ab6 Merge "Make fmq product_available" into main 2024-05-13 08:35:52 +00:00
Treehugger Robot
155bcff641 Merge "Fix failures in VtsHalRadioV1_5TargetTest" into main am: 48f90734b1
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3081927

Change-Id: Ia37de320425cc704409974a00be37b9f8f1a564b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-10 21:46:30 +00:00
Treehugger Robot
48f90734b1 Merge "Fix failures in VtsHalRadioV1_5TargetTest" into main 2024-05-10 21:27:32 +00:00
Shunkai Yao
70ce590f52 Merge "Improve effect AIDL HAL logging" into main am: e26729ae76
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3080653

Change-Id: If89448340c09f354becd0aab9f686ebc962875e3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-10 02:05:50 +00:00
Gautam Raychaudhury
53295c021d Fix failures in VtsHalRadioV1_5TargetTest
Update below VTS tests with EUTRAN instead of GERAN.
setNetworkSelectionModeManual_1_5 and setSystemSelectionChannels_1_5
because some devices do not support GSM.

Test:
run vts -m VtsHalRadioV1_5TargetTest -t PerInstance/RadioHidlTest_v1_5#setNetworkSelectionModeManual_1_5/0_slot1
run vts -m VtsHalRadioV1_5TargetTest -t PerInstance/RadioHidlTest_v1_5#setNetworkSelectionModeManual_1_5/1_slot2
run vts -m VtsHalRadioV1_5TargetTest -t PerInstance/RadioHidlTest_v1_5#setSystemSelectionChannels_1_5/0_slot1
run vts -m VtsHalRadioV1_5TargetTest -t PerInstance/RadioHidlTest_v1_5#setSystemSelectionChannels_1_5/1_slot2

Bug: 335796413
Change-Id: Ia79460a168515d93883a0056c80f5915f016273d
2024-05-09 18:58:02 -07:00
Shunkai Yao
e26729ae76 Merge "Improve effect AIDL HAL logging" into main 2024-05-10 01:43:23 +00:00
Shunkai Yao
e21e1e72f5 Update VTS to open Spatializer with supported input channel layout am: 61f9dd21bd
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3080648

Change-Id: I2bb53bdda6b0cafe87fcc5b42b3cbd52095c025a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-09 22:44:39 +00:00
Shunkai Yao
fbb29ced9f Improve effect AIDL HAL logging
Bug: 333407024
Test: atest --test-mapping hardware/interfaces/audio/aidl/vts:presubmit
Change-Id: Ie983c4360488a6047bd284c20bf9899d38b4273e
2024-05-09 22:34:10 +00:00
Shunkai Yao
61f9dd21bd Update VTS to open Spatializer with supported input channel layout
Bug: 338040049
Test: atest --test-mapping hardware/interfaces/audio/aidl/vts
Change-Id: I2e3457771617ff9425672f4db5e151658e47c827
2024-05-09 20:28:08 +00:00
Gautam Raychaudhury
beff3324c7 Fix failures in VtsHalRadioV1_5TargetTest
Update below VTS tests with EUTRAN instead of GERAN.
setNetworkSelectionModeManual_1_5 and setSystemSelectionChannels_1_5
because some devices do not support GSM.

Test:
run vts -m VtsHalRadioV1_5TargetTest -t PerInstance/RadioHidlTest_v1_5#setNetworkSelectionModeManual_1_5/0_slot1
run vts -m VtsHalRadioV1_5TargetTest -t PerInstance/RadioHidlTest_v1_5#setNetworkSelectionModeManual_1_5/1_slot2
run vts -m VtsHalRadioV1_5TargetTest -t PerInstance/RadioHidlTest_v1_5#setSystemSelectionChannels_1_5/0_slot1
run vts -m VtsHalRadioV1_5TargetTest -t PerInstance/RadioHidlTest_v1_5#setSystemSelectionChannels_1_5/1_slot2

Bug: 335796413
Change-Id: Ia79460a168515d93883a0056c80f5915f016273d
2024-05-09 17:59:11 +00:00
Mikhail Naganov
581761fa85 Merge "audio: Abort on data FMQ pointer corruption" into main am: 2222e7d599
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3079664

Change-Id: Ic501697872a8c9bd0b83b3f01487f1bdbf280975
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-09 17:31:06 +00:00
Mikhail Naganov
2222e7d599 Merge "audio: Abort on data FMQ pointer corruption" into main 2024-05-09 16:54:31 +00:00
Shunkai Yao
da8149c5b1 Merge "Use customized event flag for data FMQ not_empty to avoid conflict" into main am: 94b3cbced9
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3080634

Change-Id: Ic8980a7745be129acb206a086b7a4ac0580c7de3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-09 16:46:47 +00:00
Shunkai Yao
94b3cbced9 Merge "Use customized event flag for data FMQ not_empty to avoid conflict" into main 2024-05-09 16:28:20 +00:00
Hunsuk Choi
0ec6970a23 Fix test of triggerEmergencyNetworkScan am: 2b4c6387d3 am: 04dbd06bb5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3080044

Change-Id: I2398997f8cb6cf5aa0485794b21b06c7f67a89ee
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-09 06:38:12 +00:00
Bao Do
91d7ca2b67 Multi-directional support for matching ASE configuration
Bug: 320259251
Test: ateast VtsHalBluetoothAudioTargetTest
Tag: feature
Change-Id: I478fc99bb02debd78f660dc27e9600ef3afdc2a9
2024-05-09 14:21:29 +08:00
Hunsuk Choi
04dbd06bb5 Fix test of triggerEmergencyNetworkScan am: 2b4c6387d3
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3080044

Change-Id: I3422587ee52737abc2932caa102ceb24a68f5a24
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-09 06:00:33 +00:00
Łukasz Rymanowski
5a43cb90d8 Extend VtsHalBluetoothAudioTargetTest
This increase number of test cases for new Multicodec feature

Bug: 320259251
Test: ateast VtsHalBluetoothAudioTargetTest
Tag: feature
Change-Id: I2150459bea53b522fe8da43ceed4c20eaeba7b16
2024-05-09 11:05:49 +08:00
Shunkai Yao
ef683a9c60 Use customized event flag for data FMQ not_empty to avoid conflict
also update VTS data path test skipping for offload effects

Bug: 335547630
Test: atest --test-mapping hardware/interfaces/audio/aidl/vts:presubmit
Change-Id: Ie92f04091658e210dccb7a2d60ebbab14c49fb58
Merged-In: Ie92f04091658e210dccb7a2d60ebbab14c49fb58
2024-05-09 01:07:34 +00:00
Mikhail Naganov
7b6951eed8 audio: Abort on data FMQ pointer corruption
Issue a fatal error when the data FMQ detects internal pointers
corruption. This condition indicates some low level problems
and should be diagnosed as fast as possible.

Bug: 338974476
Test: atest VtsHalAudioCoreTargetTest
Change-Id: I962eba620149c7169f0f0a2dad4c4064232966d7
2024-05-08 16:50:01 -07:00
Hunsuk Choi
2b4c6387d3 Fix test of triggerEmergencyNetworkScan
triggerEmergencyNetworkScan needs to be triggered after
setEmergencyMode.

Bug: 336706719
Test: atest VtsHalRadioTargetTest:PerInstance/RadioNetworkTest#triggerEmergencyNetworkScan/0_android_hardware_radio_network_IRadioNetwork_slot1 -- --abi arm64-v8a
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:df7692133547c051389a7eda5a134f8e82dfa163)
Merged-In: If32d594525bea3a4a4562e2b1070ef646744513f
Change-Id: If32d594525bea3a4a4562e2b1070ef646744513f
2024-05-08 23:26:49 +00:00
Nikita Putikhin
3e40dc1656 Make fmq product_available
Vendors already can use these targets on /vendor. This change makes them
available to /product as well.

More about product partitions:
https://source.android.com/docs/core/architecture/partitions/product-partitions

Bug: 336989719
Test: mm
Change-Id: I2cb1817525d4b2b3033e0e633ea2f8e7f5653a6c
2024-05-08 19:38:41 +00:00
Treehugger Robot
67a1607700 Merge "insecure keymint: in-process initialization ordering" into main am: 75b081dad1
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3077417

Change-Id: Ia35ff3883a1890cb58482b0f62dea99a308399b7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-08 18:31:35 +00:00
Treehugger Robot
75b081dad1 Merge "insecure keymint: in-process initialization ordering" into main 2024-05-08 18:18:04 +00:00
Treehugger Robot
e77efa63f9 Merge "[Thread] Add VTS config" into main am: 0ed9be7fbf
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3074046

Change-Id: I6afab2e139b72c282e9a12c5d48a889ea9cd9e43
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-08 03:15:41 +00:00
Treehugger Robot
0ed9be7fbf Merge "[Thread] Add VTS config" into main 2024-05-08 02:57:42 +00:00
A. Cody Schuffelen
fbc3089310 insecure keymint: in-process initialization ordering
This creates an ordering of

1. In-memory HALs are initialized
2. Secure AIDL HALs are exposed

There are some dependencies on the information, e.g.

Boot info:
https://cs.android.com/android/platform/superproject/main/+/main:system/keymint/ta/src/keys.rs;l=705;drc=72ed18b226a9944330ecd97d776d57ea1b2eb9e8
https://cs.android.com/android/platform/superproject/main/+/main:system/keymint/ta/src/lib.rs;l=356;drc=4f8cad1bf0b3392414e5735b95a7c5d80d64d6e6
https://cs.android.com/android/platform/superproject/main/+/main:system/keymint/ta/src/rkp.rs;l=75;drc=747e5931be387fb600f6865d2308390646243610

HAL info:
https://cs.android.com/android/platform/superproject/main/+/main:system/keymint/ta/src/rkp.rs;l=79;drc=747e5931be387fb600f6865d2308390646243610

Bug: b/339121782
Test: launch_cvd --resume=false --secure_hals=oemlock:guest_insecure_keymint:guest_insecure_gatekeeper
Change-Id: Ifbe8655bf14c248e886725217d261dae5458e15f
2024-05-07 16:56:42 -07:00
Treehugger Robot
c8c2e7d008 Merge "Camera: Fix processCaptureRequestBurstISO" into main am: 419aa1a845
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3005172

Change-Id: I58123244ddfd2a0a860e837c64e1e3fab22b19c6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-07 18:05:09 +00:00
Treehugger Robot
419aa1a845 Merge "Camera: Fix processCaptureRequestBurstISO" into main 2024-05-07 17:45:42 +00:00
Fang Hui
f097c4d9bc Camera: Fix processCaptureRequestBurstISO
android_convertGralloc1To0Usage() is used to convert gralloc1_usage(uint64_t) to gralloc_usage (int32_t),
then passed as a para in allocateGraphicBuffer(). But definition of allocateGraphicBuffer() is as
void CameraAidlTest::allocateGraphicBuffer(uint32_t width, uint32_t height, uint64_t usage, PixelFormat format, buffer_handle_t* buffer_handle).
The type of "usage" is uint64_t. So the convert (uint64_t -> int32_t -> uint64_t) will change usages(31 bit is 1)
such as 0x0000000080020b00 to 0xffffffff80020b00. It's unexpected.

Use ANDROID_NATIVE_UNSIGNED_CAST to fix the issue.

Bug: https://issuetracker.google.com/issues/330051542

Change-Id: I23dfd603be0da6864d1021a57c3c3ce76cb78bda
Signed-off-by: Fang Hui <hui.fang@nxp.com>
2024-05-07 16:49:45 +00:00
Treehugger Robot
cfa0964a37 Merge "Screen wakeup is added in VTS tests setup" into main am: 27db8f3a13
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3039832

Change-Id: Ic78b08bdec16e89389beb34710cc8e91971cf37a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-03 22:23:49 +00:00
Treehugger Robot
27db8f3a13 Merge "Screen wakeup is added in VTS tests setup" into main 2024-05-03 22:10:00 +00:00
shihchienc
9f87974b00 [Thread] Add VTS config
We need to make sure there is no duplicate binder call to HAL layer.
This patch fix this.

Test: atest VtsHalThreadNetworkTargetTest
Bug: 338556737
Change-Id: Ic414ec1099049ba5e7a0c17baffcd467aa910034
2024-05-03 11:26:48 +00:00
Treehugger Robot
a373517822 Merge "Keep only the errors received at SIM present condition" into main am: 756b1b3d88
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2968202

Change-Id: I66bbd186119f6fadb7b747e4698a776b5164dcd1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-03 07:54:04 +00:00
Treehugger Robot
756b1b3d88 Merge "Keep only the errors received at SIM present condition" into main 2024-05-03 07:29:13 +00:00
Treehugger Robot
6dfe13ebed Merge "Fix formatting around rkp-vm tag" into main am: 26b5ae0fc2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3064428

Change-Id: Id5e2fbaaa33817f250f479a27b645b20d637e268
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-30 10:33:39 +00:00
Treehugger Robot
26b5ae0fc2 Merge "Fix formatting around rkp-vm tag" into main 2024-04-30 10:12:18 +00:00
Treehugger Robot
a05f402812 Merge "Explain how to add service_contexts for stable-c mapper" into main am: 1b20111074
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3062802

Change-Id: Ica665bdb09e20c763078e17a6675e69ece9f830b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-30 06:59:36 +00:00
Treehugger Robot
1b20111074 Merge "Explain how to add service_contexts for stable-c mapper" into main 2024-04-30 06:39:34 +00:00
Treehugger Robot
4c5f12c739 Merge "Updated 'cc' field of fuzz_config in Android.bp file" into main am: dc1592f4cf
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3036293

Change-Id: I4a959a355455baca106dfaf84dbcccd2bbcd7f39
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-30 04:40:10 +00:00
Treehugger Robot
dc1592f4cf Merge "Updated 'cc' field of fuzz_config in Android.bp file" into main 2024-04-30 04:18:57 +00:00
Treehugger Robot
8517eacd26 Merge "Thread HAL: support dynamic radio URLs" into main am: db7bab9eba
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3064585

Change-Id: I27cfc5508a80b2ca250b67e5f7f138b17501b287
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-30 01:47:13 +00:00
Ted Bauer
e454cbf29e Merge "Add deps for new aconfig flagging storage" into main am: 80698b0302
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3056686

Change-Id: I99fbe6bd24fb1f1cca4e19ef19dac938b5f3b9ee
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-30 01:35:21 +00:00
Treehugger Robot
db7bab9eba Merge "Thread HAL: support dynamic radio URLs" into main 2024-04-30 01:22:57 +00:00