Home
last modified time | relevance | path

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

/packages/services/Telecomm/src/com/android/server/telecom/
DCreateConnectionProcessor.java121 private final PhoneAccountRegistrar mPhoneAccountRegistrar; field in CreateConnectionProcessor
135 mPhoneAccountRegistrar = phoneAccountRegistrar; in CreateConnectionProcessor()
211 if (!mPhoneAccountRegistrar.phoneAccountRequiresBindPermission( in attemptNextPhoneAccount()
223 !mPhoneAccountRegistrar.phoneAccountRequiresBindPermission( in attemptNextPhoneAccount()
278 mContext, mPhoneAccountRegistrar, service, mCall); in setTimeoutIfNeeded()
305 mPhoneAccountRegistrar.getSimCallManagerFromCall(mCall); in shouldSetConnectionManager()
317 PhoneAccount targetPhoneAccount = mPhoneAccountRegistrar in shouldSetConnectionManager()
336 mPhoneAccountRegistrar.getSimCallManagerFromCall(mCall), in adjustAttemptsForConnectionManager()
373 List<PhoneAccount> allAccounts = mPhoneAccountRegistrar in adjustAttemptsForEmergency()
387 PhoneAccount preferredPA = mPhoneAccountRegistrar.getPhoneAccountUnchecked( in adjustAttemptsForEmergency()
[all …]
DTelecomServiceImpl.java122 return mPhoneAccountRegistrar
146 return mPhoneAccountRegistrar.getUserSelectedOutgoingPhoneAccount(
166 mPhoneAccountRegistrar.setUserSelectedOutgoingPhoneAccount(
192 return mPhoneAccountRegistrar.getCallCapablePhoneAccounts(null,
217 return mPhoneAccountRegistrar.getSelfManagedPhoneAccounts(
249 return mPhoneAccountRegistrar.getCallCapablePhoneAccounts(uriScheme, false,
270 return mPhoneAccountRegistrar.getPhoneAccountsForPackage(packageName,
293 return mPhoneAccountRegistrar
351 return mPhoneAccountRegistrar.getAllPhoneAccounts(callingUserHandle);
381 return mPhoneAccountRegistrar.getAllPhoneAccountHandles(callingUserHandle);
[all …]
DTelecomSystem.java109 private final PhoneAccountRegistrar mPhoneAccountRegistrar; field in TelecomSystem
130 mPhoneAccountRegistrar.setCurrentUserHandle(currentUserHandle);
211 mPhoneAccountRegistrar = new PhoneAccountRegistrar(mContext, defaultDialerCache, in TelecomSystem()
246 .makeMissedCallNotifierImpl(mContext, mPhoneAccountRegistrar, defaultDialerCache); in TelecomSystem()
271 mPhoneAccountRegistrar, in TelecomSystem()
324 mContext, mLock, mCallsManager, mPhoneAccountRegistrar); in TelecomSystem()
337 mContext, mCallsManager, mPhoneAccountRegistrar, in TelecomSystem()
354 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()
DCallsManager.java311 private final PhoneAccountRegistrar mPhoneAccountRegistrar; field in CallsManager
441 mPhoneAccountRegistrar = phoneAccountRegistrar; in CallsManager()
442 mPhoneAccountRegistrar.addListener(mPhoneAccountListener); in CallsManager()
508 new ConnectionServiceRepository(mPhoneAccountRegistrar, mContext, mLock, this); in CallsManager()
594 PhoneAccount phoneAccount = mPhoneAccountRegistrar.getPhoneAccountUnchecked( in onSuccessfulIncomingCall()
618 filters.add(new CallScreeningServiceController(mContext, this, mPhoneAccountRegistrar, in onSuccessfulIncomingCall()
1071 PhoneAccount phoneAccount = mPhoneAccountRegistrar.getPhoneAccountUnchecked( in processIncomingCallIntent()
1177 call.startCreateConnection(mPhoneAccountRegistrar); in processIncomingCallIntent()
1205 call.startCreateConnection(mPhoneAccountRegistrar); in addNewUnknownCall()
1266 mPhoneAccountRegistrar.getPhoneAccount(requestedAccountHandle, initiatingUser); in startOutgoingCall()
[all …]
DConnectionServiceRepository.java36 private final PhoneAccountRegistrar mPhoneAccountRegistrar; field in ConnectionServiceRepository
57 mPhoneAccountRegistrar = phoneAccountRegistrar; in ConnectionServiceRepository()
71 mPhoneAccountRegistrar, in getService()
DCallLogManager.java137 private final PhoneAccountRegistrar mPhoneAccountRegistrar; field in CallLogManager
154 mPhoneAccountRegistrar = phoneAccountRegistrar; in CallLogManager()
242 int subscriptionId = mPhoneAccountRegistrar in shouldLogDisconnectedCall()
393 mPhoneAccountRegistrar.getSubscriptionIdForPhoneAccount(accountHandle)); in logCall()
476 mPhoneAccountRegistrar.getSubscriptionIdForPhoneAccount(accountHandle)); in shouldSaveHdInfo()
554 PhoneAccount phoneAccount = mPhoneAccountRegistrar in addCall()
DBluetoothPhoneServiceImpl.java456 private final PhoneAccountRegistrar mPhoneAccountRegistrar; field in BluetoothPhoneServiceImpl
473 mPhoneAccountRegistrar = phoneAccountRegistrar; in BluetoothPhoneServiceImpl()
905 if (mPhoneAccountRegistrar == null) { in getBestPhoneAccount()
914 account = mPhoneAccountRegistrar.getPhoneAccountOfCurrentUser( in getBestPhoneAccount()
920 account = mPhoneAccountRegistrar.getPhoneAccountUnchecked( in getBestPhoneAccount()
921 mPhoneAccountRegistrar.getOutgoingPhoneAccountForSchemeOfCurrentUser( in getBestPhoneAccount()
DConnectionServiceWrapper.java816 mPhoneAccountRegistrar.getCallCapablePhoneAccounts(null /*uriScheme*/, in addExistingConnection()
829 mPhoneAccountRegistrar.getSimPhoneAccounts(userHandle)) { in addExistingConnection()
830 int subId = mPhoneAccountRegistrar.getSubscriptionIdForPhoneAccount( in addExistingConnection()
833 mPhoneAccountRegistrar.getSimCallManager(subId, userHandle); in addExistingConnection()
1033 private final PhoneAccountRegistrar mPhoneAccountRegistrar; field in ConnectionServiceWrapper
1063 mPhoneAccountRegistrar = phoneAccountRegistrar; in ConnectionServiceWrapper()
1731 for (PhoneAccountHandle handle : mPhoneAccountRegistrar.getSimPhoneAccounts(userHandle)) { in queryRemoteConnectionServices()
1732 int subId = mPhoneAccountRegistrar.getSubscriptionIdForPhoneAccount(handle); in queryRemoteConnectionServices()
1733 PhoneAccountHandle connectionMgrHandle = mPhoneAccountRegistrar.getSimCallManager(subId, in queryRemoteConnectionServices()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallsManagerTest.java148 @Mock private PhoneAccountRegistrar mPhoneAccountRegistrar; field in CallsManagerTest
205 mPhoneAccountRegistrar, in setUp()
227 when(mPhoneAccountRegistrar.getPhoneAccount( in setUp()
229 when(mPhoneAccountRegistrar.getPhoneAccount( in setUp()
231 when(mPhoneAccountRegistrar.getPhoneAccount( in setUp()
330 when(mPhoneAccountRegistrar.getOutgoingPhoneAccountForScheme(any(), any())).thenReturn( in testFindOutgoingCallAccountDefault()
332 when(mPhoneAccountRegistrar.getCallCapablePhoneAccounts(any(), anyBoolean(), in testFindOutgoingCallAccountDefault()
354 when(mPhoneAccountRegistrar.getOutgoingPhoneAccountForScheme(any(), any())).thenReturn( in testFindOutgoingCallAccountNoDefault()
356 when(mPhoneAccountRegistrar.getCallCapablePhoneAccounts(any(), anyBoolean(), in testFindOutgoingCallAccountNoDefault()
378 when(mPhoneAccountRegistrar.getOutgoingPhoneAccountForScheme(any(), any())).thenReturn( in testFindOutgoingCallAccountVideo()
[all …]
DCallScreeningServiceControllerTest.java81 @Mock PhoneAccountRegistrar mPhoneAccountRegistrar; field in CallScreeningServiceControllerTest
157 eq(mCall), anyBoolean(), eq(mPhoneAccountRegistrar))).thenReturn(null); in setUp()
169 mCallsManager, mPhoneAccountRegistrar, in testAllAllowCall()
201 mPhoneAccountRegistrar, mParcelableCallUtilsConverter, mLock, in testCarrierAllowCallAndContactExists()
227 mPhoneAccountRegistrar, mParcelableCallUtilsConverter, mLock, in testCarrierCallScreeningRejectCall()
265 mPhoneAccountRegistrar, mParcelableCallUtilsConverter, mLock, in testDefaultDialerRejectCall()
311 mPhoneAccountRegistrar, mParcelableCallUtilsConverter, mLock, in testUserChosenRejectCall()
DMissedCallNotifierImplTest.java151 private PhoneAccountRegistrar mPhoneAccountRegistrar; field in MissedCallNotifierImplTest
248 mPhoneAccountRegistrar, mDefaultDialerCache, fakeBuilderFactory); in testNotifyMultipleMissedCalls()
403 mPhoneAccountRegistrar, mDefaultDialerCache, fakeBuilderFactory); in testNoSmsBackAfterMissedSipCall()
463 mPhoneAccountRegistrar, mDefaultDialerCache, fakeBuilderFactory); in testLoadOneCallFromDb()
532 mPhoneAccountRegistrar, mDefaultDialerCache, fakeBuilderFactory); in testLoadTwoCallsFromDb()
594 mPhoneAccountRegistrar, mDefaultDialerCache, fakeBuilderFactory); in makeMissedCallNotifier()
606 when(mPhoneAccountRegistrar.getPhoneAccountUnchecked(phoneAccountHandle)) in makePhoneAccount()
DParcelableCallUtilsTest.java50 @Mock private PhoneAccountRegistrar mPhoneAccountRegistrar; field in ParcelableCallUtilsTest
61 when(mCallsManager.getPhoneAccountRegistrar()).thenReturn(mPhoneAccountRegistrar); in setUp()
62 when(mPhoneAccountRegistrar.getPhoneAccountUnchecked(any())).thenReturn(null); in setUp()
DCallRedirectionProcessorTest.java63 @Mock private PhoneAccountRegistrar mPhoneAccountRegistrar; field in CallRedirectionProcessorTest
155 mPhoneAccountRegistrar, null, SPEAKER_PHONE_ON, VIDEO_STATE); in startProcessWithNoGateWayInfo()
161 mPhoneAccountRegistrar, mGatewayInfo, SPEAKER_PHONE_ON, VIDEO_STATE); in startProcessWithGateWayInfo()
DCallScreeningServiceFilterTest.java75 @Mock PhoneAccountRegistrar mPhoneAccountRegistrar; field in CallScreeningServiceFilterTest
154 mFilter = new CallScreeningServiceFilter(mContext, mCallsManager, mPhoneAccountRegistrar, in setUp()
160 eq(mCall), anyBoolean(), eq(mPhoneAccountRegistrar))).thenReturn(null); in setUp()
DNewOutgoingCallIntentBroadcasterTest.java87 @Mock private PhoneAccountRegistrar mPhoneAccountRegistrar; field in NewOutgoingCallIntentBroadcasterTest
102 when(mCallsManager.getPhoneAccountRegistrar()).thenReturn(mPhoneAccountRegistrar); in setUp()
104 when(mPhoneAccountRegistrar.getSubscriptionIdForPhoneAccount( 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/callfiltering/
DCallScreeningServiceController.java54 private final PhoneAccountRegistrar mPhoneAccountRegistrar; field in CallScreeningServiceController
92 mPhoneAccountRegistrar = phoneAccountRegistrar; in CallScreeningServiceController()
214 mPhoneAccountRegistrar, in createCallScreeningServiceFilter()
/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()