Commit Graph

40125 Commits

Author SHA1 Message Date
Eric Laurent
27f68d69e8 Audio HAL V7.1: Add latency mode APIs am: ed7dfd5f35
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1975128

Change-Id: Ic15b9dbb8ec4ff6a7df05e894bc5c642948be3fd
2022-02-08 19:54:44 +00:00
Chen Chen
982113ba6a Merge "Spatial Audio: Add setLatencyMode and setCodecType API with empty implementation" am: c29097a71a am: 136cd4349c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1976127

Change-Id: Ic51c66078f36a45403a71903f26b03b0276ddecd
2022-02-08 19:45:59 +00:00
ramindani
8bb4ce13a2 Remove test GetDisplayAttributeConfigsInAGroupDifferOnlyByVsyncPeriod
The test is removed from aosp so won't be required in HWC3.0

BUG: 200184776

Test: atest VtsHalGraphicsComposer3_TargetTest
Change-Id: I21f0ccf94d1d92a730a41b579bf111fa0553f609
2022-02-08 19:44:07 +00:00
ramindani
dcecfd46a1 Use Wrapper in the readback tests.
BUG: 199413815

Test: atest VtsHalGraphicsComposer3_TargetTest
Change-Id: I3a7e81f8c04971b178ae703a3eb83de50ae0810f
2022-02-08 19:44:06 +00:00
ramindani
431aad4a65 Use VtsComposerClient in Base test
Makes corrections to the code such as checking EXPECT_TRUE, ASSERT_TRUE in certain cases, test name corrections, consolidate layer configurations.
See comments in ag/16465080 for change refrences.

BUG: 199413815
Test: atest VtsHalGraphicsComposer3_TargetTest
Change-Id: I73c4621d8c525fdfbcd301d78a1ad97c142b2864
2022-02-08 19:44:06 +00:00
Treehugger Robot
3baf9dae14 Merge changes from topic "upstream-hal-v7_1-p2"
* changes:
  audio: add new enums for 7.1 HAL
  Audio HAL V7.1: Add latency mode APIs
2022-02-08 19:35:58 +00:00
ramindani
edf3ef9f93 IComposerClient wrapper for VTS tests
A wrapper helps with implementation details of IComposerClient and
improves re-usability with readback and base tests.

Changes from the original wrapper (ag/16578214):

Changed the createClient to return ScopedAStatus
as it helps more with the singleton test.
And updated getDisplays to go through all the configurations
and save it in the DisplayResources as we use
the properties like width, height, vsync later
in the test and we avoid querying to the composerClient for this.

With readback tests updated setReadbackBuffer method to use
const native_handle_t* buffer instead of const native_handle* buffer

BUG: 199413815

Test: atest VtsHalGraphicsComposer3_TargetTest
Change-Id: Ia33c9489bf15a52edcae55a91ec56666df3726c1
2022-02-08 19:32:11 +00:00
Chen Chen
136cd4349c Merge "Spatial Audio: Add setLatencyMode and setCodecType API with empty implementation" am: c29097a71a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1976127

Change-Id: I04e9149a0119c75f170328d442ded1980f9f718d
2022-02-08 19:13:49 +00:00
Chen Chen
c29097a71a Merge "Spatial Audio: Add setLatencyMode and setCodecType API with empty implementation" 2022-02-08 18:53:28 +00:00
Quang Luong
5d8805e25a Add IfaceConcurrencyType and related methods for AP_BRIDGED concurrency
Add IfaceConcurrencyType to represent Iface implementations that
have different concurrency implications for the same IfaceType, such as
Bridged AP and Single AP for IWifiApIface. Add a new IWifiChip HAL API,
getAvailableModes_1_6 to return the new concurrency type combos.

