Shraddha Basantwani
f627d80d37
AIDL Effect: Update locking in EffectImpl
...
Avoid locking for all EffectContext calls.
Locking inside context seems not necessary for now as all binder calls
already serialized.
Add BassBoost AIDL placeholder implementation.
Bug: 261646550
Test: atest VtsHalAudioEffectTargetTest
Change-Id: Iaa41f013d5756801553e20b995aab5ddc845cf32
2022-12-09 21:39:46 +00:00
Yu Shan
8f0958eb88
Merge changes I3999f4e9,Icc1f90b8
...
* changes:
Avoid holding lock while calling recurrent actions.
Remove lock for fakeVehicleHardware callbacks.
2022-12-09 21:33:27 +00:00
Brian Lindahl
d103cd6828
Add VTS readback tests for buffer slot clearing
...
Bug: 258196272
Test: atest VtsHalGraphicsComposer3_ReadbackTest
Test: atest VtsHalGraphicsComposerV2_2TargetTest
Change-Id: I95d24f9cf10d95e54bc228c02bedab9a8281cfd1
2022-12-09 14:31:39 -07:00
Gabriel Biren
6dfb792977
Remove entry for the HIDL Wifi Vendor HAL
...
from compatibility_matrix.current
Bug: 205044134
Test: m
Change-Id: I4c22fd4eb48bed3a8789c6fbc62b455e45c9b032
2022-12-09 21:21:35 +00:00
Brian Lindahl
b0ef4fc286
Merge "Add VTS test for clearing buffer slots to Composer HIDL and AIDL"
2022-12-09 21:06:46 +00:00
Shunkai Yao
579db6b5cf
Merge "Audio AIDL HAL priority update" am: 05d7ab4b45
am: 7df59ea2ba
am: 5ffafc8659
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2328924
Change-Id: I442e1f09d4cc58abf42cb872367e8c729bdfe3d5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-09 20:44:35 +00:00
Sarah Chin
1972631737
Merge "Add timingAdvance for NR signal strength"
2022-12-09 20:28:31 +00:00
Shunkai Yao
5ffafc8659
Merge "Audio AIDL HAL priority update" am: 05d7ab4b45
am: 7df59ea2ba
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2328924
Change-Id: I4af9bb50b653602d37207b9315d59a30291c9996
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-09 20:07:23 +00:00
Shunkai Yao
01a6730fa7
AIDL effect: Add effect AIDL vts to presubmit
...
Bug: 238913361
Test: atest VtsHalAudioEffectTargetTest
Change-Id: I5c823eb097b7c8e111c203db8f6384b802a436c6
2022-12-09 19:50:39 +00:00
Shunkai Yao
7df59ea2ba
Merge "Audio AIDL HAL priority update" am: 05d7ab4b45
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2328924
Change-Id: I7ea06a56a001ecaedd6e8d019160a80aa4ff2354
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-09 19:36:45 +00:00
Shunkai Yao
f0803cd8d5
AIDL Effect: Update vts test cases naming to remove timestamp.
...
Bug: 261646550
Test: atest VtsHalAudioEffectTargetTest
Change-Id: I80ac39b5c9a51e006b80682398a61c000ef8c293
2022-12-09 19:14:10 +00:00
Shunkai Yao
f56afb303b
AIDL: Add BassBoost strength range in AIDL definition.
...
Bug: 261646550
Test: atest VtsHalAudioEffectTargetTest
Change-Id: I38efed8c7cc88295c72403a3c598db5dedd8c137
2022-12-09 19:14:10 +00:00
John Reck
606e156ed9
Merge "Add ABI check to IMapper5"
2022-12-09 19:13:05 +00:00
Shunkai Yao
05d7ab4b45
Merge "Audio AIDL HAL priority update"
2022-12-09 19:12:32 +00:00
Yu Shan
93a821077e
Avoid holding lock while calling recurrent actions.
...
This CL fixes a dead lock issue caused by RecurrentTimer holding
internal locks while calling actions. The dead lock is caused by
the following situation:
1. Caller holds a lock, call RecurrentTimer.registerCallback which
waits for RecurrentTimer's lock.
2. Another recurrent action happens at the same time. Recurrent
timer holds lock before calling the client action. The client action
is now waiting for the lock that is currently hold by 1.
Test: atest RecurrentTimerTest
Bug: 255574557
Change-Id: I3999f4e9cdf581cb851d5f49341dbcc0c160f234
2022-12-09 10:41:04 -08:00
Xin Li
34eab1cf79
Merge Android 13 QPR1
...
Bug: 261731544
Merged-In: I4fe9ddd1c22ebfff03f5660ec9b01de2521f8533
Change-Id: Ic59ecf4fbb0438607c4069829426fbdfa7c7abd1
2022-12-09 10:29:52 -08:00
Gabriel Biren
f2efc21d5d
Merge changes from topic "switch-to-aidl-vendor-hal"
...
* changes:
Update VTS test dependencies.
Update Vendor HAL APEX to use the AIDL service.
2022-12-09 18:01:54 +00:00
Steven Moreland
8d8f24f7e5
[automerger skipped] Merge "graphics.common V3 -> V4" am: 2e37f01273
am: a33bce869f
-s ours am: c1b3067361
-s ours
...
am skip reason: Merged-In I1cb84ec85f98789d0737207a1661b39a25538c96 with SHA-1 132900f4e1
is already in history
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2292036
Change-Id: Ibe84b3edc7754f5fac5b4b213fcb28729bff2aec
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-09 17:57:55 +00:00
Steven Moreland
c1b3067361
[automerger skipped] Merge "graphics.common V3 -> V4" am: 2e37f01273
am: a33bce869f
-s ours
...
am skip reason: Merged-In I1cb84ec85f98789d0737207a1661b39a25538c96 with SHA-1 132900f4e1
is already in history
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2292036
Change-Id: I026ac7053be3790bd056dea7778bfcc344ef49d1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-09 17:53:31 +00:00
Steven Moreland
a33bce869f
Merge "graphics.common V3 -> V4" am: 2e37f01273
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2292036
Change-Id: I70a1ba9242ed8cebda22b2e7223e33c0dc402561
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-09 17:38:11 +00:00
Steven Moreland
2e37f01273
Merge "graphics.common V3 -> V4"
2022-12-09 17:21:59 +00:00
David Zeuthen
f3e0600395
identity: Add support for ECDSA auth and don't require session encryption.
...
This adds a new method which allows applications to use mdoc ECDSA
authentication instead of mdoc MAC authentication. Additionally, also
relax requirements on SessionTranscript so the APIs can be used even
when mdoc session encryption isn't being used.
Also add new VTS test to check for this.
Since this is new API, bump API version to 5 and the Identity
Credential feature version to 202301.
Bug: 241912421
Test: atest VtsHalIdentityTargetTest
Test: atest android.security.identity.cts
Change-Id: I4085a89be0382c10f5449e13c6a92a46c74c225d
2022-12-09 02:57:09 -05:00
Brian Lindahl
ca3eef29b0
Add VTS test for clearing buffer slots to Composer HIDL and AIDL
...
This feature allows SurfaceFlinger to clear buffer slots when buffers
are discarded by SurfaceFlinger clients and will no longer be used,
allowing the graphics memory to be freed immediately.
Bug: 258196272
Test: atest VtsHalGraphicsComposerV2_4TargetTest
Test: atest VtsHalGraphicsComposer3_TargetTest
Change-Id: Ibfbe2078ac419bb8f3880ee3f0512acaad2f5012
2022-12-09 00:47:20 -07:00
Sungtak Lee
456c1b9602
Merge "bufferpool2: add sync() method and etc"
2022-12-09 05:26:04 +00:00
Nate(Qiang) Jiang
f75666df29
Merge "Create a snapshot of the hardware_legacy"
2022-12-09 03:19:00 +00:00
Shunkai Yao
39bf2c3146
Audio AIDL HAL priority update
...
Enable RT priority inheritance.
Set minimum Audio AIDL HAL Binder access priority to ANDROID_PRIORITY_AUDIO.
Bug: 261496726
Test: atest VtsHalAudioEffectTargetTest
Test: atest VtsHalAudioCoreTargetTest
Change-Id: I584d80f4fe344e4bfae5765cac2afb92313b6a39
2022-12-09 02:39:42 +00:00
Changyeon Jo
42c3c902f5
Fix how displays are used in test cases am: 017cb98ee9
am: 1186b99120
am: ed6ebed9f3
am: 819113071d
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2305821
Change-Id: I41e5a4059d7e0b56c6329b63d86cea0e4d495552
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-09 01:44:56 +00:00
Changyeon Jo
819113071d
Fix how displays are used in test cases am: 017cb98ee9
am: 1186b99120
am: ed6ebed9f3
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2305821
Change-Id: I687ff1d38a350929060476001efd289ef5ca507a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-09 01:16:37 +00:00
Changyeon Jo
ed6ebed9f3
Fix how displays are used in test cases am: 017cb98ee9
am: 1186b99120
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2305821
Change-Id: Iad80f724c545d9d0e75a785a686e1ff5830a748d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-09 00:54:29 +00:00
Sungtak Lee
185e03c308
Add OWNERS for media interface am: 3ee79d5a46
am: c303e7aefb
am: 8860ed12ee
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2333742
Change-Id: I088a80e72e794bc0e29277701d8d0a6eeb4ed6aa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-09 00:27:35 +00:00
Changyeon Jo
1186b99120
Fix how displays are used in test cases am: 017cb98ee9
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2305821
Change-Id: I95e906a94413fe0d896573fb66d27c84a9befb66
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-09 00:26:31 +00:00
Sungtak Lee
8860ed12ee
Add OWNERS for media interface am: 3ee79d5a46
am: c303e7aefb
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2333742
Change-Id: I3ccf04bf59b26f7bc3ac71a6c7253a3ea0fb48aa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-09 00:00:34 +00:00
Sungtak Lee
c303e7aefb
Add OWNERS for media interface am: 3ee79d5a46
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2333742
Change-Id: I66670e646b6fb06e747ddb23d68b5bb39e62198e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-08 23:39:48 +00:00
Sungtak Lee
3ee79d5a46
Add OWNERS for media interface
...
Bug: 261752425
Change-Id: I4fe9ddd1c22ebfff03f5660ec9b01de2521f8533
2022-12-08 23:19:03 +00:00
Yu Shan
7c671925f0
Remove lock for fakeVehicleHardware callbacks.
...
The callbacks are called very frequently, guarding them with the
main mLock will cause the mLock to become very hot and possibly
blocking other operations from owning the lock. Since the callback
is only set once by DefaultVehicleHal during initialization, it
is really not necessary to guard them with lock.
Test: manual run on gcar_emu
Bug: 255574557
Change-Id: Icc1f90b89578a27729ef8beae3a475966f72d318
2022-12-08 14:42:21 -08:00
Sungtak Lee
3782c69e1f
bufferpool2: add sync() method and etc
...
Add sync() method to IConnection interface.
Add existing connection flag to return parcelable of
IClientManager::registerSender().
Use plain integer for returning fetch result status.
Bug: 254050250
Change-Id: Ifebd4b16e9b8c37e074e7126f39264a18fed5de8
2022-12-08 22:28:45 +00:00
John Reck
5868a0de40
Merge "Adjust IMapperMetadataTypes.h to match gralloc4 encoding"
2022-12-08 22:02:22 +00:00
Harry Cutts
1d5ba7f2ac
Merge "input: add OWNERS file" am: 5edbb4eb7b
am: 8e02f6b498
am: 4c3b6fc4e5
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2335722
Change-Id: Ibe125c09ec8680018aba344b7f0938075f4b8b77
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-08 21:30:58 +00:00
Harry Cutts
4c3b6fc4e5
Merge "input: add OWNERS file" am: 5edbb4eb7b
am: 8e02f6b498
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2335722
Change-Id: Id745a6904195540d453819eae71f4285a7383bf8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-08 21:05:56 +00:00
Harry Cutts
8e02f6b498
Merge "input: add OWNERS file" am: 5edbb4eb7b
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2335722
Change-Id: If4a75bb0664c912aa1c0854ab2ede0b0606a8473
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-08 20:46:49 +00:00
Chengyou Ho
a9edb59c9f
Merge "Update weaver AIDL default to use V2"
2022-12-08 20:43:42 +00:00
Chengyou Ho
aea995afcf
Merge "Add WeaverReadStatus to WeaverReadResponse"
2022-12-08 20:43:42 +00:00
Harry Cutts
5edbb4eb7b
Merge "input: add OWNERS file"
2022-12-08 20:24:10 +00:00
Steven Moreland
efa1e9a555
[automerger skipped] Merge "graphics.common V3 -> V4" into tm-qpr-dev-plus-aosp am: 55228cf00c
-s ours
...
am skip reason: Merged-In I1cb84ec85f98789d0737207a1661b39a25538c96 with SHA-1 ed27779d14
is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/20467889
Change-Id: I39f40ffbb80f85a29846c6e98ff5d5b4eb7657a0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-08 19:08:57 +00:00
Marc Kassis
5d2d9fd8fe
[automerger skipped] graphics.common V3 -> V4 am: 132900f4e1
-s ours
...
am skip reason: Merged-In I1cb84ec85f98789d0737207a1661b39a25538c96 with SHA-1 ed27779d14
is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/20467889
Change-Id: Ie8b8d86c4a578d6c0b8035ad4fc61e4df594f294
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-08 19:08:42 +00:00
Aaqib Ismail
7dea3ee6fc
Merge "Add HAL changes for EV_CURRENT_BATTERY_CAPACITY"
2022-12-08 19:02:28 +00:00
Harry Cutts
ba335e942e
Merge "Revert "Add GESTURE_{X,Y}_OFFSET axes to input HAL""
2022-12-08 18:54:48 +00:00
Yu Shan
571cd23ec3
Ignore "-a" dump option.
...
This option will be used when generating bugreport. We don't want
this to cause invalid option error.
Test: adb shell dumpsys
android.hardware.automotive.vehicle.IVehicle/default -a
Bug: 261768324
Change-Id: I27347a6cd063623b01ada2803a06c2c86f936396
2022-12-08 18:54:19 +00:00
Steven Moreland
55228cf00c
Merge "graphics.common V3 -> V4" into tm-qpr-dev-plus-aosp
2022-12-08 18:53:32 +00:00
Mikhail Naganov
50596dc984
Merge "audio: Add TEST_MAPPING for presubmit testing" am: 625741e687
am: 3e37512310
am: 91a17490cd
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2332927
Change-Id: I79e0766a65bc801d11c8e1632511e0c453d1c154
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-08 18:19:07 +00:00