Searched refs:telecomManager (Results 1 – 11 of 11) sorted by relevance
79 TelecomManager telecomManager = (TelecomManager) context.getSystemService( in registerTestPhoneAccount() local81 telecomManager.registerPhoneAccount(TEST_PHONE_ACCOUNT); in registerTestPhoneAccount()90 TelecomManager telecomManager = (TelecomManager) context.getSystemService( in getPhoneAccount() local92 return telecomManager.getPhoneAccount(TEST_PHONE_ACCOUNT_HANDLE); in getPhoneAccount()100 TelecomManager telecomManager = (TelecomManager) context.getSystemService( in unRegisterTestPhoneAccount() local102 telecomManager.unregisterPhoneAccount(TEST_PHONE_ACCOUNT_HANDLE); in unRegisterTestPhoneAccount()110 TelecomManager telecomManager = (TelecomManager) context.getSystemService( in registerTestSelfManagedPhoneAccount() local112 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 …]
74 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()
117 TelecomManager telecomManager = in onCreate()119 if (telecomManager == null) { in onCreate()125 telecomManager.addNewIncomingCall(PhoneAccountUtils.TEST_PHONE_ACCOUNT_HANDLE, extras); in onCreate()
61 final TelecomManager telecomManager = mActivity.getSystemService(TelecomManager.class); in DefaultDialerChanger() local62 updateSetDefaultDialerState(telecomManager.getDefaultDialerPackage()); in DefaultDialerChanger()67 if (telecomManager.getDefaultDialerPackage().equals(mActivity.getPackageName())) { in DefaultDialerChanger()83 if (!telecomManager.getDefaultDialerPackage().equals(mActivity.getPackageName())) { in DefaultDialerChanger()
107 final TelecomManager telecomManager = mContext.getSystemService(TelecomManager.class); in testTelecomCanManageBlockedNumbers() local108 final Intent intent = telecomManager.createManageBlockedNumbersIntent(); in testTelecomCanManageBlockedNumbers()
477 TelecomManager telecomManager, PhoneAccountHandle handle, in addIncomingCall() argument483 telecomManager.addNewIncomingCall(handle, extras); in addIncomingCall()515 TelecomManager telecomManager, PhoneAccountHandle handle, in placeOutgoingCall() argument520 telecomManager.placeCall(address, extras); in placeOutgoingCall()
220 (telecomManager) -> telecomManager.getCallCapablePhoneAccounts(true)); in testRegisterPhoneAccount_ListEnabledAccounts()
646 final TelecomManager telecomManager = in testSilenceRinger() local648 telecomManager.silenceRinger(); in testSilenceRinger()
101 TelecomManager telecomManager = mContext.getSystemService(TelecomManager.class); in setUp() local102 mPhoneAccountHandle = telecomManager in setUp()104 mPhoneNumber = telecomManager.getLine1Number(mPhoneAccountHandle); in setUp()
517 TelecomManager telecomManager = getContext().getSystemService(TelecomManager.class); in testTelephonyManager() local518 PhoneAccountHandle defaultAccount = telecomManager in testTelephonyManager()704 TelecomManager telecomManager = getContext().getSystemService(TelecomManager.class); in testCreateForPhoneAccountHandle() local706 telecomManager.getDefaultOutgoingPhoneAccount(PhoneAccount.SCHEME_TEL); in testCreateForPhoneAccountHandle()
421 TelecomManager telecomManager = sContext.getSystemService(TelecomManager.class); in targetSdk28AndChangeDefaultDialerAndAllowThenIsDefaultDialer() local423 telecomManager.getDefaultDialerPackage(), APP_28_PACKAGE_NAME)); in targetSdk28AndChangeDefaultDialerAndAllowThenIsDefaultDialer()