Commit graph

27665 commits

Author SHA1 Message Date
Shawn Willden
421806ad79 Merge "Add performOperation stub." am: 4411dc963c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1596937

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I22425bcd737918b337483d0756e3e251a4061b51
2021-03-03 22:00:01 +00:00
Shawn Willden
4411dc963c Merge "Add performOperation stub." 2021-03-03 21:28:32 +00:00
Treehugger Robot
a40f50ddc0 Merge "audio: Verify that VTS tests can work with vendor extensions" am: a8b93afc00
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1612588

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I3c7849b16ecaff6a0b5b3e1f99e879dd2ce0c951
2021-03-03 20:17:13 +00:00
Treehugger Robot
a8b93afc00 Merge "audio: Verify that VTS tests can work with vendor extensions" 2021-03-03 19:59:01 +00:00
Sarah Chin
a6ce4c80e8 Merge "API updates for TrafficDescriptr fields" am: c2ccef2e2a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1593911

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I3870099c000a3efc0ae85a5db081dd6f8a4f6651
2021-03-03 18:59:57 +00:00
Sarah Chin
c2ccef2e2a Merge "API updates for TrafficDescriptr fields" 2021-03-03 18:42:20 +00:00
Treehugger Robot
37961ff47c Merge "Memtrack HAL: Update documentation" am: 620ad1ca3f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1611823

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I5234b508cae8d55b22852e53063d8f53b49580ec
2021-03-03 18:30:12 +00:00
Treehugger Robot
620ad1ca3f Merge "Memtrack HAL: Update documentation" 2021-03-03 17:38:40 +00:00
Andy Hung
92372dc28d Merge "Add fields related to active audio presentation rendering" am: 947b82bee2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1591515

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I836853ebcb42b761af13f658f8b6f50857cea33e
2021-03-03 03:08:50 +00:00
Andy Hung
947b82bee2 Merge "Add fields related to active audio presentation rendering" 2021-03-03 02:37:13 +00:00
Sarah Chin
912e6062ab API updates for TrafficDescriptr fields
Bug: 179312227
Test: atest VtsHalRadioV1_6TargetTest
Change-Id: I33018ad413875f4fae1497ed5acc8ee50df7c942
Merged-In: I33018ad413875f4fae1497ed5acc8ee50df7c942
2021-03-02 17:28:10 -08:00
Kalesh Singh
d02d2c4060 Memtrack HAL: Update documentation
Detail what is expected to be returned by the different memtrack types.

Add what the device name is expected to be in getGpuDeviceInfo()

Bug: 181704406
Test: N/A
Change-Id: I5e9fe0bf5e630a8a0ec8394fa4f508657e4a56a7
2021-03-02 19:39:27 -05:00
Treehugger Robot
8138ebc7c0 Merge "Add VtsHalNeuralnetworksTargetTest to NNAPI test mapping" am: 5ae082aad5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1612122

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I7c6076cb3a40db45f26e7ac6a9371509b2a1ea31
2021-03-03 00:14:54 +00:00
Sarah Chin
b19025ad86 Merge changes from topics "5g_slicing_hal_vts_on_aosp_1st_part", "5g_slicing_hal_vts_on_aosp_2nd_part" am: 3c24b7500a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1579886

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ic109a7d20174081381253ad69d5628af11911fbf
2021-03-02 23:39:37 +00:00
Hongbo Zeng
6bd59033fb Update HAL 1.6 for 5G Slicing am: 55487e1e79
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1579885

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I10efed450df99d35e7f7ff312e846b37d76d64d1
2021-03-02 23:38:19 +00:00
Treehugger Robot
5ae082aad5 Merge "Add VtsHalNeuralnetworksTargetTest to NNAPI test mapping" 2021-03-02 23:22:29 +00:00
Sarah Chin
3c24b7500a Merge changes from topics "5g_slicing_hal_vts_on_aosp_1st_part", "5g_slicing_hal_vts_on_aosp_2nd_part"
* changes:
  Support SlicingConfig for 5G Slicing Configuration
  Update HAL 1.6 for 5G Slicing
2021-03-02 22:56:06 +00:00
Mikhail Naganov
8ebfba6589 audio: Verify that VTS tests can work with vendor extensions
Vendors can have vendor-extended device types and
audio formats supported by their HALs and frameworks.
VTS tests are built using AOSP sources, thus they don't
have these vendor modifications. Ensure that VTS tests
behave correctly when dealing with audio policy manager
configurations that contain vendor extensions.

Since verifying this behavior requires using specially
crafted APM configs, verification is done using
unit tests.

