Commit graph

63705 commits

Author SHA1 Message Date
Manali Bhutiyani
e11bda9789 [aidl] add hwc batching capability
This CL adds the new aidl/apis for HWC command batching feature.

Bug: 290685621
Test: atest VtsHalGraphicsComposer3_TargetTest
      atest PerInstance/GraphicsComposerAidlBatchedCommandTest

Change-Id: Ibccc2cb30954f5d054f8e45e59a0b831fd15a304
2023-12-13 00:27:53 +00:00
Shunkai Yao
b037083ba2 Merge "Revert "audio: Fix remote submix behavior with multiple inputs"" into main am: 829179e29c am: a7845353a1
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2871086

Change-Id: If8e9082a734f180681ef33fa14b1ed6ff7eb99e1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-12 23:59:45 +00:00
Jayachandran C
06cee40021 Merge "Update OWNER for IRadio" into main am: 983041b502 am: e1c1ce4f8c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2869298

Change-Id: I573464c56144634c4a45e1298765c583dd324e23
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-12 23:58:40 +00:00
Mikhail Naganov
7b234d483f audio: Fix remote submix behavior with multiple inputs
Align the behavior of the new implementation with the legacy
implementation in the case when the client opens multiple
input streams on the same remote submix device.

Reduce the HAL buffer size to match legacy behavior.

Bug: 264712385
Test: atest CtsVirtualDevicesTestCases --test-filter=".*VirtualAudioTest.*"
(cherry picked from commit a83c8a5518)
Change-Id: I6f5e6a2c133059c66269b1bdd8a30392db282c4d
2023-12-12 15:55:22 -08:00
Shunkai Yao
a7845353a1 Merge "Revert "audio: Fix remote submix behavior with multiple inputs"" into main am: 829179e29c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2871086

Change-Id: I5a9fa8885a96c06c38d821c9efc187a6e78ef310
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-12 23:31:33 +00:00
Jayachandran C
e1c1ce4f8c Merge "Update OWNER for IRadio" into main am: 983041b502
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2869298

Change-Id: Id54ef57f10dce225e27b2da5e356d1ba0b425ec1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-12 23:28:56 +00:00
Mikhail Naganov
d7ddd9743c Merge "audio: Fix remote submix behavior with multiple inputs" into main am: 79f7fd088d am: 9484995e13 am: 1049486cff
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2863925

Change-Id: I756a7f16c8bf8f2e2d91999ce4c93bfe10280bcc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-12 23:27:34 +00:00
Shunkai Yao
829179e29c Merge "Revert "audio: Fix remote submix behavior with multiple inputs"" into main 2023-12-12 23:20:48 +00:00
Shunkai Yao
0347f0eff0 Revert "audio: Fix remote submix behavior with multiple inputs"
Revert submission 2862771-cuttlefish_aidl_audio-2

Reason for revert: b/316027906

Reverted changes: /q/submissionid:2862771-cuttlefish_aidl_audio-2

Change-Id: I68932be8dad4b4fd4214d0ae6fc01202727f1658
2023-12-12 22:55:59 +00:00
Jayachandran C
983041b502 Merge "Update OWNER for IRadio" into main 2023-12-12 22:47:59 +00:00
Aaqib Ismail
5e119598fa Change temp approximations to be accurate
We need to use a more accurate ratio of celsius to fahrenheit along
with better min/max temperature conversions so if a client sets the
value using standard conversion or using this table, they will produce
the same result. Also, we need to round to the closest increment instead
of truncating.

Bug: 305274504
Bug: 313720524
Test: atest CtsCarTestCases:CarPropertyManagerTest
Test: atest FakeVehicleHardwareTest
Change-Id: Ia4d53e1a904fb2b40f5ec428ab548895c8f307ed
2023-12-12 22:42:29 +00:00
Mikhail Naganov
1049486cff Merge "audio: Fix remote submix behavior with multiple inputs" into main am: 79f7fd088d am: 9484995e13
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2863925

Change-Id: I197d7f765d823e3d081f39ad8f6aa47bbcd48f3f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-12 22:20:01 +00:00
Treehugger Robot
06801e822f Merge "Add HAL API for configuring MSCS in supplicant." into main 2023-12-12 21:57:07 +00:00
Mikhail Naganov
9484995e13 Merge "audio: Fix remote submix behavior with multiple inputs" into main am: 79f7fd088d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2863925

Change-Id: Ib7b1a085cf63e888f1749c6f0bcd5db32d3704a3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-12 21:51:14 +00:00
David Anderson
f213e177fd Merge "health: Query new properties from BatteryMonitor." into main am: c601ec2ff5 am: e62ba8d5ba am: 0748629366
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2865639

