Home
last modified time | relevance | path

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

12

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DBasicCallTests.java103 mPhoneAccountA0.getAccountHandle(), mConnectionServiceFixtureA); in testSingleOutgoingCallLocalDisconnect()
132 mPhoneAccountA0.getAccountHandle(), mConnectionServiceFixtureA); in testSingleOutgoingCallRemoteDisconnect()
153 IdPair ids = startIncomingPhoneCall("650-555-1212", mPhoneAccountA0.getAccountHandle(), in testTelecomManagerAcceptRingingCall()
180 IdPair ids = startIncomingPhoneCall("650-555-1212", mPhoneAccountA0.getAccountHandle(), in testTelecomManagerAcceptRingingVideoCall()
209 IdPair ids = startIncomingPhoneCall("650-555-1212", mPhoneAccountA0.getAccountHandle(), in testTelecomManagerAcceptRingingVideoCallAsAudio()
237 IdPair ids = startIncomingPhoneCall("650-555-1212", mPhoneAccountA0.getAccountHandle(), in testTelecomManagerAcceptRingingInvalidVideoState()
260 mPhoneAccountA0.getAccountHandle(), mConnectionServiceFixtureA); in testSingleIncomingCallLocalDisconnect()
278 mPhoneAccountA0.getAccountHandle(), mConnectionServiceFixtureA); in testSingleIncomingCallRemoteDisconnect()
295 mPhoneAccountE0.getAccountHandle(), mConnectionServiceFixtureA); in testIncomingEmergencyCallback()
305 .addNewIncomingCall(mPhoneAccountA0.getAccountHandle(), extras); in testIncomingEmergencyCallback()
[all …]
DCreateConnectionProcessorTest.java302 PhoneAccountHandle regularAccountHandle = regularAccount.getAccountHandle(); in testFakeEmergencyNumber()
308 setTargetPhoneAccount(mMockCall, regularAccount.getAccountHandle()); in testFakeEmergencyNumber()
342 setTargetPhoneAccount(mMockCall, regularAccount.getAccountHandle()); in testEmergencyCall()
352 PhoneAccountHandle emergencyPhoneAccountHandle = emergencyPhoneAccount.getAccountHandle(); in testEmergencyCall()
379 setTargetPhoneAccount(mMockCall, regularAccount.getAccountHandle()); in testEmergencyCallMultiSimNoPreferred()
391 PhoneAccountHandle emergencyPhoneAccountHandle2 = emergencyPhoneAccount2.getAccountHandle(); in testEmergencyCallMultiSimNoPreferred()
418 setTargetPhoneAccount(mMockCall, emergencyPhoneAccount1.getAccountHandle()); in testEmergencyCallMultiSimTelephonyPreferred()
424 PhoneAccountHandle emergencyPhoneAccountHandle2 = emergencyPhoneAccount2.getAccountHandle(); in testEmergencyCallMultiSimTelephonyPreferred()
459 setTargetPhoneAccount(mMockCall, emergencyPhoneAccount2.getAccountHandle()); in testEmergencyCallMultiSimUserPreferred()
461 PhoneAccountHandle emergencyPhoneAccountHandle2 = emergencyPhoneAccount2.getAccountHandle(); in testEmergencyCallMultiSimUserPreferred()
[all …]
DVideoCallTests.java75 mPhoneAccountA0.getAccountHandle(), mConnectionServiceFixtureA, in testAutoSpeakerphoneIncomingBidirectional()
92 mPhoneAccountA0.getAccountHandle(), mConnectionServiceFixtureA, in testAutoSpeakerphoneIncomingReceiveOnly()
107 mPhoneAccountA0.getAccountHandle(), mConnectionServiceFixtureA, in testAutoSpeakerphoneOutgoingBidirectional()
123 mPhoneAccountA0.getAccountHandle(), mConnectionServiceFixtureA, in testAutoSpeakerphoneOutgoingTransmitOnly()
139 mPhoneAccountA0.getAccountHandle(), mConnectionServiceFixtureA, in testNoAutoSpeakerphoneOnOutgoing()
154 mPhoneAccountA0.getAccountHandle(), mConnectionServiceFixtureA, in testNoAutoSpeakerphoneOnIncoming()
167 IdPair ids = startIncomingPhoneCall("650-555-1212", mPhoneAccountA0.getAccountHandle(), in testIncomingVideoCallMissedCheckVideoHistory()
184 IdPair ids = startIncomingPhoneCall("650-555-1212", mPhoneAccountA0.getAccountHandle(), in testIncomingVideoCallRejectedCheckVideoHistory()
202 IdPair ids = startOutgoingPhoneCall("650-555-1212", mPhoneAccountA0.getAccountHandle(), in testOutgoingVideoCallCanceledCheckVideoHistory()
220 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()
DAnalyticsTests.java100 mPhoneAccountA0.getAccountHandle(), in testAnalyticsSingleCall()
143 mPhoneAccountA0.getAccountHandle(), in testAnalyticsDumping()
186 mPhoneAccountA0.getAccountHandle(),
190 mPhoneAccountA0.getAccountHandle(),
240 mPhoneAccountA0.getAccountHandle(), in testAnalyticsVideo()
316 mPhoneAccountA0.getAccountHandle(), in testAnalyticsDumpToProto()
365 mPhoneAccountA0.getAccountHandle(),
406 mPhoneAccountA0.getAccountHandle(),
DTelecomSystemTest.java415 mPhoneAccountA0.getAccountHandle(), mConnectionServiceFixtureA); in makeConferenceCall()
418 mPhoneAccountA0.getAccountHandle(), mConnectionServiceFixtureA); in makeConferenceCall()
574 mPhoneAccountA0.getAccountHandle(), Process.myUserHandle()); in setupConnectionServices()
769 boolean isSelfManaged = phoneAccountHandle == mPhoneAccountSelfManaged.getAccountHandle(); in startOutgoingPhoneCallWaitForBroadcaster()
798 if (phoneAccountHandle != mPhoneAccountSelfManaged.getAccountHandle()) { in verifyAndProcessOutgoingCallBroadcast()
871 if (phoneAccountHandle == mPhoneAccountSelfManaged.getAccountHandle()) { in outgoingCallCreateConnectionComplete()
944 if (phoneAccountHandle != mPhoneAccountSelfManaged.getAccountHandle()) { in startIncomingPhoneCall()
1013 if (phoneAccountHandle != mPhoneAccountSelfManaged.getAccountHandle()) { in startAndMakeActiveOutgoingCall()
1025 if (phoneAccountHandle != mPhoneAccountSelfManaged.getAccountHandle()) { in startAndMakeActiveOutgoingCall()
1058 if (phoneAccountHandle != mPhoneAccountSelfManaged.getAccountHandle()) { in startAndMakeActiveIncomingCall()
[all …]
DMissedCallNotifierImplTest.java215 CALL_TIMESTAMP, phoneAccount.getAccountHandle()); in cancelNotificationTestInternal()
243 CALL_TIMESTAMP, phoneAccount.getAccountHandle()); in testNotifyMultipleMissedCalls()
342 CALL_TIMESTAMP, phoneAccount.getAccountHandle()); in notifySingleCallTestInternal()
352 expectedUserHandle = phoneAccount.getAccountHandle().getUserHandle(); in notifySingleCallTestInternal()
409 phoneAccount.getAccountHandle()); in testNoSmsBackAfterMissedSipCall()
454 CALLER_NAME, CALL_TIMESTAMP, phoneAccount.getAccountHandle()); in testLoadOneCallFromDb()
523 CALLER_NAME, CALL_TIMESTAMP, phoneAccount.getAccountHandle()); in testLoadTwoCallsFromDb()
DPhoneAccountRegistrarTest.java281 mRegistrar.enablePhoneAccount(account.getAccountHandle(), true); in registerAndEnableAccount()
1125 assertPhoneAccountHandleEquals(a.getAccountHandle(), b.getAccountHandle()); in assertPhoneAccountEquals()
/packages/services/Telecomm/src/com/android/server/telecom/
DPhoneAccountRegistrar.java289 !account.getAccountHandle().equals(excludePhoneAccountHandle) && in getPhoneAccountByGroupId()
290 Objects.equals(account.getAccountHandle().getComponentName(), in getPhoneAccountByGroupId()
478 account.getAccountHandle().getComponentName().getPackageName())) in filterRestrictedPhoneAccounts()
611 UserHandle phoneAccountUserHandle = account.getAccountHandle().getUserHandle(); in isVisibleForUser()
774 if (!phoneAccountRequiresBindPermission(account.getAccountHandle())) { in registerPhoneAccount()
777 account.getAccountHandle()); in registerPhoneAccount()
792 account.getAccountHandle(), account); in addOrReplacePhoneAccount()
800 PhoneAccount oldAccount = getPhoneAccountUnchecked(account.getAccountHandle()); in addOrReplacePhoneAccount()
824 account.getAccountHandle().getComponentName().getPackageName()); in addOrReplacePhoneAccount()
845 fireAccountRegistered(account.getAccountHandle()); in addOrReplacePhoneAccount()
[all …]
DCreateConnectionProcessor.java107 return manager.getSubscriptionId(account.getAccountHandle());
369 PhoneAccountHandle phoneAccountHandle = phoneAccount.getAccountHandle(); in adjustAttemptsForEmergencyNoSimRequired()
416 PhoneAccountHandle phoneAccountHandle = phoneAccount.getAccountHandle(); in adjustAttemptsForEmergency()
645 String pkg1 = account1.getAccountHandle().getComponentName().getPackageName(); in sortSimPhoneAccountsForEmergency()
646 String pkg2 = account2.getAccountHandle().getComponentName().getPackageName(); in sortSimPhoneAccountsForEmergency()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/connserv/
DHfpClientDeviceBlock.java64 mTelecomManager.enablePhoneAccount(mPhoneAccount.getAccountHandle(), true); in HfpClientDeviceBlock()
65 mTelecomManager.setUserSelectedOutgoingPhoneAccount(mPhoneAccount.getAccountHandle()); in HfpClientDeviceBlock()
124 mConference = new HfpClientConference(mPhoneAccount.getAccountHandle(), mDevice, in onConference()
142 mTelecomManager.unregisterPhoneAccount(mPhoneAccount.getAccountHandle()); in cleanup()
182 mTelecomManager.addNewUnknownCall(mPhoneAccount.getAccountHandle(), b); in handleCall()
188 mTelecomManager.addNewIncomingCall(mPhoneAccount.getAccountHandle(), b); in handleCall()
293 mConference = new HfpClientConference(mPhoneAccount.getAccountHandle(), mDevice, in updateConferenceableConnections()
/packages/services/Telephony/src/com/android/services/telephony/
DTelephonyConnectionService.java578 return prepareConference(conferenceHostConnection, request.getAccountHandle()); in placeOutgoingConference()
618 request.getAccountHandle()); in onCreateIncomingConference()
621 final Phone phone = getPhoneForAccount(request.getAccountHandle(), in onCreateIncomingConference()
629 request.getAccountHandle()); in onCreateIncomingConference()
632 return prepareConference(connection, request.getAccountHandle()); in onCreateIncomingConference()
646 request.getAccountHandle()); in onCreateOutgoingConference()
649 final Phone phone = getPhoneForAccount(request.getAccountHandle(), in onCreateOutgoingConference()
657 request.getAccountHandle()); in onCreateOutgoingConference()
695 final Phone phone = getPhoneForAccount(request.getAccountHandle(), in onCreateOutgoingConnection()
734 final Phone phone = getPhoneForAccount(request.getAccountHandle(), in onCreateOutgoingConnection()
[all …]
/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/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()
DCallButtonPresenter.java485 otherAccount = TelecomUtil.getOtherAccount(getContext(), call.getAccountHandle()); in updateButtonsState()
523 return call.getVideoTech().isAvailable(context, call.getAccountHandle()); in hasVideoCallCapabilities()
DThemeColorManager.java64 getHighlightColor(context, newForegroundCall.getAccountHandle()), in onForegroundCallChanged()
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/telecom/
DProjectionCallHandlerTest.java254 mTelecomManager.unregisterPhoneAccount(mHfpAccount.getAccountHandle()); in call_fromAccount_withInvalidPhoneAccountHandle_isNotSuppressed()
271 when(details.getAccountHandle()).thenReturn(account.getAccountHandle()); in createCall()
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DTestConnectionService.java399 originalRequest.getAccountHandle(),
422 PhoneAccountHandle accountHandle = request.getAccountHandle();
474 PhoneAccountHandle accountHandle = request.getAccountHandle();
DTestConnectionManager.java386 ? createRemoteIncomingConnection(request.getAccountHandle(), request) in makeConnection()
387 : createRemoteOutgoingConnection(request.getAccountHandle(), request); in makeConnection()
DSelfManagedConnectionService.java137 request.getAccountHandle()); in createSelfManagedConnection()
/packages/services/Telephony/src/com/android/phone/settings/
DPhoneAccountSettingsFragment.java332 String pkg1 = account1.getAccountHandle().getComponentName().getPackageName(); in initAccountList()
333 String pkg2 = account2.getAccountHandle().getComponentName().getPackageName(); in initAccountList()
356 PhoneAccountHandle handle = account.getAccountHandle(); in initAccountList()
/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/Dialer/src/com/android/car/dialer/telecom/
DProjectionCallHandler.java116 PhoneAccountHandle accountHandle = details.getAccountHandle(); in getHfpBluetoothAddressForCall()
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/
DSipAccountRegistry.java251 telecomManager.enablePhoneAccount(phoneAccount.getAccountHandle(), true); in startSipProfiles()

12