Test: atest HalAudioV6_0GeneratorTest
Test: atest HalAudioV7_0GeneratorTest
Change-Id: I9dc1a18863418a8fbd7d1dc14abc844fd9060ca5
2021-03-02 13:16:59 -08:00
Lev Proleev
81dbdb3196 Add VtsHalNeuralnetworksTargetTest to NNAPI test mapping
Bug: 172921927
Test: presubmit on cuttlefish
Change-Id: Ia59446246bef2a41912a6b0c9d11abd125e8d913
Merged-In: Ia59446246bef2a41912a6b0c9d11abd125e8d913
(cherry picked from commit 3665d245ad)
2021-03-02 17:40:39 +00:00
Treehugger Robot
6ee1f2d8f2 Merge "Explictly disallow LTE_CA as a RAT type" am: 81fcfa6295
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1611604

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I6eee7a4b0960b767b6620c8b93dc252422c42f25
2021-03-02 02:23:51 +00:00
Treehugger Robot
aff567a81f Merge "[automotive] Use new jsoncpp API" am: 3d22587ce7
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1608216

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I394fb59c7622b8df164b74b713d568f0fb2c3be6
2021-03-02 02:23:38 +00:00
Jooyung Han
78a02a2f4e Merge "neuralnetworks: fix out ParcelFileDescriptor" am: 1f37668552
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1607935

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I908a225032724c68c7392bcf0b505ee120423c19
2021-03-02 02:22:56 +00:00
Treehugger Robot
81fcfa6295 Merge "Explictly disallow LTE_CA as a RAT type" 2021-03-02 02:20:37 +00:00
Treehugger Robot
3d22587ce7 Merge "[automotive] Use new jsoncpp API" 2021-03-02 02:17:58 +00:00
Jooyung Han
1f37668552 Merge "neuralnetworks: fix out ParcelFileDescriptor" 2021-03-02 01:48:31 +00:00
Treehugger Robot
7541cff95f Merge "Fix VTS issue of BroadcastRadio v2.0" am: a66dbdefb5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1611313

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I3e9b7fe91c5a8d05ab9d77f8f43d1e0468a2a449
2021-03-02 01:09:02 +00:00
Bill Richardson
64e8e72963 Fix segfault in EncryptionOperationsTest.RsaPkcs1Success am: 478715818f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1607102

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I8e18c84d8bf699f6a6980d83aa3fd5f3859859c5
2021-03-02 00:52:26 +00:00
Treehugger Robot
a66dbdefb5 Merge "Fix VTS issue of BroadcastRadio v2.0" 2021-03-02 00:28:59 +00:00
Haibo Huang
0684d40451 [automotive] Use new jsoncpp API
Reader / StyledWriter are deprecated upstream

Bug: 170642246
Change-Id: I9d2a764261e2124a4e99e065446b4946305a914d
2021-03-01 23:08:54 +00:00
Bill Richardson
478715818f Fix segfault in EncryptionOperationsTest.RsaPkcs1Success
This test tries to modify an encrypted message to ensure that the
result can't be decrypted, but if encrypting the messsage fails
first then there's nothing to modify.

Bug: None
Test: Ran against a Strongbox implementation that refuses to
      encrypt the message using Digest::NONE
Signed-off-by: Bill Richardson <wfrichar@google.com>
Change-Id: Ib4d389a47702edd56a4e7d2b334dc89d0c3972a1
2021-03-01 19:50:36 +00:00
Grzegorz Kołodziejczyk
b7e7872798 audio: Implement GetAudioConfig for HAL 2.1 am: 0b12cea833
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1608076

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I3c9b14bd71544f906e701088032c6df404d99597
2021-03-01 19:29:35 +00:00
Grzegorz Kołodziejczyk
0b12cea833 audio: Implement GetAudioConfig for HAL 2.1
This adds implementation for getting HAL 2.1 audio configuration.

