Home
last modified time | relevance | path

Searched refs:mPhoneAccountRegistrar (Results 1 – 17 of 17) sorted by relevance

/packages/services/Telecomm/src/com/android/server/telecom/
DCreateConnectionProcessor.java122 private final PhoneAccountRegistrar mPhoneAccountRegistrar; field in CreateConnectionProcessor
136 mPhoneAccountRegistrar = phoneAccountRegistrar; in CreateConnectionProcessor()
212 if (!mPhoneAccountRegistrar.phoneAccountRequiresBindPermission( in attemptNextPhoneAccount()
224 !mPhoneAccountRegistrar.phoneAccountRequiresBindPermission( in attemptNextPhoneAccount()
293 mContext, mPhoneAccountRegistrar, service, mCall); in setTimeoutIfNeeded()
320 mPhoneAccountRegistrar.getSimCallManagerFromCall(mCall); in shouldSetConnectionManager()
332 PhoneAccount targetPhoneAccount = mPhoneAccountRegistrar in shouldSetConnectionManager()
351 mPhoneAccountRegistrar.getSimCallManagerFromCall(mCall), in adjustAttemptsForConnectionManager()
388 List<PhoneAccount> allAccounts = mPhoneAccountRegistrar in adjustAttemptsForEmergency()
404 allAccounts = mPhoneAccountRegistrar.filterRestrictedPhoneAccounts(allAccounts); in adjustAttemptsForEmergency()
[all …]
DTelecomServiceImpl.java123 return mPhoneAccountRegistrar
147 return mPhoneAccountRegistrar.getUserSelectedOutgoingPhoneAccount(
167 mPhoneAccountRegistrar.setUserSelectedOutgoingPhoneAccount(
198 return mPhoneAccountRegistrar.getCallCapablePhoneAccounts(null,
223 return mPhoneAccountRegistrar.getSelfManagedPhoneAccounts(
255 return mPhoneAccountRegistrar.getCallCapablePhoneAccounts(uriScheme, false,
276 return mPhoneAccountRegistrar.getPhoneAccountsForPackage(packageName,
299 return mPhoneAccountRegistrar
357 return mPhoneAccountRegistrar.getAllPhoneAccounts(callingUserHandle);
387 return mPhoneAccountRegistrar.getAllPhoneAccountHandles(callingUserHandle);
[all …]
DTelecomSystem.java114 private final PhoneAccountRegistrar mPhoneAccountRegistrar; field in TelecomSystem
135 mPhoneAccountRegistrar.setCurrentUserHandle(currentUserHandle);
219 mPhoneAccountRegistrar = new PhoneAccountRegistrar(mContext, defaultDialerCache, in TelecomSystem()
243 .makeMissedCallNotifierImpl(mContext, mPhoneAccountRegistrar, defaultDialerCache); in TelecomSystem()
288 mPhoneAccountRegistrar, in TelecomSystem()
344 mContext, mLock, mCallsManager, mPhoneAccountRegistrar); in TelecomSystem()
357 mContext, mCallsManager, mPhoneAccountRegistrar, in TelecomSystem()
374 return mPhoneAccountRegistrar; in getPhoneAccountRegistrar()
DCreateConnectionTimeout.java35 private final PhoneAccountRegistrar mPhoneAccountRegistrar; field in CreateConnectionTimeout
46 mPhoneAccountRegistrar = phoneAccountRegistrar; in CreateConnectionTimeout()
61 mPhoneAccountRegistrar.getSimCallManagerFromCall(mCall); in isTimeoutNeededForCall()
73 mPhoneAccountRegistrar.getSystemSimCallManagerComponent())) { in isTimeoutNeededForCall()
DConnectionServiceRepository.java36 private final PhoneAccountRegistrar mPhoneAccountRegistrar; field in ConnectionServiceRepository
57 mPhoneAccountRegistrar = phoneAccountRegistrar; in ConnectionServiceRepository()
71 mPhoneAccountRegistrar, in getService()
DCallsManager.java349 private final PhoneAccountRegistrar mPhoneAccountRegistrar; field in CallsManager
489 mPhoneAccountRegistrar = phoneAccountRegistrar; in CallsManager()
490 mPhoneAccountRegistrar.addListener(mPhoneAccountListener); in CallsManager()
558 new ConnectionServiceRepository(mPhoneAccountRegistrar, mContext, mLock, this); in CallsManager()
649 PhoneAccount phoneAccount = mPhoneAccountRegistrar.getPhoneAccountUnchecked( in onSuccessfulIncomingCall()
1198 PhoneAccount phoneAccount = mPhoneAccountRegistrar.getPhoneAccountUnchecked( in processIncomingCallIntent()
1324 call.startCreateConnection(mPhoneAccountRegistrar); in processIncomingCallIntent()
1353 call.startCreateConnection(mPhoneAccountRegistrar); in addNewUnknownCall()
1425 mPhoneAccountRegistrar.getPhoneAccount(requestedAccountHandle, initiatingUser); in startOutgoingCall()
1699 PhoneAccount accountToUse = mPhoneAccountRegistrar in startOutgoingCall()
[all …]
DBluetoothPhoneServiceImpl.java460 private final PhoneAccountRegistrar mPhoneAccountRegistrar; field in BluetoothPhoneServiceImpl
477 mPhoneAccountRegistrar = phoneAccountRegistrar; in BluetoothPhoneServiceImpl()
911 if (mPhoneAccountRegistrar == null) { in getBestPhoneAccount()
920 account = mPhoneAccountRegistrar.getPhoneAccountOfCurrentUser( in getBestPhoneAccount()
926 account = mPhoneAccountRegistrar.getPhoneAccountUnchecked( in getBestPhoneAccount()
927 mPhoneAccountRegistrar.getOutgoingPhoneAccountForSchemeOfCurrentUser( in getBestPhoneAccount()
DCallLogManager.java141 private final PhoneAccountRegistrar mPhoneAccountRegistrar; field in CallLogManager
158 mPhoneAccountRegistrar = phoneAccountRegistrar; in CallLogManager()
261 int subscriptionId = mPhoneAccountRegistrar in shouldLogDisconnectedCall()
421 mPhoneAccountRegistrar.getSubscriptionIdForPhoneAccount(accountHandle)); in logCall()
573 PhoneAccount phoneAccount = mPhoneAccountRegistrar in addCall()
DConnectionServiceWrapper.java875 mPhoneAccountRegistrar.getCallCapablePhoneAccounts(null /*uriScheme*/, in addExistingConnection()
889 mPhoneAccountRegistrar.getSimPhoneAccounts(userHandle)) { in addExistingConnection()
890 int subId = mPhoneAccountRegistrar.getSubscriptionIdForPhoneAccount( in addExistingConnection()
893 mPhoneAccountRegistrar.getSimCallManager(subId, userHandle); in addExistingConnection()
1130 private final PhoneAccountRegistrar mPhoneAccountRegistrar; field in ConnectionServiceWrapper
1161 mPhoneAccountRegistrar = phoneAccountRegistrar; in ConnectionServiceWrapper()
2015 for (PhoneAccountHandle handle : mPhoneAccountRegistrar.getSimPhoneAccounts(userHandle)) { in queryRemoteConnectionServices()
2016 int subId = mPhoneAccountRegistrar.getSubscriptionIdForPhoneAccount(handle); in queryRemoteConnectionServices()
2017 PhoneAccountHandle connectionMgrHandle = mPhoneAccountRegistrar.getSimCallManager(subId, in queryRemoteConnectionServices()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallsManagerTest.java168 @Mock private PhoneAccountRegistrar mPhoneAccountRegistrar; field in CallsManagerTest
235 mPhoneAccountRegistrar, in setUp()
260 when(mPhoneAccountRegistrar.getPhoneAccount( in setUp()
262 when(mPhoneAccountRegistrar.getPhoneAccount( in setUp()
264 when(mPhoneAccountRegistrar.getPhoneAccount( in setUp()
372 when(mPhoneAccountRegistrar.getOutgoingPhoneAccountForScheme(any(), any())).thenReturn( in testFindOutgoingCallAccountDefault()
374 when(mPhoneAccountRegistrar.getCallCapablePhoneAccounts(any(), anyBoolean(), in testFindOutgoingCallAccountDefault()
396 when(mPhoneAccountRegistrar.getOutgoingPhoneAccountForScheme(any(), any())).thenReturn( in testFindOutgoingCallAccountNoDefault()
398 when(mPhoneAccountRegistrar.getCallCapablePhoneAccounts(any(), anyBoolean(), in testFindOutgoingCallAccountNoDefault()
420 when(mPhoneAccountRegistrar.getOutgoingPhoneAccountForScheme(any(), any())).thenReturn( in testFindOutgoingCallAccountVideo()
[all …]
DMissedCallNotifierImplTest.java151 private PhoneAccountRegistrar mPhoneAccountRegistrar; field in MissedCallNotifierImplTest
249 mPhoneAccountRegistrar, mDefaultDialerCache, fakeBuilderFactory); in testNotifyMultipleMissedCalls()
404 mPhoneAccountRegistrar, mDefaultDialerCache, fakeBuilderFactory); in testNoSmsBackAfterMissedSipCall()
464 mPhoneAccountRegistrar, mDefaultDialerCache, fakeBuilderFactory); in testLoadOneCallFromDb()
533 mPhoneAccountRegistrar, mDefaultDialerCache, fakeBuilderFactory); in testLoadTwoCallsFromDb()
595 mPhoneAccountRegistrar, mDefaultDialerCache, fakeBuilderFactory); in makeMissedCallNotifier()
607 when(mPhoneAccountRegistrar.getPhoneAccountUnchecked(phoneAccountHandle)) in makePhoneAccount()
DParcelableCallUtilsTest.java49 @Mock private PhoneAccountRegistrar mPhoneAccountRegistrar; field in ParcelableCallUtilsTest
60 when(mCallsManager.getPhoneAccountRegistrar()).thenReturn(mPhoneAccountRegistrar); in setUp()
61 when(mPhoneAccountRegistrar.getPhoneAccountUnchecked(any())).thenReturn(null); in setUp()
DNewOutgoingCallIntentBroadcasterTest.java92 @Mock private PhoneAccountRegistrar mPhoneAccountRegistrar; field in NewOutgoingCallIntentBroadcasterTest
106 when(mCallsManager.getPhoneAccountRegistrar()).thenReturn(mPhoneAccountRegistrar); in setUp()
108 when(mPhoneAccountRegistrar.getSubscriptionIdForPhoneAccount( in setUp()
110 when(mPhoneAccountRegistrar.getPhoneAccountUnchecked( in setUp()
DCallRedirectionProcessorTest.java74 @Mock private PhoneAccountRegistrar mPhoneAccountRegistrar; field in CallRedirectionProcessorTest
183 mPhoneAccountRegistrar, null, SPEAKER_PHONE_ON, VIDEO_STATE); in startProcessWithNoGateWayInfo()
189 mPhoneAccountRegistrar, mGatewayInfo, SPEAKER_PHONE_ON, VIDEO_STATE); in startProcessWithGateWayInfo()
DCallScreeningServiceFilterTest.java76 @Mock PhoneAccountRegistrar mPhoneAccountRegistrar; field in CallScreeningServiceFilterTest
121 eq(mCall), anyBoolean(), eq(mPhoneAccountRegistrar))).thenReturn(null); in setUp()
/packages/services/Telecomm/src/com/android/server/telecom/callredirection/
DCallRedirectionProcessorHelper.java44 private final PhoneAccountRegistrar mPhoneAccountRegistrar; field in CallRedirectionProcessorHelper
52 mPhoneAccountRegistrar = phoneAccountRegistrar; in CallRedirectionProcessorHelper()
76 PersistableBundle pb = configManager.getConfigForSubId(mPhoneAccountRegistrar in getCarrierCallRedirectionService()
/packages/services/Telecomm/src/com/android/server/telecom/ui/
DMissedCallNotifierImpl.java129 private final PhoneAccountRegistrar mPhoneAccountRegistrar; field in MissedCallNotifierImpl
151 mPhoneAccountRegistrar = phoneAccountRegistrar; in MissedCallNotifierImpl()
263 mPhoneAccountRegistrar.getPhoneAccountUnchecked(phoneAccountHandle); in showMissedCallNotification()