Commit Graph

42836 Commits

Author SHA1 Message Date
Mikhail Naganov
b1f182cbcb Merge changes Ibed7f4c3,I8a9f4f0b
* changes:
  audio: Add pause, resume, and standby stream operations
  audio: Add 'join' method to StreamWorker
2022-11-07 18:33:21 +00:00
Gabriel Biren
38b17aecb3 Add a null pointer check for wifi_chip in am: 4e6349240e am: 26b625704e am: 590248f68e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2279026

Change-Id: Icc25a1b51aaf570a197b2326d562d5388f4dd938
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-05 07:30:58 +00:00
Gabriel Biren
590248f68e Add a null pointer check for wifi_chip in am: 4e6349240e am: 26b625704e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2279026

Change-Id: I3a56d4c73b2c3c40dfb650a32cd431f414b4ba7c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-05 07:13:36 +00:00
Gabriel Biren
26b625704e Add a null pointer check for wifi_chip in am: 4e6349240e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2279026

Change-Id: Ia67f4b0cca7ea6f5f55ce3857fd2c9df3169d4dd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-05 06:45:11 +00:00
Treehugger Robot
a18dea216e Merge "use binder_auto_utils.h ostream" 2022-11-05 00:20:46 +00:00
Steven Moreland
52ed38da36 use binder_auto_utils.h ostream
Bug: N/A
Change-Id: I56f39241b35fc1962baf95f4a5c93aff1cbd705c
Test: N/A
2022-11-04 22:12:02 +00:00
Steven Moreland
4d92497720 boot 'Hidl' test is actually 'Aidl'
Confusing names.

Bug: N/A
Test: N/A
Change-Id: Iaace7aa33dbbda1f390fa6506d76ba5a76a6f377
2022-11-04 22:02:09 +00:00
Devin Moore
1d11ba4cfa Merge "Mark keymint as unfrozen to manage keystore2's imports" 2022-11-04 20:21:26 +00:00
Myles Watson
df485f9f27 Merge "Bluetooth HCI Hal: Initialize has_died_" 2022-11-04 16:45:22 +00:00
Devin Moore
7556e51ce8 Mark keymint as unfrozen to manage keystore2's imports
We are now checking the imports of frozen versions of interfaces and
need mark keystore2 as `frozen: false` so the aidl_interfaces that
import it will import the latest unfrozen version.

Test: hal_implementation_test
Bug: 257338648
Change-Id: Ibcb151abd2fc13e3f7dfbcf515d0f62839d1caf9
2022-11-04 15:31:23 +00:00
Treehugger Robot
c865dedf53 Merge "Fix VTS Fuzz issue" 2022-11-04 03:42:34 +00:00
xiaoshun.xu
1adfae9364 Fix VTS Fuzz issue
[Description]
Fix is designed to fix VTS Fuzz issue,
1. Add null pointer check in bluetooth_hci.cc and
vendor_interface.cc
2. send should return if open is not done;
3. add lock in callback and set new callback

Bug: 247053367
Test:
1. Build Pass
2. Test VTS fuzz pass

Change-Id: I78da5aeb82f9f78b2b4a156196199183ce0dd8f2
2022-11-04 00:55:50 +00:00
Treehugger Robot
c7ae3c24cf Merge "allow BootHidlTest uninstantiated" 2022-11-03 22:35:12 +00:00
Treehugger Robot
d0d6d3bc81 Merge "hardware/interfaces/Bluetooth: Consolidate OWNERS" 2022-11-03 21:55:16 +00:00
Steven Moreland
9624940b40 Merge "Revert "identity - temp interface change"" 2022-11-03 20:38:46 +00:00
Steven Moreland
a0352cd8ed allow BootHidlTest uninstantiated
No instances to test if AIDL HAL is installed instead.