Bug: 207055799
Test: 1.6/default/tests/runtests.sh
Change-Id: Iad20a3d95d54dd8b624db912fd3153c2a3372f45
2022-02-08 09:54:00 -08:00
Kiran Rachuri
20014dab39 Add vehicle curb weight property
Bug: 197026083
Test: Build
Change-Id: I8c621b355e3d199dbac7a6170c1281fa2d7e03ad
2022-02-08 16:42:46 +00:00
Alice Kuo
079315ba68 Restrict the bluetooth.audio@2.2 OWNERS for the small group am: 7e4ca8a8f8 am: 4785920e20 am: a3bdcb1ca5 am: e9af735523
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1976206

Change-Id: I30633871484eb7bd6d8c5bf4d5e2b172272ae6db
2022-02-08 04:42:53 +00:00
Alice Kuo
e9af735523 Restrict the bluetooth.audio@2.2 OWNERS for the small group am: 7e4ca8a8f8 am: 4785920e20 am: a3bdcb1ca5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1976206

Change-Id: I53c270f7038eb178958f4e5480c6a4d56b32a5c4
2022-02-08 04:23:05 +00:00
Alice Kuo
a3bdcb1ca5 Restrict the bluetooth.audio@2.2 OWNERS for the small group am: 7e4ca8a8f8 am: 4785920e20
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1976206

Change-Id: I788b477c679644b7851bb461fd5591719517f1fc
2022-02-08 04:06:23 +00:00
Alice Kuo
4785920e20 Restrict the bluetooth.audio@2.2 OWNERS for the small group am: 7e4ca8a8f8
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1976206

Change-Id: Iae326e351e5de2e9dabab380f9d80dfe176aa875
2022-02-08 03:48:54 +00:00
Chen Chen
a4c4c61eed Spatial Audio: Add setLatencyMode and setCodecType API with empty
implementation

Bug: 216832331
Test: build
Tag: #feature

Change-Id: I0ccfee39d1f86da81b50f0757de87b6645baacf8
2022-02-08 02:30:17 +00:00
Alice Kuo
7e4ca8a8f8 Restrict the bluetooth.audio@2.2 OWNERS for the small group
Because the version would be removed soon, we restrict owers for this
folder to easier control the work flow

Bug: 204585486
Test: NA
Change-Id: I82dd380b37aab26b8a438b2371c5025d80ee9598
2022-02-08 10:02:16 +08:00
Ahmed ElArabawy
c2b7b9a934 Merge "IHostapd: Add support for OWE security encryption type." 2022-02-07 23:36:38 +00:00
Nathan Harold
2e0754c8d0 Merge "Update UsageSetting Cache before comparison in VTS" am: 630637627f am: af9e5f36a9 am: 5227cdb664 am: 8a5ce406f8
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1973539

Change-Id: I901713e998da0f12a9aa00b12ad5106a64d7b4a1
2022-02-07 23:02:43 +00:00
Nathan Harold
8a5ce406f8 Merge "Update UsageSetting Cache before comparison in VTS" am: 630637627f am: af9e5f36a9 am: 5227cdb664
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1973539

Change-Id: I4e8da2388b64aaf6504b6f49dc3570da9833a3e9
2022-02-07 22:49:29 +00:00
Yu Shan
911588a887 Merge "Remove full namespace in header file." 2022-02-07 22:47:32 +00:00
Nathan Harold
5227cdb664 Merge "Update UsageSetting Cache before comparison in VTS" am: 630637627f am: af9e5f36a9
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1973539

Change-Id: Ib60bd525570c7c47395df2d451daa22434507a53
2022-02-07 22:32:37 +00:00
Nathan Harold
af9e5f36a9 Merge "Update UsageSetting Cache before comparison in VTS" am: 630637627f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1973539

Change-Id: I770fc214ef93e8bc3aea0fb2c1cb5bb160ab2846
2022-02-07 22:14:19 +00:00
Xusong Wang
8805b2d67c Address ANAPIC review comments -- hal.
- Document that IPreparedModel::execute*WithConfig are for single-time
  usages, and IPreparedModel::createReusableExecution is for reusable
  usages.
- Make PrepareModelConfig::cacheToken a fixed sized array.

