Commit graph

44769 commits

Author SHA1 Message Date
Mikhail Naganov
c8e4312da8 audio: Bring default HAL configuration closer to cuttlefish
This is to simplify switching of cuttlefish to
the AIDL implementation. Split out 'r_submix' module.

Add all IModule instance names to the compatibility
matrix.

Bug: 205884982
Test: atest VtsHalAudioCoreTargetTest
Change-Id: I424db14257281671eea87aa743deb778ca75f388
2022-12-13 01:17:55 +00:00
Darren Hsu
72a3964894 Merge "powerstats: add new EnergyConsumerType for camera" 2022-12-13 00:50:42 +00:00
Treehugger Robot
4c02ef2b4e Merge "identity: Add support for ECDSA auth and don't require session encryption." 2022-12-12 23:06:06 +00:00
Lorena Torres-Huerta
2ea44dd872 Merge changes from topic "engineConfigHalInterface"
* changes:
  Default implementation for IConfig engine configuration.
  Add engine configuration to the AIDL Audio HAL interface.
2022-12-12 22:41:36 +00:00
Lorena Torres-Huerta
00be453d3a Merge "VTS for IConfig getEngineConfig" 2022-12-12 22:41:36 +00:00
Lorena Torres-Huerta
aff8a1f8fd VTS for IConfig getEngineConfig
Bug: 242678729
Test: atest VtsHalAudioCoreTargetTest
Change-Id: I051d0778bbad447e49dd4b99a2797333d0d67862
2022-12-12 19:34:39 +00:00
Shunkai Yao
6900a3c936 Merge changes from topic "aidl_effect_lock"
* changes:
  AIDL Effect: Update locking in EffectImpl
  AIDL Effect: Update vts test cases naming to remove timestamp.
  AIDL: Add BassBoost strength range in AIDL definition.
2022-12-10 00:33:01 +00:00
Treehugger Robot
2aa6c215dd Merge "AIDL effect: Add effect AIDL vts to presubmit" 2022-12-10 00:27:06 +00:00
Xin Li
995144c4d5 Merge "Merge Android 13 QPR1" 2022-12-09 21:50:58 +00:00
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
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
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
Shunkai Yao
05d7ab4b45 Merge "Audio AIDL HAL priority update" 2022-12-09 19:12:32 +00:00
Xin Li
34eab1cf79 Merge Android 13 QPR1
Bug: 261731544
Merged-In: I4fe9ddd1c22ebfff03f5660ec9b01de2521f8533
Change-Id: Ic59ecf4fbb0438607c4069829426fbdfa7c7abd1
2022-12-09 10:29:52 -08: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
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
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
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
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
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
Harry Cutts
5edbb4eb7b Merge "input: add OWNERS file" 2022-12-08 20:24:10 +00:00
Mikhail Naganov
3e37512310 Merge "audio: Add TEST_MAPPING for presubmit testing" am: 625741e687
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2332927

Change-Id: Ie3c08cd15224e01edea0e3329e45eece502c6856
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-08 17:53:47 +00:00
Mikhail Naganov
625741e687 Merge "audio: Add TEST_MAPPING for presubmit testing" 2022-12-08 17:27:42 +00:00
Sally Qi
f0588b06e0 Merge "Expose COLOR_MODE_DISPLAY_BT2020." am: ab88d5cac3
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2322455

Change-Id: Ia2e140d2aece5606bedad1b097106f738af2dc25
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-08 17:27:26 +00:00
Sally Qi
ab88d5cac3 Merge "Expose COLOR_MODE_DISPLAY_BT2020." 2022-12-08 17:00:12 +00:00
Harry Cutts
f3156eb4fe input: add OWNERS file
Bug: none
Test: none
Change-Id: I8264ecbe25c7a28c3bea7a23695e4d2bd9f00cd2
2022-12-08 12:00:27 +00:00
Darren Hsu
c72f756692 powerstats: add new EnergyConsumerType for camera
Bug: 258321000
Bug: 261549337
Test: build
Change-Id: I0c6664a01acac41c0b0c71ee83b2e3b2b794c7be
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-12-08 16:30:12 +08:00
Lorena Torres-Huerta
bc585bd986 Default implementation for IConfig engine configuration.
Added XML to AIDL conversion classes that support
audio_policy_engine_configuration and audio_policy_configuration
schemas.

CTS-Coverage-Bug: 261509055
Bug: 242678729
Test: atest VtsHalAudioCoreTargetTest
Change-Id: If47932093af45c5289d070d4893cd10e79593e31
2022-12-08 03:47:24 +00:00
Lorena Torres-Huerta
db11b2db44 Add engine configuration to the AIDL Audio HAL interface.
Bug: 242678729
Test: m
Change-Id: I9f02399f6b63dca6d7a4c1a848fada0784e18b1d
2022-12-08 03:47:15 +00:00
Treehugger Robot
76c6b3a669 Merge changes I3b0c6325,I40f97f4b am: a55e702324
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2323902

