1// Copyright (C) 2021 The Android Open Source Project 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15package { 16 default_team: "trendy_team_framework_android_packages", 17 // See: http://go/android-license-faq 18 // A large-scale-change added 'default_applicable_licenses' to import 19 // all of the 'license_kinds' from "frameworks_base_license" 20 // to get the below license kinds: 21 // SPDX-license-identifier-Apache-2.0 22 default_applicable_licenses: ["frameworks_base_license"], 23} 24 25android_test_helper_app { 26 name: "AppEnumerationSyncProviderTestApp", 27 srcs: ["src/**/*.java"], 28 manifest: "AndroidManifest-syncprovider.xml", 29 dex_preopt: { 30 enabled: false, 31 }, 32 optimize: { 33 enabled: false, 34 }, 35 test_suites: ["device-tests"], 36 platform_apis: true, 37} 38 39android_test_helper_app { 40 name: "AppEnumerationHasAppOpPermissionTestApp", 41 srcs: ["src/**/*.java"], 42 manifest: "AndroidManifest-hasAppOpPermission.xml", 43 dex_preopt: { 44 enabled: false, 45 }, 46 optimize: { 47 enabled: false, 48 }, 49 test_suites: ["device-tests"], 50 platform_apis: true, 51} 52 53android_test_helper_app { 54 name: "AppEnumerationSharedUserTestApp", 55 srcs: ["src/**/*.java"], 56 manifest: "AndroidManifest-sharedUser.xml", 57 dex_preopt: { 58 enabled: false, 59 }, 60 optimize: { 61 enabled: false, 62 }, 63 test_suites: ["device-tests"], 64 platform_apis: true, 65} 66 67android_test_helper_app { 68 name: "AppEnumerationCrossUserPackageVisibilityTestApp", 69 srcs: ["src/**/*.java"], 70 manifest: "AndroidManifest-crossUserPackageVisibility.xml", 71 dex_preopt: { 72 enabled: false, 73 }, 74 optimize: { 75 enabled: false, 76 }, 77 test_suites: ["device-tests"], 78 platform_apis: true, 79} 80