Fixes: 215566186
Test: VtsHalNeuralnetworksTargetTest
Test: NNT_static
Change-Id: I9c5a49c46a3eac2828b9eb666f3d742038493121
2022-02-07 14:02:41 -08:00
TreeHugger Robot
df8160ff25 Merge "Remove InputClassifier from current compatibility" 2022-02-07 22:02:19 +00:00
Nathan Harold
630637627f Merge "Update UsageSetting Cache before comparison in VTS" 2022-02-07 21:59:57 +00:00
TreeHugger Robot
23c10c0fe0 Merge "Expose response methods for services using compat library" 2022-02-07 21:43:10 +00:00
Eric Laurent
16894f0e06 audio: add new enums for 7.1 HAL
Add the following enums to 7.1 audio HAL:
- Spatial audio:
   spatializer output flag
   front wide channel masks

- Bluetooth LE
 broadcast audio device

Bug: 187446271
Test: m android.hardware.audio.common@7.1-enums
Change-Id: I9bfb937ece3a07a7844877de5f355ece1141f92d
(cherry picked from commit 5b8529a1da)
Merged-In: I9bfb937ece3a07a7844877de5f355ece1141f92d
2022-02-07 19:55:51 +00:00
Eric Laurent
ed7dfd5f35 Audio HAL V7.1: Add latency mode APIs
Add APis for controlling the latency mode on an output stream.
Latency mode control is optional but mandated if spatial audio with
head tracking is supported over Bluetooth classic audio link.

Bug: 187446271
Test: m android.hardware.audio@7.1-impl
Change-Id: I363db3bf7f7b6439e326d0f6f4becc10b3947e7d
(cherry picked from commit 040984fd44)
Merged-In: I363db3bf7f7b6439e326d0f6f4becc10b3947e7d
2022-02-07 19:54:41 +00:00
Jayant Chowdhary
198398724e Merge "Add stream use cases to camera aidl interfaces." 2022-02-07 19:51:15 +00:00
Leon Scroggins
dd2ad3c55c Merge "Add a Java backend for android.hardware.graphics.common AIDL" 2022-02-07 19:10:17 +00:00
Changyeon Jo
eb56ef52d9 Merge "Camera: Add automotive metadata section" 2022-02-07 19:02:58 +00:00
TreeHugger Robot
04621a3e16 Merge changes from topic "aoa_interleaving"
* changes:
  uwb(hal): Remove getAndroidCapabilities HAL API
  uwb(hal): Add an android specifci aoa_result_req value
2022-02-07 18:34:57 +00:00
Treehugger Robot
bd8229fcc3 [automerger skipped] Merge changes from topic "upstream-hal-v7_1" am: e4061de77e am: e27bd9b738 am: a8a9c52a22 am: f9020c391d -s ours
am skip reason: Merged-In Id3a99993bf2ee0c87d44f668d759f7c10db9a435 with SHA-1 40fde0bc07 is already in history

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1973702

Change-Id: I0755a8a9b7bc4a8ef35c4fb953ecc39428d28a60
2022-02-07 18:26:16 +00:00
Mikhail Naganov
9d23bc821c [automerger skipped] Audio HAL V7.1: Update the default implementation am: 8140f5660a am: 3271045ef3 am: 6627918ad2 am: dd8df014a0 -s ours
am skip reason: Merged-In Ic4c44d4ac9bbfa7b62695866b9aa7473658390b2 with SHA-1 7d01538eec is already in history

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1973701

Change-Id: Ia7694b5f5f534c66c9b39e8dda9013fda0b45d7c
2022-02-07 18:26:12 +00:00
Mikhail Naganov
21c5d3bd21 [automerger skipped] Audio HAL V7.1: Interfaces & types am: 51a7e13849 am: 54e9a3a892 am: eb413a0f3e am: 8245db0d30 -s ours
am skip reason: Merged-In I3caa2fda2fb5d7d8e8292e23fb2cf0e32e05c146 with SHA-1 a0cd944914 is already in history

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1973700

