Home
last modified time | relevance | path

Searched refs:isEmergencyCall (Results 1 – 24 of 24) sorted by relevance

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCreateConnectionProcessorTest.java150 when(mMockCall.isEmergencyCall()).thenReturn(false); in testSimPhoneAccountSuccess()
171 when(mMockCall.isEmergencyCall()).thenReturn(false); in testbadPhoneAccount()
191 when(mMockCall.isEmergencyCall()).thenReturn(false); in testConnectionManagerSuccess()
220 when(mMockCall.isEmergencyCall()).thenReturn(false); in testConnectionManagerFailedFallToSim()
260 when(mMockCall.isEmergencyCall()).thenReturn(false); in testConnectionManagerFailedDoNotFallToSim()
298 when(mMockCall.isEmergencyCall()).thenReturn(true); in testFakeEmergencyNumber()
336 when(mMockCall.isEmergencyCall()).thenReturn(true); in testEmergencyCall()
375 when(mMockCall.isEmergencyCall()).thenReturn(true); in testEmergencyCallMultiSimNoPreferred()
413 when(mMockCall.isEmergencyCall()).thenReturn(true); in testEmergencyCallMultiSimTelephonyPreferred()
446 when(mMockCall.isEmergencyCall()).thenReturn(true); in testEmergencyCallMultiSimUserPreferred()
[all …]
DCallRecordingTonePlayerTest.java189 when(call.isEmergencyCall()).thenReturn(true); in testAddEmergencyCall()
204 when(call.isEmergencyCall()).thenReturn(false); in testAddIneligibleCall()
331 when(call.isEmergencyCall()).thenReturn(false); in addValidCall()
DCallsManagerTest.java608 doReturn(true).when(ongoingCall).isEmergencyCall(); in testUnholdCallWhenOngoingEmergCallCanNotBeHeldAndFromDifferentConnectionService()
732 doReturn(true).when(ongoingCall).isEmergencyCall(); in testAnswerCallWhenOngoingHasDifferentConnectionServiceButIsEmerg()
1081 assertFalse(ongoingCall.isEmergencyCall()); in testIsInEmergencyCallNetwork()
1096 assertTrue(ongoingCall.isEmergencyCall()); in testIsInEmergencyCallLocal()
1113 assertTrue(ongoingCall.isEmergencyCall()); in testIsInEmergencyCallLocalDisconnected()
1334 doReturn(true).when(call).isEmergencyCall(); in testExternalCallCapabilitiesUpdated()
DDisconnectedCallNotifierTest.java102 when(call.isEmergencyCall()).thenReturn(true); in testNotificationShownForDisconnectedEmergencyCall()
DMissedInformationTest.java238 when(mEmergencyCall.isEmergencyCall()).thenReturn(true); in setUpEmergencyCall()
DInCallControllerTests.java461 when(mMockCall.isEmergencyCall()).thenReturn(true); in testBindToService_SystemDialer_Emergency()
538 when(mMockCall.isEmergencyCall()).thenReturn(true); in testBindToService_SystemDialer_Crash()
DCallLogManagerTest.java1067 when(fakeCall.isEmergencyCall()).thenReturn( in makeFakeCall()
/packages/services/Telecomm/src/com/android/server/telecom/
DEmergencyCallHelper.java55 if (call != null && call.isEmergencyCall()) { in maybeGrantTemporaryLocationPermission()
88 if (!call.isEmergencyCall() && !isInEmergencyCallbackWindow()) { in shouldGrantTemporaryLocationPermission()
DCallsManager.java1185 if (call.isEmergencyCall() && call.isRttCall()) { in hasEmergencyRttCall()
1579 if (call.isEmergencyCall() && account != null && in startOutgoingCall()
1611 finalCall.isEmergencyCall(), initiatingUser, in startOutgoingCall()
1678 if (!finalCall.isEmergencyCall() && isInEmergencyCall()) { in startOutgoingCall()
1695 boolean isRoomForCall = finalCall.isEmergencyCall() ? in startOutgoingCall()
1754 && !callToPlace.isEmergencyCall() && !isSelfManaged; in startOutgoingCall()
1854 if (callToUse.isEmergencyCall() || (accountToUse != null in startOutgoingCall()
2346 if (call.isEmergencyCall()) {
2358 if (call.getTargetPhoneAccount() != null || call.isEmergencyCall()) {
2368 if (call.isEmergencyCall()) {
[all …]
DCreateConnectionTimeout.java54 if (!mCall.isEmergencyCall()) { in isTimeoutNeededForCall()
DPhoneStateBroadcaster.java64 if (call.isEmergencyCall() && !call.isIncoming()) { in onCallAdded()
DCallRecordingTonePlayer.java211 !call.isEmergencyCall() && call.isUsingCallRecordingTone(); in shouldUseRecordingTone()
DCreateConnectionProcessor.java384 if (mCall.isEmergencyCall()) { in adjustAttemptsForEmergency()
DParcelableCallUtils.java168 if (call.isEmergencyCall()) { in toParcelableCall()
DCallLogManager.java385 okayToLogCall(accountHandle, logNumber, call.isEmergencyCall()); in logCall()
DCall.java1078 if(!isEmergencyCall()) { in shouldContinueProcessingAfterDisconnect()
1472 public boolean isEmergencyCall() { in isEmergencyCall() method in Call
1995 if (isEmergencyCall()) { in setConnectionProperties()
DTelecomServiceImpl.java2167 if (call.isEmergencyCall()) { in endCallInternal()
/packages/apps/Dialer/java/com/android/incallui/call/
DDialerCall.java158 private boolean isEmergencyCall; field in DialerCall
818 public boolean isEmergencyCall() { in isEmergencyCall() method in DialerCall
819 return isEmergencyCall; in isEmergencyCall()
1186 isEmergencyCall = TelecomCallUtil.isEmergencyCall(telecomCall); in updateEmergencyCallState()
1523 if (isEmergencyCall() || showCallbackNumber) { in getCallbackNumber()
1736 && !isEmergencyCall() in isSpeakEasyEligible()
/packages/apps/Dialer/java/com/android/dialer/telecom/
DTelecomCallUtil.java40 public static boolean isEmergencyCall(@NonNull Call call) { in isEmergencyCall() method in TelecomCallUtil
/packages/apps/Dialer/java/com/android/incallui/
DInCallPresenter.java307 if (call != null && !call.isEmergencyCall()) { in isCallWithNoValidAccounts()
436 if (dialerCall.isEmergencyCall()) { in shouldStartInBubbleMode()
653 if (TelecomCallUtil.isEmergencyCall(call)) { in shouldAttemptBlocking()
1036 if (call.isEmergencyCall()) { in onDisconnect()
DCallButtonPresenter.java491 !call.isEmergencyCall() in updateButtonsState()
DCallCardPresenter.java815 return call != null && !call.isIncoming() && call.isEmergencyCall(); in isOutgoingEmergencyCall()
/packages/services/Telecomm/src/com/android/server/telecom/ui/
DDisconnectedCallNotifier.java152 call.getPhoto(), call.getName(), call.isEmergencyCall()); in onCallStateChanged()
/packages/services/Telephony/src/com/android/services/telephony/
DTelephonyConnection.java777 public void onIsNetworkEmergencyCallChanged(boolean isEmergencyCall) {
778 setIsNetworkIdentifiedEmergencyCall(isEmergencyCall);