Bug: 257225651
Change-Id: I1cdd3de73c87fd62ad53924107f3df5fa5ff6aa7
Test: N/A
2022-11-03 20:18:53 +00:00
Myles Watson
ad7374c571 hardware/interfaces/Bluetooth: Consolidate OWNERS
Bug: 205758693
Test: Treehugger
Change-Id: I3e3173204ae9b29ab54ab3db9d600a626d44d0db
2022-11-03 10:46:48 -07:00
Myles Watson
8678c75bca Bluetooth HCI Hal: Initialize has_died_
Bug: 205758693
Test: kill Bluetooth
Change-Id: Ia0c844a454524f9cf945c9622fa795dfda12ad3a
2022-11-03 10:44:05 -07:00
Bob Badour
7cde2eee1f [LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces
Added SPDX-license-identifier-Apache-2.0 to:
  bluetooth/aidl/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all
Change-Id: I40e2b864e3ebe3d70dd37c32b2ea7b1c45010c58
2022-11-03 07:03:39 -07:00
Ilya Matyukhin
1497fc86e0 Merge "Add @hide to the keymaster interfaces" 2022-11-03 02:56:24 +00:00
Steven Moreland
737ec297f4 Revert "identity - temp interface change"
This reverts commit d3cedfe83d.

Reason for revert: we have 'frozen bool' support now

Change-Id: Ie7e90b1e7d6501561ea042785d77ab77072e2577
2022-11-03 01:44:43 +00:00
Myles Watson
88150368f8 Merge changes from topic "hci_aidl_hal"
* changes:
  Bluetooth HAL: Add an AIDL default implementation
  Start with async and HCI
  Bluetooth HIDL -> AIDL conversion
2022-11-02 23:47:01 +00:00
Treehugger Robot
e42d6d0bb9 Merge "Remove unused include Util.h." 2022-11-02 18:57:18 +00:00
Treehugger Robot
0ea6e013ef Merge "Update OWNERS" 2022-11-02 18:35:19 +00:00
John Reck
15703c76af Update OWNERS
Remove all subfolder OWNERS in favor of single top-level
Update top-level OWNERS

Fixes: 230785548
Test: n/a

Change-Id: I9e4f4fa7938e31f0caf864836889f8ebb5ca5675
2022-11-02 12:36:41 -04:00
Shunkai Yao
6755d76d9d Use final specifier for all effects implementation classes.
Avoid inherit from effect implementation class, all
implmentations should inherit EffectImpl directly.

Bug: 255361653
Test: atest VtsHalAudioEffectTargetTest
atest VtsHalAudioEffectFactoryTargetTest
atest VtsHalEqualizerTargetTest

Change-Id: I3c3bd990423be21f2c79f0e797d71b2d7f850dca
2022-11-02 00:26:44 +00:00
Ilya Matyukhin
e00ec5d9fc Add @hide to the keymaster interfaces
This change allows the framework to depend on biometric AIDL types, for
example: `android.hardware.keymaster.HardwareAuthToken`.

The dependency can be introduced with a `-java-source` target, for
example: `:android.hardware.keymaster-V4-java-source`.

The "@hide" annotation informs Metalava that these types are not a
public API (not part of the SDK).

Bug: 218388821
Test: m android.hardware.keymaster-update-api
Change-Id: I0da555645f1548ad7124732236054f6e408c43e5
2022-11-01 20:38:02 +00:00
Rachel Lee
c85172b200 Remove unused include Util.h.
Util.h is not used in ComposerServiceWriter so it should not be
included. Otherwise when using ComposerServiceWriter, Util.h is not
found in the local directory.

Bug: 255623263
Test: m
Test: flashall to device

Change-Id: I4ce57b37d6a9a899d114e5ac64d443cfa51d826a
Merged-In: I4ce57b37d6a9a899d114e5ac64d443cfa51d826a
2022-11-01 17:17:11 +00:00
Myles Watson
6d5e77283d Bluetooth HAL: Add an AIDL default implementation
Bug: 205758693
Test: VtsHalBluetoothTargetTest
Change-Id: Ie8839e38448a309f2e6616d852026066b6c6c064
2022-11-01 09:29:23 -07:00
Myles Watson
e4501e549c Start with async and HCI
Bug: 205758693
Test: unit tests
Change-Id: I16a8be44bce5f2d233582ab6db17c30d068fa9c0
2022-11-01 09:29:23 -07:00
Myles Watson
10d29e4934 Bluetooth HIDL -> AIDL conversion
Bug: 205758693
Test: updated vts tests
Change-Id: Iac4d387dba3715d17c63369f392d091e9228333a
2022-11-01 09:29:23 -07:00
Shunkai Yao
6acc2e59f4 Merge changes from topic "aidl_audio_effect_6"
* changes:
  AIDL effect: Add all aosp effects default implementation
  AIDL effect: Add all aosp effect parameters definition
2022-11-01 06:38:22 +00:00
Jooyung Han
bff24b7c52 Merge "Mark android.hardware.drm as an updatable hal" 2022-11-01 02:33:36 +00:00
Treehugger Robot
d63448070c Merge "ir impl point fixes" 2022-10-31 23:33:53 +00:00
Shunkai Yao
6afc855087 AIDL effect: Add all aosp effects default implementation
Bug: 238913361
Test: atest VtsHalAudioEffectTargetTest
atest VtsHalAudioEffectFactoryTargetTest
atest VtsHalEqualizerTargetTest

Change-Id: I6825ba77ae0707f97e852f0faa52ce3486ba2af5
2022-10-31 22:53:57 +00:00
Shunkai Yao
82a6f7a8ad AIDL effect: Add all aosp effect parameters definition
Bug: 238913361
Test: atest VtsHalAudioEffectTargetTest
atest VtsHalAudioEffectFactoryTargetTest
atest VtsHalEqualizerTargetTest

Change-Id: Ice5cac10956c419c04be44f9142b5b2935cacf3b
2022-10-31 22:18:43 +00:00
Shunkai Yao
d437d46999 Merge "AIDL effect: init effect test case with effect factory service." 2022-10-31 22:18:26 +00:00
Gabriel Biren
4e6349240e Add a null pointer check for wifi_chip in
configureChipToSupportIfaceTypeInternal.

Bug: 253411345
Test: atest VtsHalHostapdTargetTest
Change-Id: Ieb6de7311de8d98742e302b35196bee7fa7661ed
(cherry picked from commit b1c2d07e4e)
2022-10-31 22:09:14 +00:00
Steven Moreland
19d780b8d9 ir impl point fixes
Removing UB.

Change-Id: I34b488329facbbcc760b01e72f2cb58945aa040b
2022-10-31 20:43:43 +00:00
Shunkai Yao
464775e777 AIDL effect: init effect test case with effect factory service.
Bug: 255578432
Test: atest VtsHalAudioEffectTargetTest
atest VtsHalAudioEffectFactoryTargetTest
atest VtsHalEqualizerTargetTest

Change-Id: Ib73811c602b5fd8f647ede1033ea62ee65e36a0b
2022-10-31 19:15:35 +00:00
sangweilin
94f687884d [BugFix] open ir hal lib to support aidl ir service
Android T change hidl to aidl for many services, also the ir hal service. We make ir aidl service running with real ir hardware through this patch.

Change-Id: I5bd2fa28b34bec8183ad110639d85e4fc59d8f3f
Signed-off-by: sangweilin <sangweilin@xiaomi.com>
2022-10-31 18:19:14 +00:00
Mikhail Naganov
cce8e5f39d audio: Add pause, resume, and standby stream operations
Clarify and verify in VTS that the data FMQ of StreamDescriptor
is a transient buffer. The consumer must always read its entire
contents. This is the same behavior as in the HIDL HAL.

Define the state machine for streams and the set of commands for
transferring between states.

Clarify and verify in VTS that the frame counter of the
observable position must never be reset.

Implement commands for the synchronous I/O case.

Refactor stream test logic to simplify testing of state
transitions.

Bug: 205884982
Test: atest VtsHalAudioCoreTargetTest
Change-Id: Ibed7f4c3e77852863714f1910112f664b32d5897
2022-10-28 20:58:10 +00:00
Tri Vo
73cb8af65e Merge "Add TEST_MAPPING config" 2022-10-28 19:03:57 +00:00
Jooyung Han
91c09a4dd4 Mark android.hardware.drm as an updatable hal
As widevine impl has been moved to an updatable APEX.

Bug: 248142818
Bug: 243333942
Test: check-vintf-all
Merged-In: I2e8ea011af8dbcc8d6eb55236c039795851ad9b7
Change-Id: I2e8ea011af8dbcc8d6eb55236c039795851ad9b7
(cherry picked from commit ca78b7a817)
2022-10-28 09:12:20 +09:00
Tri Vo
269057bd78 Add TEST_MAPPING config
Test: atest VtsHalRemotelyProvisionedComponentTargetTest
Change-Id: Ia190f6c91a4312cc06a525fcbe0e2c5ba6975013
2022-10-27 15:10:17 -07:00
Yu Shan
1b66644304 Update README for TestWakeupClientServer.
Change-Id: I6893bcacc32bbfe33646d19599301be6d8aa6b61
Test: Locally follow instruction.
Bug: 255623880
2022-10-27 14:22:20 -07:00
Yu Shan
362e18c978 Merge changes from topic "remoteaccess_hal"
* changes:
  Add INFO_VIN in reference VHAL.
  Add remote access HAL interface and ref impl.
2022-10-27 21:13:47 +00:00
Bob Badour
98a3fb2faa [LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces
Added SPDX-license-identifier-Apache-2.0 to:
  cas/aidl/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all
Change-Id: I879d651dc3d1303fcb25007cc5875d8ada76de06
2022-10-27 07:35:03 -07:00
Treehugger Robot
3af260df94 Merge "Enable java backend for IDumpstateDevice HAL" 2022-10-27 05:31:44 +00:00
Steven Moreland
7b75d4bd66 Merge "identity - temp interface change" 2022-10-27 00:53:00 +00:00