Commit graph

52216 commits

Author SHA1 Message Date
Treehugger Robot
449402300f Merge "Add vendor extension effect example" am: 9e741d67b5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2470400

Change-Id: Ie55eb219b4e204fca769f46ac5a33d871047ce57
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-07 03:06:24 +00:00
Mikhail Naganov
e48e5737f3 audio: Make I/O operations in default stub more realistic
1. Increase the minimum buffer size to 256 frames. This is
   more realistic than 16 frames: 256 frames is ~5ms @ 48 kHz.

2. Make transfer delay in the stub module dependent on the frame
   count for synchronous transfers.

Bug: 270154517
Test: atest VtsHalAudioCoreTargetTest
Test: atest android.media.audio.cts.LoudnessEnhancerTest (w/AIDL enabled)
Change-Id: If968e30d145b52220f4dc3c33af48dbc163c78cd
2023-03-06 18:51:03 -08:00
Treehugger Robot
9e741d67b5 Merge "Add vendor extension effect example" 2023-03-07 02:22:08 +00:00
Mikhail Naganov
d0641b0d5a audio: Add IStreamCommon.prepareToClose method
This method is needed to implement HAL modules that
are proxies for other subsystems, for example
the "bluetooth" and "r_submix" modules. This method
replaces string parameters "exiting=1" and "closing=true"
which the framework sends to streams prior to closing
them in order to unblock the I/O thread of the stream.

Bug: 270731693
Test: atest VtsHalAudioCoreTargetTest
Change-Id: I3d13fe34535ab853c9f8237a08c31cdafadbb390
2023-03-06 15:44:05 -08:00
Matthew Sedam
d70f84d7da Pass the context hub ID to getPreloadedNanoappIds in the HAL
Bug: 271846335
Test: m, flash, boot # normal
Test: logs # normal
Test: Dump context hub service and AIDL HAL # normal
Test: atest VtsAidlHalContextHubTargetTest
Change-Id: I8268bdab0aaf58863d71c7d065aa89223368199b
2023-03-06 23:13:17 +00:00
Yu Shan
5fd7fa7be8 Merge changes I7d338eef,I95c9f796,I56b160b6 into udc-dev
* changes:
  Change BindToDeviceSocketMutator to lib.
  Specify a eth interface for grpc connection.
  Add trace to measure VHAL performance.
2023-03-06 23:06:31 +00:00
Yu Shan
2a096c4983 Change BindToDeviceSocketMutator to lib.
Test: Presubmit
Bug: 268750179
Change-Id: I7d338eef4f622631d0ead0af0a91e3b68bfa69eb
2023-03-06 12:56:04 -08:00
Yu Shan
39b19857d4 Specify a eth interface for grpc connection.
When enabling wifi on seahawk, the main network interface changes
so we need to explicitly specify the eth interface we want to
use for our grpc connection.

Note that using setsockopt requires NET_RAW permission which is
only granted to limited apps. As a result, selinux permissive
mode is required for this CL to work.

Test: Manual test on seahawk, verify grpc is connected okay.
Bug: 261108682
Change-Id: I95c9f796bf40226b612edf284188ffc6d095086f
2023-03-06 12:56:02 -08:00
Yu Shan
302ab9efc3 Add trace to measure VHAL performance.
Test: Manually run on emulator.
Bug: 269669729
Change-Id: I56b160b624c43d29aa85fffd28d1611fe63f7efc
2023-03-06 12:18:17 -08:00
Yu Shan
6ced2e4258 Fix flakiness in DefaultVehicleHalTest.
Test: atest DefaultVehicleHalTest
Bug: 270225041
Change-Id: I1657ad038aac9e6a153aa458c13bd0720be23f1f
2023-03-06 19:37:54 +00:00
Steven Moreland
705c39b274 audio test service guaranteed log
The logs in this service and others disappear sometimes.

Bug: 210919187
Test: logd_integration_test
Change-Id: I63b88ec4b88048ed64907df21d5a049a3abda2ec
2023-03-06 14:30:49 +00:00
Thomas Nguyen
89e5fc4f5d DO NOT MERGE Revert "Add Satellite HAL APIs"
Revert submission 20583557-Satellite APIs

Reason for revert: We need to revert these changes for U

Reverted changes: /q/submissionid:20583557-Satellite+APIs

Bug: 271297374
Test: Call and SMS/MMS with live network.
atest TelephonyManagerTestOnMockModem
atest VtsHalRadioTargetTest
atest com.android.cellbroadcastreceiver.compliancetests.CellBroadcastConfigTest
atest android.telephony.cts.TelephonyManagerTest
atest android.telephony.cts.SatelliteManagerTest

Change-Id: I7ada8e72d77543f1ac03b267d61e8fd037ec3708
2023-03-05 14:48:08 -08:00
Treehugger Robot
6d065549e1 Merge "Remove uses of deprecated GTest macro." am: 3eed07ead0 am: c74317cabf am: c13f8756d3
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2469729

