Commit graph

27860 commits

Author SHA1 Message Date
Sooraj Sasindran
4b272a5b68 ALLOW REQUEST_NOT_SUPPORTED for nr dual connectivity config
ALLOW REQUEST_NOT_SUPPORTED for nr dual connectivity configuration
and query

Bug: 181648176
Test: build
Change-Id: Iaa64b018a07367ea9d68783ecec1ea1a616ad6b4
2021-03-12 13:34:48 -08:00
Yiwei Zhang
5aae5cb79d Enable cpp support for IPowerStats AIDL interface
Bug: 178219601
Test: build
Change-Id: If29ff4760da866e91471874e17c1288be7877e27
2021-03-12 00:53:08 +00:00
Treehugger Robot
df3a0dcaeb Merge "Simplify slicing related structs." 2021-03-12 00:25:17 +00:00
Benjamin Schwartz
777542355a Merge "power/stats: Return exception codes on error" 2021-03-11 23:49:49 +00:00
Benjamin Schwartz
be0e2ed7ae power/stats: Return exception codes on error
Bug: 182406354
Bug: 181598864
Test: Presubmit
Change-Id: I00d359ce400d52e774ea43f1330b85775414f88c
2021-03-11 10:47:51 -08:00
Amit Mahajan
ca2a225881 Simplify slicing related structs.
Test: atest VtsHalRadioV1_6TargetTest
Bug: 178075054
Merged-in: I6f711321ff8825e86b3d1da20ea985e81088eae0
Change-Id: I6f711321ff8825e86b3d1da20ea985e81088eae0
2021-03-11 18:23:04 +00:00
Treehugger Robot
715c533436 Merge "Fix DabTune VTS failure of BroadcastRadio v2.0" 2021-03-11 16:22:15 +00:00
Treehugger Robot
673b2f10fc Merge "audio: Fix comment on RecordTrackMetadata.tags" 2021-03-11 07:55:00 +00:00
Kihyung Lee
c3d3abc8e0 Fix DabTune VTS failure of BroadcastRadio v2.0
When cherry-picking I28b1406a26fa66bcf972a6efd42ee76a55bae374 from
android10-tests-dev to master, TEST_F should've been modified to TEST_P
but it didn't.
This is just a simple fix for it.

Bug: 181910201
Signed-off by: Kihyung Lee <kihyunglee@google.com>

Change-Id: Iacdb98b988d57f3edccab75b84d05dc3251fdd7f
2021-03-11 16:36:20 +09:00
Treehugger Robot
56ea2c54d7 Merge "audio: Specify frame counter behavior for streams" 2021-03-11 01:51:01 +00:00
Roman Kiryanov
de942b54a9 Use ro.boot.qemu to check if the device is an emulator
`ro.kernel.qemu` is deprecated.

Bug: 182291166
Test: presubmit
Signed-off-by: Roman Kiryanov <rkir@google.com>
Change-Id: I0d078fad7152c4fda9fbb1fce6bb399436e8c60a
2021-03-10 16:49:36 -08:00
Mikhail Naganov
0fa02f96bd audio: Fix comment on RecordTrackMetadata.tags
Audio tags on record tracks metadata come from
audio attributes of Java AudioRecord, not from
AudioTrack.

Test: N/A
Change-Id: I27dc088ae89ba046f72bd2a22c553bcf7714dd07
2021-03-10 22:36:15 +00:00
Rambo Wang
6e1ce4d3c9 Merge "Deprecates obsoleted radio hal interfaces" 2021-03-10 01:31:12 +00:00
Rambo Wang
43175bec27 Merge "Skip radio VTS test cases on deprecated interfaces" 2021-03-10 01:31:12 +00:00
Amy Zhang
5001056e0f Merge "Make the tv tuner hal use libdmabufheap instead of libion" 2021-03-09 20:41:32 +00:00
Rambo Wang
5ccc4bbf45 Skip radio VTS test cases on deprecated interfaces
The following interfaces are deprecated:
- startLceService
- stopLceService
- pullLceData
- lceData
- setSimCardPower
- setIndicationFilter
- setupDataCall
- deactivateDataCall
- startNetworkScan
- startNetworkScan_1_2

All related VTS test cases will be skipped when testing with higher
version radio hal releases with REQUEST_NOT_SUPPORTED response.

Bug: 170288130
Test: atest VtsHalRadioV1_0TargetTest VtsHalRadioV1_1TargetTest
VtsHalRadioV1_2TargetTest

Change-Id: Ie905540d36a07b5557220ef00c4cb17d41cbe74b
2021-03-09 10:22:16 -08:00
Treehugger Robot
26629e8698 Merge "Get Radio Hal Capabilities in VTS" 2021-03-09 17:58:46 +00:00
Benjamin Schwartz
492edf2acf Merge "power/stats: Add default implementation" 2021-03-09 16:36:29 +00:00
Slava Shklyaev
ce5a77cfcd Merge "Fix formatting" 2021-03-09 13:19:03 +00:00
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