• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright (C) 2008 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_fwk_telephony",
17    default_applicable_licenses: ["Android-Apache-2.0"],
18}
19
20filegroup {
21    name: "telephony-cts-ims-common-srcs",
22    srcs: [
23        "src/android/telephony/ims/cts/TestImsService.java",
24        "src/android/telephony/ims/cts/TestRcsFeature.java",
25        "src/android/telephony/ims/cts/TestMmTelFeature.java",
26        "src/android/telephony/ims/cts/TestImsSmsImpl.java",
27        "src/android/telephony/ims/cts/TestImsConfig.java",
28        "src/android/telephony/ims/cts/TestImsRegistration.java",
29        "src/android/telephony/ims/cts/TestRcsCapabilityExchangeImpl.java",
30        "src/android/telephony/ims/cts/TestSipTransport.java",
31        "src/android/telephony/ims/cts/TestSipDelegate.java",
32        "src/android/telephony/ims/cts/TestSipDelegateConnection.java",
33        "src/android/telephony/ims/cts/ImsUtils.java",
34        "src/android/telephony/ims/cts/SipDialogAttributes.java",
35        "src/android/telephony/ims/cts/SipMessageUtils.java",
36        "src/android/telephony/ims/cts/TestAcsClient.java",
37        "src/android/telephony/ims/cts/TestImsCallSessionImpl.java",
38        "src/android/telephony/ims/cts/ConferenceHelper.java",
39    ],
40    path: "src/",
41}
42
43android_test {
44    name: "CtsTelephonyTestCases",
45    defaults: ["cts_defaults"],
46    libs: [
47        "telephony-common",
48        "android.test.runner.stubs.system",
49        "android.test.base.stubs.system",
50        "voip-common",
51    ],
52    // uncomment when EuiccService tests do not use hidden APIs (Binder instances)
53    //sdk_version: "test_current",
54    static_libs: [
55        "androidx.test.ext.junit",
56        "ctstestrunner-axt",
57        "hamcrest-library",
58        "compatibility-device-util-axt",
59        "truth",
60        "android.telephony.mockmodem",
61        "CtsTelecomUtilLib",
62        "telephony_flags_core_java_lib",
63        "flag-junit",
64        "telecom_flags_core_java_lib",
65        "androidx.test.rules",
66    ],
67    srcs: [
68        "src/**/*.java",
69        "EmbmsMiddlewareTestApp/**/*.java",
70        "EmbmsMiddlewareTestApp/**/I*.aidl",
71        "LocationAccessingApp/**/*.java",
72        "LocationAccessingApp/**/I*.aidl",
73        "MockSatelliteGatewayServiceApp/**/*.java",
74        "MockSatelliteGatewayServiceApp/**/I*.aidl",
75        "MockSatelliteServiceApp/**/*.java",
76        "MockSatelliteServiceApp/**/I*.aidl",
77        "MockPointingUiApp/**/*.java",
78        "TestExternalImsServiceApp/**/*.java",
79        "TestExternalImsServiceApp/**/I*.aidl",
80        "src/android/telephony/satellite/cts/I*.aidl",
81    ],
82    aidl: {
83        local_include_dirs: [
84            "EmbmsMiddlewareTestApp/aidl/",
85            "MockSatelliteGatewayServiceApp/aidl/",
86            "MockSatelliteServiceApp/aidl/",
87            "TestExternalImsServiceApp/aidl/",
88            "src/android/telephony/satellite/cts",
89        ],
90    },
91    test_suites: [
92        "cts",
93        "general-tests",
94    ],
95    platform_apis: true,
96    host_required: [
97        "compatibility-host-telephony-preconditions",
98        "cts-tradefed",
99    ],
100    data: [
101        ":CtsTelephonyPreparerApp",
102        ":CtsTelephonyCleanerApp",
103        ":TestSmsApp22",
104        ":LocationAccessingApp",
105        ":LocationAccessingAppSdk28",
106        ":MockSatelliteGatewayServiceApp",
107        ":MockSatelliteServiceApp",
108        ":MockPointingUiApp",
109        ":TestFinancialSmsApp",
110        ":TestSmsRetrieverApp",
111        ":TestSmsApp",
112        ":TestExternalImsServiceApp",
113        ":EmbmsMiddlewareCtsTestApp",
114    ],
115    per_testcase_directory: true,
116}
117