Change-Id: I6a021d6b7af3548859eac0ed4398ef823e0931b2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-12 21:47:44 +00:00
Mahesh KKV
87ee8c7f9a Merge "Add TWT support for vendor HAL" into main 2023-12-12 21:36:47 +00:00
shrikar
813ba7c571 Added CROSS_TRAFFIC_MONITORING_WARNING_STATE to HAL
Bug: 313664286
Test: atest VtsHalAutomotiveVehicle_TargetTest
FakeVehicleHardwareTest

Change-Id: I49c6ff1a583a9d2e8504700a4c95de0c69bee21a
2023-12-12 21:27:47 +00:00
shrikar
7fde8f5084 Added CROSS_TRAFFIC_MONITORING_ENABLED to HAL
Bug: 313466942
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: I8d65d4ab577254a60859ed2f65e0317829ff70b2
2023-12-12 21:21:01 +00:00
shrikar
a45d1cfdc9 Added ELECTRONIC_STABILITY_CONTROL_STATE to HAL
Bug: 313455695
Test: atest VtsHalAutomotiveVehicle_TargetTest
FakeVehicleHardwareTest

Change-Id: I8d8d7d749f530a7c738c8a9dfd712496d118715a
2023-12-12 21:19:45 +00:00
shrikar
33a3369d18 Added ELECTRONIC_STABILITY_CONTROL_ENABLED to HAL
Bug: 313435670
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: I7d9bdc5bfccc3037a29d7d9b72c705797cc53064
2023-12-12 21:16:32 +00:00
shrikar
84866f7c35 Added VALET_MODE_ENABLED to HAL
Bug: 313324764
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: I2365ac050978ade0d441ff96bf9160bd2b6651e4
2023-12-12 21:16:32 +00:00
shrikar
858c4e1791 Added LOW_SPEED_COLLISION_WARNING_STATE to HAL
Bug: 310955303
Test: atest VtsHalAutomotiveVehicle_TargetTest
FakeVehicleHardwareTest

Change-Id: I30980af5af1d6b954d6a4166be4df6ac92235388
2023-12-12 21:16:32 +00:00
shrikar
45df34b615 Added LOW_SPEED_COLLISION_WARNING_ENABLED to HAL
Bug: 310252857
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: Ie2072d9cc0c8af83caf2f6e5590d5d1bd6c4e4aa
2023-12-12 21:16:32 +00:00
shrikar
a492e7d598 Added EV_BATTERY_AVERAGE_TEMPERATURE to HAL
Bug: 309861157
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: I3ddf1d71969b233516cf6e617a4f9328e256ea7f
2023-12-12 21:16:32 +00:00
shrikar
d816e0433c Added IMPACT_DETECTED to HAL
Bug: 309826888
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: I79c72bed8dcd96632cf9c7b6ff71c04198625467
2023-12-12 21:16:31 +00:00
shrikar
7717aa80ac Added SEAT_BELT_PRETENSIONER_DEPLOYED to HAL
Bug: 309666683
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: I79ca3e68c18fb961e83d1bd67f794256fe806f55
2023-12-12 21:16:31 +00:00
shrikar
420b31dddf Added SEAT_AIRBAGS_DEPLOYED to HAL
Bug: 309620475
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: I90db503d61c70cb2ab2581d3327a09b3225ac62c
2023-12-12 21:16:31 +00:00
David Anderson
0748629366 Merge "health: Query new properties from BatteryMonitor." into main am: c601ec2ff5 am: e62ba8d5ba
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2865639

Change-Id: Ie8728c3484e08dc5dc9d9d0d2167771bd65d5ead
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-12 21:14:42 +00:00
Mikhail Naganov
79f7fd088d Merge "audio: Fix remote submix behavior with multiple inputs" into main 2023-12-12 21:11:55 +00:00
Gabriel Biren
c535f588ad Add HAL API for configuring MSCS in supplicant.
Bug: 300870302
Test: m
Change-Id: Ib316ab2511293c674c21ab1838391febd3b58318
2023-12-12 21:06:51 +00:00
Xiang Wang
4f6f3edf61 Merge "Add GPU_LOAD_UP GPU_LOAD_DOWN session hints" into main 2023-12-12 20:46:44 +00:00
David Anderson
e62ba8d5ba Merge "health: Query new properties from BatteryMonitor." into main am: c601ec2ff5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2865639

Change-Id: I9828e799db9b696b517ce03e0d93fef88af4e3a9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-12 20:42:56 +00:00
David Anderson
c601ec2ff5 Merge "health: Query new properties from BatteryMonitor." into main 2023-12-12 20:22:31 +00:00
maheshkkv
3990382e47 Add TWT support for vendor HAL
Bug: 296108122
Test: m
Change-Id: I897d405567a23e3c30ca46dce49c52dc939b508c
2023-12-12 10:31:54 -08:00
Treehugger Robot
0c432bcf57 Merge "Fix the path to IR HAL" into main am: 1fd753023f am: e7384f43de am: e7637b4347
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2870195

