blob: 46cb7ed85354db5de061a81c503d7b4dfb15f53b [file] [log] [blame]
// Copyright (C) 2008 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package {
default_team: "trendy_team_fwk_telephony",
default_applicable_licenses: ["Android-Apache-2.0"],
}
filegroup {
name: "telephony-cts-ims-common-srcs",
srcs: [
"src/android/telephony/ims/cts/TestImsService.java",
"src/android/telephony/ims/cts/TestRcsFeature.java",
"src/android/telephony/ims/cts/TestMmTelFeature.java",
"src/android/telephony/ims/cts/TestImsSmsImpl.java",
"src/android/telephony/ims/cts/TestImsConfig.java",
"src/android/telephony/ims/cts/TestImsRegistration.java",
"src/android/telephony/ims/cts/TestRcsCapabilityExchangeImpl.java",
"src/android/telephony/ims/cts/TestSipTransport.java",
"src/android/telephony/ims/cts/TestSipDelegate.java",
"src/android/telephony/ims/cts/TestSipDelegateConnection.java",
"src/android/telephony/ims/cts/ImsUtils.java",
"src/android/telephony/ims/cts/SipDialogAttributes.java",
"src/android/telephony/ims/cts/SipMessageUtils.java",
"src/android/telephony/ims/cts/TestAcsClient.java",
"src/android/telephony/ims/cts/TestImsCallSessionImpl.java",
"src/android/telephony/ims/cts/ConferenceHelper.java",
],
path: "src/",
}
android_test {
name: "CtsTelephonyTestCases",
defaults: ["cts_defaults"],
libs: [
"telephony-common",
"android.test.runner",
"android.test.base",
"voip-common",
],
// uncomment when EuiccService tests do not use hidden APIs (Binder instances)
//sdk_version: "test_current",
static_libs: [
"androidx.test.ext.junit",
"ctstestrunner-axt",
"hamcrest-library",
"compatibility-device-util-axt",
"truth",
"android.telephony.mockmodem",
"CtsTelecomUtilLib",
"telephony_flags_core_java_lib",
"flag-junit",
],
srcs: [
"src/**/*.java",
"EmbmsMiddlewareTestApp/**/*.java",
"EmbmsMiddlewareTestApp/**/I*.aidl",
"LocationAccessingApp/**/*.java",
"LocationAccessingApp/**/I*.aidl",
"MockSatelliteGatewayServiceApp/**/*.java",
"MockSatelliteGatewayServiceApp/**/I*.aidl",
"MockSatelliteServiceApp/**/*.java",
"MockSatelliteServiceApp/**/I*.aidl",
"MockPointingUiApp/**/*.java",
"TestExternalImsServiceApp/**/*.java",
"TestExternalImsServiceApp/**/I*.aidl",
"src/android/telephony/satellite/cts/I*.aidl",
],
aidl: {
local_include_dirs: [
"EmbmsMiddlewareTestApp/aidl/",
"MockSatelliteGatewayServiceApp/aidl/",
"MockSatelliteServiceApp/aidl/",
"TestExternalImsServiceApp/aidl/",
"src/android/telephony/satellite/cts",
],
},
test_suites: [
"cts",
"general-tests",
],
platform_apis: true,
host_required: [
"compatibility-host-telephony-preconditions",
"cts-tradefed",
],
data: [
":CtsTelephonyPreparerApp",
":CtsTelephonyCleanerApp",
":TestSmsApp22",
":LocationAccessingApp",
":LocationAccessingAppSdk28",
":MockSatelliteGatewayServiceApp",
":MockSatelliteServiceApp",
":MockPointingUiApp",
":TestFinancialSmsApp",
":TestSmsRetrieverApp",
":TestSmsApp",
":TestExternalImsServiceApp",
":EmbmsMiddlewareCtsTestApp",
],
per_testcase_directory: true,
}