Home
last modified time | relevance | path

Searched refs:getCallCapablePhoneAccounts (Results 1 – 25 of 40) sorted by relevance

12

/packages/apps/Dialer/java/com/android/dialer/telecom/
DTelecomUtil.java146 public static List<PhoneAccountHandle> getCallCapablePhoneAccounts(Context context) { in getCallCapablePhoneAccounts() method in TelecomUtil
148 return Optional.fromNullable(getTelecomManager(context).getCallCapablePhoneAccounts()) in getCallCapablePhoneAccounts()
158 TelecomUtil.getCallCapablePhoneAccounts(context); in getSubscriptionPhoneAccounts()
319 for (PhoneAccountHandle phoneAccountHandle : telecomManager.getCallCapablePhoneAccounts()) { in getOtherAccount()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DTelecomServiceImplTest.java332 .getCallCapablePhoneAccounts(nullable(String.class), eq(true), in testGetCallCapablePhoneAccounts()
336 .getCallCapablePhoneAccounts(nullable(String.class), eq(false), in testGetCallCapablePhoneAccounts()
341 mTSIBinder.getCallCapablePhoneAccounts(true, DEFAULT_DIALER_PACKAGE)); in testGetCallCapablePhoneAccounts()
343 mTSIBinder.getCallCapablePhoneAccounts(false, DEFAULT_DIALER_PACKAGE)); in testGetCallCapablePhoneAccounts()
358 result = mTSIBinder.getCallCapablePhoneAccounts(true, ""); in testGetCallCapablePhoneAccountsFailure()
364 .getCallCapablePhoneAccounts(anyString(), anyBoolean(), any(UserHandle.class)); in testGetCallCapablePhoneAccountsFailure()
378 .getCallCapablePhoneAccounts(eq("tel"), anyBoolean(), any(UserHandle.class))) in testGetPhoneAccountsSupportingScheme()
381 .getCallCapablePhoneAccounts(eq("sip"), anyBoolean(), any(UserHandle.class))) in testGetPhoneAccountsSupportingScheme()
DPhoneAccountRegistrarTest.java888 assertEquals(0, mRegistrar.getCallCapablePhoneAccounts(PhoneAccount.SCHEME_TEL, in testGetByEnabledState()
890 assertEquals(1, mRegistrar.getCallCapablePhoneAccounts(PhoneAccount.SCHEME_TEL, in testGetByEnabledState()
913 assertEquals(1, mRegistrar.getCallCapablePhoneAccounts(PhoneAccount.SCHEME_SIP, in testGetByScheme()
915 assertEquals(1, mRegistrar.getCallCapablePhoneAccounts(PhoneAccount.SCHEME_TEL, in testGetByScheme()
917 assertEquals(2, mRegistrar.getCallCapablePhoneAccounts(null, false /* includeDisabled */, in testGetByScheme()
941 assertEquals(1, mRegistrar.getCallCapablePhoneAccounts(PhoneAccount.SCHEME_SIP, in testGetByCapability()
944 assertEquals(2, mRegistrar.getCallCapablePhoneAccounts(PhoneAccount.SCHEME_SIP, in testGetByCapability()
946 assertEquals(0, mRegistrar.getCallCapablePhoneAccounts(PhoneAccount.SCHEME_SIP, in testGetByCapability()
DCallsManagerTest.java374 when(mPhoneAccountRegistrar.getCallCapablePhoneAccounts(any(), anyBoolean(), in testFindOutgoingCallAccountDefault()
398 when(mPhoneAccountRegistrar.getCallCapablePhoneAccounts(any(), anyBoolean(), in testFindOutgoingCallAccountNoDefault()
422 when(mPhoneAccountRegistrar.getCallCapablePhoneAccounts(any(), anyBoolean(), in testFindOutgoingCallAccountVideo()
446 when(mPhoneAccountRegistrar.getCallCapablePhoneAccounts(any(), anyBoolean(), in testFindOutgoingCallAccountVideoNotAvailable()
450 when(mPhoneAccountRegistrar.getCallCapablePhoneAccounts(any(), anyBoolean(), in testFindOutgoingCallAccountVideoNotAvailable()
472 when(mPhoneAccountRegistrar.getCallCapablePhoneAccounts(any(), anyBoolean(), in testUseSpecifiedAccount()
493 when(mPhoneAccountRegistrar.getCallCapablePhoneAccounts(any(), anyBoolean(), in testUseContactSpecificAcct()
1500 when(mPhoneAccountRegistrar.getCallCapablePhoneAccounts(any(), anyBoolean(), in setupMsimAccounts()
/packages/apps/Contacts/src/com/android/contacts/
DCallUtil.java164 List<PhoneAccountHandle> accountHandles = telecommMgr.getCallCapablePhoneAccounts(); in getVideoCallingAvailability()
211 List<PhoneAccountHandle> accountHandles = telecommMgr.getCallCapablePhoneAccounts(); in isCallWithSubjectSupported()
247 List<PhoneAccountHandle> accountHandles = telecommMgr.getCallCapablePhoneAccounts(); in isTachyonEnabled()
/packages/apps/Dialer/java/com/android/dialer/util/
DCallUtil.java75 List<PhoneAccountHandle> accountHandles = telecommMgr.getCallCapablePhoneAccounts(); in getVideoCallingAvailability()
136 List<PhoneAccountHandle> accountHandles = telecommMgr.getCallCapablePhoneAccounts(); in isCallWithSubjectSupported()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/sim/
DSimDialogActivity.java142 telecomManager.getCallCapablePhoneAccounts().listIterator(); in subscriptionIdToPhoneAccountHandle()
178 telecomManager.getCallCapablePhoneAccounts(); in createDialog()
211 telecomManager.getCallCapablePhoneAccounts().listIterator(); in createDialog()
/packages/apps/Dialer/java/com/android/dialer/precall/impl/
DCallingAccountSelector.java81 List<PhoneAccountHandle> accounts = telecomManager.getCallCapablePhoneAccounts(); in requiresUi()
134 activity.getSystemService(TelecomManager.class).getCallCapablePhoneAccounts()), in processPreferredAccount()
/packages/apps/Dialer/java/com/android/voicemail/impl/
DVvmPackageInstallHandler.java47 context.getSystemService(TelecomManager.class).getCallCapablePhoneAccounts()) { in handlePackageInstalled()
DStatusCheckJobService.java59 getSystemService(TelecomManager.class).getCallCapablePhoneAccounts()) { in onStartJob()
DPackageReplacedReceiver.java51 context.getSystemService(TelecomManager.class).getCallCapablePhoneAccounts()) { in onReceive()
/packages/apps/Dialer/java/com/android/voicemail/impl/utils/
DVvmDumpHandler.java35 context.getSystemService(TelecomManager.class).getCallCapablePhoneAccounts()) { in dump()
/packages/services/Telephony/src/com/android/phone/vvm/
DVvmDumpHandler.java23 .getCallCapablePhoneAccounts()) { in dump()
DCarrierVvmPackageInstalledReceiver.java78 for (PhoneAccountHandle phoneAccountHandle : telecomManager.getCallCapablePhoneAccounts()) { in onReceive()
/packages/apps/Settings/src/com/android/settings/sim/
DCallsSimListDialogFragment.java43 telecomManager.getCallCapablePhoneAccounts(); in getCurrentSubscriptions()
DSimDialogActivity.java178 for (PhoneAccountHandle handle : telecomManager.getCallCapablePhoneAccounts()) { in subscriptionIdToPhoneAccountHandle()
/packages/apps/Dialer/java/com/android/dialer/calllogutils/
DPhoneAccountUtils.java67 if (TelecomUtil.getCallCapablePhoneAccounts(context).size() <= 1) { in getAccountOrNull()
/packages/apps/Dialer/java/com/android/voicemail/impl/sync/
DOmtpVvmSyncReceiver.java46 context.getSystemService(TelecomManager.class).getCallCapablePhoneAccounts(); in onReceive()
DVvmAccountManager.java102 context.getSystemService(TelecomManager.class).getCallCapablePhoneAccounts()) { in getActiveAccounts()
/packages/services/Telecomm/src/com/android/server/telecom/
DPhoneAccountRegistrar.java217 List<PhoneAccountHandle> outgoing = getCallCapablePhoneAccounts(uriScheme, false, in getOutgoingPhoneAccountForScheme()
680 public List<PhoneAccountHandle> getCallCapablePhoneAccounts( in getCallCapablePhoneAccounts() method in PhoneAccountRegistrar
682 return getCallCapablePhoneAccounts(uriScheme, includeDisabledAccounts, userHandle, in getCallCapablePhoneAccounts()
698 public List<PhoneAccountHandle> getCallCapablePhoneAccounts( in getCallCapablePhoneAccounts() method in PhoneAccountRegistrar
727 return getCallCapablePhoneAccounts(uriScheme, includeDisabledAccounts, mCurrentUserHandle); in getCallCapablePhoneAccountsOfCurrentUser()
/packages/services/Telecomm/src/com/android/server/telecom/settings/
DEnableAccountPreferenceFragment.java92 mTelecomManager.getCallCapablePhoneAccounts(true /* includeDisabledAccounts */); in onResume()
/packages/apps/Dialer/java/com/android/dialer/app/settings/
DPhoneAccountSelectionFragment.java112 List<PhoneAccountHandle> accountHandles = telecomManager.getCallCapablePhoneAccounts(); in onResume()
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DLegacyVoicemailNotifier.java146 if (TelecomUtil.getCallCapablePhoneAccounts(context).size() > 1) { in getNotificationText()
/packages/apps/Dialer/java/com/android/voicemail/impl/fetch/
DFetchVoicemailReceiver.java164 context.getSystemService(TelecomManager.class).getCallCapablePhoneAccounts()) { in getAccountFromMarshmallowAccount()
/packages/apps/Dialer/java/com/android/dialer/notification/
DVoicemailChannelUtils.java171 for (PhoneAccountHandle handle : telecomManager.getCallCapablePhoneAccounts()) { in getAllEligableAccounts()

12