Change-Id: I6c3a8d951735398ea4d4e42168927792569c3bb8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-12 18:08:57 +00:00
jiabin
bc79ff19e8 AHAL: add API to notify the HAL module about disconnecting device.
When external device is about to disconnect, the audio framework will
notify the HAL module about the coming device disconnection so that the
HAL module could abort any active read/write operations on drivers to
avoid problems with the HW interfaces.

Bug: 279824103
Test: atest VtsHalAudioCoreModuleTargetTest
Change-Id: I9f960b8ae5df11a764e70bd63f98c0f8b8386c34
2023-12-12 17:44:28 +00:00
Treehugger Robot
e7637b4347 Merge "Fix the path to IR HAL" into main am: 1fd753023f am: e7384f43de
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2870195

Change-Id: I1414fc52ac65d56a165df3744e715f9c2ef167e6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-12 17:36:28 +00:00
Treehugger Robot
e7384f43de Merge "Fix the path to IR HAL" into main am: 1fd753023f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2870195

Change-Id: Ibd2a9bffc5efefedd30ec35dd1e4e673fe869562
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-12 17:05:51 +00:00
Gil Cukierman
33343fd548 Specify that isCellularIdentifierTransparencyEnabled is false by default
The VTS test and setCellularIdentifierTransparencyEnabled were specified as false in previous commits. This comment was missed.

Bug: 315974744
Change-Id: I20c3198e7e787478732ea4084780af32837b6059
Test: atest VtsHalRadioTargetTest
2023-12-12 17:02:00 +00:00
arunvoddu
aa48e63881 Enhanced AIDLs to fetch the Carrier lock information.
Bug: 314835886
Test: Built Successfully
Change-Id: I746d202d46bef6366525448706316b61ea6907b1
2023-12-12 16:53:40 +00:00
Treehugger Robot
1fd753023f Merge "Fix the path to IR HAL" into main 2023-12-12 16:31:41 +00:00
Joshua Mccloskey
f6bc1288c5 Merge "Freezing face api" into main 2023-12-12 16:18:36 +00:00
David Drysdale
bef8d3ae89 Secretkeeper: add message encryption
All request messages are encrypted, but response messages have an outer
unencrypted layer, with an inner response (and the result values inside
that).

Make the SecretManagement.cddl file clearer to reflect that, and make
the schema valid along the way.

Move the outer (unencrypted) error code values into `ErrorCode.aidl` and
use them as service-specific error codes, thus reducing the number of
error types from 3 to 2.

Bug: 291228560
Test: VtsSecretkeeperTargetTest
Test: validate CDDL with https://atacama.informatik.uni-bremen.de/
Change-Id: I46c5bfd7e40b03919d7d3779b265b3bb3ff1ce1e
2023-12-12 16:03:04 +00:00
Shikha Panwar
27de4cd44f Test store & get Secret functionality am: cbad9a37d3 am: 0a6077658e am: 00309433e3
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2847454

Change-Id: I3455e93b10acc1a1e3d727724521b0935e8b9551
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-12 15:57:36 +00:00
Shikha Panwar
aac6db4661 [Secretkeeper] In-memory KeyValueStore am: 2759df0d3c am: 5c86cf8553 am: cdc5b14ab8
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2847554

Change-Id: I9d04dba126fb1b17d2992c53970c5b2829295ea7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-12 15:57:30 +00:00
Shikha Panwar
00309433e3 Test store & get Secret functionality am: cbad9a37d3 am: 0a6077658e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2847454

Change-Id: Ibb7bad79520226391b6502428f2f8b740e7b80c0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-12 15:25:16 +00:00
Shikha Panwar
cdc5b14ab8 [Secretkeeper] In-memory KeyValueStore am: 2759df0d3c am: 5c86cf8553
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2847554

Change-Id: I8acb449819fd8d970c8eb93fed824b51dc045139
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-12 15:25:13 +00:00
Shikha Panwar
0a6077658e Test store & get Secret functionality am: cbad9a37d3
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2847454

Change-Id: Icf04555fc6949ca28ee8e897992138e5fc668543
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-12 14:54:43 +00:00
Shikha Panwar
5c86cf8553 [Secretkeeper] In-memory KeyValueStore am: 2759df0d3c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2847554

Change-Id: I74a1740c9591b763dacf099f02e977091f9df75d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-12 14:54:39 +00:00
Shikha Panwar
cbad9a37d3 Test store & get Secret functionality
Test Store/Get api of SecretManagement HAL. We use a hard coded
hypothetical chain & a dice policy (which the dice chain matches
against) for testing the store/get functionality.

This patch also adds required error codes in SecretManagement.cddl

Bug: 291224769
Test: atest VtsSecretkeeperTargetTest
Change-Id: I0aa2dfc7413791e9de62a6e753bda4ab2f813d2c
2023-12-12 14:24:14 +00:00