Home
last modified time | relevance | path

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

12

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCreateConnectionProcessorTest.java179 when(mMockCall.isEmergencyCall()).thenReturn(false); in testSimPhoneAccountSuccess()
200 when(mMockCall.isEmergencyCall()).thenReturn(false); in testbadPhoneAccount()
220 when(mMockCall.isEmergencyCall()).thenReturn(false); in testConnectionManagerSuccess()
249 when(mMockCall.isEmergencyCall()).thenReturn(false); in testConnectionManagerFailedFallToSim()
289 when(mMockCall.isEmergencyCall()).thenReturn(false); in testConnectionManagerFailedDoNotFallToSim()
328 when(mMockCall.isEmergencyCall()).thenReturn(true); in testFakeEmergencyNumber()
368 when(mMockCall.isEmergencyCall()).thenReturn(true); in testEmergencyCallAcrossUsers()
398 when(mMockCall.isEmergencyCall()).thenReturn(true); in testEmergencyCall()
438 when(mMockCall.isEmergencyCall()).thenReturn(true); in testEmergencyCallMultiSimNoPreferred()
478 when(mMockCall.isEmergencyCall()).thenReturn(true); in testEmergencyCallMultiSimTelephonyPreferred()
[all …]
DPhoneStateBroadcasterTest.java80 when(call.isEmergencyCall()).thenReturn(true); in testNotifyOutgoingEmergencyCallWithNoTelephonyCalling()
113 when(call.isEmergencyCall()).thenReturn(true); in testNotifyOutgoingEmergencyCallWithNoTelephonySubscription()
DCallRecordingTonePlayerTest.java188 when(call.isEmergencyCall()).thenReturn(true); in testAddEmergencyCall()
203 when(call.isEmergencyCall()).thenReturn(false); in testAddIneligibleCall()
330 when(call.isEmergencyCall()).thenReturn(false); in addValidCall()
DEmergencyCallHelperTest.java90 when(mCall.isEmergencyCall()).thenReturn(true); in setUp()
190 when(mCall.isEmergencyCall()).thenReturn(false); in testNoPermGrantForNonEmergencyCall()
DEmergencyCallDiagnosticLoggerTest.java149 private Call createCall(boolean isEmergencyCall, int direction) { in createCall() argument
152 call.setIsEmergencyCall(isEmergencyCall); in createCall()
DCallsManagerTest.java1062 doReturn(true).when(ongoingCall).isEmergencyCall(); in testUnholdCallWhenOngoingEmergCallCanNotBeHeldAndFromDifferentConnectionService()
1186 doReturn(true).when(ongoingCall).isEmergencyCall(); in testAnswerCallWhenOngoingHasDifferentConnectionServiceButIsEmerg()
1689 assertFalse(ongoingCall.isEmergencyCall()); in testIsInEmergencyCallNetwork()
1704 assertTrue(ongoingCall.isEmergencyCall()); in testIsInEmergencyCallLocal()
1721 assertTrue(ongoingCall.isEmergencyCall()); in testIsInEmergencyCallLocalDisconnected()
1899 when(emergencyCall.isEmergencyCall()).thenReturn(true); in testSelfManagedOutgoingCallPermittedHasEmergencyCall()
2031 when(outgoingCall.isEmergencyCall()).thenReturn(false); in testMakeRoomForEmergencyCallHasOutgoingCall()
2034 when(newEmergencyCall.isEmergencyCall()).thenReturn(true); in testMakeRoomForEmergencyCallHasOutgoingCall()
2044 when(outgoingCall.isEmergencyCall()).thenReturn(true); in testMakeRoomForEmergencyCallHasOutgoingEmergencyCall()
2047 when(newEmergencyCall.isEmergencyCall()).thenReturn(true); in testMakeRoomForEmergencyCallHasOutgoingEmergencyCall()
[all …]
DInCallControllerTests.java528 when(mMockCall.isEmergencyCall()).thenReturn(true); in testBindToService_SystemDialer_Emergency()
600 when(mMockCall.isEmergencyCall()).thenReturn(true); in testBindToService_UserAssociatedWithCallIsInQuietMode_EmergCallInCallUi_BindsToPrimaryUser()
630 when(mMockCall.isEmergencyCall()).thenReturn(false); in testBindToService_UserAssociatedWithCallIsInQuietMode_NonEmergCallECBM_BindsToPrimaryUser()
662 when(mMockCall.isEmergencyCall()).thenReturn(false); in testBindToService_UserAssociatedWithCallSecondary_NonEmergCallECBM_BindsToSecondaryUser()
694 when(mMockCall.isEmergencyCall()).thenReturn(true); in testBindToService_UserAssociatedWithCallNotInQuietMode_EmergCallInCallUi_BindsToAssociatedUser()
731 when(mMockCall.isEmergencyCall()).thenReturn(true); in testBindToService_SystemDialer_Crash()
1010 when(mMockCall.isEmergencyCall()).thenReturn(true); in testBindToLateConnectionNonUiIcs()
1121 when(mMockCall.isEmergencyCall()).thenReturn(true); in testNoInitialBinding()
DDisconnectedCallNotifierTest.java102 when(call.isEmergencyCall()).thenReturn(true); in testNotificationShownForDisconnectedEmergencyCall()
DCallAnomalyWatchdogTest.java140 ConnectionServiceWrapper service, boolean isVoipAudioMode, boolean isEmergencyCall) { in setupCallHelper() argument
146 call.setIsEmergencyCall(isEmergencyCall); in setupCallHelper()
DCallTest.java990 assertTrue(testCall.isEmergencyCall()); in testNoTelephonyEmergencyBehavior()
995 assertTrue(!testCall2.isEmergencyCall()); in testNoTelephonyEmergencyBehavior()
/packages/services/Telecomm/src/com/android/server/telecom/stats/
DCallStateChangedAtomWriter.java72 public CallStateChangedAtomWriter setEmergencyCall(boolean isEmergencyCall) { in setEmergencyCall() argument
73 mIsEmergencyCall = isEmergencyCall; in setEmergencyCall()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallAnomalyWatchdog.java311 boolean isEmergency = call.isEmergencyCall(); in getTimeoutMillis()
360 if (call.isEmergencyCall()){ in getCleanupRunnable()
414 .setEmergencyCall(call.isEmergencyCall()) in writeCallStateChangedAtom()
DEmergencyCallHelper.java69 if (call != null && call.isEmergencyCall()) { in maybeGrantTemporaryLocationPermission()
132 if (!call.isEmergencyCall() && !isInEmergencyCallbackWindow( in shouldGrantTemporaryLocationPermission()
DCallsManager.java1441 if (call.isEmergencyCall() && call.isRttCall()) { in hasEmergencyRttCall()
1712 if (isCallHiddenFromProfile && !call.isEmergencyCall() && !call.isInECBM()) { in processIncomingCallIntent()
1929 if (call.isEmergencyCall()) { in startOutgoingCall()
1984 if (call.isEmergencyCall() && account != null && in startOutgoingCall()
2016 finalCall.isEmergencyCall(), initiatingUser, in startOutgoingCall()
2026 if (finalCall.isEmergencyCall()) { in startOutgoingCall()
2096 if (!finalCall.isEmergencyCall() && isInEmergencyCall()) { in startOutgoingCall()
2114 boolean isRoomForCall = finalCall.isEmergencyCall() ? in startOutgoingCall()
2190 if (callToPlace.isEmergencyCall()) { in startOutgoingCall()
2198 && !callToPlace.isEmergencyCall() && !isSelfManaged; in startOutgoingCall()
[all …]
DCreateConnectionTimeout.java64 if (!mCall.isEmergencyCall()) { in isTimeoutNeededForCall()
DPhoneStateBroadcaster.java67 if (call.isEmergencyCall() && !call.isIncoming()) { in onCallAdded()
DCallRecordingTonePlayer.java211 !call.isEmergencyCall() && call.isUsingCallRecordingTone(); in shouldUseRecordingTone()
DCall.java1273 if(!isEmergencyCall()) { in shouldContinueProcessingAfterDisconnect()
1459 .setEmergencyCall(isEmergencyCall()) in setState()
1724 public boolean isEmergencyCall() { in isEmergencyCall() method in Call
1733 public void setIsEmergencyCall(boolean isEmergencyCall) { in setIsEmergencyCall() argument
1734 mIsEmergencyCall = isEmergencyCall; in setIsEmergencyCall()
1853 if (isEmergencyCall() && !isIncoming()) { in setTargetPhoneAccount()
2360 if (isEmergencyCall()) { in setConnectionProperties()
4407 if (event.equals(EVENT_DISPLAY_EMERGENCY_MESSAGE) && !isEmergencyCall()) { in onConnectionEvent()
DEmergencyCallDiagnosticLogger.java249 return (call != null && call.isEmergencyCall() && call.isOutgoing()); in shouldTrackCall()
DCreateConnectionProcessor.java425 if (mCall.isEmergencyCall()) { in adjustAttemptsForEmergency()
DParcelableCallUtils.java173 if (call.isEmergencyCall()) { in toParcelableCall()
/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()
/packages/services/Telecomm/src/com/android/server/telecom/ui/
DDisconnectedCallNotifier.java152 call.getPhoto(), call.getName(), call.isEmergencyCall()); in onCallStateChanged()

12