Commit graph

59007 commits

Author SHA1 Message Date
David Anderson
85b3b0321a Add android.hardware.health AIDL HAL V3.
Bug: 309792384
Test: m
Change-Id: I5e9183b840f523f4d5b81dec813d35983882f71d
2023-12-11 11:01:52 -08:00
Seth Moore
121fedaa46 Replace string copies with const-ref
Change-Id: Ie3ea65cc81aa8b9a92a7718ca2003440a3189a4b
Test: Treehugger
2023-12-11 10:32:02 -08:00
ralph950412
5a856698db sensors: Do not limit aidl-multihal visibility
Allowing custom sensor implementations for vendors

Change-Id: I9e2b6e8f312ddc85074504a17087d121835a1ca3
2023-12-11 16:43:52 +08:00
Chienyuan Huang
a1020f0dcd Add VTS for Channel Sounding
Bug: 312862898
Test: atest VtsHalBluetoothRangingTargetTest
Change-Id: I38e84dca07dd3c995875471b0bd0a823d5d7b325
2023-12-11 08:24:56 +00:00
Jooyung Han
621461b26e Clean up sensors hal apex
- move apex definition near to the binary
- make the binary use static linking (for smaller size of apex)
- remove unused keys

Bug: n/a
Test: cvd start
Test: dumpsys sensorservice # available sensors
Change-Id: I07734c5a5b1ade542c669155dd96176f912629ac
2023-12-11 14:07:14 +09:00
Chienyuan Huang
64930a6379 Merge changes from topic "Bluetooth_Ranging" into main
* changes:
  Add default implementation for Channel Sounding
  Add HAL interface for Channel Sounding
2023-12-11 03:43:57 +00:00
Xin Li
3a00bdb92e Merge Android 14 QPR1
Merged-In: Id9f746bc66671d274afaedb10854d88123a04af0
Bug: 315507370
Change-Id: If5b27e2d03b1d0fca02a7f67091692e986097e29
2023-12-08 13:14:16 -08:00
Matthew Maurer
b1e0c41c06 Merge "Fix for nix 0.27.1." into main am: be8bf80c56
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2859925

Change-Id: Id9f746bc66671d274afaedb10854d88123a04af0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-08 18:40:03 +00:00
Matthew Maurer
be8bf80c56 Merge "Fix for nix 0.27.1." into main 2023-12-08 18:25:10 +00:00
Mikhail Naganov
a83c8a5518 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.*"
Change-Id: Ia86a8480495693595dbb501ec58e5d1d238abab2
2023-12-08 09:37:41 -08:00
Treehugger Robot
98c6489cb6 Merge "Replace secretkeeper_comm_nostd->secretkeeper_core_nostd" into main am: 05585eb79a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2863040

Change-Id: I89a7a134c876770bcf3488e722deda27b6d12e9b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-08 17:35:42 +00:00
Treehugger Robot
05585eb79a Merge "Replace secretkeeper_comm_nostd->secretkeeper_core_nostd" into main 2023-12-08 17:17:43 +00:00
Treehugger Robot
f03e555146 Merge "Vendor api level cannot use sdk api level" into main am: 4de610c690
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2865434

Change-Id: I2ecb670320a44594300b002638fb230910d25a93
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-08 17:03:32 +00:00
Treehugger Robot
4de610c690 Merge "Vendor api level cannot use sdk api level" into main 2023-12-08 16:24:15 +00:00
Shikha Panwar
c8a37376cc Create OWNERS file for secretkeeper interface am: 5afbeec13d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2864267

Change-Id: I152ab38acdb953a4976141895fc46c91836db04c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-08 15:24:19 +00:00
Shikha Panwar
3b396ae001 Merge "Secretkeeper VTS: Use trait CborSerializable" into main am: 0b0895a49b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2864533

Change-Id: I613ed270bc2b1dd35ae5b81933b10a367bbe584b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-08 15:23:38 +00:00
Shikha Panwar
5afbeec13d Create OWNERS file for secretkeeper interface
Bug: 291224769
Test: N/A
Change-Id: I650d4e640522876f79ea583cbbddd159776c8955
2023-12-08 15:16:41 +00:00
Shikha Panwar
0b0895a49b Merge "Secretkeeper VTS: Use trait CborSerializable" into main 2023-12-08 14:56:47 +00:00
Shikha Panwar
3f136b2914 Replace secretkeeper_comm_nostd->secretkeeper_core_nostd
Moving SecretkeeperTa struct to secretkeeper_core

Bug: 291224769
Test: Builds
Change-Id: I6f1a7ef08580e2c9383abcb88997a8eb11c6b14a
2023-12-08 13:51:51 +00:00
Justin Yun
31002f5d2e Vendor api level cannot use sdk api level
Update __ANDROID_API_V__ with 202404 for the vendor api level.

