Home
last modified time | relevance | path

Searched refs:TelecomTestApp (Results 1 – 17 of 17) sorted by relevance

/cts/tests/tests/telecom-apps/Utils/src/android/telecom/cts/apps/
DBindUtils.java37 private static final Map<TelecomTestApp, Pair<TelecomAppServiceConnection, AppControlWrapper>>
46 for (TelecomTestApp testAppName : sTelecomAppToService.keySet()) { in printBoundTestApps()
78 public AppControlWrapper bindToApp(Context context, TelecomTestApp appName) in bindToApp()
113 TelecomTestApp name = appControl.getTelecomApps(); in unbindFromApp()
150 private Intent createBindIntentForApplication(TelecomTestApp application) throws Exception { in createBindIntentForApplication()
156 private String getBindActionFromApplicationName(TelecomTestApp app) throws Exception { in getBindActionFromApplicationName()
159 return TelecomTestApp.T_CONTROL_INTERFACE_ACTION; in getBindActionFromApplicationName()
162 return TelecomTestApp.VOIP_CS_CONTROL_INTERFACE_ACTION; in getBindActionFromApplicationName()
165 return TelecomTestApp.CONTROL_INTERFACE_ACTION; in getBindActionFromApplicationName()
172 private static String getPackageNameFromApplicationName(TelecomTestApp app) throws Exception { in getPackageNameFromApplicationName()
[all …]
DTelecomTestApp.java29 public enum TelecomTestApp implements Parcelable { enum
185 public static final Creator<TelecomTestApp> CREATOR = new Creator<>() {
187 public TelecomTestApp createFromParcel(Parcel in) {
188 return TelecomTestApp.fromInteger(in.readInt());
192 public TelecomTestApp[] newArray(int size) {
193 return new TelecomTestApp[size];
201 public static TelecomTestApp fromInteger(int value) { in fromInteger()
DAttributesUtil.java50 public static CallAttributes getDefaultAttributesForApp(TelecomTestApp name, boolean isOutgoing) in getDefaultAttributesForApp()
65 public static CallAttributes getRandomAttributesForApp(TelecomTestApp name, in getRandomAttributesForApp()
121 public static PhoneAccountHandle getPhoneAccountHandleForApp(TelecomTestApp name) in getPhoneAccountHandleForApp()
125 return TelecomTestApp.TRANSACTIONAL_APP_DEFAULT_HANDLE; in getPhoneAccountHandleForApp()
128 return TelecomTestApp.TRANSACTIONAL_APP_CLONE_DEFAULT_HANDLE; in getPhoneAccountHandleForApp()
131 return TelecomTestApp.SELF_MANAGED_CS_MAIN_HANDLE; in getPhoneAccountHandleForApp()
134 return TelecomTestApp.SELF_MANAGED_CS_CLONE_HANDLE; in getPhoneAccountHandleForApp()
DAppControlWrapper.java19 import static android.telecom.cts.apps.TelecomTestApp.TransactionalVoipAppClone;
20 import static android.telecom.cts.apps.TelecomTestApp.TransactionalVoipAppMain;
43 private final TelecomTestApp mTelecomApps;
46 public TelecomTestApp getTelecomApps() { in getTelecomApps()
59 public AppControlWrapper(IAppControl binder, TelecomTestApp name) { in AppControlWrapper()
62 if (mTelecomApps.equals(TelecomTestApp.ManagedConnectionServiceApp)) { in AppControlWrapper()
DBaseAppVerifierImpl.java30 import static android.telecom.cts.apps.TelecomTestApp.ManagedConnectionServiceApp;
146 public AppControlWrapper bindToApp(TelecomTestApp applicationName) throws Exception { in bindToApp()
156 private boolean isManagedConnectionService(TelecomTestApp applicationName) { in isManagedConnectionService()
160 public List<AppControlWrapper> bindToApps(List<TelecomTestApp> applicationNames) in bindToApps()
163 for (TelecomTestApp name : applicationNames) { in bindToApps()
186 public CallAttributes getDefaultAttributes(TelecomTestApp name, in getDefaultAttributes()
197 public CallAttributes getDefaultAttributes(TelecomTestApp name, PhoneAccountHandle pAH, in getDefaultAttributes()
206 public CallAttributes getRandomAttributes(TelecomTestApp name, in getRandomAttributes()
/cts/tests/tests/telecom-cuj/src/android/telecom/cts/cuj/
DBaseAppVerifier.java19 import static android.telecom.cts.apps.TelecomTestApp.MANAGED_ADDRESS;
20 import static android.telecom.cts.apps.TelecomTestApp.MANAGED_APP_CN;
21 import static android.telecom.cts.apps.TelecomTestApp.MANAGED_APP_ID;
22 import static android.telecom.cts.apps.TelecomTestApp.MANAGED_APP_LABEL;
41 import android.telecom.cts.apps.TelecomTestApp;
163 public AppControlWrapper bindToApp(TelecomTestApp applicationName) throws Exception { in bindToApp()
167 public List<AppControlWrapper> bindToApps(List<TelecomTestApp> applicationNames) in bindToApps()
180 public CallAttributes getDefaultAttributes(TelecomTestApp name, boolean isOutgoing) in getDefaultAttributes()
185 public CallAttributes getDefaultAttributes(TelecomTestApp name, PhoneAccountHandle pAH, in getDefaultAttributes()
191 public CallAttributes getRandomAttributes(TelecomTestApp name, boolean isOutgoing) in getRandomAttributes()
/cts/tests/tests/telecom-cuj/src/android/telecom/cts/cuj/app/integration/
DPhoneAccountTest.java19 import static android.telecom.cts.apps.TelecomTestApp.SELF_MANAGED_CS_MAIN_ACCOUNT_CUSTOM;
20 import static android.telecom.cts.apps.TelecomTestApp.SELF_MANAGED_CS_MAIN_ACCOUNT_TRANSACTIONAL;
21 import static android.telecom.cts.apps.TelecomTestApp.TRANSACTIONAL_MAIN_SUPPLEMENTARY_ACCOUNT;
22 import static android.telecom.cts.apps.TelecomTestApp.TRANSACTIONAL_APP_SUPPLEMENTARY_HANDLE;
23 import static android.telecom.cts.apps.TelecomTestApp.TRANSACTIONAL_PACKAGE_NAME;
24 import static android.telecom.cts.apps.TelecomTestApp.ConnectionServiceVoipAppMain;
25 import static android.telecom.cts.apps.TelecomTestApp.TransactionalVoipAppMain;
DAudioModeTest.java24 import static android.telecom.cts.apps.TelecomTestApp.ConnectionServiceVoipAppMain;
25 import static android.telecom.cts.apps.TelecomTestApp.ManagedConnectionServiceApp;
26 import static android.telecom.cts.apps.TelecomTestApp.TransactionalVoipAppMain;
DCallStyleNotificationsTest.java19 import static android.telecom.cts.apps.TelecomTestApp.ConnectionServiceVoipAppMain;
20 import static android.telecom.cts.apps.TelecomTestApp.TransactionalVoipAppMain;
DUnholdableCallTest.java23 import static android.telecom.cts.apps.TelecomTestApp.ConnectionServiceVoipAppMain;
24 import static android.telecom.cts.apps.TelecomTestApp.ManagedConnectionServiceApp;
25 import static android.telecom.cts.apps.TelecomTestApp.TransactionalVoipAppMain;
DSingleCallingTest.java25 import static android.telecom.cts.apps.TelecomTestApp.ConnectionServiceVoipAppClone;
26 import static android.telecom.cts.apps.TelecomTestApp.ConnectionServiceVoipAppMain;
27 import static android.telecom.cts.apps.TelecomTestApp.ManagedConnectionServiceApp;
28 import static android.telecom.cts.apps.TelecomTestApp.TransactionalVoipAppClone;
29 import static android.telecom.cts.apps.TelecomTestApp.TransactionalVoipAppMain;
DMultiCallingTest.java22 import static android.telecom.cts.apps.TelecomTestApp.ConnectionServiceVoipAppMain;
23 import static android.telecom.cts.apps.TelecomTestApp.ManagedConnectionServiceApp;
24 import static android.telecom.cts.apps.TelecomTestApp.TransactionalVoipAppMain;
DSimultaneousCallingTest.java21 import static android.telecom.cts.apps.TelecomTestApp.ManagedConnectionServiceApp;
/cts/tests/tests/telecom-apps/Utils/aidl/android/telecom/cts/apps/
DTelecomTestApp.aidl19 parcelable TelecomTestApp;
/cts/tests/tests/telecom-apps/ConnectionServiceVoipAppMain/src/android/telecom/cts/apps/connectionservicevoipappmain/
DVoipConnectionServiceControlMain.java31 import static android.telecom.cts.apps.TelecomTestApp.SELF_MANAGED_CS_CLONE_ACCOUNT;
32 import static android.telecom.cts.apps.TelecomTestApp.SELF_MANAGED_CS_CLONE_PACKAGE_NAME;
33 import static android.telecom.cts.apps.TelecomTestApp.SELF_MANAGED_CS_MAIN_ACCOUNT;
34 import static android.telecom.cts.apps.TelecomTestApp.VOIP_CS_CONTROL_INTERFACE_ACTION;
/cts/tests/tests/telecom-apps/TransactionalVoipAppMain/src/android/telecom/cts/apps/transactionalvoipappmain/
DTransactionalVoipAppControlMain.java26 import static android.telecom.cts.apps.TelecomTestApp.TRANSACTIONAL_CLONE_ACCOUNT;
27 import static android.telecom.cts.apps.TelecomTestApp.TRANSACTIONAL_CLONE_PACKAGE_NAME;
28 import static android.telecom.cts.apps.TelecomTestApp.TRANSACTIONAL_MAIN_DEFAULT_ACCOUNT;
29 import static android.telecom.cts.apps.TelecomTestApp.T_CONTROL_INTERFACE_ACTION;
/cts/tests/tests/telecom-apps/ManagedConnectionService/src/android/telecom/cts/apps/managedapp/
DManagedAppControl.java30 import static android.telecom.cts.apps.TelecomTestApp.CONTROL_INTERFACE_ACTION;