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
Shuzhen Wang
e8d40f9055
Merge "Camera: VTS: Skip session characterstics test for older HAL" into main
2024-05-08 06:14:09 +00:00
Treehugger Robot
05d18ed954
Merge "[Thread] Add VTS config" into main am: 0ed9be7fbf
am: e77efa63f9
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3074046
Change-Id: If1ecb54b58db0b69d77de86323d0e49237c08efa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-08 03:33:10 +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
ef0f81fb45
Merge "Camera: Fix processCaptureRequestBurstISO" into main am: 419aa1a845
am: c8c2e7d008
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3005172
Change-Id: I29b80b6eaa137e7dfa76cbab954016e72276acf8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-07 18:22:57 +00: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
Shuzhen Wang
ced09a50dc
Camera: VTS: Skip session characterstics test for older HAL
...
getSessionCharacteristics test needs to be gated by HAL version.
Bug: 339233213
Test: vendor testing
Change-Id: Ib611ec64089eecab99f3b82c6c7c2826cfdb62c5
2024-05-07 10:26:02 -07: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
af3ad3716a
Merge "Bump up android.frameworks.automotive.powerpolicy version to 3" into main
2024-05-06 21:18:06 +00:00
Treehugger Robot
f20b08fc66
Merge "Remove unneccessary restriction" into main
2024-05-06 20:04:43 +00:00
Eric Jeong
e2ee7edefb
Bump up android.frameworks.automotive.powerpolicy version to 3
...
Flag: EXCEPT aidl version up
Bug: 328846007
Test: build okay
Change-Id: I8cc92969447445f114b7b44679cc3b49cd10d7bb
2024-05-06 13:00:21 -07:00
Treehugger Robot
63c8f25a19
Merge "Screen wakeup is added in VTS tests setup" into main am: 27db8f3a13
am: cfa0964a37
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3039832
Change-Id: Idb79abdbc196084dd4852aabdd1529cb0c1520b5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-03 23:01:38 +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
971e666523
Merge "Keep only the errors received at SIM present condition" into main am: 756b1b3d88
am: a373517822
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2968202
Change-Id: I02e1782b7d58166a77ba22c3107a4e6cdf8a6d22
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-03 08:08:43 +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
John Reck
6b36415306
Remove unneccessary restriction
...
Fixes: 338432622
Test: n/a doc only change
Change-Id: Icf075be3b258793d3006ced2925ff32d34c90e40
2024-05-02 17:43:06 -04:00
Yu Shan
9cb6bcfa65
Update documentation for display brightness.
...
PowerHalService relies on VHAL to use property change event to
communicate the display brightness. This CL updates the doc
to be explicit about this requirement.
Furthermore, getting PER_DISPLAY_BRIGHTNESS without specifying
which port to get is confusing, so this CL also updates the doc.
Test: None, no code change
Bug: 336831738
Change-Id: Id4d0e7ff5fc065a53a38e831810470469563c3e6
2024-05-01 17:12:04 -07:00
Brian Duddie
b3cefe3a51
Prevent event flag use after delete in example HAL
...
Fixes: 323085916
Test: presubmit
Change-Id: Ia455d7f83ff2b0056593eabf9f91359b97f9fc0b
2024-05-01 22:01:04 +00:00
Devin Moore
37c395758d
Keep track of DeathMonitor cookies
...
This change keeps track of the objects that the cookies points to so the
serviceDied callback knows when it can use the cookie.
Test: atest neuralnetworks_utils_hal_aidl_test
Tets: atest NeuralNetworksTest_static
Bug: 319210610
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:def7a3cf59fa17ba7faa9af14a24f4161bc276bd )
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:d6f965fab9739d35f69fd042a95e783dc1859f32 )
Merged-In: I418cbc6baa19aa702d9fd2e7d8096fe1a02b7794
Change-Id: I418cbc6baa19aa702d9fd2e7d8096fe1a02b7794
2024-05-01 17:17:08 +00:00
Treehugger Robot
31cf5e1b63
Merge "Camera: Trim required stream combination queries" into main
2024-05-01 01:58:07 +00:00
Devin Moore
49859a3b55
Keep track of DeathMonitor cookies
...
This change keeps track of the objects that the cookies points to so the
serviceDied callback knows when it can use the cookie.
Test: atest neuralnetworks_utils_hal_aidl_test
Tets: atest NeuralNetworksTest_static
Bug: 319210610
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:def7a3cf59fa17ba7faa9af14a24f4161bc276bd )
Merged-In: I418cbc6baa19aa702d9fd2e7d8096fe1a02b7794
Change-Id: I418cbc6baa19aa702d9fd2e7d8096fe1a02b7794
2024-04-30 18:29:27 +00:00
Shuzhen Wang
522ae3ecdf
Camera: Trim required stream combination queries
...
Based on social media app usage, trim required stream combination
queries.
Test: Build
Bug: 314229449
Change-Id: I3c48988c7a8598c1d3a091cf32e00360e6609156
2024-04-30 09:29:39 -07:00
Treehugger Robot
db71f8424a
Merge "Fix formatting around rkp-vm tag" into main am: 26b5ae0fc2
am: 6dfe13ebed
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3064428
Change-Id: Iaa78a2389ca568e131066948265b73f73441639c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-30 10:56:45 +00:00
Lynn Yeh
1254793075
[automerger skipped] Merge changes from topic "cherrypicker-L14200030003427558:N90600030054625545" into 24D1-dev am: ff656cdb26
-s ours
...
am skip reason: Merged-In Icad0942f2ba1dcd6f030a7dc4f37e22fdbd6dd71 with SHA-1 a2a9fa5003
is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/27094731
Change-Id: Ie36660cb15fa892dbbd90deb6c3a1f8fdc6a9cf6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-30 10:35:04 +00:00
Mikhail Naganov
029bbf73fd
[automerger skipped] audio: Use more bursts in audio I/O VTS tests am: 940c84b49b
-s ours
...
am skip reason: Merged-In Icad0942f2ba1dcd6f030a7dc4f37e22fdbd6dd71 with SHA-1 a2a9fa5003
is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/27094731
Change-Id: Ie761bca501ca11b10b3c70a02ea64c7ad29c5eed
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-30 10:35:00 +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
Lynn Yeh
ff656cdb26
Merge changes from topic "cherrypicker-L14200030003427558:N90600030054625545" into 24D1-dev
...
* changes:
audio: Use more bursts in audio I/O VTS tests
audio: Fix AudioPatchTest/AudioModulePatch#UpdateInvalidPatchId VTS test
audio: Skip stream I/O test for "echo reference" input device
audio: Update 'PauseSync' scenario in AudioStreamIoOutTest
audio: Fix IStreamIn.getActiveMicrophones test
audio: Use allow list for device connection types in TryConnectMissingDevice
audio: Fix some VTS issues on real devices
2024-04-30 10:13:47 +00:00
Treehugger Robot
26b5ae0fc2
Merge "Fix formatting around rkp-vm tag" into main
2024-04-30 10:12:18 +00:00
Treehugger Robot
51d6995823
Merge "Explain how to add service_contexts for stable-c mapper" into main am: 1b20111074
am: a05f402812
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3062802
Change-Id: I3f691230c75c723c2e4e343b0d86736245e46e77
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-30 07:16:47 +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
57f9fc319b
Merge "Updated 'cc' field of fuzz_config in Android.bp file" into main am: dc1592f4cf
am: 4c5f12c739
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3036293
Change-Id: I83b23b1670f3075cefe6311dd5f56a2a0393052e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-30 04:59:14 +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
52607437b1
Merge "Thread HAL: support dynamic radio URLs" into main am: db7bab9eba
am: 8517eacd26
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3064585
Change-Id: I49f0f8a5afd56fa29c974af406f8f25448995301
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-30 01:54:27 +00:00
Ted Bauer
08ef7b3bad
Merge "Add deps for new aconfig flagging storage" into main am: 80698b0302
am: e454cbf29e
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3056686
Change-Id: I8bdd857a4238dcf59aa8abac45c20b486f85c7a9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-30 01:53:45 +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
Ted Bauer
80698b0302
Merge "Add deps for new aconfig flagging storage" into main
2024-04-30 01:20:21 +00:00
Weilin Xu
b0ca3d9779
Merge "Create a skeleton Rust audio control HAL" into main
2024-04-30 01:17:50 +00:00
Yu Shan
ae5c9a36ce
Merge "Create V4 generated_lib." into main
2024-04-30 00:46:40 +00:00
Devin Moore
1e1627a5da
Use onUnlinked in health HAL
...
It's possible to get an onBinderDied callback after a call to
AIBinder_unlinkToDeath() so we can't delete the objects in callbacks_
until we are done using the void* cookie.
Handling the cleanup in onBinderUnlinked will handle the case where we
manually unlink it as well as the case where it's unlinked due to death.
Test: atest VtsHalHealthTargetTest
Bug: 319210610
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:e5e95bf5759a736f3debc6eb583fb1c82b38d847 )
Merged-In: Iee4783217cc88134af6de0fe66128684ca984dba
Change-Id: Iee4783217cc88134af6de0fe66128684ca984dba
2024-04-30 00:29:24 +00:00