Searched refs:telecomManager (Results 1 – 9 of 9) 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 …]
93 TelecomManager telecomManager = in onCreate()95 if (telecomManager == null) { in onCreate()99 telecomManager.addNewIncomingCall( in onCreate()131 telecomManager.addNewIncomingCall( in onCreate()
112 TelecomManager telecomManager = in onCreate()114 if (telecomManager == null) { in onCreate()118 telecomManager.addNewIncomingCall(PhoneAccountUtils.TEST_PHONE_ACCOUNT_HANDLE, extras); in onCreate()
64 final TelecomManager telecomManager = mActivity.getSystemService(TelecomManager.class); in DefaultDialerChanger() local65 mOriginalDefaultDialer = telecomManager.getDefaultDialerPackage(); in DefaultDialerChanger()80 if (telecomManager.getDefaultDialerPackage().equals(mActivity.getPackageName())) { in DefaultDialerChanger()97 if (telecomManager.getDefaultDialerPackage().equals(mOriginalDefaultDialer)) { in DefaultDialerChanger()
107 final TelecomManager telecomManager = mContext.getSystemService(TelecomManager.class); in testTelecomCanManageBlockedNumbers() local108 final Intent intent = telecomManager.createManageBlockedNumbersIntent(); in testTelecomCanManageBlockedNumbers()
327 TelecomManager telecomManager, PhoneAccountHandle handle, in addIncomingCall() argument333 telecomManager.addNewIncomingCall(handle, extras); in addIncomingCall()365 TelecomManager telecomManager, PhoneAccountHandle handle, in placeOutgoingCall() argument370 telecomManager.placeCall(address, extras); in placeOutgoingCall()
590 final TelecomManager telecomManager = in testSilenceRinger() local592 telecomManager.silenceRinger(); in testSilenceRinger()
219 TelecomManager telecomManager = (TelecomManager) getContext() in testTelephonyManager() local221 PhoneAccountHandle defaultAccount = telecomManager in testTelephonyManager()234 TelecomManager telecomManager = getContext().getSystemService(TelecomManager.class); in testCreateForPhoneAccountHandle() local236 telecomManager.getDefaultOutgoingPhoneAccount(PhoneAccount.SCHEME_TEL); in testCreateForPhoneAccountHandle()
93 TelecomManager telecomManager = mContext.getSystemService(TelecomManager.class); in setUp() local94 mPhoneAccountHandle = telecomManager in setUp()96 mPhoneNumber = telecomManager.getLine1Number(mPhoneAccountHandle); in setUp()