Commit graph

27730 commits

Author SHA1 Message Date
SongFerng Wang
d24ac0c097 Merge "Rename AllowedNetworkType to AllowedNetworkTypes" 2021-03-09 12:44:22 +00:00
Treehugger Robot
ac85c24b77 Merge "vts: Correct the test RSA key format" 2021-03-09 06:05:50 +00:00
Rambo Wang
b6e354680f Deprecates obsoleted radio hal interfaces
Makes a ABI preserving change to radio hal by adding deprecation
comments for following interfaces:
- startLceService
- stopLceService
- pullLceData
- lceData
- setSimCardPower
- setIndicationFilter
- setupDataCall
- deactivateDataCall
- startNetworkScan
- startNetworkScan_1_2

Bug: 170288130
Test: make
Merged-In: I4563b7081dec6fa64b7faff7c8e3c2c3b1239880
Change-Id: I4563b7081dec6fa64b7faff7c8e3c2c3b1239880
(cherry picked from commit 1fd7cb029b)
2021-03-09 01:06:15 +00:00
Yifan Hong
98bdd3c979 Merge "Retroactively add identity V2 to 5.xml." 2021-03-08 23:01:38 +00:00
Daniel Bright
2c0d2f175b Get Radio Hal Capabilities in VTS
* Created utility method in v1_6 HAL to access radio hal capabilities
* Created static library to support getting the capaiblities response
* Created RadioResponseWaiter to encapsulate the notify \ wait logic
  used when waiting for an asynchronous response from the HAL
* Usage: if (getRadioHalCapabilities().modemReducedFeatureSet1) { ... }

Bug: 181895757
Test: Accessed default hal capabilities
Change-Id: Ie0a727d4e9d268ad03cf3fa793aa456a95c89f5b
Merged-In: Ie0a727d4e9d268ad03cf3fa793aa456a95c89f5b
2021-03-08 13:56:05 -08:00
David Zeuthen
9d746597e8 Merge "identity: Check freshness of verification token in TA." 2021-03-08 19:36:59 +00:00
Benjamin Schwartz
9c944a129d power/stats: Add default implementation
Bug: 181592995
Test: atest VtsHalPowerStatsTargetTest
Change-Id: I87ea4974f857ebd126b80a45c7d7403307bceb03
2021-03-08 11:00:46 -08:00
Benjamin Schwartz
3de03047d3 Merge "power/stats: Add OWNERS" 2021-03-08 18:44:47 +00:00
Mikhail Naganov
aa88f5b270 audio: Specify frame counter behavior for streams
Specifies how HAL needs to handle the frame counter
for input and output streams on standby and flush.

Also add whitespaces before "Optional method" spec
for better readability.

Bug: 161253754
Test: in progress
Change-Id: I357739a2382f9425da74fcddbe7ab720be1f0e18
2021-03-08 09:20:26 -08:00
Tommy Chiu
e5a78a77cb vts: Correct the test RSA key format
The format of test key was not PKCS8.
Correct it and add the generating command for reference.

Fixed: 181701819
Test: VtsHalKeymasterV4_0TargetTest --gtest_filter=*strongbox*
Change-Id: I7793c781eee976bc813b6fea77762b173f95e06a
2021-03-07 03:43:19 +00:00
Treehugger Robot
35d61d4cb1 Merge "Remove HIDL memtrack hal from compatibility matrix" 2021-03-05 22:20:03 +00:00
Benjamin Schwartz
c7d67a734a power/stats: Add OWNERS
Bug: 181978395
Test: TH
Change-Id: I7063c739be0e9cf8fed1a1f1f99bf972b386a857
2021-03-05 11:31:36 -08:00
Slava Shklyaev
4205aec1d5 Fix formatting
Bug: 160667417
Test: generate_api.sh
Test: m
Change-Id: I282b8bc1ae009a9ce2e46419eba7881849e999a7
2021-03-05 09:25:44 +00:00
David Drysdale
e88878c71d Merge "Fix docs for SecurityLevel::TRUSTED_ENVIRONMENT" 2021-03-05 06:48:51 +00:00
David Zeuthen
c6c950b55b identity: Check freshness of verification token in TA.
A problem where credstore didn't always use the TA-generated challenge
in the verification token was fixed in aosp/1619825. With this bug-fix
we can now reliably check that the passed-in verification token is
always fresh.

Bug: 181893400
Test: atest android.security.identity.cts on emulator
Test: atest VtsHalIdentityTargetTest
Change-Id: Iffdf026475da6321764561972aae27a82ab94530
2021-03-04 17:45:54 -05:00
Kalesh Singh
0cb82f7db8 Remove HIDL memtrack hal from compatibility matrix
Bug: 181892710
Test: N/A
Change-Id: Ic5ce43065121706de1d4e4a0f7c1c2881147ee46
2021-03-04 16:17:41 -05:00
David Drysdale
812a1d3d4a Fix docs for SecurityLevel::TRUSTED_ENVIRONMENT
Test: VtsAidlKeyMintTargetTest
Change-Id: I6bbc9abe308ba4b16297a7adc335cbb6f735f76c
2021-03-04 15:39:43 +00:00
Shuo Qian
9ea18728f9 Change range of SS-RSRQ per 3gpp
Bug: 159761054
Test: VTS
Merged-In: I377ef00015876b706ffeb20d9255c1b1ebf66c15
Change-Id: I377ef00015876b706ffeb20d9255c1b1ebf66c15
(cherry picked from commit cd3fd87d47)
2021-03-04 01:17:27 +00:00
Xin Li
603a44d975 Merge "Merge RQ2A.210305.007" 2021-03-03 21:41:29 +00:00
Shawn Willden
4411dc963c Merge "Add performOperation stub." 2021-03-03 21:28:32 +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
c2ccef2e2a Merge "API updates for TrafficDescriptr fields" 2021-03-03 18:42:20 +00:00
Treehugger Robot
620ad1ca3f Merge "Memtrack HAL: Update documentation" 2021-03-03 17:38:40 +00:00
Xin Li
9e5819285e Merge RQ2A.210305.007
Bug: 180401296
Merged-In: I6eee7a4b0960b767b6620c8b93dc252422c42f25
Change-Id: I6fa3b10e629fb748b5b0d91487ca5365c2b53705
2021-03-03 09:12:11 -08:00
SongFerngWang
f92b61c2db Rename AllowedNetworkType to AllowedNetworkTypes
Reference the ag/q/topic:%22b_171791177%22+(status:open%20OR%20status:merged)
and ag/q/topic:"getAllowedNetworkTypeBitmap"+(status:open%20OR%20status:merged)

Bug: 161434786
Test: build pass
Change-Id: Iee919a40153f680d6a8b81dc88d8fa2bd1e8d343
Merged-In: Iee919a40153f680d6a8b81dc88d8fa2bd1e8d343
2021-03-04 00:21:25 +08: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
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