Bug: 312798205
Bug: 315246126
Test: atest VtsHalRemotelyProvisionedComponentTargetTest
Change-Id: I0e6ff71e57137e3f6d7e5e5bf082d10026cec2e0
2023-12-08 21:10:37 +09:00
Shikha Panwar
72e99b7604 Secretkeeper VTS: Use trait CborSerializable
With Request/Response packets impl CborSerializable. Use the methods
from those.

Test: atest libsecretkeeper_comm_nostd
Bug: 291228655
Change-Id: Ib0daf9c0aa3417befedbc130725fb3445b327079
2023-12-08 11:37:59 +00:00
Sham Rathod
d0a67fada3 HDMI Connection Fuzzer Fix
Added explicit destructor to HdmiConnectionMock that stops the loop and
join the thread.

Bug: 300674264
Test: android.hardware.tv.hdmi.connection-service_fuzzer
Change-Id: I761ed4b8db5e5312535ecf99be3b490622bf0a8e
2023-12-08 16:37:09 +05:30
Antoine Soulier
a0f647d59f Merge changes from topic "codec_extensibility" into main am: 8024b94e6d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2768609

Change-Id: I4ac2e62fa3843a56c2b4ae22da10be40551a2da0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-08 00:02:18 +00:00
Hongguang Chen
8988050362 Merge "Allow non-zero HCI interface numbers" into main am: 13c04c29cc
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2858605

Change-Id: I82faa19507ff1b284fa92df68d16e2ae3fe2cc52
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-08 00:01:11 +00:00
Antoine Soulier
8024b94e6d Merge changes from topic "codec_extensibility" into main
* changes:
  Codec Extensibility A2DP HAL Reference Implementation
  Codec Extensibility A2DP Specific AIDL
2023-12-07 23:51:48 +00:00
Hongguang Chen
13c04c29cc Merge "Allow non-zero HCI interface numbers" into main 2023-12-07 23:29:23 +00:00
Chienyuan Huang
a9a2717670 Add default implementation for Channel Sounding
Bug: 312865139
Test: m android.hardware.bluetooth.ranging-service.default

Change-Id: I4324693ba6b7d0b6eef171e72acc5e7c30a2f35b
2023-12-07 22:06:26 +00:00
Chienyuan Huang
d74aedc9df Add HAL interface for Channel Sounding
Bug: 310941161
Test: m android.hardware.bluetooth.ranging-update-api
Change-Id: I4b0d103b851c546c9cb7277ae0c828d740367b63
2023-12-07 22:03:25 +00:00
Seth Moore
c3e1e032a9 Merge "Change the way rkp tool obtains serial number" into main am: 40f1230a1d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2861829

Change-Id: I5476c9469ca4378969a5e2acd88785425baf6859
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-07 19:52:59 +00:00
Seth Moore
40f1230a1d Merge "Change the way rkp tool obtains serial number" into main 2023-12-07 19:14:37 +00:00
Alice Kuo
7ee4289ef1 Merge changes from topic "HFP-SCO-management" into main am: f3531c57ea
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2824291

Change-Id: Ibb2bb4bf5bc6c3bd2e0383a09b9b9ab86555bc97
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-07 16:58:01 +00:00
Yuyang Huang
5f3c47778e Add HFP to BluetoothAudioSession am: aa70c11126
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2806338

Change-Id: I4b2d6b9eb954dfb433de5762275ce800d972d9bb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-07 16:57:57 +00:00
Yuyang Huang
0ec3b5a607 Add HFP default implementation am: 91d7f8b916
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2806339

Change-Id: I011c70461c36c910e0fc22ce61946259f0a16b0f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-07 16:57:53 +00:00
Yuyang Huang
fbf5d5c9d7 Add HFP AIDL design am: e50be86fd4
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2774933

Change-Id: I49d95135d541aaae443ab57ff9271c1752e72557
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-07 16:57:49 +00:00
Antoine SOULIER
4e34d05b7b Codec Extensibility A2DP HAL Reference Implementation
Test: m
Bug: 297037759
Change-Id: I84b32c2ef22da8c3e920e497501b9f16feaf803c
2023-12-07 16:51:57 +00:00
Antoine SOULIER
33c4e5a629 Codec Extensibility A2DP Specific AIDL
Test: m
Bug: 297037759
Change-Id: If9a73d2791781ad948ce76b55b9d29f7eba655e4
2023-12-07 16:51:01 +00:00
Alice Kuo
f3531c57ea Merge changes from topic "HFP-SCO-management" into main
* changes:
  Add VTS for HFP sessions
  Add HFP to BluetoothAudioSession
  Add HFP default implementation
  Add HFP AIDL design