Change-Id: Ib0d18654a7f7627fd464b07bd0f902c196f51d03
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-08 02:35:25 +00:00
Treehugger Robot
a55e702324 Merge changes I3b0c6325,I40f97f4b
* changes:
  Fix a race condition in remote access HAL.
  Define a new remoteaccess HAL for test.
2022-12-08 02:26:31 +00:00
Treehugger Robot
620e09f50f Merge "audio: Add microphone settings to IModule, IStreamIn" am: 77494f934a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2240746

Change-Id: I2c95083fcaede0e37576375173fd0468c2d53c2f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-07 23:51:37 +00:00
Treehugger Robot
77494f934a Merge "audio: Add microphone settings to IModule, IStreamIn" 2022-12-07 23:38:30 +00:00
Yu Shan
df39d6e450 Fix a race condition in remote access HAL.
We should not delete ClientContext after we TryCancel it since the
reader in the main task loop might still access it, e.g., while
calling reader->Finish. We must wait under reader->Finish is
returned, then to delete the ClientContext.

This CL also updates README.md to incorporate soong namespace change.

Test: manually test on sdk_car_x86_64-userdebug
Run TestWakeupClientServer
Run --set-ap-state 1 0 and then --set-ap-state 0 0 multiple times.
Bug: 261234399

Change-Id: I3b0c632546c218c4ced43af95a585cd41e0da036
2022-12-07 15:20:06 -08:00
Yu Shan
1532afd33c Define a new remoteaccess HAL for test.
Bug: 261108682
Test: Locally build and run

Change-Id: I40f97f4b10714096a32c5b14c8716b6c8e413419
2022-12-07 15:17:48 -08:00
ziyiw
755bb30df0 Add supported maximum number of ranging session as capability. am: 5f0d4c663e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2331962

Change-Id: I03d52f5962a0d42edb6e4c08294c81cfbf323e0f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-07 21:12:51 +00:00
Mikhail Naganov
552dad4272 audio: Add TEST_MAPPING for presubmit testing
Currently it lists only tests for the core HAL, will
add effect HAL tests in a separate CL.

Bug: 205884982
Test: atest VtsHalAudioCoreTargetTest
Change-Id: I92705f44235ff0fe38cbf86fef07518277b5f3ce
2022-12-07 20:33:51 +00:00
Mikhail Naganov
ef6bc74fc4 audio: Add microphone settings to IModule, IStreamIn
Add 'MicrophoneInfo' and 'MicrophoneDynamicInfo' parcelables.
Add IModule.getMicrophones method.
Add following methods to IStreamIn:
  - getActiveMicrophonesIds;
  - get/setMicrophoneDirection;
  - get/setMicrophoneFieldDimension.

Provide trivial implementations and VTS.

Also slightly refactor port retrieval from ModuleConfig
to unify common queries.

Bug: 205884982
Test: atest VtsHalAudioCoreTargetTest
Change-Id: I472c7733e2a331a67cea613cd9218889eff06a43
2022-12-07 18:36:31 +00:00
Marc Kassis
9c428fe3ed graphics.common V3 -> V4
Bug: 251177105
Test: m
Change-Id: I816b8e14a0741402090cdc4732c2a904e830ff4e
Merged-In: I1cb84ec85f98789d0737207a1661b39a25538c96
Merged-In: I2e1561f4ccb59a2a833af9a7afd07840ab2ebfa4
2022-12-07 10:53:12 +00:00
ziyiw
5f0d4c663e Add supported maximum number of ranging session as capability.
Test: compile
Bug: 259493075
Merged-In: Ibe7edb84c968b70be62059bb0bb6ffeedfa4bad6
Change-Id: I313fdd7e894be322105befd91a1fc92d28f8c402
2022-12-07 07:50:47 +00:00
Shaquille Johnson
f531ea6fe8 Merge "Update keymint latest aidl for cpp version code" am: a8ceb15747
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2317170

Change-Id: I395f3aeee693263ff6450f0b7436ea3da4619ad1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-06 18:43:46 +00:00
Shaquille Johnson
a8ceb15747 Merge "Update keymint latest aidl for cpp version code" 2022-12-06 17:46:46 +00:00
Devin Moore
b05ef110cb Merge "Revert^2 "sensors: adding a common convert lib"" am: e7e44e0022
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2323820

Change-Id: Id35e6fd9a1c0f0f9588a9cc7474e9bc6903a0a00
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-06 17:31:25 +00:00
Devin Moore
e7e44e0022 Merge "Revert^2 "sensors: adding a common convert lib"" 2022-12-06 16:57:01 +00:00
Xiang Wang
4aa12ed8ab Merge "Add @hide annotation to thermal AIDL interfaces" am: afcb8629b6
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2328520

Change-Id: I94fed4ebd39ad83897178e245d24b11b1240d611
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-06 05:16:24 +00:00
Xiang Wang
afcb8629b6 Merge "Add @hide annotation to thermal AIDL interfaces" 2022-12-06 04:23:13 +00:00
Mikhail Naganov
74e293fb33 Merge "audio VTS: Clarify numbers used by CompressedOffloadOutputStreamTest" am: cd290e90e8
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2320825

Change-Id: Ia344bd04ef9b104216232551b86b55fb195a47a5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-06 02:51:37 +00:00