Change-Id: I00d3db902d583272919eba0891a92137bb02caa6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-04 08:28:26 +00:00
Treehugger Robot
b3a5c66d4c Merge "Do not include internal GTest header." am: 1a6e2031fc am: 453240f61f am: da5022e6f5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2469730

Change-Id: I36f5c75a6e053144acceabb88da92b135c9bdef4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-04 08:27:11 +00:00
Treehugger Robot
c13f8756d3 Merge "Remove uses of deprecated GTest macro." am: 3eed07ead0 am: c74317cabf
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2469729

Change-Id: If0d69ee879fb82d39ebb70506d8aba52ea3aec71
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-04 08:15:52 +00:00
Treehugger Robot
da5022e6f5 Merge "Do not include internal GTest header." am: 1a6e2031fc am: 453240f61f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2469730

Change-Id: Iacbdc9b929ceb6f3a24b69c2dfb171efc6cde868
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-04 08:07:22 +00:00
Treehugger Robot
c74317cabf Merge "Remove uses of deprecated GTest macro." am: 3eed07ead0
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2469729

Change-Id: Id5b7eeef1da01e57e45008d696ee75758d7620a5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-04 06:51:32 +00:00
Treehugger Robot
453240f61f Merge "Do not include internal GTest header." am: 1a6e2031fc
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2469730

Change-Id: I5d2cfbee355fd2e11a81cd0825a91634f815704f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-04 06:45:25 +00:00
Ayush Jain
1f85dc7212 Merge "Add a Vendor-dependent UCI Reason code for UWB OFF" into tm-mainline-prod am: 471879fcfe
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/21683422

Change-Id: I44eb3387951c1cacd1541c0572cc2fc658d35018
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-04 06:29:31 +00:00
Treehugger Robot
3eed07ead0 Merge "Remove uses of deprecated GTest macro." 2023-03-04 02:58:37 +00:00
Treehugger Robot
1a6e2031fc Merge "Do not include internal GTest header." 2023-03-04 02:14:36 +00:00
Henry Fang
2bfa5740cb Merge "Change for HAL's committee's feedback from http://ag/21528528" into udc-dev 2023-03-04 02:03:50 +00:00
Henry Fang
678e42f76b Change for HAL's committee's feedback from http://ag/21528528
Change-Id: Id0db0e05ed812a783f0377412ba91997ce22b08a
bug: 239228238
2023-03-04 02:03:33 +00:00
Shunkai Yao
b2325e55e9 Add vendor extension effect example
Update Parameter.id from int to ParcelableHolder

Bug: 271601435
Test: Build, atest VtsHalAudioEffectTargetTest
Change-Id: I5450fa90e95bdebe931c222f6bb177dbdef35c69
2023-03-04 02:01:33 +00:00
Krzysztof Kosiński
a3a78a688d Do not include internal GTest header.
Only the headers gtest.h and gtest-spi.h are public.  This
inclusion is causing a build break when upgrading googletest
to version 1.13.0.

Bug: 271622675
Test: local build, presubmit
Change-Id: I698e4d4464c131e9dad73a23a6f65908a07e9f60
2023-03-04 00:58:52 +00:00
Krzysztof Kosiński
c30ca3077d Remove uses of deprecated GTest macro.
Bug: 271622675
Test: local build, presubmit
Change-Id: I525be287361e65d0c4194bc93d7f17ce3369da5d
2023-03-04 00:46:48 +00:00
Ram Indani
47a31d9393 Merge "[VTS] change the bool to lambda" into udc-dev 2023-03-04 00:13:28 +00:00
Ayush Jain
471879fcfe Merge "Add a Vendor-dependent UCI Reason code for UWB OFF" into tm-mainline-prod 2023-03-03 22:41:43 +00:00
Ayush Jain
93752a76ff Merge changes from topic "presubmit-am-de536539e6c7464a871423c40221150c" into udc-dev
* changes:
  [automerge] Add a Vendor-dependent UCI Reason code for UWB OFF 2p: ff9268b13b
  Add a Vendor-dependent UCI Reason code for UWB OFF
2023-03-03 22:41:43 +00:00
TreeHugger Robot
0e270ef5f1 Merge "Convert NAN enums that are used as bitmaps to an int." into udc-dev 2023-03-03 21:51:58 +00:00
TreeHugger Robot
b77c796280 Merge "Update comments to indicate whether NAN enums are used as an enum or a bitmask." into udc-dev 2023-03-03 21:45:15 +00:00
Gabriel Biren
53368fa332 Merge changes from topic "vendor-hal-bitmaps" into udc-dev
* changes:
  Update Vendor HAL service to use ints for bitmaps instead of using enums.
  Use an int to represent bitmaps in the Vendor HAL AIDL interface.
