Commit graph

34631 commits

Author SHA1 Message Date
Changyeon Jo
becb08fac0 Update EVS OWNERS
Bug: 214143406
Test: Gerrit uploader
Change-Id: Ief6351e9609ce11dd85dca815b6833524fead0c7
2022-01-12 06:34:15 +00:00
Michael Butler
534556391a Create NN AIDL adapter
This change adds the following adapters:
* nn::IDevice -> BnDevice
* nn::IPreparedModel -> BnPreparedModel
* nn::IBurst -> BnBurst
* nn::IBuffer -> BnBuffer

Bug: N/A
Test: mma
Test: locally created a binderized service with this adapter code,
      which passed VtsHalNeuralnetworksTargetTest
Change-Id: I966f65a1e4d75284c050b77f3f40c515e4970130
2022-01-11 22:23:31 -08:00
Treehugger Robot
74a84f8446 Merge "Update IConsumerIr method comments and add units to parameter" 2022-01-12 01:16:20 +00:00
Treehugger Robot
f4a4ab1ca6 Merge "bluetooth.audio pass both source and sink metadata" 2022-01-12 00:48:30 +00:00
Gabriel Biren
cc7409e8f9 Allow VTS tests to pass on devices without Supplicant AIDL.
Bug: 212653303
Bug: 212652735
Bug: 212652340
Test: Run VTS tests on an AOSP build (since AOSP
       is still using the HIDL interface).
Change-Id: I442efb35c4c68a1337cacc952c3fdb338ef2615d
2022-01-12 00:46:38 +00:00
Janis Danisevskis
37f1609ed5 DICE: Use fixed sized arrays for fixed sized fields.
Bug: 210149444
Test: N/A
Change-Id: I1d4e502cb6535117f51d2d0ce008f2669fc90e96
2022-01-11 11:06:35 -08:00
Josh Wu
1bc606fafe BT: Support LC3 over A2DP
Test: m android.hardware.bluetooth.audio-update-api
Bug: 211589164
Change-Id: Ib2efd9b5af71fa0188edb85b13cf031710b6fe21
2022-01-11 03:28:18 -08:00
Alice Kuo
60b00151bd Add le audio capabilities and audio config update supported in aidl
Bug: 203490261
Bug: 150670922
Test: m android.hardware.bluetooth.audio-update-api
Change-Id: I035aad6ee6f6ac0833d9716b50323620ce6df34b
2022-01-11 03:28:16 -08:00
Jakub Pawlowski
0f5c11d965 bluetooth.audio pass both source and sink metadata
Currently just source metadata is passed through the new aidl.

Test: m android.hardware.bluetooth.audio-update-api
Bug: 203490261
Bug: 150670922
Change-Id: I76a44bb8c5cb0b6c16845aca36ba93517ecd07b4
Merged-In: I76a44bb8c5cb0b6c16845aca36ba93517ecd07b4
2022-01-11 05:41:04 +00:00
Kedar Chitnis
d8f9af28ee Merge "Fix dumpstate AIDL interface API comments" 2022-01-11 04:14:46 +00:00
Treehugger Robot
1303d913f3 Merge "Prepares android.hardware.wifi@1.0-service" 2022-01-11 01:35:49 +00:00
Treehugger Robot
cbb51b15fe Merge "Enable MS OS descriptors for adb." 2022-01-10 22:41:11 +00:00
David Zeuthen
1eb12b2972 identity: Add multi-document presentation support.
This new IPresentationSession interface enables an application to do a
multi-document presentation, something which isn't possible with the
existing API. As a practical example of this consider presenting both
your Mobile Driving License and your Vaccination Certificate in a single
transaction.

Bug: 197965513
Test: New CTS tests and new screen in CtsVerifier
Change-Id: I11712dca35df7f1224debf454731bc17ea9bfb37
2022-01-10 15:12:33 -05:00
Devin Moore
4811381f3e Update IConsumerIr method comments and add units to parameter
Test: atest ConsumerIrTest VtsHalIrTargetTest hal_implementation_test
Bug: 213468221
Change-Id: Ied20fec1a522e3757fbbc9ec60812b6805acd0f5
2022-01-10 17:46:47 +00:00
David Gross
f914da59a6 Merge "FL7: Refine MIRROR_PAD specification" 2022-01-10 17:11:26 +00:00
Kedar Chitnis
d1f6dea042 Fix dumpstate AIDL interface API comments
Bug: 213475867
Test: Build test
Change-Id: I12b6f6a5edb732a5ec6d76da7c54998079054ca1
2022-01-10 12:38:49 +00:00
David Gross
4718025a6c FL7: Refine MIRROR_PAD specification
Test: N/A

Bug: 202280925
Change-Id: If19d45d806f6ba33f9aa6c7af9bc411957cdc706
2022-01-07 14:56:03 -08:00
Steven Moreland
738d3d5950 remove libbinder_ndk_host_user
no longer needed

