Commit Graph

59068 Commits

Author SHA1 Message Date
Sungtak Lee
71ef1c1559 media.bufferpool2: support AHardwareBuffer based buffer
Change-Id: I43102797b92d4782d2fc620ea3c9490f5187b90c
2024-01-12 23:58:58 +00:00
Treehugger Robot
20768c89d7 Merge "Handle logical camera devices properly" into main 2024-01-09 22:41:15 +00:00
Sungtak Lee
3d0eeb9cfc Merge "media.c2 aidl: add input surface for encoders" into main 2024-01-09 22:36:53 +00:00
Treehugger Robot
671b88bf73 Merge changes Icfaa316b,Ic26706d7 into main
* changes:
  Add missing libc++ includes
  No need to modify acc for std::accumulate
2024-01-09 22:23:55 +00:00
Treehugger Robot
43609acf24 Merge "Per NCI spec there is no need to wait for credits" into main 2024-01-09 22:11:10 +00:00
Treehugger Robot
7297906e49 Merge "Add missing libc++ includes" into main 2024-01-09 21:26:28 +00:00
Alisher Alikhodjaev
93f1bf2bd3 Per NCI spec there is no need to wait for credits
Bug: 312911587
Test: no regresions
Change-Id: Ie7952b6618cd2b191b85904b3c1d4c544ba85618
2024-01-09 13:16:11 -08:00
Treehugger Robot
73d544063c Merge "Make apex availability to com.android.wifi explicit" into main 2024-01-09 21:10:30 +00:00
Tomasz Wasilczyk
4891ece5c6 Add missing libc++ includes
Bug: 175635923
Test: m MODULES-IN-hardware-interfaces-wifi
Change-Id: Icfaa316bb50b680a2c03c3d818f6ae01860dd334
2024-01-09 12:30:51 -08:00
Tomasz Wasilczyk
5370670c4a No need to modify acc for std::accumulate
Bug: 175635923
Test: m MODULES-IN-hardware-interfaces-automotive-audiocontrol
Change-Id: Ic26706d72966b991424c47c5fb7dd46612a3dcc3
2024-01-09 12:16:56 -08:00
Tomasz Wasilczyk
b87cdae8d6 Add missing libc++ includes
Bug: 175635923
Test: m MODULES-IN-hardware-interfaces-automotive-can
Change-Id: I2fcc511f45d87b0ca6d80d18df2ba9f92e0155f9
2024-01-09 11:56:43 -08:00
David Drysdale
2796188ec6 Merge "Secretkeeper: move VTS to rdroidtest" into main 2024-01-09 12:19:31 +00:00
Changyeon Jo
050b2ce1cf Handle logical camera devices properly
- HighPriorityCameraClient test case is not executed against logical
  camera devices because clients are not allowed to change camera
  parameters via logical cameras.
- CameraStreamExternalBuffering test case closes logical camera device
  explicitly, to avoid any influence on following test scenarios.

Bug: 319165229
Test: atest VtsHalEvsTargetTest
Change-Id: I734d701a2056ab84fe74179b083c3f6c5463447b
2024-01-09 06:15:34 +00:00
Treehugger Robot
7535e95430 Merge "health: Remove 2.0 HAL implementation." into main 2024-01-09 00:28:28 +00:00
Yahav Nussbaum
1f330d6ce8 Merge "Clarify that an EID is a Find My Device network EID" into main 2024-01-08 19:31:57 +00:00
Ayush Jain
c1afcae755 Merge "[hal] Add support for CCC capability UWBS_MAX_PPM." into main 2024-01-08 19:24:33 +00:00
David Drysdale
099c876e9c Secretkeeper: move VTS to rdroidtest
Use rdroidtest for running tests as it now supports parameterized
tests (aosp/2885268) and has an attribute macro (aosp/2890086).

Also rustfmt.

Test: VtsSecretkeeperTargetTest
Change-Id: I9570a7f33a6ff7dbf7cb7238fa3770dedb990e8c
2024-01-08 15:17:48 +00:00
George Chang
7653e2653d Merge "Tag vts module VtsHalSecureElementTargetTest with secure element sim" into main 2024-01-08 03:20:39 +00:00
Yahav Nussbaum
31f1ad2409 Clarify that an EID is a Find My Device network EID
Bug: 318931934
Test: m android.hardware.bluetooth.finder-update-api
Change-Id: Ie888bc81bd8b91040aa308b9b0d2be4a6137e483
2024-01-06 16:53:01 +00:00
Spandan Das
9a21c4162c Make apex availability to com.android.wifi explicit
This is done implicitly today via a baseline map in
build/soong/apex/apex.go. Make this explicit in Android.bp

