Home
last modified time | relevance | path

Searched refs:telecomManager (Results 1 – 11 of 11) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/telecom/
DPhoneAccountUtils.java79 TelecomManager telecomManager = (TelecomManager) context.getSystemService( in registerTestPhoneAccount() local
81 telecomManager.registerPhoneAccount(TEST_PHONE_ACCOUNT); in registerTestPhoneAccount()
90 TelecomManager telecomManager = (TelecomManager) context.getSystemService( in getPhoneAccount() local
92 return telecomManager.getPhoneAccount(TEST_PHONE_ACCOUNT_HANDLE); in getPhoneAccount()
100 TelecomManager telecomManager = (TelecomManager) context.getSystemService( in unRegisterTestPhoneAccount() local
102 telecomManager.unregisterPhoneAccount(TEST_PHONE_ACCOUNT_HANDLE); in unRegisterTestPhoneAccount()
110 TelecomManager telecomManager = (TelecomManager) context.getSystemService( in registerTestSelfManagedPhoneAccount() local
112 telecomManager.registerPhoneAccount(TEST_SELF_MANAGED_PHONE_ACCOUNT); in registerTestSelfManagedPhoneAccount()
113 telecomManager.registerPhoneAccount(TEST_SELF_MANAGED_PHONE_ACCOUNT_2); in registerTestSelfManagedPhoneAccount()
121 TelecomManager telecomManager = (TelecomManager) context.getSystemService( in unRegisterTestSelfManagedPhoneAccount() local
[all …]
DSelfManagedIncomingCallTestActivity.java74 TelecomManager telecomManager =
76 if (telecomManager == null || !telecomManager.isInManagedCall()) {
119 TelecomManager telecomManager = in onCreate()
121 if (telecomManager == null || !telecomManager.isInManagedCall()) { in onCreate()
144 TelecomManager telecomManager = in onCreate()
146 if (telecomManager == null) { in onCreate()
151 telecomManager.addNewIncomingCall( in onCreate()
DIncomingCallTestActivity.java117 TelecomManager telecomManager = in onCreate()
119 if (telecomManager == null) { in onCreate()
125 telecomManager.addNewIncomingCall(PhoneAccountUtils.TEST_PHONE_ACCOUNT_HANDLE, extras); in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/voicemail/
DDefaultDialerChanger.java61 final TelecomManager telecomManager = mActivity.getSystemService(TelecomManager.class); in DefaultDialerChanger() local
62 updateSetDefaultDialerState(telecomManager.getDefaultDialerPackage()); in DefaultDialerChanger()
67 if (telecomManager.getDefaultDialerPackage().equals(mActivity.getPackageName())) { in DefaultDialerChanger()
83 if (!telecomManager.getDefaultDialerPackage().equals(mActivity.getPackageName())) { in DefaultDialerChanger()
/cts/tests/tests/telecom/src/android/telecom/cts/
DTelecomAvailabilityTest.java107 final TelecomManager telecomManager = mContext.getSystemService(TelecomManager.class); in testTelecomCanManageBlockedNumbers() local
108 final Intent intent = telecomManager.createManageBlockedNumbersIntent(); in testTelecomCanManageBlockedNumbers()
DTestUtils.java477 TelecomManager telecomManager, PhoneAccountHandle handle, in addIncomingCall() argument
483 telecomManager.addNewIncomingCall(handle, extras); in addIncomingCall()
515 TelecomManager telecomManager, PhoneAccountHandle handle, in placeOutgoingCall() argument
520 telecomManager.placeCall(address, extras); in placeOutgoingCall()
DPhoneAccountOperationsTest.java220 (telecomManager) -> telecomManager.getCallCapablePhoneAccounts(true)); in testRegisterPhoneAccount_ListEnabledAccounts()
DExtendedInCallServiceTest.java646 final TelecomManager telecomManager = in testSilenceRinger() local
648 telecomManager.silenceRinger(); in testSilenceRinger()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DVisualVoicemailServiceTest.java101 TelecomManager telecomManager = mContext.getSystemService(TelecomManager.class); in setUp() local
102 mPhoneAccountHandle = telecomManager in setUp()
104 mPhoneNumber = telecomManager.getLine1Number(mPhoneAccountHandle); in setUp()
DTelephonyManagerTest.java517 TelecomManager telecomManager = getContext().getSystemService(TelecomManager.class); in testTelephonyManager() local
518 PhoneAccountHandle defaultAccount = telecomManager in testTelephonyManager()
704 TelecomManager telecomManager = getContext().getSystemService(TelecomManager.class); in testCreateForPhoneAccountHandle() local
706 telecomManager.getDefaultOutgoingPhoneAccount(PhoneAccount.SCHEME_TEL); in testCreateForPhoneAccountHandle()
/cts/tests/tests/role/src/android/app/role/cts/
DRoleManagerTest.java421 TelecomManager telecomManager = sContext.getSystemService(TelecomManager.class); in targetSdk28AndChangeDefaultDialerAndAllowThenIsDefaultDialer() local
423 telecomManager.getDefaultDialerPackage(), APP_28_PACKAGE_NAME)); in targetSdk28AndChangeDefaultDialerAndAllowThenIsDefaultDialer()