2023-12-07 16:20:16 +00:00
chuanchuan.gao
18a9fa99a8 Change the way rkp tool obtains serial number
[Description]
1.Add patch to modify rkp_factory_extraction_tool, so
 that it can meet TV customer's factory product line.
2.Change the method for
rkp_factory_extraction_tool to get the serial number.
3.Introduce a new input parameter, serialno_prop,
to the function jsonEncodeCsrWithBuild.
4.Use the new property of serialno_prop if it is set,
otherwise defaults to "ro.serialno".

Test:
1.build pass
2.AC on/off pass
3.run "rkp_factory_extraction_tool
--output_format build+csr
--serialno_prop $(customer_prop) > csr.json" pass
4.run "rkp_factory_extraction_tool
--output_format build+csr > csr.json" pass
5.VtsHalRemotelyProvisionedComponentTargetTest pass
6.libkeymint_remote_prov_support_test pass
7.VtsAidlKeyMintTargetTest pass

Bug: 313811996
Change-Id: I8aa83bacab22f0a28bc54aea9e816f75a382ffde
2023-12-07 18:23:15 +08:00
David Drysdale
c074a562e3 Merge "Secretkeeper: add AuthGraph key exchange" into main am: 986e92e098
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2824792

Change-Id: I5f6c0773a48b1ce9f911bc689fc32360049f2e88
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-07 07:31:27 +00:00
David Drysdale
986e92e098 Merge "Secretkeeper: add AuthGraph key exchange" into main 2023-12-07 06:56:12 +00:00
Bao Do
7239943cb5 Add VTS for HFP sessions
Contains VTS tests for HFP software encoding / decoding
and HFP hardware sessions.

Bug: 265057196
Test: atest VtsHalBluetoothAudioTargetTest
Change-Id: I4bbdc07a0afa0a889a8cf34019c6685ebd4fa0a0
2023-12-07 05:57:26 +00:00
Yuyang Huang
aa70c11126 Add HFP to BluetoothAudioSession
Test: m .
Bug: 265057196
Change-Id: I0e2e9d0f34ebf3f732c4f2da799c4c30f52bdeef
2023-12-07 05:54:59 +00:00
Yuyang Huang
91d7f8b916 Add HFP default implementation
Bug: 265057196
Test: m android.hardware.bluetooth.audio-update-api
Change-Id: I712eb4db0d776b465436ae54730ad883ecaf40a0
2023-12-07 05:54:59 +00:00
Yuyang Huang
e50be86fd4 Add HFP AIDL design
Bug: 265057196
Test: m android.hardware.bluetooth.audio-update-api
Change-Id: I066c8c0db7516da8709c32558fe3b21ddbd91054
2023-12-07 05:54:58 +00:00
Tom Huang
9a9f9eb4fd Merge "Bluetooth Finder: fix typo android.hardware.bluetooth.finder-service.default" into main am: 2a824c99f5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2861289

Change-Id: Ic32582ff85bbd69e493581db6fc037cadc4dded4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-07 05:16:45 +00:00
Tom Huang
2a824c99f5 Merge "Bluetooth Finder: fix typo android.hardware.bluetooth.finder-service.default" into main 2023-12-07 04:15:37 +00:00
yanggang.yang
c59d2d80ee Allow non-zero HCI interface numbers
[Description]
when driver re-register hci device, it may register hci 1
[Root Cause]
In the kernel mechanism, there may be a timing issue. when driver re-register hci device,kernel may not completely unregister hci 0.But aidl only open hci 0.
[Solution]
assign a value to the hci interface based on the device node found by AIDL

[Test Report]
Insert the bt chip into the usb 2.0 port, and then suspend the TV. The bt chip will be disconnected due to the USB power outage. And then quickly resume the TV,check whether the Bluetooth state is on. Suspend and resume for several times, check for bt state.

Change-Id: I57fd4a22c956e0cf2b4a516247c258493163e51a
BUG: 314149416
2023-12-07 02:07:58 +00:00
Seth Moore
0b79df3f01 Fix incorrect link rendering. am: 0293d63b50
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2861887

Change-Id: Ib013f6c644ec1d8a202b463444dac2b2d71e9324
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-06 17:03:12 +00:00
Seth Moore
0293d63b50 Fix incorrect link rendering.
The MD format was wrong for some RKP-VM links.

Change-Id: I03c9b4c394cbfc9c85b6c5cb3ea3625da2eb09a3
2023-12-06 15:53:19 +00:00
Yi Kong
4eeda91a4a Fix -Wunused-variable compiler warning am: 810d41a774
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2861356

Change-Id: I3383d70ff4387df65a0fdcaf0004061e5ad0c9a0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-06 12:29:41 +00:00