Bug: 281077552
Test: m nothing
Change-Id: I71d9a6ce9707557f8e7652adc7afa3292ef9188d
2024-01-06 00:01:41 +00:00
Devin Moore
9548b5cb98 Merge "Add CtsStrictJavaPackagesTestCases to TEST_MAPPING presubmits" into main 2024-01-05 23:51:44 +00:00
Jakub Tyszkowski
c8a6224831 LeAudio/multicodec: Add the additional VTS test case
Bug: 308428217
Bug: 307258939
Test: atest VtsHalBluetoothAudioTargetTest
Change-Id: Idf8ca8c50e61482506c3c1a5bf5e8962c316a045
2024-01-05 18:12:50 +00:00
Jakub Tyszkowski
4856308c50 LeAudio/multicodec: Fix the async data path getter API
Just like the returned data path configurations are split for each direction,
the function arguments should also have the directional context. The vendor
module might need to know which connection handles in the stream map are for
the sink and which are for the source direction, to provide the proper
data path configurations for each direction.

Bug: 308428217
Bug: 307258939
Test: m android.hardware.bluetooth.audio-update-api
Change-Id: I270b6f4631869e2180580c886f0b58bd777d2123
2024-01-05 14:48:23 +00:00
Yahav Nussbaum
8885605ebd Merge "Make android.hardware.bluetooth.finder apex_avilable for com.android.tethering" into main 2024-01-05 10:27:48 +00:00
Yahav Nussbaum
2f1b39cce9 Make android.hardware.bluetooth.finder apex_avilable for com.android.tethering
Bug: 307897939
Test: m android.hardware.bluetooth.finder-update-api
Change-Id: I7c40cdfc36180d0ab25d9862b29bb4015d03adb0
2024-01-04 22:30:03 +00:00
Ayush Jain
a7000cfe15 [hal] Add support for CCC capability UWBS_MAX_PPM.
Define the capability tag.

Test: make com.android.uwb
Bug: 308660074
Change-Id: Iaa7c3e0292f3719cadae7c53d920f057c8dd7e68
2024-01-04 20:20:42 +00:00
David Drysdale
e016befb4f Merge "KeyMint VTS: fix flipped error messages" into main 2024-01-04 09:56:25 +00:00
Sungtak Lee
91d8a09b90 media.c2 aidl: add input surface for encoders
Bug: 315556623
Test: m
Change-Id: I9a7497f466e39b7fd223859cab49c26da359e401
2024-01-04 09:24:12 +00:00
George Chang
80e365794b Tag vts module VtsHalSecureElementTargetTest with secure element sim
Bug: 302200925
Test: build pass
Change-Id: Idbfee70eec009fffe389aad5780a4f04c55757c7
2024-01-04 15:51:48 +08:00
Mikhail Naganov
e3ed739865 Merge "audio: Fix the type used for timekeeping" into main 2024-01-04 01:26:12 +00:00
Sungtak Lee
3c548fc475 Merge "media.c2 aidl: do not throw status, return instead" into main 2024-01-04 00:35:37 +00:00
Devin Moore
da9b02c52d Merge "Remove HIDL audio HAL from compat matrix 9" into main 2024-01-03 23:32:21 +00:00
Devin Moore
c4b896e586 Remove HIDL audio HAL from compat matrix 9
It's replaced by the AIDL audio HAL.

Test: m
Bug: 264712385
Change-Id: I680a7bb58e636c0ed86dc2a72a27322ee163685c
2024-01-03 22:48:16 +00:00
Yu Shan
355e79f1b4 Merge "Fix AIDL VHAL metadata extraction script" into main 2024-01-03 21:55:29 +00:00
Shunkai Yao
42876b8011 Merge "Update comment about headTrackingSensorId" into main 2024-01-03 21:22:18 +00:00
Shunkai Yao
d090afe1af Update comment about headTrackingSensorId
Bug: 317405349
Test: m, aidl-format
Change-Id: I5f4b0e931c073d87b1a30a55c39e614d24a63030
2024-01-03 19:50:15 +00:00
Treehugger Robot
8c00013594 Merge "Audio Effect VTS: run Dowmmix data path test only after HAL version 2" into main 2024-01-03 19:45:02 +00:00
Mikhail Naganov
878afae8f8 audio: Fix the type used for timekeeping
On 32-bit builds, the 'long' type is 32 bit. Thus, it can not
be used to store the value returned from 'uptimeNanos'.

