Home
last modified time | relevance | path

Searched refs:getAccountHandle (Results 1 – 25 of 42) sorted by relevance

12

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCreateConnectionProcessorTest.java332 PhoneAccountHandle regularAccountHandle = regularAccount.getAccountHandle(); in testFakeEmergencyNumber()
338 setTargetPhoneAccount(mMockCall, regularAccount.getAccountHandle()); in testFakeEmergencyNumber()
376 PhoneAccountHandle emergencyPhoneAccountHandle = emergencyPhoneAccount.getAccountHandle(); in testEmergencyCallAcrossUsers()
404 setTargetPhoneAccount(mMockCall, regularAccount.getAccountHandle()); in testEmergencyCall()
414 PhoneAccountHandle emergencyPhoneAccountHandle = emergencyPhoneAccount.getAccountHandle(); in testEmergencyCall()
442 setTargetPhoneAccount(mMockCall, regularAccount.getAccountHandle()); in testEmergencyCallMultiSimNoPreferred()
454 PhoneAccountHandle emergencyPhoneAccountHandle2 = emergencyPhoneAccount2.getAccountHandle(); in testEmergencyCallMultiSimNoPreferred()
483 setTargetPhoneAccount(mMockCall, emergencyPhoneAccount1.getAccountHandle()); in testEmergencyCallMultiSimTelephonyPreferred()
489 PhoneAccountHandle emergencyPhoneAccountHandle2 = emergencyPhoneAccount2.getAccountHandle(); in testEmergencyCallMultiSimTelephonyPreferred()
525 setTargetPhoneAccount(mMockCall, emergencyPhoneAccount2.getAccountHandle()); in testEmergencyCallMultiSimUserPreferred()
[all …]
DBasicCallTests.java125 mPhoneAccountA0.getAccountHandle(), mConnectionServiceFixtureA); in testSingleOutgoingCallLocalDisconnect()
156 mPhoneAccountA0.getAccountHandle(), mConnectionServiceFixtureA); in testSingleOutgoingCallRemoteDisconnect()
177 IdPair ids = startIncomingPhoneCall("650-555-1212", mPhoneAccountA0.getAccountHandle(), in testTelecomManagerAcceptRingingCall()
207 IdPair ids = startIncomingPhoneCall("650-555-1212", mPhoneAccountA0.getAccountHandle(), in testTelecomManagerAcceptRingingVideoCall()
236 IdPair ids = startIncomingPhoneCall("650-555-1212", mPhoneAccountA0.getAccountHandle(), in testTelecomManagerAcceptRingingVideoCallAsAudio()
267 IdPair ids = startIncomingPhoneCall("650-555-1212", mPhoneAccountA0.getAccountHandle(), in testTelecomManagerAcceptRingingInvalidVideoState()
293 mPhoneAccountA0.getAccountHandle(), mConnectionServiceFixtureA); in testSingleIncomingCallLocalDisconnect()
314 mPhoneAccountA0.getAccountHandle(), mConnectionServiceFixtureA); in testSingleIncomingCallRemoteDisconnect()
331 mPhoneAccountE0.getAccountHandle(), mConnectionServiceFixtureA); in testIncomingEmergencyCallback()
341 .addNewIncomingCall(mPhoneAccountA0.getAccountHandle(), extras, CALLING_PACKAGE); in testIncomingEmergencyCallback()
[all …]
DVideoCallTests.java77 mPhoneAccountA0.getAccountHandle(), mConnectionServiceFixtureA, in testAutoSpeakerphoneIncomingBidirectional()
94 mPhoneAccountA0.getAccountHandle(), mConnectionServiceFixtureA, in testAutoSpeakerphoneIncomingReceiveOnly()
109 mPhoneAccountA0.getAccountHandle(), mConnectionServiceFixtureA, in testAutoSpeakerphoneOutgoingBidirectional()
125 mPhoneAccountA0.getAccountHandle(), mConnectionServiceFixtureA, in testAutoSpeakerphoneOutgoingTransmitOnly()
141 mPhoneAccountA0.getAccountHandle(), mConnectionServiceFixtureA, in testNoAutoSpeakerphoneOnOutgoing()
156 mPhoneAccountA0.getAccountHandle(), mConnectionServiceFixtureA, in testNoAutoSpeakerphoneOnIncoming()
169 IdPair ids = startIncomingPhoneCall("650-555-1212", mPhoneAccountA0.getAccountHandle(), in testIncomingVideoCallMissedCheckVideoHistory()
186 IdPair ids = startIncomingPhoneCall("650-555-1212", mPhoneAccountA0.getAccountHandle(), in testIncomingVideoCallRejectedCheckVideoHistory()
204 IdPair ids = startOutgoingPhoneCall("650-555-1212", mPhoneAccountA0.getAccountHandle(), in testOutgoingVideoCallCanceledCheckVideoHistory()
222 IdPair ids = startOutgoingPhoneCall("650-555-1212", mPhoneAccountA0.getAccountHandle(), in testOutgoingVideoCallRejectedCheckVideoHistory()
[all …]
DCallExtrasTest.java81 mPhoneAccountA0.getAccountHandle(), mConnectionServiceFixtureA); in testCsPutExtras()
108 mPhoneAccountA0.getAccountHandle(), mConnectionServiceFixtureA); in testCsPutBooleanExtra()
133 mPhoneAccountA0.getAccountHandle(), mConnectionServiceFixtureA); in testCsPutIntExtra()
157 mPhoneAccountA0.getAccountHandle(), mConnectionServiceFixtureA); in testCsPutStringExtra()
182 mPhoneAccountA0.getAccountHandle(), mConnectionServiceFixtureA); in testCsRemoveExtra()
215 mPhoneAccountA0.getAccountHandle(), mConnectionServiceFixtureA); in testCsUpdateExisting()
254 mPhoneAccountA0.getAccountHandle(), mConnectionServiceFixtureA); in testCsSetExtras()
298 mPhoneAccountA0.getAccountHandle(), mConnectionServiceFixtureA); in testICSPutExtras()
322 mPhoneAccountA0.getAccountHandle(), mConnectionServiceFixtureA); in testExtrasBidirectional()
DMissedInformationTest.java136 mPhoneAccountA0.getAccountHandle(), in testNotMissedCall()
155 thenReturn(mPhoneAccountA0.getAccountHandle().getUserHandle()); in testEmergencyCallPlacing()
157 .thenReturn(mPhoneAccountA0.getAccountHandle()); in testEmergencyCallPlacing()
163 mPhoneAccountA0.getAccountHandle()); in testEmergencyCallPlacing()
181 mPhoneAccountA0.getAccountHandle(), in testMaximumDialingCalls()
186 mPhoneAccountA0.getAccountHandle()); in testMaximumDialingCalls()
207 mPhoneAccountA0.getAccountHandle(), in testMaximumRingingCalls()
212 mPhoneAccountA0.getAccountHandle()); in testMaximumRingingCalls()
421 null, null, mPhoneAccountA0.getAccountHandle(), in setUpIncomingCall()
DAnalyticsTests.java106 mPhoneAccountA0.getAccountHandle(), in testAnalyticsSingleCall()
150 mPhoneAccountA0.getAccountHandle(), in testAnalyticsDumping()
195 mPhoneAccountA0.getAccountHandle(),
199 mPhoneAccountA0.getAccountHandle(),
254 mPhoneAccountA0.getAccountHandle(), in testAnalyticsVideo()
330 mPhoneAccountA0.getAccountHandle(), in testAnalyticsDumpToProto()
379 mPhoneAccountA0.getAccountHandle(),
420 mPhoneAccountA0.getAccountHandle(),
DMissedCallNotifierImplTest.java241 CALL_TIMESTAMP, phoneAccount.getAccountHandle()); in testDefaultDialerIncrement()
262 CALL_TIMESTAMP, phoneAccount.getAccountHandle()); in testCallLogUriSentToNotifier()
300 CALL_TIMESTAMP, phoneAccount.getAccountHandle()); in cancelNotificationTestInternal()
328 CALL_TIMESTAMP, phoneAccount.getAccountHandle()); in testNotifyMultipleMissedCalls()
428 CALL_TIMESTAMP, phoneAccount.getAccountHandle()); in notifySingleCallTestInternal()
438 expectedUserHandle = phoneAccount.getAccountHandle().getUserHandle(); in notifySingleCallTestInternal()
496 phoneAccount.getAccountHandle()); in testNoSmsBackAfterMissedSipCall()
541 CALLER_NAME, CALL_TIMESTAMP, phoneAccount.getAccountHandle()); in testLoadOneCallFromDb()
611 CALLER_NAME, CALL_TIMESTAMP, phoneAccount.getAccountHandle()); in testLoadTwoCallsFromDb()
669 phoneAccount.getAccountHandle()); in testDialerHandleMissedCall()
DTelecomSystemTest.java457 mPhoneAccountA0.getAccountHandle(), mConnectionServiceFixtureA, callIntentExtras1); in makeConferenceCall()
460 mPhoneAccountA0.getAccountHandle(), mConnectionServiceFixtureA, callIntentExtras2); in makeConferenceCall()
625 mPhoneAccountA0.getAccountHandle(), Process.myUserHandle()); in setupConnectionServices()
819 boolean isSelfManaged = phoneAccountHandle == mPhoneAccountSelfManaged.getAccountHandle(); in startOutgoingPhoneCallWaitForBroadcaster()
849 if (phoneAccountHandle != mPhoneAccountSelfManaged.getAccountHandle()) { in verifyAndProcessOutgoingCallBroadcast()
922 if (phoneAccountHandle == mPhoneAccountSelfManaged.getAccountHandle()) { in outgoingCallCreateConnectionComplete()
1012 if (phoneAccountHandle != mPhoneAccountSelfManaged.getAccountHandle()) { in startIncomingPhoneCall()
1091 if (phoneAccountHandle != mPhoneAccountSelfManaged.getAccountHandle()) { in startAndMakeActiveOutgoingCall()
1103 if (phoneAccountHandle != mPhoneAccountSelfManaged.getAccountHandle()) { in startAndMakeActiveOutgoingCall()
1136 if (phoneAccountHandle != mPhoneAccountSelfManaged.getAccountHandle()) { in startAndMakeActiveIncomingCall()
[all …]
DPhoneAccountRegistrarTest.java428 mRegistrar.enablePhoneAccount(account.getAccountHandle(), true); in registerAndEnableAccount()
1351 PhoneAccountHandle sim1Handle = sim1Account.getAccountHandle(); in testGetSimPhoneAccountsFromSimCallManager()
1354 PhoneAccountHandle sim2Handle = sim2Account.getAccountHandle(); in testGetSimPhoneAccountsFromSimCallManager()
1450 mRegistrar.unregisterPhoneAccount(sim1Account.getAccountHandle()); in testMaybeNotifyTelephonyForVoiceServiceState()
1535 account.getAccountHandle().getComponentName().getPackageName()); in testInvalidPhoneAccountHandlePackageNameThrowsException()
1562 account.getAccountHandle().getComponentName().getClassName()); in testInvalidPhoneAccountHandleClassNameThrowsException()
1586 assertEquals(invalidId, account.getAccountHandle().getId()); in testInvalidPhoneAccountHandleIdThrowsException()
1970 mRegistrar.unregisterPhoneAccount(account.getAccountHandle()); in testFetchingTransactionalAccounts()
2014 mRegistrar.unregisterPhoneAccount(accountForWorkProfile.getAccountHandle()); in testGetPhoneAccountAcrossUsers()
2042 mRegistrar.getSubscriptionIdForPhoneAccount(simAccount.getAccountHandle())); in testGetSubscriptionIdForPhoneAccountWhenNoTelephony()
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/
DPhoneAccountRegistrar.java353 !account.getAccountHandle().equals(excludePhoneAccountHandle) && in getPhoneAccountByGroupId()
354 Objects.equals(account.getAccountHandle().getComponentName(), in getPhoneAccountByGroupId()
625 account.getAccountHandle().getComponentName().getPackageName())) in filterRestrictedPhoneAccounts()
748 UserHandle phoneAccountUserHandle = account.getAccountHandle().getUserHandle(); in isMatchedUser()
773 UserHandle phoneAccountUserHandle = account.getAccountHandle().getUserHandle(); in isVisibleForUser()
971 !phoneAccountRequiresBindPermission(account.getAccountHandle())) { in registerPhoneAccount()
974 account.getAccountHandle()); in registerPhoneAccount()
1002 if (phoneAccountRequiresBindPermission(account.getAccountHandle()) && in enforcePhoneAccountTargetService()
1026 account.getAccountHandle().getComponentName().getPackageName(), in enforceMaxPhoneAccountLimit()
1028 account.getAccountHandle().getUserHandle(), in enforceMaxPhoneAccountLimit()
[all …]
DCreateConnectionProcessor.java114 return manager.getSubscriptionId(account.getAccountHandle()); in getSubIdForPhoneAccount()
411 PhoneAccountHandle phoneAccountHandle = phoneAccount.getAccountHandle(); in adjustAttemptsForEmergencyNoSimRequired()
472 mAttemptRecords.add(new CallAttemptRecord(preferredPA.getAccountHandle(), in adjustAttemptsForEmergency()
473 preferredPA.getAccountHandle())); in adjustAttemptsForEmergency()
483 PhoneAccountHandle phoneAccountHandle = phoneAccount.getAccountHandle(); in adjustAttemptsForEmergency()
714 String pkg1 = account1.getAccountHandle().getComponentName().getPackageName(); in sortSimPhoneAccountsForEmergency()
715 String pkg2 = account2.getAccountHandle().getComponentName().getPackageName(); in sortSimPhoneAccountsForEmergency()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfpclient/
DHfpClientDeviceBlock.java66 mTelecomManager.enablePhoneAccount(mPhoneAccount.getAccountHandle(), true); in HfpClientDeviceBlock()
67 mTelecomManager.setUserSelectedOutgoingPhoneAccount(mPhoneAccount.getAccountHandle()); in HfpClientDeviceBlock()
146 mDevice, mPhoneAccount.getAccountHandle(), mServiceInterface); in onConference()
164 mTelecomManager.unregisterPhoneAccount(mPhoneAccount.getAccountHandle()); in cleanup()
203 mTelecomManager.addNewUnknownCall(mPhoneAccount.getAccountHandle(), b); in handleCall()
210 mTelecomManager.addNewIncomingCall(mPhoneAccount.getAccountHandle(), b); in handleCall()
298 mDevice, mPhoneAccount.getAccountHandle(), mServiceInterface); in updateConferenceableConnections()
/packages/apps/Dialer/java/com/android/incallui/
DActiveCallsCallListListener.java52 if (call.getState() != DialerCallState.DISCONNECTED && call.getAccountHandle() != null) { in onCallListChange()
55 .setPhoneAccountHandle(Optional.of(call.getAccountHandle())) in onCallListChange()
DThemeColorManager.java64 getHighlightColor(context, newForegroundCall.getAccountHandle()), in onForegroundCallChanged()
DCallButtonPresenter.java489 otherAccount = TelecomUtil.getOtherAccount(getContext(), call.getAccountHandle()); in updateButtonsState()
527 return call.getVideoTech().isAvailable(context, call.getAccountHandle()); in hasVideoCallCapabilities()
/packages/apps/Dialer/java/com/android/incallui/call/
DDialerCall.java565 isVoicemailNumber = TelecomUtil.isVoicemailNumber(context, getAccountHandle(), getNumber()); in updateIsVoiceMailNumber()
598 videoTechManager.dispatchCallStateChanged(telecomCall.getState(), getAccountHandle()); in updateFromTelecomCall()
632 PhoneAccountHandle newPhoneAccountHandle = telecomCall.getDetails().getAccountHandle(); in updateFromTelecomCall()
1045 public PhoneAccountHandle getAccountHandle() { in getAccountHandle() method in DialerCall
1046 return telecomCall == null ? null : telecomCall.getDetails().getAccountHandle(); in getAccountHandle()
1495 PhoneAccountHandle accountHandle = getAccountHandle(); in getPhoneAccount()
1504 videoTech = videoTechManager.getVideoTech(getAccountHandle()); in getVideoTech()
1525 context.getSystemService(TelecomManager.class).getLine1Number(getAccountHandle()); in getCallbackNumber()
1537 TelephonyManagerCompat.getTelephonyManagerForPhoneAccountHandle(context, getAccountHandle()) in getSimCountryIso()
/packages/services/Telephony/src/com/android/services/telephony/
DTelephonyConnectionService.java950 return prepareConference(conferenceHostConnection, request.getAccountHandle()); in placeOutgoingConference()
990 request.getAccountHandle()); in onCreateIncomingConference()
993 final Phone phone = getPhoneForAccount(request.getAccountHandle(), in onCreateIncomingConference()
1001 request.getAccountHandle()); in onCreateIncomingConference()
1004 return prepareConference(connection, request.getAccountHandle()); in onCreateIncomingConference()
1018 request.getAccountHandle()); in onCreateOutgoingConference()
1021 final Phone phone = getPhoneForAccount(request.getAccountHandle(), in onCreateOutgoingConference()
1029 request.getAccountHandle()); in onCreateOutgoingConference()
1067 final Phone phone = getPhoneForAccount(request.getAccountHandle(), in onCreateOutgoingConnection()
1106 final Phone phone = getPhoneForAccount(request.getAccountHandle(), in onCreateOutgoingConnection()
[all …]
/packages/services/Telephony/src/com/android/phone/settings/
DPhoneAccountSettingsFragment.java263 String pkg1 = account1.getAccountHandle().getComponentName().getPackageName(); in initAccountList()
264 String pkg2 = account2.getAccountHandle().getComponentName().getPackageName(); in initAccountList()
287 PhoneAccountHandle handle = account.getAccountHandle(); in initAccountList()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/telephony/
DBluetoothCall.java259 public PhoneAccountHandle getAccountHandle() { in getAccountHandle() method in BluetoothCall
260 return mCall.getDetails().getAccountHandle(); in getAccountHandle()
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DTestConnectionManager.java386 ? createRemoteIncomingConnection(request.getAccountHandle(), request) in makeConnection()
387 : createRemoteOutgoingConnection(request.getAccountHandle(), request); in makeConnection()
DTestConnectionService.java399 originalRequest.getAccountHandle(),
422 PhoneAccountHandle accountHandle = request.getAccountHandle();
474 PhoneAccountHandle accountHandle = request.getAccountHandle();
DSelfManagedConnectionService.java140 request.getAccountHandle()); in createSelfManagedConnection()
/packages/apps/Dialer/java/com/android/incallui/disconnectdialog/
DVideoCallNotAvailablePrompt.java61 makeVoiceCall(context, call.getNumber(), call.getAccountHandle())) in createDialog()
/packages/services/Telecomm/src/com/android/server/telecom/settings/
DEnableAccountPreferenceFragment.java65 mTelecomManager.enablePhoneAccount(mAccount.getAccountHandle(), (boolean) newValue); in onPreferenceChange()
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/ndo/
DInCallLiveDataTest.java130 when(callDetails.getAccountHandle()).thenReturn(handle); in createMockCallDetails()

12