1// 2// Copyright (C) 2020 The Android Open Source Project 3// 4// Licensed under the Apache License, Version 2.0 (the "License"); 5// you may not use this file except in compliance with the License. 6// You may obtain a copy of the License at 7// 8// http://www.apache.org/licenses/LICENSE-2.0 9// 10// Unless required by applicable law or agreed to in writing, software 11// distributed under the License is distributed on an "AS IS" BASIS, 12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13// See the License for the specific language governing permissions and 14// limitations under the License. 15// 16 17package { 18 default_applicable_licenses: ["Android-Apache-2.0"], 19} 20 21android_test { 22 name: "CtsPermissionUiTestCases", 23 defaults: ["mts-target-sdk-version-current"], 24 sdk_version: "test_current", 25 min_sdk_version: "30", 26 srcs: [ 27 "src/**/*.kt", 28 ":CtsMediaProviderTestUtils", 29 ], 30 static_libs: [ 31 "kotlin-stdlib", 32 "androidx.test.rules", 33 "compatibility-device-util-axt", 34 "ctstestrunner-axt", 35 "bluetooth-test-util-lib", 36 "modules-utils-build_system", 37 "androidx.test.core", 38 "permission-test-util-lib", 39 "sts-device-util", 40 "cts-wm-util", 41 "flag-junit", 42 "CtsAccessibilityCommon", 43 "platform-test-rules", 44 "platform-test-annotations", 45 "android.content.pm.flags-aconfig-java-export", 46 "android.permission.flags-aconfig-java-export", 47 ], 48 data: [ 49 ":CtsPermissionPolicyApp25", 50 ":CtsUsePermissionApp22", 51 ":CtsUsePermissionApp22CalendarOnly", 52 ":CtsUsePermissionApp22None", 53 ":CtsUsePermissionApp23", 54 ":CtsUsePermissionApp25", 55 ":CtsUsePermissionApp26", 56 ":CtsUsePermissionApp28", 57 ":CtsUsePermissionApp29", 58 ":CtsUsePermissionApp30", 59 ":CtsUsePermissionApp30WithBackground", 60 ":CtsUsePermissionApp30WithBluetooth", 61 ":CtsUsePermissionApp31", 62 ":CtsUsePermissionApp31WithAsl", 63 ":CtsUsePermissionApp32", 64 ":CtsUsePermissionAppLatest", 65 ":CtsUsePermissionAppLatestNone", 66 ":CtsUsePermissionAppWithOverlay", 67 ":CtsAccessMicrophoneAppLocationProvider", 68 ":CtsHelperAppOverlay", 69 ":CtsCreateNotificationChannelsApp31", 70 ":CtsMediaPermissionApp33WithStorage", 71 ":CtsDifferentPkgNameApp", 72 ":CtsUsePermissionAppImplicitUserSelectStorage", 73 ":CtsAppThatAccessesMicAndCameraPermission", 74 ":CtsUsePermissionAppStorage33", 75 ":CtsAppThatMakesTwoPermRequests", 76 ], 77 test_suites: [ 78 "cts", 79 "sts", 80 "general-tests", 81 "mts-permission", 82 "automotive-tests", 83 "automotive-general-tests", 84 "mcts-permission", 85 ], 86} 87