Bug: 318055805
Test: atest CtsMediaAudioTestCases
Change-Id: I4abf72415b7241728d3ddb1d11043dfd59a8d08a
2024-01-03 11:27:31 -08:00
Treehugger Robot
4103ef0c5a Merge "Camera: Add missing characteristics for using buffermanager in ExternalCamera" into main 2024-01-03 18:59:01 +00:00
Shunkai Yao
6b7784edfe Audio Effect VTS: run Dowmmix data path test only after HAL version 2
Bug: 315074570
Test: VtsHalDownmixTargetTest
Change-Id: Iaa17519521f136901ec217f7d5b5fd0d03889533
2024-01-03 18:46:00 +00:00
Spandan Das
bce73c83b0 Merge "Make availability to com.android.tethering explicit" into main 2024-01-03 17:46:31 +00:00
Victor Shutemov
1e14bd55bd Fix AIDL VHAL metadata extraction script
Add capability to process values from imports.
Update json metadata file with new data.

Testing:
1. cd hardware/interfaces/automotive/vehicle/aidl/emu_metadata
2. ./generate_emulator_metadata.py ../../aidl_property/android/hardware/automotive/vehicle out.json

Bug: 317529575
Test: manual
Change-Id: I315f1f75c2372796bde3bdacd39246344579c002
2024-01-03 13:25:57 +01:00
David Drysdale
77a86d8dae KeyMint VTS: fix flipped error messages
Also make main() shorter by `using`.

Bug: 317693523
Test: VtsAidlKeyMintTargetTest
Change-Id: Ife6048001a003e387927338dfcf7a4b2293576c7
2024-01-03 11:30:22 +00:00
Sungtak Lee
5e517c39ec media.c2 aidl: do not throw status, return instead
config(),query() and querySupportedValues() can return values as a
partial failure when status was thrown. So return the status instead of
throwing(For the compatibility with HIDL interface).

Bug: 254050314
Change-Id: Iece35ff11049e1b3fccb3b72a4d438621138e21e
2024-01-03 07:16:52 +00:00
Yu Shan
5df990f75d Merge "Fixed spelling mistake in LaneCenteringAssistCommand" into main 2023-12-29 01:00:43 +00:00
Mikhail Naganov
5f50cd6320 Merge changes from topic "cuttlefish_aidl_audio-3" into main
* changes:
  Revert "Add remote submix direct paths"
  audio: Add test configs for effects VTS tests
2023-12-28 22:53:57 +00:00
Steven Moreland
85333361c1 Merge "BufferPoolClient: avoid dereference null accessor" into main 2023-12-28 03:16:32 +00:00
Mikhail Naganov
27719f12e8 Revert "Add remote submix direct paths"
This reverts commit ce9767a966.

Please see the comment on aosp/2832731. This configuration
leads to anomalous framework behavior.

Bug: 311830316
Test: atest audiorouting_tests
Change-Id: I5be3ac18819e297aa199c5a0f5d2e85758448b4b
2023-12-27 15:54:30 -08:00
Mikhail Naganov
b80de7bcd7 audio: Add test configs for effects VTS tests
The main purpose of the config is to shut down the framework
audioserver while the VTS test is running. This is achieved by
setting 'vts.native_server.on' to '1'. Without this, restarts
of the effects HAL process which are a normal part of tests
affect the audioserver and may lead to failures of framework
tests that run interleaved with these VTS tests.

Bug: 264712385
Test: atest --test-mapping hardware/interfaces/audio/aidl/vts
Change-Id: I2515cb62e46ef8e93cbddb2c0219f4523d2ecda5
2023-12-27 15:54:30 -08:00
Steven Moreland
483e69f4eb BufferPoolClient: avoid dereference null accessor
Bug: 308739058
Test: N/A
Change-Id: I568e9d82976a1f7d7278748f347a17eb6f93fc79
2023-12-27 22:55:36 +00:00