Searched refs:telecomManager (Results 1 – 11 of 11) sorted by relevance
88 TelecomManager telecomManager = (TelecomManager) context.getSystemService( in registerTestPhoneAccount() local90 telecomManager.registerPhoneAccount(TEST_PHONE_ACCOUNT); in registerTestPhoneAccount()99 TelecomManager telecomManager = (TelecomManager) context.getSystemService( in getPhoneAccount() local101 return telecomManager.getPhoneAccount(TEST_PHONE_ACCOUNT_HANDLE); in getPhoneAccount()109 TelecomManager telecomManager = (TelecomManager) context.getSystemService( in unRegisterTestPhoneAccount() local111 telecomManager.unregisterPhoneAccount(TEST_PHONE_ACCOUNT_HANDLE); in unRegisterTestPhoneAccount()119 TelecomManager telecomManager = (TelecomManager) context.getSystemService( in registerTestSelfManagedPhoneAccount() local121 telecomManager.registerPhoneAccount(TEST_SELF_MANAGED_PHONE_ACCOUNT); in registerTestSelfManagedPhoneAccount()122 telecomManager.registerPhoneAccount(TEST_SELF_MANAGED_PHONE_ACCOUNT_2); in registerTestSelfManagedPhoneAccount()130 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()
107 final TelecomManager telecomManager = mContext.getSystemService(TelecomManager.class); in testTelecomCanManageBlockedNumbers() local108 final Intent intent = telecomManager.createManageBlockedNumbersIntent(); in testTelecomCanManageBlockedNumbers()127 final TelecomManager telecomManager = mContext.getSystemService(TelecomManager.class); in testCreateLaunchEmergencyDialerIntent() local129 final Intent intentWithoutNumber = telecomManager.createLaunchEmergencyDialerIntent(null); in testCreateLaunchEmergencyDialerIntent()134 final Intent intentWithNumber = telecomManager.createLaunchEmergencyDialerIntent("12345"); in testCreateLaunchEmergencyDialerIntent()
220 (telecomManager) -> telecomManager.getCallCapablePhoneAccounts(true)); in testRegisterPhoneAccount_ListEnabledAccounts()
565 TelecomManager telecomManager, PhoneAccountHandle handle, in addIncomingCall() argument571 telecomManager.addNewIncomingCall(handle, extras); in addIncomingCall()603 TelecomManager telecomManager, PhoneAccountHandle handle, in placeOutgoingCall() argument608 telecomManager.placeCall(address, extras); in placeOutgoingCall()
708 final TelecomManager telecomManager = in testSilenceRinger() local710 telecomManager.silenceRinger(); in testSilenceRinger()
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()
103 TelecomManager telecomManager = mContext.getSystemService(TelecomManager.class); in setUp() local104 mPhoneAccountHandle = telecomManager in setUp()107 mPhoneNumber = telecomManager.getLine1Number(mPhoneAccountHandle); in setUp()
714 TelecomManager telecomManager = getContext().getSystemService(TelecomManager.class); in testTelephonyManager() local715 PhoneAccountHandle defaultAccount = telecomManager in testTelephonyManager()985 TelecomManager telecomManager = getContext().getSystemService(TelecomManager.class); in testCreateForPhoneAccountHandle() local987 telecomManager.getDefaultOutgoingPhoneAccount(PhoneAccount.SCHEME_TEL); in testCreateForPhoneAccountHandle()1009 TelecomManager telecomManager = getContext().getSystemService(TelecomManager.class); in testGetPhoneAccountHandle() local1010 PhoneAccountHandle defaultAccount = telecomManager in testGetPhoneAccountHandle()
980 TelecomManager telecomManager = in launchDefaultDialerInLockTaskMode_launches() local982 String dialerPackage = telecomManager.getSystemDialerPackage(); in launchDefaultDialerInLockTaskMode_launches()