Bug: 211908498
Test: build
Change-Id: Iadffdf1d7759e32986c4e0e28acb2087d9f27ab0
2022-01-07 22:18:58 +00:00
Treehugger Robot
e0a7d60db0 Merge "Add new aidl interface for android.hardware.bluetooth.audio" 2022-01-07 13:07:25 +00:00
Treehugger Robot
f96d2ef9b6 Merge "audio: Add AIDL definitions for Playback/RecordTrackMetadata" 2022-01-07 13:07:11 +00:00
Treehugger Robot
f1605faea0 Merge "Update HAL structure to include offload capability for broadcast" 2022-01-07 09:05:45 +00:00
Treehugger Robot
2d63764c34 Merge "Verify op_ is not a nullptr" 2022-01-07 06:35:30 +00:00
Treehugger Robot
782706bd09 Merge "[LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces" 2022-01-07 01:29:39 +00:00
Brian J Murray
eabd9d6d2a Verify op_ is not a nullptr
If op_ is a nullptr, the test runner can SIGSEGV.

Test: manual, atest EncryptionOperationsTest#TripleDesCbcPkcs7PaddingCorrupted
Bug: None

Signed-off-by: Brian J Murray <brianjmurray@google.com>
Change-Id: Ibdd6139952ca8bc83ac1a82202839feee39562e1
2022-01-06 15:26:16 -08:00
Sarah Chin
fd593414cd Merge changes Ic82ffd2f,I29632003
* changes:
  Finish IRadio 1.6/IRadioConfig 1.3 AIDL VTS
  Convert hidl_bitfield and bitfield to int
2022-01-06 21:52:35 +00:00
Patty
2e64b4d9f6 Update HAL structure to include offload capability for broadcast
Bug: 205806028
Bug: 150670922
Test: make build
Change-Id: Ife4a3585474999855ffb04f3946462a137fdc181
2022-01-07 00:19:53 +08:00
Alice Kuo
a4dbaffaec Add new aidl interface for android.hardware.bluetooth.audio
Bug: 203490261
Test: m android.hardware.bluetooth.audio-update-api

Change-Id: Ida6d664b2c3eedfb4c3abaece7c3540623c72270
Merged-In: Ida6d664b2c3eedfb4c3abaece7c3540623c72270
2022-01-06 07:26:18 +00:00
Josh Wu
73cddd17b5 audio: Add AIDL definitions for Playback/RecordTrackMetadata
This is a temporary change for unblocking Bluetooth
audio AIDL development. When Audio AIDL gets
released officially, it should be overwritten.

Bug: 198812639
Test: m android.hardware.audio.common
Test: m check-vintf-all
Change-Id: Ia63135da4af4682e471e7de6b191b19e7a326a1e
Merged-In: I7064c3819d4c8e61981542ca2ccc52ca992a4ef8
2022-01-06 06:32:36 +00:00
Tomasz Wasilczyk
e807d37229 Port ID is always 0 for HIDL HAL.
Bug: 203699028
Test: Build and boot Cuttlefish
Change-Id: Ie948537d63a68e1c9e6c99422b4868e86dee9de9
2022-01-06 03:25:49 +00:00
Tomasz Wasilczyk
9c922979d2 Fix minor TODOs in HIDL-AIDL translation shim
Bug: 203699028
Bug: 210498497
Test: build and boot Cuttlefish
Change-Id: I82dd52f313b5768cfccf0d6a7705b28dfcff24fa
2022-01-06 03:25:37 +00:00
Yifan Hong
fab263ceae health: Add libhealth_aidl_impl_user.
This is the defaults for users of libhealth_aidl_impl.

Test: builds
Bug: 213273090
Change-Id: Iddcc0a0bc194f337c5e9a632ea2468140804a30a
2022-01-05 14:47:53 -08:00
Sarah Chin
91997ac089 Finish IRadio 1.6/IRadioConfig 1.3 AIDL VTS
Implement IRadioConfig VTS and helper methods
Verify that VtsHalRadioTargetTest passes

Bug: 210712359
Test: atest VtsHalRadioTargetTest
Change-Id: Ic82ffd2feacc107e9b291ef3aab861d0c1496489
Merged-In: Ic82ffd2feacc107e9b291ef3aab861d0c1496489
2022-01-05 14:29:35 -08:00
Sarah Chin
c9d3b7b9d6 Convert hidl_bitfield and bitfield to int
The previous API surface replaced bitfields of enums with the enum,
which only allows one value at a time. Instead of using the enum,
replace with int instead.

