1// Copyright (C) 2017 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_applicable_licenses: ["Android-Apache-2.0"], 17} 18 19android_test { 20 name: "CtsBiometricsTestCases", 21 defaults: ["cts_defaults"], 22 // Tag this module as a cts test artifact 23 test_suites: [ 24 "cts", 25 "sts", 26 "vts10", 27 "general-tests", 28 ], 29 compile_multilib: "both", 30 libs: [ 31 "android.test.runner", 32 "android.test.base", 33 ], 34 static_libs: [ 35 "androidx.annotation_annotation", 36 "androidx.test.ext.junit", 37 "compatibility-device-util-axt", 38 "cts-input-lib", 39 "cts-wm-util", 40 "ctstestrunner-axt", 41 "mockito-target-minus-junit4", 42 "platform-test-annotations", 43 "platformprotosnano", 44 "ub-uiautomator", 45 ], 46 srcs: ["src/**/*.java"], 47 data: [ 48 ":CtsBiometricServiceTestApp", 49 ":CtsBiometricServiceUtilTestApp", 50 ":CtsFingerprintServiceTestApp", 51 ], 52 sdk_version: "test_current", 53 per_testcase_directory: true, 54} 55 56java_test_helper_library { 57 name: "cts-biometric-util", 58 59 static_libs: [ 60 "androidx.annotation_annotation", 61 "cts-wm-util", 62 ], 63 64 srcs: [ 65 "src/android/server/biometrics/BiometricCallbackHelper.java", 66 "src/android/server/biometrics/fingerprint/FingerprintCallbackHelper.java", 67 ], 68} 69