2023-03-03 21:21:34 +00:00
ramindani
9151889d57 [VTS] change the bool to lambda
BUG: 202734676
Test: atest VtsHalGraphicsComposer3_TargetTest
Change-Id: I5611cd8a6cc23491621470d6457e2bfc859fde4e
2023-03-03 18:51:09 +00:00
Gabriel Biren
86971aa04c Convert NAN enums that are used as bitmaps
to an int.

Bug: 267819850
Test: atest VtsHalWifiNanIfaceTargetTest
Change-Id: I6085c01fe6a7585fbdd8855bfdf183a75644ff80
2023-03-03 18:06:33 +00:00
Anthony Stange
d84b70dfa8 Merge "Refine ContextHub HAL API updates" into udc-dev 2023-03-03 18:04:17 +00:00
Gabriel Biren
e817aeb699 Update comments to indicate whether NAN enums
are used as an enum or a bitmask.

Bug: 267819850
Test: m
Change-Id: I6625d017a5563f82e87a2ee9300bb2d880b9242a
2023-03-03 18:02:16 +00:00
Treehugger Robot
d8fa782550 Merge "Linking Component Id within the ConfirmationUI OWNERS file." am: 6f51538682 am: f0fb395c98 am: 74de4fb0d1
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2412036

Change-Id: I2e96614d2c81f38e5eaeb6b4159552af00bb2fe9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-03 17:38:20 +00:00
Treehugger Robot
c00be16811 Merge "Fix the missing std" am: 39337adcc9 am: a4ab908631 am: d65d1a6b64
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2468920

Change-Id: If2e904f1f3bb8a1a3b7b63d67ddbee2392baad7a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-03 17:37:23 +00:00
Myles Watson
596346b242 Merge "VtsHalBluetoothV1: Always wait for completed packets" am: 5d57ab1a45 am: 1b3643dd0f am: 596557ff32
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2467840

Change-Id: I1a125b24f45e7102528d6c827ecc24f5d6903f1a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-03 17:35:25 +00:00
Avinash Malipatil
1794913d24 Merge "Modified MediaDirection to provide more granular control over RTP and RTCP flow." into udc-dev 2023-03-03 17:34:45 +00:00
Mikhail Naganov
93a950ecd1 Merge "audio: Make libaudioserviceexampleimpl just 'library'" am: 79cb295819 am: 95ba30ccbb am: bc6c55f5a0
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2464079

Change-Id: I03db50ce15077d031d7d26e7bfcf23989c663f18
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-03 17:31:23 +00:00
Treehugger Robot
74de4fb0d1 Merge "Linking Component Id within the ConfirmationUI OWNERS file." am: 6f51538682 am: f0fb395c98
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2412036

Change-Id: I7f30bb286a4fc0ff9b49b929a14a62f1ec3753bb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-03 17:14:02 +00:00
Treehugger Robot
d65d1a6b64 Merge "Fix the missing std" am: 39337adcc9 am: a4ab908631
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2468920

Change-Id: I8b172f905230c87edc96c4919fc0c7785e641043
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-03 17:11:26 +00:00
Treehugger Robot
f0fb395c98 Merge "Linking Component Id within the ConfirmationUI OWNERS file." am: 6f51538682
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2412036

Change-Id: Ie28c82446211601e03a429e60ac83b06bc13d937
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-03 17:10:02 +00:00
Treehugger Robot
a4ab908631 Merge "Fix the missing std" am: 39337adcc9
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2468920

Change-Id: I152bcab905b232b5fc7e2a2cdf48735caf9edd11
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-03 17:08:03 +00:00
Myles Watson
596557ff32 Merge "VtsHalBluetoothV1: Always wait for completed packets" am: 5d57ab1a45 am: 1b3643dd0f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2467840

Change-Id: I64566c50be7f42edbf4d2736250bf7d943af364b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-03 17:07:12 +00:00
Mikhail Naganov
bc6c55f5a0 Merge "audio: Make libaudioserviceexampleimpl just 'library'" am: 79cb295819 am: 95ba30ccbb
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2464079

Change-Id: I4379273bb19f74d400a7ef20273ded9a6bc0dad0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-03 16:50:40 +00:00
Rajesh Nyamagoud
e98263ec55 Updated to enforce leaf certificate containing attestation record
to not to hold the CRL Distribution Points extension in it.

Bug: 260332189
Test: atest VtsAidlKeyMintTargetTest
Change-Id: I7b191b4351984ce82db0e9440027ddbfc14b1c3a
2023-03-03 16:48:28 +00:00
Treehugger Robot
6f51538682 Merge "Linking Component Id within the ConfirmationUI OWNERS file." 2023-03-03 16:13:48 +00:00
Treehugger Robot
39337adcc9 Merge "Fix the missing std" 2023-03-03 14:46:48 +00:00