Bug: 150670922
Tag: #feature
Test: vts-tradefed run vts -m VtsHalBluetoothAudioV2_1TargetTest
Sponsor: jpawlowski@
Change-Id: I12bbd0b9219e4d6f8328fd514536ce9ee477b757
2021-03-01 17:52:47 +00:00
Treehugger Robot
1832a8ce78 Merge "[LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces" am: 19bca8173e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1611737

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I74a50fd20b87720bcb0d6598178213de8a7ada6b
2021-03-01 16:55:08 +00:00
Treehugger Robot
19bca8173e Merge "[LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces" 2021-03-01 16:34:26 +00:00
Shawn Willden
d659c7c181 Add performOperation stub.
Test: VtsAidlKeyMintTargetTest
Change-Id: I3689fd2993941343c6b9ba503fbe56153742fb3e
2021-03-01 09:29:39 -07:00
Przemyslaw Szczepaniak
20692ef8f3 Merge "Make com.android.common visible by neuralnetworks apex." am: d8541611d7
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1584983

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Id9bf4cc9ec843e0ed390418da61632e000a7782e
2021-03-01 13:27:21 +00:00
Grzegorz Kołodziejczyk
81624c5ef7 audio: Implement OnSessionStarted for HAL 2.1 am: a80a851ada
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1608075

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iaf09a2e7091419095d27d373e53c01824c064a63
2021-03-01 13:25:44 +00:00
Przemyslaw Szczepaniak
d8541611d7 Merge "Make com.android.common visible by neuralnetworks apex." 2021-03-01 13:08:57 +00:00
Grzegorz Kołodziejczyk
a80a851ada audio: Implement OnSessionStarted for HAL 2.1
Patch implements OnSessionStarted for HAL 2.1.
Bug:
Tag: #feature
Test: vts-tradefed run vts -m VtsHalBluetoothAudioV2_1TargetTest
Sponsor: jpawlowski@
Change-Id: Ide76fe59c323726ae98e6311f7360eb733c1c7cc

Change-Id: I84302cf653ffebcba3b4c875f6a156293d8dae75
2021-03-01 11:38:03 +00:00
Bob Badour
74562e70c5 [LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces
Added SPDX-license-identifier-Apache-2.0 to:
  automotive/audiocontrol/1.0/default/test/fuzzer/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all

Exempt-From-Owner-Approval: janitorial work
Change-Id: I0c2349dd06447d33d83df22601c4c410569ec348
2021-03-01 00:33:35 -08:00
Treehugger Robot
368514dadb Merge "[LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces" am: be9a813aec
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1609853

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: If18db45066563d76988ad2eb51d82529a4fc26c3
2021-03-01 05:00:53 +00:00
Treehugger Robot
be9a813aec Merge "[LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces" 2021-03-01 04:00:19 +00:00
Abhishek Katti
c52f06e4af Add fields related to active audio presentation rendering
Update IStreamOutEventCallback.hal interface with respective keys for
audio presentation, which are defined as part of AudioMetadata
interface.

Change-Id: I8941e71c682408cb36d0e3725df093f50a4d5fcb
2021-03-01 09:01:30 +11:00
Jack Yu
6c012ab219 Explictly disallow LTE_CA as a RAT type
LTE_CA is not an actual RAT type defined by 3GPP spec. Vendor
should use the proper APIs to report carrier aggregation.

Fix: 181385251
Test: Build
Change-Id: I72cd8dade73470e7315a21e32fff72b93c08f1f7
2021-02-27 00:44:45 -08:00
Paul Crowley
85664af623 Merge "Add MAX_BOOT_LEVEL tag, BOOT_LEVEL_EXCEEDED error" am: b79f2a807c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1565073

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I6d33ebcb236d71a3cc2d166b71adbf0140c1fc40
2021-02-27 07:25:37 +00:00
Paul Crowley
b79f2a807c Merge "Add MAX_BOOT_LEVEL tag, BOOT_LEVEL_EXCEEDED error" 2021-02-27 05:05:50 +00:00
Treehugger Robot
0319a9bb17 Merge "audio: Introduce read PCM from FMQ session functionality" am: 1ab703d2da
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1589975

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I62ea81530ed5822266493bdc02bb0c23493fdfae
2021-02-27 01:10:06 +00:00
hyewon.eum
96b542d6c8 Fix VTS issue of BroadcastRadio v2.0
1. This is a patch to fix a problem that occurs when running VTS on a system composed of multiple modules such as amfm and dab.
In the case of dab, most of the OEM requirements do not include the seek function, so it may not be supported.
Even if it is supported, a problem may occur because the test case for dab tune does not exist before the seek test case.

2. To correct this, a dab tune test case has been added to the VTS code,
and in the case of a system that does not support dab seek, the seek test case has been modified to be processed as skip.

Bug: 173174410
Signed-off-by : Hyewon Eum <hyewon.eum@lge.com>

Change-Id: I28b1406a26fa66bcf972a6efd42ee76a55bae374
(cherry picked from commit 20eb57563b)
2021-02-27 00:28:52 +00:00
Treehugger Robot
1ab703d2da Merge "audio: Introduce read PCM from FMQ session functionality" 2021-02-27 00:13:15 +00:00
Christopher Di Bella
300005809b Merge "follows the advice of -Wsign-compare" am: 06ea5f150a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1606916

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I1e04ec3fd24d2efaad0db57e15f671bd001363a6
2021-02-26 23:32:52 +00:00