1// 2// Copyright (C) 2024 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// 16package { 17 default_applicable_licenses: ["Android-Apache-2.0"], 18} 19 20android_test { 21 name: "CtsContactKeysManagerTestCases", 22 team: "trendy_team_security", 23 defaults: ["cts_defaults"], 24 compile_multilib: "both", 25 test_suites: [ 26 "cts", 27 "general-tests", 28 ], 29 libs: [ 30 "android.test.mock.stubs.test", 31 "android.test.base.stubs.test", 32 "android.test.runner.stubs.test", 33 ], 34 static_libs: [ 35 "compatibility-device-util-axt", 36 "ctstestrunner-axt", 37 "junit", 38 "truth", 39 "android.provider.flags-aconfig-java", 40 ], 41 srcs: [ 42 "src/**/*.java", 43 ], 44 data: [ 45 ":CtsContactKeysProviderVisibleApp", 46 ":CtsContactKeysProviderInvisibleApp", 47 ], 48 sdk_version: "test_current", 49 min_sdk_version: "30", 50 per_testcase_directory: true, 51} 52 53test_module_config { 54 name: "CtsContactKeysManagerTestCases_cts_contactkeys", 55 base: "CtsContactKeysManagerTestCases", 56 test_suites: ["general-tests"], 57 include_filters: ["android.provider.cts.contactkeys."], 58} 59