Home
last modified time | relevance | path

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

123

/aosp12/packages/apps/Settings/src/com/android/settings/accessibility/rtt/
H A DTelecomUtil.java39 public static List<PhoneAccountHandle> getCallCapablePhoneAccounts(Context context) { in getCallCapablePhoneAccounts() method in TelecomUtil
40 return Optional.ofNullable(getTelecomManager(context).getCallCapablePhoneAccounts()) in getCallCapablePhoneAccounts()
/aosp12/packages/apps/Contacts/src/com/android/contacts/
H A 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()
/aosp12/packages/apps/Dialer/java/com/android/dialer/telecom/
H A DTelecomUtil.java147 public static List<PhoneAccountHandle> getCallCapablePhoneAccounts(Context context) { in getCallCapablePhoneAccounts() method in TelecomUtil
149 return Optional.fromNullable(getTelecomManager(context).getCallCapablePhoneAccounts()) in getCallCapablePhoneAccounts()
159 TelecomUtil.getCallCapablePhoneAccounts(context); in getSubscriptionPhoneAccounts()
332 for (PhoneAccountHandle phoneAccountHandle : telecomManager.getCallCapablePhoneAccounts()) { in getOtherAccount()
/aosp12/packages/apps/Dialer/java/com/android/dialer/util/
H A DCallUtil.java75 List<PhoneAccountHandle> accountHandles = telecommMgr.getCallCapablePhoneAccounts(); in getVideoCallingAvailability()
136 List<PhoneAccountHandle> accountHandles = telecommMgr.getCallCapablePhoneAccounts(); in isCallWithSubjectSupported()
/aosp12/packages/apps/Car/Dialer/src/com/android/car/dialer/bluetooth/
H A DPhoneAccountManager.java98 mTelecomManager.getCallCapablePhoneAccounts(true); in getHfpDeviceList()
116 mTelecomManager.getCallCapablePhoneAccounts(/* includeDisabledAccounts= */true); in getMatchingPhoneAccount()
/aosp12/packages/apps/Dialer/java/com/android/voicemail/impl/
H A DVvmPackageInstallHandler.java47 context.getSystemService(TelecomManager.class).getCallCapablePhoneAccounts()) { in handlePackageInstalled()
H A DStatusCheckJobService.java59 getSystemService(TelecomManager.class).getCallCapablePhoneAccounts()) { in onStartJob()
H A DPackageReplacedReceiver.java51 context.getSystemService(TelecomManager.class).getCallCapablePhoneAccounts()) { in onReceive()
/aosp12/packages/apps/Dialer/java/com/android/dialer/precall/impl/
H A DCallingAccountSelector.java81 List<PhoneAccountHandle> accounts = telecomManager.getCallCapablePhoneAccounts(); in requiresUi()
134 activity.getSystemService(TelecomManager.class).getCallCapablePhoneAccounts()), in processPreferredAccount()
/aosp12/packages/apps/Dialer/java/com/android/voicemail/impl/utils/
H A DVvmDumpHandler.java35 context.getSystemService(TelecomManager.class).getCallCapablePhoneAccounts()) { in dump()
/aosp12/packages/services/Telephony/src/com/android/phone/vvm/
H A DVvmDumpHandler.java23 .getCallCapablePhoneAccounts()) { in dump()
H A DCarrierVvmPackageInstalledReceiver.java78 for (PhoneAccountHandle phoneAccountHandle : telecomManager.getCallCapablePhoneAccounts()) { in onReceive()
/aosp12/packages/apps/Settings/src/com/android/settings/sim/
H A DCallsSimListDialogFragment.java42 telecomManager.getCallCapablePhoneAccounts(); in getCurrentSubscriptions()
H A DSimDialogActivity.java188 for (PhoneAccountHandle handle : telecomManager.getCallCapablePhoneAccounts()) { in subscriptionIdToPhoneAccountHandle()
/aosp12/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
H A DPhoneAccountRegistrarTest.java897 assertEquals(0, mRegistrar.getCallCapablePhoneAccounts(PhoneAccount.SCHEME_TEL, in testGetByEnabledState()
899 assertEquals(1, mRegistrar.getCallCapablePhoneAccounts(PhoneAccount.SCHEME_TEL, in testGetByEnabledState()
922 assertEquals(1, mRegistrar.getCallCapablePhoneAccounts(PhoneAccount.SCHEME_SIP, in testGetByScheme()
924 assertEquals(1, mRegistrar.getCallCapablePhoneAccounts(PhoneAccount.SCHEME_TEL, in testGetByScheme()
926 assertEquals(2, mRegistrar.getCallCapablePhoneAccounts(null, false /* includeDisabled */, in testGetByScheme()
950 assertEquals(1, mRegistrar.getCallCapablePhoneAccounts(PhoneAccount.SCHEME_SIP, in testGetByCapability()
953 assertEquals(2, mRegistrar.getCallCapablePhoneAccounts(PhoneAccount.SCHEME_SIP, in testGetByCapability()
955 assertEquals(0, mRegistrar.getCallCapablePhoneAccounts(PhoneAccount.SCHEME_SIP, in testGetByCapability()
H A DCallsManagerTest.java385 when(mPhoneAccountRegistrar.getCallCapablePhoneAccounts(any(), anyBoolean(), in testFindOutgoingCallAccountDefault()
409 when(mPhoneAccountRegistrar.getCallCapablePhoneAccounts(any(), anyBoolean(), in testFindOutgoingCallAccountNoDefault()
433 when(mPhoneAccountRegistrar.getCallCapablePhoneAccounts(any(), anyBoolean(), in testFindOutgoingCallAccountVideo()
457 when(mPhoneAccountRegistrar.getCallCapablePhoneAccounts(any(), anyBoolean(), in testFindOutgoingCallAccountVideoNotAvailable()
461 when(mPhoneAccountRegistrar.getCallCapablePhoneAccounts(any(), anyBoolean(), in testFindOutgoingCallAccountVideoNotAvailable()
483 when(mPhoneAccountRegistrar.getCallCapablePhoneAccounts(any(), anyBoolean(), in testUseSpecifiedAccount()
504 when(mPhoneAccountRegistrar.getCallCapablePhoneAccounts(any(), anyBoolean(), in testUseContactSpecificAcct()
1143 when(mPhoneAccountRegistrar.getCallCapablePhoneAccounts(any(), anyBoolean(), in testBlockNonEmergencyCallDuringEmergencyCall()
1479 when(mPhoneAccountRegistrar.getCallCapablePhoneAccounts(any(), anyBoolean(), in testReuseCallConcurrency()
1714 when(mPhoneAccountRegistrar.getCallCapablePhoneAccounts(any(), anyBoolean(), in setupMsimAccounts()
H A DTelecomServiceImplTest.java389 .getCallCapablePhoneAccounts(nullable(String.class), eq(true), in testGetCallCapablePhoneAccounts()
393 .getCallCapablePhoneAccounts(nullable(String.class), eq(false), in testGetCallCapablePhoneAccounts()
398 mTSIBinder.getCallCapablePhoneAccounts(true, DEFAULT_DIALER_PACKAGE, null)); in testGetCallCapablePhoneAccounts()
400 mTSIBinder.getCallCapablePhoneAccounts(false, DEFAULT_DIALER_PACKAGE, null)); in testGetCallCapablePhoneAccounts()
415 result = mTSIBinder.getCallCapablePhoneAccounts(true, "", null); in testGetCallCapablePhoneAccountsFailure()
421 .getCallCapablePhoneAccounts(anyString(), anyBoolean(), any(UserHandle.class)); in testGetCallCapablePhoneAccountsFailure()
435 .getCallCapablePhoneAccounts(eq("tel"), anyBoolean(), any(UserHandle.class))) in testGetPhoneAccountsSupportingScheme()
438 .getCallCapablePhoneAccounts(eq("sip"), anyBoolean(), any(UserHandle.class))) in testGetPhoneAccountsSupportingScheme()
/aosp12/packages/apps/Dialer/java/com/android/voicemail/impl/sync/
H A DOmtpVvmSyncReceiver.java46 context.getSystemService(TelecomManager.class).getCallCapablePhoneAccounts(); in onReceive()
H A DVvmAccountManager.java102 context.getSystemService(TelecomManager.class).getCallCapablePhoneAccounts()) { in getActiveAccounts()
/aosp12/packages/apps/Dialer/java/com/android/dialer/calllogutils/
H A DPhoneAccountUtils.java67 if (TelecomUtil.getCallCapablePhoneAccounts(context).size() <= 1) { in getAccountOrNull()
/aosp12/packages/apps/Car/Dialer/tests/unittests/src/com/android/car/dialer/telecom/
H A DUiCallManagerTest.java228 when(mMockTelecomManager.getCallCapablePhoneAccounts()).thenReturn(Collections.EMPTY_LIST); in noPhoneAccounts_emergencyCallNotSupported()
238 when(mMockTelecomManager.getCallCapablePhoneAccounts()).thenReturn( in hasPhoneAccountWithEmergencyCallCapability_emergencyCallSupported()
/aosp12/packages/services/Telecomm/src/com/android/server/telecom/settings/
H A DEnableAccountPreferenceFragment.java92 mTelecomManager.getCallCapablePhoneAccounts(true /* includeDisabledAccounts */); in onResume()
/aosp12/packages/apps/Dialer/java/com/android/dialer/app/settings/
H A DPhoneAccountSelectionFragment.java112 List<PhoneAccountHandle> accountHandles = telecomManager.getCallCapablePhoneAccounts(); in onResume()
/aosp12/frameworks/base/telecomm/java/android/telecom/
H A DTelecomManager.java1278 public List<PhoneAccountHandle> getCallCapablePhoneAccounts() { in getCallCapablePhoneAccounts() method in TelecomManager
1279 return getCallCapablePhoneAccounts(false); in getCallCapablePhoneAccounts()
1322 public @NonNull List<PhoneAccountHandle> getCallCapablePhoneAccounts( in getCallCapablePhoneAccounts() method in TelecomManager
1327 return service.getCallCapablePhoneAccounts(includeDisabledAccounts, in getCallCapablePhoneAccounts()
/aosp12/packages/apps/Settings/src/com/android/settings/accessibility/
H A DRTTSettingPreferenceController.java102 TelecomUtil.getCallCapablePhoneAccounts(mContext)) { in isRttSettingSupported()

123