Change-Id: I8a2d6f264e4fd2cf7cd3f4b2d08d52eaaf641c72
2022-02-07 18:26:08 +00:00
John Reck
09028a0872 Merge "Address ANAPIC feedback" 2022-02-07 18:18:07 +00:00
Tomasz Wasilczyk
896b7ab730 Expose response methods for services using compat library
Bug: 211819471
Test: it builds
Change-Id: I1fecf05fa8c5c862f18cbc6c974bb9d6a6d39892
2022-02-07 10:13:01 -08:00
Treehugger Robot
f9020c391d Merge changes from topic "upstream-hal-v7_1" am: e4061de77e am: e27bd9b738 am: a8a9c52a22
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1973702

Change-Id: I36073bba637aa1dd7f021f8242ce1edbc80167c9
2022-02-07 18:11:15 +00:00
Mikhail Naganov
dd8df014a0 Audio HAL V7.1: Update the default implementation am: 8140f5660a am: 3271045ef3 am: 6627918ad2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1973701

Change-Id: Id03b8f6ea382f6121ab9c37406089bcedb4529dc
2022-02-07 18:11:11 +00:00
Mikhail Naganov
8245db0d30 Audio HAL V7.1: Interfaces & types am: 51a7e13849 am: 54e9a3a892 am: eb413a0f3e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1973700

Change-Id: I8854070d0ff5bee84f8de60360418b308ea75e81
2022-02-07 18:11:07 +00:00
Treehugger Robot
a8a9c52a22 Merge changes from topic "upstream-hal-v7_1" am: e4061de77e am: e27bd9b738
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1973702

Change-Id: I31a9d90862bdc73229a9bc52dde61172b0911773
2022-02-07 17:50:12 +00:00
Mikhail Naganov
6627918ad2 Audio HAL V7.1: Update the default implementation am: 8140f5660a am: 3271045ef3
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1973701

Change-Id: Id8a00a5e80a56ff6bdbd15f4735d0d4c8bed9a1e
2022-02-07 17:50:07 +00:00
Mikhail Naganov
eb413a0f3e Audio HAL V7.1: Interfaces & types am: 51a7e13849 am: 54e9a3a892
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1973700

Change-Id: I7831c1826aa70cc1bec47fede67bd8fa97c15adf
2022-02-07 17:50:01 +00:00
Treehugger Robot
e27bd9b738 Merge changes from topic "upstream-hal-v7_1" am: e4061de77e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1973702

Change-Id: Ia67897d6c993f8e35de6456512d50aa717812e5f
2022-02-07 17:35:43 +00:00
Mikhail Naganov
3271045ef3 Audio HAL V7.1: Update the default implementation am: 8140f5660a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1973701

Change-Id: I744d25b19172b8afd94dfc910353059a2a2198e2
2022-02-07 17:35:39 +00:00
Mikhail Naganov
54e9a3a892 Audio HAL V7.1: Interfaces & types am: 51a7e13849
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1973700

Change-Id: I0b855acf71e3d8b20e38ae74f6c15b719e5df18e
2022-02-07 17:35:35 +00:00
Treehugger Robot
e4061de77e Merge changes from topic "upstream-hal-v7_1"
* changes:
  Audio HAL V7.1: Update VTS
  Audio HAL V7.1: Update the default implementation
  Audio HAL V7.1: Interfaces & types
2022-02-07 17:15:52 +00:00
Roshan Pius
b44de0093b uwb(hal): Remove getAndroidCapabilities HAL API
This is unnecessary since we are anyway using GET_CAPS_INFO for querying
non-fira capabilities.

Bug: 208678993
Bug: 209053358
Test: Compiles
Change-Id: Id9af03b313ceaf00fb6d5231c454dc7c74a6287a
2022-02-07 08:35:57 -08:00
Carter Hsu
c588601a15 Merge "audio: add Ultrasound materials to 7.1" 2022-02-07 02:49:05 +00:00