Test: build
Bug: 210712359
Change-Id: I2963200311494718ae89af8deade0b1dd41354f8
Merged-In: I2963200311494718ae89af8deade0b1dd41354f8
2022-01-05 14:28:57 -08:00
Tomasz Wasilczyk
bf3f93bbf4 Merge changes Iac870a24,I74afe105,I7db17475,I1e0cd95f
* changes:
  Move Radio HAL compat shim logs to radio buffer
  Set HAL response functions after framework sets all of theirs.
  Use most recent available HAL methods.
  Use AIDL callbacks directly.
2022-01-05 22:22:35 +00:00
Chen Xu
93cb928676 Merge "HAL doc: iccOpenLogicalChannel for MEP-A" 2022-01-05 22:14:08 +00:00
Sarah Chin
a371db6531 Merge "VTS for IRadio AIDL" 2022-01-05 21:02:29 +00:00
Tomasz Wasilczyk
6155d5f969 Move Radio HAL compat shim logs to radio buffer
Test: adb logcat -b radio | grep -i radiocompat
Change-Id: Iac870a24d619db8a86ce91029f25c50ef862a268
Merged-In: Iac870a24d619db8a86ce91029f25c50ef862a268
2022-01-05 12:38:46 -08:00
Tomasz Wasilczyk
963a56f74e Set HAL response functions after framework sets all of theirs.
Bug: 207695009
Test: Build with ag/16322062 and a handful of patches from b/207695009,
      try to use telephony stack
Change-Id: I74afe105a22a24efa0c38de20c75beffc58b144f
Merged-In: I74afe105a22a24efa0c38de20c75beffc58b144f
2022-01-05 12:38:39 -08:00
Tomasz Wasilczyk
571542b4be Use most recent available HAL methods.
Bug: 207695009
Test: Build with ag/16322062 and a handful of patches from b/207695009,
      try to use telephony stack
Change-Id: I7db1747550493a634290a968e3f5bbada66f322f
Merged-In: I7db1747550493a634290a968e3f5bbada66f322f
2022-01-05 12:38:30 -08:00
Tomasz Wasilczyk
60638572b2 Use AIDL callbacks directly.
Bug: 210498497
Test: build cuttlefish with ag/16322062, watch logs
Change-Id: I1e0cd95f5f9a911564d14be2d8bbb328572de8c8
Merged-In: I1e0cd95f5f9a911564d14be2d8bbb328572de8c8
2022-01-05 12:38:20 -08:00
Sarah Chin
932926691a Merge changes from topic "usage-setting-hal"
* changes:
  UsageSetting Compat Stubs
  Add UsageSetting to IRadioNetwork
2022-01-05 20:06:19 +00:00
Bob Badour
6acef468cc [LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces
Added SPDX-license-identifier-Apache-2.0 to:
  ir/aidl/Android.bp
  ir/aidl/default/Android.bp
  wifi/supplicant/aidl/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all
Change-Id: I6796bb068122811520f911c0376b7f6caecf471c
2022-01-05 11:14:10 -08:00
Michael Butler
69e8cc44f4 Merge "Update NNAPI owners file" 2022-01-05 18:24:13 +00:00
Chen Xu
fad941adfd Merge "HAL docuement: clarify iccSlotStatus when sim state absent or error." 2022-01-05 17:54:40 +00:00
Chen Xu
4b55679d39 HAL doc: iccOpenLogicalChannel for MEP-A
Bug: 206348634
Test: Build
Change-Id: I6d3bb5adb6d08add642468936abbab90edaed983
2022-01-05 06:34:57 +00:00
Sundong Ahn
c5ec034276 Prepares android.hardware.wifi@1.0-service
Prepares android.hardware.wifi@1.0-service for use by a wifi HAL vendor APEX.
- Creates a cc_defaults with soong config vars for @1.0-service and
  @1.0-service lib that customized implementations can override.

Bug: 205065320
Test: m -j with mac80211_hwsim vendor APEX on Cuttlefish
Test: Connect to wifi
Change-Id: I5827ed1ceb9be8278a54fd828249bf8e549fb950
Merged-In: I5827ed1ceb9be8278a54fd828249bf8e549fb950
2022-01-05 05:07:37 +00:00
Treehugger Robot
e944c8538f Merge "Add audio configuration API and the callback function for bluetooth.audo@2.2" 2022-01-05 02:27:59 +00:00
Chen Xu
7aca942e8a HAL docuement: clarify iccSlotStatus when sim state absent or error.
Bug: 206348634
Test: Build
Change-Id: Iceb33ea876ce675d286806971c76f704e415edc2
2022-01-04 16:57:55 -08:00
Treehugger Robot
b095f01b1a Merge "Cleanup: remove LE audio hardware offload supported by openProvider_2_1" 2022-01-04 22:54:00 +00:00
Michael Butler
97a7435d5f Merge "Fix NNAPI HIDL 1.3 VTS MemoryDomainExecutionTest" 2022-01-04 21:22:20 +00:00