Home
last modified time | relevance | path

Searched refs:getPhoneAccount (Results 1 – 25 of 48) sorted by relevance

12

/packages/apps/Car/Dialer/tests/unittests/src/com/android/car/dialer/telecom/
DProjectionCallHandlerTest.java110 when(mTelecomManager.getPhoneAccount(any(PhoneAccountHandle.class))).thenReturn( in noProjectionApps_doesNotSuppress()
117 when(mTelecomManager.getPhoneAccount(any(PhoneAccountHandle.class))).thenReturn( in projectionApp_inactive_doesNotSuppress()
129 when(mTelecomManager.getPhoneAccount(any(PhoneAccountHandle.class))).thenReturn( in projectionApp_readyToProject_doesNotSuppress()
141 when(mTelecomManager.getPhoneAccount(any(PhoneAccountHandle.class))).thenReturn( in activeApp_noProjectingDevices_doesNotSuppress()
155 when(mTelecomManager.getPhoneAccount(any(PhoneAccountHandle.class))).thenReturn( in activeApp_withProjectingDevice_suppresses()
169 when(mTelecomManager.getPhoneAccount(any(PhoneAccountHandle.class))).thenReturn( in activeApp_thatHandlesPhoneUi_suppresses()
181 when(mTelecomManager.getPhoneAccount(any(PhoneAccountHandle.class))).thenReturn( in activeApp_thatDoesNotHandlePhoneUi_doesNotSuppress()
193 when(mTelecomManager.getPhoneAccount(any(PhoneAccountHandle.class))).thenReturn( in activeApp_withProjectingDevice_withBackgroundStateExtra_doesNotSuppress()
207 when(mTelecomManager.getPhoneAccount(any(PhoneAccountHandle.class))).thenReturn( in activeApp_withProjectingDevice_withForegroundStateExtra_suppresses()
221 when(mTelecomManager.getPhoneAccount(any(PhoneAccountHandle.class))).thenReturn( in activeApp_withInvalidBluetoothDeviceExtra_suppresses()
[all …]
/packages/apps/Dialer/java/com/android/dialer/calllogutils/
DPhoneAccountUtils.java41 final PhoneAccount account = TelecomUtil.getPhoneAccount(context, accountHandle); in getAccountColor()
55 final PhoneAccount account = TelecomUtil.getPhoneAccount(context, accountHandle); in getAccountSupportsCallSubject()
70 return TelecomUtil.getPhoneAccount(context, accountHandle); in getAccountOrNull()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DDefaultSubscriptionController.java234 PhoneAccount getPhoneAccount(PhoneAccountHandle handle) { in getPhoneAccount() method in DefaultSubscriptionController
235 return getTelecomManager().getPhoneAccount(handle); in getPhoneAccount()
244 final PhoneAccount account = getPhoneAccount(handle); in isCallingAccountBindToSubscription()
259 final PhoneAccount account = getPhoneAccount(handle); in getLabelFromCallingAccount()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DTelecomServiceImplTest.java260 doReturn(phoneAccount).when(mFakePhoneAccountRegistrar).getPhoneAccount( in testGetDefaultOutgoingPhoneAccount()
286 doReturn(phoneAccount).when(mFakePhoneAccountRegistrar).getPhoneAccount( in testGetDefaultOutgoingPhoneAccountSucceedsIfCallerIsSimCallManager()
321 doReturn(phoneAccount).when(mFakePhoneAccountRegistrar).getPhoneAccount( in testGetDefaultOutgoingPhoneAccountFailure()
463 assertEquals(TEL_PA_HANDLE_16, mTSIBinder.getPhoneAccount(TEL_PA_HANDLE_16, in testGetPhoneAccount()
465 assertEquals(SIP_PA_HANDLE_17, mTSIBinder.getPhoneAccount(SIP_PA_HANDLE_17, in testGetPhoneAccount()
633 doReturn(phoneAccount).when(mFakePhoneAccountRegistrar).getPhoneAccount( in testAddNewIncomingCall()
671 doReturn(phoneAccount).when(mFakePhoneAccountRegistrar).getPhoneAccount( in testAddNewUnknownCall()
892 when(mFakePhoneAccountRegistrar.getPhoneAccount(TEL_PA_HANDLE_CURRENT, in testIsVoicemailNumberAccountNotVisibleFailure()
901 when(mFakePhoneAccountRegistrar.getPhoneAccount(isNull(PhoneAccountHandle.class), in testGetVoicemailNumberWithNullAccountHandle()
918 when(mFakePhoneAccountRegistrar.getPhoneAccount(eq(TEL_PA_HANDLE_CURRENT), in testGetVoicemailNumberWithNonNullAccountHandle()
[all …]
/packages/apps/Dialer/java/com/android/dialer/telecom/
DTelecomUtil.java143 public static PhoneAccount getPhoneAccount(Context context, PhoneAccountHandle handle) { in getPhoneAccount() method in TelecomUtil
144 return getTelecomManager(context).getPhoneAccount(handle); in getPhoneAccount()
161 PhoneAccount account = TelecomUtil.getPhoneAccount(context, accountHandle); in getSubscriptionPhoneAccounts()
333 PhoneAccount phoneAccount = telecomManager.getPhoneAccount(phoneAccountHandle); in getOtherAccount()
/packages/apps/Contacts/src/com/android/contacts/
DCallUtil.java166 PhoneAccount account = telecommMgr.getPhoneAccount(accountHandle); in getVideoCallingAvailability()
213 PhoneAccount account = telecommMgr.getPhoneAccount(accountHandle); in isCallWithSubjectSupported()
249 PhoneAccount account = telecommMgr.getPhoneAccount(accountHandle); in isTachyonEnabled()
/packages/apps/Dialer/java/com/android/dialer/util/
DCallUtil.java77 PhoneAccount account = telecommMgr.getPhoneAccount(accountHandle); in getVideoCallingAvailability()
138 PhoneAccount account = telecommMgr.getPhoneAccount(accountHandle); in isCallWithSubjectSupported()
/packages/apps/Dialer/java/com/android/dialer/notification/
DVoicemailChannelUtils.java182 context.getSystemService(TelecomManager.class).getPhoneAccount(handle); in createVoicemailChannelForAccount()
206 context.getSystemService(TelecomManager.class).getPhoneAccount(handle); in isChannelAllowedForAccount()
/packages/apps/Dialer/java/com/android/incallui/call/
DDialerCall.java637 PhoneAccount phoneAccount = telecomManager.getPhoneAccount(phoneAccountHandle); in updateFromTelecomCall()
1094 PhoneAccount phoneAccount = getPhoneAccount(); in isPhoneAccountRttCapable()
1481 PhoneAccount account = getPhoneAccount(); in getCallProviderLabel()
1494 private PhoneAccount getPhoneAccount() { in getPhoneAccount() method in DialerCall
1499 return context.getSystemService(TelecomManager.class).getPhoneAccount(accountHandle); in getPhoneAccount()
1725 PhoneAccount phoneAccount = getPhoneAccount(); in isSpeakEasyEligible()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/connserv/
DHfpClientConnectionService.java278 PhoneAccount account = mTelecomManager.getPhoneAccount(handle); in getDevice()
336 PhoneAccount account = mTelecomManager.getPhoneAccount(handle); in findBlockForHandle()
/packages/services/Telephony/src/com/android/phone/settings/
DPhoneAccountSettingsFragment.java224 PhoneAccount account = mTelecomManager.getPhoneAccount(handle); in initAccountList()
369 PhoneAccount account = mTelecomManager.getPhoneAccount(handle); in getCallingAccounts()
DAccountSelectionPreference.java84 PhoneAccount account = telecomManager.getPhoneAccount(mAccounts[i]); in setModel()
/packages/services/Telecomm/src/com/android/server/telecom/
DPhoneAccountRegistrar.java251 PhoneAccount account = getPhoneAccount(defaultPhoneAccountHandle.phoneAccountHandle, in getUserSelectedOutgoingPhoneAccount()
318 PhoneAccount account = getPhoneAccount(accountHandle, userHandle); in setUserSelectedOutgoingPhoneAccount()
1055 public PhoneAccount getPhoneAccount(PhoneAccountHandle handle, UserHandle userHandle) { in getPhoneAccount() method in PhoneAccountRegistrar
1056 return getPhoneAccount(handle, userHandle, /* acrossProfiles */ false); in getPhoneAccount()
1059 public PhoneAccount getPhoneAccount(PhoneAccountHandle handle, in getPhoneAccount() method in PhoneAccountRegistrar
1069 return getPhoneAccount(handle, mCurrentUserHandle); in getPhoneAccountOfCurrentUser()
DTelecomServiceImpl.java320 public PhoneAccount getPhoneAccount(PhoneAccountHandle accountHandle,
343 .getPhoneAccount(accountHandle, callingUserHandle,
2107 return mPhoneAccountRegistrar.getPhoneAccount(phoneAccountUserHandle, callingUser) in isPhoneAccountHandleVisibleToCallingUser()
2194 PhoneAccount phoneAccount = mPhoneAccountRegistrar.getPhoneAccount(phoneAccountHandle, in enforcePhoneAccountIsRegisteredEnabled()
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/
DSipIncomingCallReceiver.java77 PhoneAccount phoneAccount = tm.getPhoneAccount(accountHandle); in takeCall()
/packages/apps/Dialer/java/com/android/voicemail/impl/utils/
DVoicemailDatabaseUtil.java71 PhoneAccountHandle phoneAccount = voicemail.getPhoneAccount(); in getContentValues()
/packages/services/Telecomm/src/com/android/server/telecom/settings/
DEnableAccountPreferenceFragment.java96 PhoneAccount account = mTelecomManager.getPhoneAccount(handle); in onResume()
/packages/apps/Settings/tests/unit/src/com/android/settings/network/telephony/
DDefaultSubscriptionControllerTest.java109 doReturn(null).when(mTelecomManager).getPhoneAccount(any()); in isCallingAccountBindToSubscription_invalidAccount_withoutCrash()
116 doReturn(null).when(mTelecomManager).getPhoneAccount(any()); in getLabelFromCallingAccount_invalidAccount_emptyString()
/packages/apps/Dialer/java/com/android/dialer/app/settings/
DPhoneAccountSelectionFragment.java116 PhoneAccount account = telecomManager.getPhoneAccount(handle); in onResume()
/packages/apps/Dialer/java/com/android/dialer/preferredsim/
DPreferredAccountUtil.java77 context.getSystemService(TelecomManager.class).getPhoneAccount(phoneAccountHandle); in isPhoneAccountValid()
/packages/apps/Dialer/java/com/android/dialer/simulator/impl/
DSimulatorVideoCall.java98 .getPhoneAccount(SimulatorSimCallManager.getVideoProviderHandle(context)) in isVideoAccountEnabled()
/packages/apps/Dialer/java/com/android/incallui/
DThemeColorManager.java101 PhoneAccount account = context.getSystemService(TelecomManager.class).getPhoneAccount(handle); in getHighlightColor()
/packages/apps/Settings/src/com/android/settings/accessibility/
DRTTSettingPreferenceController.java130 TelecomUtil.getTelecomManager(mContext).getPhoneAccount(phoneAccountHandle); in isRttSupportedByTelecom()
/packages/apps/Car/Dialer/src/com/android/car/dialer/telecom/
DProjectionCallHandler.java142 PhoneAccount account = mTelecomManager.getPhoneAccount(accountHandle); in getHfpBluetoothAddressForCall()
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DLegacyVoicemailNotifier.java148 PhoneAccount phoneAccount = telecomManager.getPhoneAccount(handle); in getNotificationText()

12