Commit graph

34468 commits

Author SHA1 Message Date
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
Michael Butler
77414ebf5a Fix NNAPI HIDL 1.3 VTS MemoryDomainExecutionTest
MemoryDomainTests.cpp#1131 in aosp/13591469 fixed a problem with
VtsHalNeuralnetworksTargetTest's MemoryDomainExecutionTest's
InvalidDimensions test where a dimension was doubled but the number of
bytes and size of shared memory did not double, but this change was not
ported to VtsHalNeuralnetworksV1_3TargetTest. This CL ports that fix to
VtsHalNeuralnetworksV1_3TargetTest.

Bug: 213197824
Test: mma
Test: VtsHalNeuralnetworksV1_3TargetTest
Change-Id: Ib7323e584c17ab230bde71487c0b94349701ec57
2022-01-04 21:21:17 +00:00
Steven Moreland
a049eb0faf Remove separate_platform_variant entries.
This no longer does anything.

Bug: 161456198
Test: build
Change-Id: If7ca08cc1d7a829c637e1ea8254eed6361be0490
2022-01-04 18:22:44 +00:00
Michael Butler
fb43bf28c9 Update NNAPI owners file
This change includes the NNAPI_OWNERS file from
packages/modules/NeuralNetworks instead of unnecessarily duplicating the
OWNERS file here.

Bug: N/A
Test: mma
Change-Id: I52daeb8f6ba91e0ec19b18fa9a6b2eda2fcb124e
2022-01-04 09:45:05 -08:00
Sarah Chin
3d7d0d2926 Merge "Add TrafficDescriptor to DataProfileInfo" 2022-01-04 17:27:40 +00:00
Alice Kuo
4831b6ac72 Cleanup: remove LE audio hardware offload supported by openProvider_2_1
LE audio hardware offload would be supported after the temporal bluetooth.audio@2.2 or bluetooth.audio aidl version. The workable audio configuration and capabilities format do not exist in bluetooth.audio@2.1. Remove the support in the 2.1 HAL default implementation.

Bug: 197296692
Bug: 150670922
Test: make build
Change-Id: I6ff3f6ada43474cadb026bf8b58d64adaf5ea477
2022-01-04 05:21:20 +00:00
Alice Kuo
3f9f41f3c8 Add audio configuration API and the callback function for bluetooth.audo@2.2
For LE audio hardware offload
1. Add the function to update audio configuration without session
restart
2. Add a callback to notify the audio HAL the audio configuration
changed

Bug: 197296692
Bug: 150670922
Test: HAL 2.1/2.2 work for A2DP software/hardware media, and LE audio
software media/voip call

Change-Id: I8b01ec8dfc9d9cd552770c8c734319a685ee626b
2022-01-03 14:31:00 +00:00
Nathan Harold
5dad8ffb50 UsageSetting Compat Stubs
Bug: 210023167
Test: make android.hardware.radio-library.compat
Merged-In: Iea5e016878f375608a167ad0fdc232fd2e743fa6
Change-Id: Iea5e016878f375608a167ad0fdc232fd2e743fa6
(cherry picked from commit 055c02fcfb)
2021-12-29 09:43:13 -08:00
Nathan Harold
ead01a029d Add UsageSetting to IRadioNetwork
Add usage setting to IRadioNetwork(Response) and the associated
enum.

Expose the cellular usage setting to Android to be able to query and
set the modem to operate in a data-centric mode or a voice-centric
mode.
This facilitates "companion" subscriptions that might be data-only and
allows voice-centric devices to operate in data-centric mode on networks
that do not support voice service.

Bug: 210023167
Test: compilation
Merged-In: I61b559589a51d139374dc52599201b6412d93da5
Change-Id: I61b559589a51d139374dc52599201b6412d93da5
(cherry picked from commit 3e777942d8)
2021-12-29 09:43:02 -08:00
Sarah Chin
02d2df7135 Merge "Add new fields to DataProfile" 2021-12-28 23:06:10 +00:00
Treehugger Robot
d563e5bc9e Merge "Get default provider codec from HAL" 2021-12-28 05:44:17 +00:00
Sarah Chin
d2a4119e2a VTS for IRadio AIDL
Test: build
Bug: 1932997
Change-Id: Ia2fa0df840ff26b4e58d9e44567909815fb5edf5
Merged-In: I4ee665519bfd2fc818fb68beee1f158b10e46176
2021-12-23 17:33:03 -08:00
Sarah Chin
e98dd0e943 Add TrafficDescriptor to DataProfileInfo
Test: build
Bug: 208651109
Change-Id: Ic5e5edab9be1087044e1a303735a59a4cef8ee89
Merged-In: Ic5e5edab9be1087044e1a303735a59a4cef8ee89
2021-12-23 17:30:36 -08:00