summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-08-26Merge cherrypicks of [15687253, 15687254, 15687255, 15687532, 15687533] into ↵android-vts-12.0_r1android-security-12.0.0_r53android-security-12.0.0_r52android-security-12.0.0_r51android-security-12.0.0_r50android-security-12.0.0_r49android-security-12.0.0_r48android-security-12.0.0_r47android-security-12.0.0_r46android-security-12.0.0_r45android-security-12.0.0_r44android-security-12.0.0_r43android-security-12.0.0_r42android-security-12.0.0_r41android-security-12.0.0_r40android-security-12.0.0_r39android-security-12.0.0_r38android-security-12.0.0_r37android-security-12.0.0_r36android-security-12.0.0_r35android-security-12.0.0_r34android-platform-12.0.0_r1android-cts-12.0_r1android-12.0.0_r9android-12.0.0_r8android-12.0.0_r34android-12.0.0_r33android-12.0.0_r31android-12.0.0_r30android-12.0.0_r3android-12.0.0_r25android-12.0.0_r2android-12.0.0_r11android-12.0.0_r10android-12.0.0_r1android12-s5-releaseandroid12-s4-releaseandroid12-s3-releaseandroid12-s2-releaseandroid12-s1-releaseandroid12-releaseAndroid Build Coastguard Worker
sc-release Change-Id: Iffd3766bba50471fa624ab2a441bb3995b7ea649
2021-08-26CtsVideoTestCases: oprate: Relax pass criteria further for older devicesHarish Mahendrakar
Pass criteria has been further relaxed for older devices. Operating rate tests are disabled for devices launched on Android P and below. Also operating rate scaling factor is limited to > 0 and <= 1.25 for devices launched on Android Q and below. Bug: 184576106 Test: atest android.video.cts.CodecEncoderPerformanceTest Test: atest android.video.cts.CodecDecoderPerformanceTest Change-Id: Ifb19c206297ca29bffe07498e15a5196b32a3635 (cherry picked from commit 0769032950f9d0436b20ee8d14ffbf92870bb1ff)
2021-08-26CtsVideo: Limit encoder performance tests to half of max dimensionsHarish Mahendrakar
Few older devices do not support concurrent instances of encoder and decoder at maximum resolution. So limit the encoder performance tests (that run a decoder in parallel) to half of maximum supported resolution. This exclusion is done for devices that launched on Android Q and below Bug: 184576106 Test: atest android.video.cts.CodecEncoderPerformanceTest Change-Id: I9e9bddb9eb455bf7fee5f6419bc030d1c1755985 (cherry picked from commit 842d4b6fa045ac329dd86bacbe9276794fc098e5)
2021-08-26Skip testNONEwithECDSATruncatesInputToFieldSize for P521Janis Danisevskis
The messaged truncation for ECDSA P521 was broken on some Keymaster implementations. This went unnoticed, because the truncation test used to send the signature to the same broken implementation for verification. In Android S, the signature is sent to boringssl/conscrypt instead, which caught the fact that it was broken. This patch temporarily disables the now failing test to give OEMs more time to get this problem fixed. Bug: 197789724 Bug: 191110624 Test: atest android.keystore.cts.ECDSASignatureTest Change-Id: Id11a834f2e998cf3f27a319ba05a316ec9cd24ab (cherry picked from commit 3d771ebb638de149d4529e29191fd12a7ed0142c)
2021-08-24Merge cherrypicks of [15665254, 15639253, 15667784, 15667785] into sc-releaseAndroid Build Coastguard Worker
Change-Id: I70ff45a7f4aa214f1c54d647cbfa1dcd39bee47d
2021-08-24Add "mts" to target used in testsCorina Grigoras
Bug: 195905753 Bug: 195210087 Change-Id: I4c2ea59226768d3dc19d441b9afc8fbd6556cab8 Test: m mts && run mts -m CtsProviderTestCases Test: m mts && mts-tradefed run mts-mediaprovider (cherry picked from commit b9fad0895aa5dfffa12738842b2e2bff9a8affed)
2021-08-20Merge cherrypicks of [15633344, 15633345, 15633457, 15633423, 15633424, ↵Android Build Coastguard Worker
15633425, 15633095, 15633401, 15632569, 15633426, 15633427, 15633402, 15633346, 15633347, 15633403, 15633458] into sc-release Change-Id: Ia1af3a792117391e3efddbc62acdbeb9ec20bc32
2021-08-20Ignore late-breaking behavior change.Jeff Sharkey
We're willing to preserve an implicit "Nearby devices" permission grant if this app was already able to interact with nearby devices via background location access. If the app doesn't have background location access, then the implicit "Nearby devices" grant will be revoked as normal. If the "Nearby devices" permission had already been revoked through some other means, it will remain revoked. Future CLs will update tests to reflect this nuanced behavior, but for now this change temporarily skips the relevant test. Bug: 196988990, 195931693 Test: atest NearbyDevicesPermissionTest Change-Id: Ifc0c9f577676278bfdf569e3d4f7dd720fcbabd6 (cherry picked from commit 5377e04d1ce403db236d961a81102effff9e2c55)
2021-08-20RESTRICT AUTOMERGE Fix tests as Trusted Hotword requirement is removedAhaan Ugale
Test that hotword-source audio does not incur the mic indicator for any process (instead of only for the HotwordDetectionService before). Also fix the related AppOps test. Bug: 197034852 Test: atest CameraMicIndicatorsPermissionTest Test: atest android.cts.statsdatom.appops.AppOpsTests#testAppOps Change-Id: I6d3e83f63d420f9b2cf48ad9991ec204414c8ed0 (cherry picked from commit 1ea7a0a4500660a97a80066e688649dc8089d160)
2021-08-20ITS: new scene2_d/scene2_e images from LMS studiosClemenz Portmann
bug: 184874823 Change-Id: Iae9ef02997d853301d3d17098cc3574c97382e37 (cherry picked from commit 0e7698181de5a808b1375cfd11fbd89d5224ba04)
2021-08-17Merge cherrypicks of [15589380, 15589521, 15589522, 15589273, 15589503, ↵Android Build Coastguard Worker
15589504, 15589505, 15589506, 15589507, 15589508, 15589509, 15589510, 15589511, 15589274, 15589562, 15589523, 15589405, 15589406, 15589581, 15589524, 15589525, 15589526, 15589276, 15589277, 15589565, 15589566, 15589528, 15589407, 15589255, 15589516, 15589530, 15589531, 15589569, 15589258] into sc-release Change-Id: If24814ff00e517fb8f9f17b5eea55928e5360829
2021-08-17Camera: Fix 'isColorCorrectionSupported' typoEmilian Peev
Check for color output device support instead of color correction support. Bug: 187341271 Test: atest -c cts/tests/camera/src/android/hardware/camera2/cts/CameraExtensionSessionTest.java Change-Id: Idfbec25ae5443da772fc25104fb00be093115edb (cherry picked from commit ede7af5ba9182565173822d613f52851004c4a9f)
2021-08-17ExtendedCameraCharacteristsTest: Add tests for ultra high resolution sensor ↵Jayant Chowdhary
characteristics Add tests to verify - minimum max resolution pixel array size of ultra high resolution sensors. - Other proprties such as presence of JPEG, YUV and RAW streams in maximum resolution StreamConfigurationMap Bug: 195987968 Test: atest ExtendedCameraCharacteristicsTest.java Change-Id: Ie7d3b519b12ef8ee93684491484c5046c14d4949 Signed-off-by: Jayant Chowdhary <jchowdhary@google.com> (cherry picked from commit 3a91a1ab96a295ca812b010e4965e0d30d237aef)
2021-08-17Rename android.media.MediaTranscodeManager -> MediaTranscodingManagerRay Essick
renamed to avoid conflict with existing copy in the R framework.jar. The framework.jar copy was removed during S development Bug: 195608856 Test: build Test: cts-tradefed run cts -m CtsMediaTranscodingTestCases Change-Id: Ie47b8bbf33602fd6836b0b15dcdab62de6d2bbfa (cherry picked from commit e2dd9d95b57bc0406db3f3f80792cc9f9b2adfd6)
2021-08-13Merge cherrypicks of [15560884, 15560845, 15560903, 15560904, 15560905, ↵Android Build Coastguard Worker
15560906, 15560769, 15560755, 15557357, 15557358] into sc-release Change-Id: I71c02cd218a2cb7964da23d723ebeeaf428ea2ea
2021-08-13Skip CtsPrintTestCases[instant] for the rewrite to accommodate landscape modeRoss Yeh
Bug: 194293021 Change-Id: Ib9acc74d385f746f8f0a9d2dfa17b3ebc22ad14a (cherry picked from commit 05045ed680e5843eed9c8171e3ae876992993d37)
2021-08-12Merge cherrypicks of [15548052, 15548053, 15548731, 15548784, 15548801, ↵Android Build Coastguard Worker
15548711, 15548732, 15548733] into sc-release Change-Id: Ib5ed82683dba0060384a557631267a10487736cf
2021-08-12Fix SECURITY_MODEL_COMPATIBLE testsJeremy Joslin
Updated the tests so they only apply to new launches. Test: make CtsVerifier and run the SecurityModeFeatureVerifier test Test: atest CtsSecurityTestCases:FileIntegrityManagerTest \ CtsSecurityTestCases:EncryptionTest \ CtsSecurityTestCases:VerifiedBootTest \ CtsSecurityHostTestCases:KernelConfigTest \ CtsSecurityHostTestCases:MetadataEncryptionTest \ CtsSecurityHostTestCases:PerfEventParanoidTest \ CtsSecurityHostTestCases:SELinuxHostTest \ CtsAppSecurityHostTestCases:ApkVerityInstallTest \ CtsAppSecurityHostTestCases:DirectBootHostTest \ CtsNativeEncryptionTestCases CtsNativeVerifiedBootTestCases Bug: 194586931 Change-Id: Ia4171f1eaf722e1a3f8f4b667d656079ae2e7ed2 (cherry picked from commit 8157c4c0c7f28c7da092fc3926451c84c8131045)
2021-08-12Allow negative value for CorrelationVector#samplingStartMShinru Han
Bug: 195934893 Test: on cuttlefish Change-Id: I8e679ca92b1dd4e74ff05bfbe1582df45cf89586 (cherry picked from commit 2267ec72c0fa018ad115d42809d639c253aaeca3)
2021-08-12Snap for 7633965 from 8b264bb608d103f26b37500dee4e29ed8970419f to sc-releaseAndroid Build Coastguard Worker
Change-Id: I7b03536b22f176b527c9cd55f6c8b05cdfea259f
2021-08-11[automerger skipped] Merge "Verify apps cannot receive ACTION_SNOOZE_WARNING ↵Sudheer Shanka
broadcast." into qt-dev am: 2cc0ca2841 am: e39e243e3b -s ours am: e3ef140e6b -s ours am: 58c8ddc6b7 -s ours am skip reason: Merged-In I6d525c4d88ba01838d51a873251593281b628898 with SHA-1 e2b820eec9 is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/cts/+/15388777 Change-Id: If2b4aa7d65cebf8922629fb4532635f1d7e0d25c
2021-08-11[automerger skipped] Merge "Verify apps cannot receive ACTION_SNOOZE_WARNING ↵Sudheer Shanka
broadcast." into qt-dev am: 2cc0ca2841 am: e39e243e3b -s ours am: e3ef140e6b -s ours am: 77cc8811d8 -s ours am skip reason: Merged-In I6d525c4d88ba01838d51a873251593281b628898 with SHA-1 e2b820eec9 is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/cts/+/15388777 Change-Id: I3079aa0b42f011e73ff17c84ea3da85a98c0c32b
2021-08-11[automerger skipped] Merge "Verify apps cannot receive ACTION_SNOOZE_WARNING ↵Sudheer Shanka
broadcast." into qt-dev am: 2cc0ca2841 am: e39e243e3b -s ours am: e3ef140e6b -s ours am skip reason: Merged-In I6d525c4d88ba01838d51a873251593281b628898 with SHA-1 e2b820eec9 is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/cts/+/15388777 Change-Id: Ib6b343648a89166f9625721f52e11cbd5b055540
2021-08-11[automerger skipped] Merge "Verify apps cannot receive ACTION_SNOOZE_WARNING ↵Sudheer Shanka
broadcast." into qt-dev am: 2cc0ca2841 am: e39e243e3b -s ours am: e3ef140e6b -s ours am skip reason: Merged-In I6d525c4d88ba01838d51a873251593281b628898 with SHA-1 e2b820eec9 is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/cts/+/15388777 Change-Id: If567ad8c727f9684fac17512b5fc883fc11c47d2
2021-08-11[automerger skipped] Merge "Verify apps cannot receive ACTION_SNOOZE_WARNING ↵Sudheer Shanka
broadcast." into qt-dev am: 2cc0ca2841 am: e39e243e3b -s ours am skip reason: Merged-In I6d525c4d88ba01838d51a873251593281b628898 with SHA-1 e2b820eec9 is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/cts/+/15388777 Change-Id: I4c2d02b43ee878107d3729c51ab3d16d44439b7a
2021-08-11Merge "Verify apps cannot receive ACTION_SNOOZE_WARNING broadcast." into ↵Sudheer Shanka
qt-dev am: 2cc0ca2841 Original change: https://googleplex-android-review.googlesource.com/c/platform/cts/+/15388777 Change-Id: Iad86fc79eb3ea58830af2ea1f7a57e62c511b08f
2021-08-11Merge "Verify apps cannot receive ACTION_SNOOZE_WARNING broadcast." into qt-devSudheer Shanka
2021-08-11[automerger skipped] Merge "Verify apps cannot receive ACTION_SNOOZE_WARNING ↵Sudheer Shanka
broadcast." into rvc-dev am: d6591883e3 -s ours am: 4d06b2c88b -s ours am skip reason: Merged-In If8c54ca1e51eb6b587c70e8d218f9b90c7ad4c8e with SHA-1 5e5e6fab77 is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/cts/+/15342018 Change-Id: I9278483396054defbf142452aa847aef39115bbf
2021-08-11[automerger skipped] Merge "Verify apps cannot receive ACTION_SNOOZE_WARNING ↵Sudheer Shanka
broadcast." into rvc-dev am: d6591883e3 -s ours am: 9216a29367 -s ours am skip reason: Merged-In I6d525c4d88ba01838d51a873251593281b628898 with SHA-1 3bdd127b84 is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/cts/+/15342018 Change-Id: I81f9797ad3f0cc4f5e78b5e838df75e2078ecf86
2021-08-11[automerger skipped] Merge "Verify apps cannot receive ACTION_SNOOZE_WARNING ↵Sudheer Shanka
broadcast." into rvc-dev am: d6591883e3 -s ours am skip reason: Merged-In If8c54ca1e51eb6b587c70e8d218f9b90c7ad4c8e with SHA-1 5e5e6fab77 is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/cts/+/15342018 Change-Id: Iace0483b8933148f8c9839251a2649b90dae7fd5
2021-08-11[automerger skipped] Merge "Verify apps cannot receive ACTION_SNOOZE_WARNING ↵Sudheer Shanka
broadcast." into rvc-dev am: d6591883e3 -s ours am skip reason: Merged-In I6d525c4d88ba01838d51a873251593281b628898 with SHA-1 3bdd127b84 is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/cts/+/15342018 Change-Id: Ib924f4f2cfad840a4b5e1d717fe19dc2c98f7b2f
2021-08-11[automerger skipped] Merge "STS refactor @SecurityTest" into qt-dev am: ↵TreeHugger Robot
dc4cc66ed4 -s ours am: 81ee498931 -s ours am: d0e9e81020 -s ours am: b0cc54cd71 -s ours am skip reason: Merged-In I81ceeec63dc2f563b0024740e53733a39f5c6f49 with SHA-1 1935490dce is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/cts/+/14947649 Change-Id: I206efd1316b3d3c2a496068afef6ba76caace67f
2021-08-11Merge "Verify apps cannot receive ACTION_SNOOZE_WARNING broadcast." into rvc-devSudheer Shanka
2021-08-11[automerger skipped] Merge "STS refactor @SecurityTest" into qt-dev am: ↵TreeHugger Robot
dc4cc66ed4 -s ours am: 81ee498931 -s ours am: d0e9e81020 -s ours am: 5dea697b88 -s ours am skip reason: Merged-In I81ceeec63dc2f563b0024740e53733a39f5c6f49 with SHA-1 1935490dce is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/cts/+/14947649 Change-Id: Ida63632764426cc8b52a5835ee6c5901ae51b805
2021-08-11[automerger skipped] Merge "STS refactor @SecurityTest" into qt-dev am: ↵TreeHugger Robot
dc4cc66ed4 -s ours am: 81ee498931 -s ours am: d0e9e81020 -s ours am skip reason: Merged-In I81ceeec63dc2f563b0024740e53733a39f5c6f49 with SHA-1 1935490dce is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/cts/+/14947649 Change-Id: I9b5ef7296ef798fb5844aa7d12c801d65a2aaf8d
2021-08-11[automerger skipped] Merge "STS refactor @SecurityTest" into qt-dev am: ↵TreeHugger Robot
dc4cc66ed4 -s ours am: 81ee498931 -s ours am: d0e9e81020 -s ours am skip reason: Merged-In I81ceeec63dc2f563b0024740e53733a39f5c6f49 with SHA-1 1935490dce is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/cts/+/14947649 Change-Id: I5c730460bda001926e49ef8a4ddede031b655639
2021-08-11[automerger skipped] Merge "Verify apps cannot receive ACTION_SNOOZE_WARNING ↵Sudheer Shanka
broadcast." into rvc-qpr-dev am: f062385332 -s ours am skip reason: Merged-In I19b6b09febeb62867cd3d26246b2b3b46b9422c6 with SHA-1 935d71a4a1 is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/cts/+/15337153 Change-Id: I838b34f8ee9dd7fb36f1764475548f0e6f412ed4
2021-08-11Verify apps cannot receive ACTION_SNOOZE_WARNING broadcast.Sudheer Shanka
Bug: 177931370 Test: atest tests/cts/hostside/src/com/android/cts/net/HostsideRestrictBackgroundNetworkTests.java Ignore-AOSP-First: Platform changes related to this are not in AOSP yet. Change-Id: I6d525c4d88ba01838d51a873251593281b628898 Merged-In: I6d525c4d88ba01838d51a873251593281b628898 Merged-In: I19b6b09febeb62867cd3d26246b2b3b46b9422c6 Merged-In: I89d4791fddb419342e9bd026d96fa37c4273c62e Merged-In: Iacc33d5eb7b70b4f2984ff073c3f7003951af6e6 Merged-In: If8c54ca1e51eb6b587c70e8d218f9b90c7ad4c8e
2021-08-11[automerger skipped] Merge "STS refactor @SecurityTest" into qt-dev am: ↵TreeHugger Robot
dc4cc66ed4 -s ours am: 81ee498931 -s ours am skip reason: Merged-In I81ceeec63dc2f563b0024740e53733a39f5c6f49 with SHA-1 1935490dce is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/cts/+/14947649 Change-Id: I8bdd2bbcbaefb1f64b09da4e7f5570a3b0028e69
2021-08-11Merge "Verify apps cannot receive ACTION_SNOOZE_WARNING broadcast." into ↵Sudheer Shanka
rvc-qpr-dev
2021-08-11[automerger skipped] Merge "STS refactor @SecurityTest" into qt-dev am: ↵TreeHugger Robot
dc4cc66ed4 -s ours am skip reason: Merged-In I81ceeec63dc2f563b0024740e53733a39f5c6f49 with SHA-1 1935490dce is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/cts/+/14947649 Change-Id: I0ffc5a412dd5ec18db245f74eee383779c0ef936
2021-08-11Merge "STS refactor @SecurityTest" into qt-devTreeHugger Robot
2021-08-11Verify apps cannot receive ACTION_SNOOZE_WARNING broadcast.Sudheer Shanka
Bug: 177931370 Test: atest tests/cts/hostside/src/com/android/cts/net/HostsideRestrictBackgroundNetworkTests.java Ignore-AOSP-First: Platform changes related to this are not in AOSP yet. Change-Id: I6d525c4d88ba01838d51a873251593281b628898 Merged-In: I6d525c4d88ba01838d51a873251593281b628898 Merged-In: I19b6b09febeb62867cd3d26246b2b3b46b9422c6 Merged-In: I89d4791fddb419342e9bd026d96fa37c4273c62e Merged-In: Iacc33d5eb7b70b4f2984ff073c3f7003951af6e6 Merged-In: If8c54ca1e51eb6b587c70e8d218f9b90c7ad4c8e
2021-08-11Merge "Fix single frame queue in video peek CTS" into sc-devGuillaume Chelfi
2021-08-11[automerger skipped] Merge "DO NOT MERGE Add tests for the application's ↵Rhed Jao
load label api" into rvc-dev am: 1b68cdd517 -s ours am: 1634f7931a -s ours am skip reason: subject contains skip directive Original change: https://googleplex-android-review.googlesource.com/c/platform/cts/+/15443355 Change-Id: I189682e266bc3e97fd1a9398d8c9a2e3a88a2ec0
2021-08-11[automerger skipped] Merge "DO NOT MERGE Add tests for the application's ↵Rhed Jao
load label api" into rvc-dev am: 1b68cdd517 -s ours am: e54e7a0b83 -s ours am skip reason: subject contains skip directive Original change: https://googleplex-android-review.googlesource.com/c/platform/cts/+/15443355 Change-Id: I999553079f7d25a3f04b5a44b5193750ffe15289
2021-08-11[automerger skipped] Merge "DO NOT MERGE Add tests for the application's ↵Rhed Jao
load label api" into rvc-dev am: 1b68cdd517 -s ours am skip reason: Merged-In I0da1959e6ea33925b11831f5597bbe0a4fa8bd48 with SHA-1 5db6f2e52b is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/cts/+/15443355 Change-Id: I5604f72ed8f122d5cecf3fb46fb98a3c621e9c21
2021-08-11[automerger skipped] Merge "DO NOT MERGE Add tests for the application's ↵Rhed Jao
load label api" into rvc-dev am: 1b68cdd517 -s ours am skip reason: Merged-In I0da1959e6ea33925b11831f5597bbe0a4fa8bd48 with SHA-1 5db6f2e52b is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/cts/+/15443355 Change-Id: I5173c9bd398c50ec8aeb19c489aa3bfe24dff0b8
2021-08-11Merge "DO NOT MERGE Add tests for the application's load label api" into rvc-devRhed Jao
2021-08-11[automerger skipped] Merge "DO NOT MERGE Add tests for the application's ↵Rhed Jao
load label api" into qt-dev am: 1542fe19e6 -s ours am: 2a5a3e2c52 -s ours am: 989ded5ed9 -s ours am: 2a48ad244e -s ours am skip reason: subject contains skip directive Original change: https://googleplex-android-review.googlesource.com/c/platform/cts/+/15443367 Change-Id: I8c396397f70a6a7b4f3230acabf900f43f099215