Commit Graph

27209 Commits

Author SHA1 Message Date
Andy Hung
947b82bee2 Merge "Add fields related to active audio presentation rendering" 2021-03-03 02:37:13 +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
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
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
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
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
19bca8173e Merge "[LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces" 2021-03-01 16:34:26 +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
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
b79f2a807c Merge "Add MAX_BOOT_LEVEL tag, BOOT_LEVEL_EXCEEDED error" 2021-02-27 05:05:50 +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
06ea5f150a Merge "follows the advice of -Wsign-compare" 2021-02-26 22:59:07 +00:00
Paul Crowley
5d30131709 Add MAX_BOOT_LEVEL tag, BOOT_LEVEL_EXCEEDED error
A key with the MAX_BOOT_LEVEL tag cannot be used past a particular
stage of device boot.

Test: Treehugger
Bug: 176450483
Change-Id: I113e3101734736a8621a01ed85969a4ecbe12a68
2021-02-26 14:33:46 -08:00
Grzegorz Kołodziejczyk
ac6927f0b7 audio: Introduce read PCM from FMQ session functionality
This is required for audio input direction HAL session support.

Bug:
Tag: #feature
Test: vts-tradefed run vts -m VtsHalBluetoothAudioV2_1TargetTest
Sponsor: jpawlowski@
Change-Id: I3cd25f4af0c5c16074b17dd128de95dd53978379
2021-02-26 21:56:10 +00:00
Przemysław Szczepaniak
a8d6fcff16 Make com.android.common visible by neuralnetworks apex.
Test: build image
Bug: 172925288
Change-Id: Iea4403096c94731a3c8f4475386160d8b22031d4
2021-02-26 21:26:31 +00:00
Rambo Wang
64f7fc8dde Merge "Format all Android.bp files with bpfmt to pass bpfmt buildin hook" 2021-02-26 20:57:53 +00:00
Jakub Pawlowski
ff9deb484c Add OWNERS file to bluetooth/audio/utils
Bug: N/A
Test: N/A
Change-Id: Ic0e7b76d7e96251555e05d5829bcd603877b6d14
2021-02-26 20:43:42 +00:00
Kris Alder
e33bc952cf Merge "Added vehicleManager_fuzzer" 2021-02-26 17:18:22 +00:00
Kris Alder
fd9fdbfa3c Merge "Added audiocontrolV1.0_fuzzer" 2021-02-26 17:17:15 +00:00
Shawn Willden
91f8c7c091 Merge "Separate updateAad from update & other cleanups" 2021-02-26 16:04:53 +00:00
Bob Badour
bbff7921dc [LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces
Added SPDX-license-identifier-Apache-2.0 to:
  neuralnetworks/utils/adapter/Android.bp
  security/keymint/aidl/vts/performance/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all

Exempt-From-Owner-Approval: janitorial work
Change-Id: I139497d894d893a405d9b16df5e23b69dc82674f
2021-02-26 03:45:46 -08:00
Jooyung Han
d33893fef3 neuralnetworks: fix out ParcelFileDescriptor
Refactored "out @nullable ParacelFileDescriptor" into
FencedExecutionResult. It works well with NDK backend, but not with Java
backend. To avoid future incompatibility, AIDL compiler will forbid "out
ParcelFileDescriptor".

This change moves the out parameter to its own parcelable type,
FencedExecutionResult, along with IFencedExecutionCallback.

Bug: 181194872
Test: atest --test-mapping packages/modules/NeuralNetworks
Change-Id: I8e628a7b96d81338fbe59ce8c0b849f98c00536c
2021-02-26 17:36:05 +09:00
Hongbo Zeng
b1ea8dbc19 Support SlicingConfig for 5G Slicing Configuration
- add new HAL APIs getSlicingConfig() and getSlicingConfigResponse()
- create structs SlicingConfig, UrspRule, RouteSelectionDescriptor,
  RouteSelectionDescriptorParams, Nssais, and RejectedSliceInfo
- add SliceRejectionCause

Bug: 178075054
Test: run "atest VtsHalRadioV1_6TargetTest" and check the result for
      getSlicingConfig is PASSED
[3/13] PerInstance/RadioHidlTest_v1_6#getSlicingConfig/0_slot1: PASSED (15ms)

Change-Id: I5dc97d3c49d0bf4726975a5558360ebf9c09224b
Merged-In: I5dc97d3c49d0bf4726975a5558360ebf9c09224b
2021-02-26 16:19:49 +08:00
Hongbo Zeng
55487e1e79 Update HAL 1.6 for 5G Slicing
- add trafficDescriptor and matchAllRuleAllowed to setupDataCall
- add trafficDescriptors to SetupDataCallResult
- create structs TrafficDescriptor and OSAppId base on the
  definition in TS 24.526 Section 5.2
- add MATCH_ALL_RULE_NOT_ALLOWED and ALL_MATCHING_RULES_FAILED
  as DataCallFailCause

Bug: 178075054
Test: make VtsHalRadioV1_6TargetTest
Change-Id: Ibf6d92d50c8c2c3fce51522677d75bf33127320f
Merged-In: Ibf6d92d50c8c2c3fce51522677d75bf33127320f
2021-02-26 16:15:15 +08:00
Treehugger Robot
20a99acbfb Merge "IRadio 1.6: Public Key Type For IMSI Encryption" 2021-02-26 05:37:25 +00:00
Treehugger Robot
f93ea0d270 Merge "Specify which features the reduced feature set affects" 2021-02-26 04:03:22 +00:00
Haibo Huang
ff7508dee5 Merge "matrices: xmllint --quiet" 2021-02-25 20:37:33 +00:00
Christopher Di Bella
2ab5c721a1 follows the advice of -Wsign-compare
Bug: 181177782
Test: None
Change-Id: I480e1a35bcac682467d0ff7a97cccfcf78a0a402
2021-02-25 18:39:56 +00:00
Treehugger Robot
8bfd260e3e Merge "Fixing VTS tests after IKeyMint breakage" 2021-02-25 02:18:31 +00:00
Yifan Hong
5a6c7b13fd matrices: xmllint --quiet
Test: mma
Fixes: 176574965
Change-Id: I4e70279da199e6875feb21036bbccaee461c9c2e
2021-02-24 17:58:49 -08:00
Shawn Willden
92d79c093f Separate updateAad from update & other cleanups
Test: VtsKeyMintAidlTargetTest
Change-Id: Ib4ab43dbf2604a7642fb2b551646fd7f0adac615
2021-02-24 15:54:12 -07:00
Treehugger Robot
58a8db2148 Merge "Changes for Vts related to Strongbox. Strongbox is only required to supports 2048 bit keys and optionally required to support Device Unique Attestations. Test: atest VtsHalKeymasterV4_0TargetTest and atest VtsHalKeymasterV4_1TargetTest. Bug: Related to b/150122447." 2021-02-24 19:46:19 +00:00
Chirag Pathak
2f408e5e3b Changes for Vts related to Strongbox. Strongbox is only required to supports 2048 bit keys and optionally required to support Device Unique Attestations.
Test: atest VtsHalKeymasterV4_0TargetTest and atest VtsHalKeymasterV4_1TargetTest.
Bug: Related to b/150122447.

Signed-off-by: Chirag Pathak <pathakc@google.com>
Change-Id: I46993aff322dff12af4ce88a46c00316f14f3227
2021-02-24 18:33:24 +00:00
Treehugger Robot
cefd92ec83 Merge "Reformat neuralnetworks/1.2/types.hal according to clang-format" 2021-02-23 23:11:38 +00:00
Michael Butler
65de531533 Merge changes from topic "nnapi-numberOfConsumers"
* changes:
  Create NNAPI adapter interface
  Make NNAPI countNumberOfConsumers return GeneralResult -- hal
2021-02-23 20:01:01 +00:00
Treehugger Robot
eff68753f9 Merge "Non ABI changes to neuralnetworks HAL" 2021-02-23 13:11:30 +00:00
Treehugger Robot
11cee080d7 Merge "composer: increase timeout for VTS" 2021-02-23 06:02:44 +00:00
Mikhail Naganov
2553d042ea Merge "audio: Put stronger rules on vendor extension enums" 2021-02-23 00:17:30 +00:00
Treehugger Robot
3731b18cfc Merge "audio: Remove dependency on libxml2 from the default implementation" 2021-02-23 00:14:51 +00:00
Slava Shklyaev
f62d99eadd Reformat neuralnetworks/1.2/types.hal according to clang-format
While we cannot run clang-format on types.hal directly, we can do so on
the canonical Types.h (which is generated from the same template) and
observe the difference. See change Ia43936d8.

Bug: 160667417
Test: m
Change-Id: Id6a237f29c8156b213455ab093d11ed4c2015460
Merged-In: Id6a237f29c8156b213455ab093d11ed4c2015460
(cherry picked from commit dfc4a2fa32)
2021-02-22 17:24:49 +00:00