/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | CreateConnectionProcessorTest.java | 179 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 …]
|
D | PhoneStateBroadcasterTest.java | 80 when(call.isEmergencyCall()).thenReturn(true); in testNotifyOutgoingEmergencyCallWithNoTelephonyCalling() 113 when(call.isEmergencyCall()).thenReturn(true); in testNotifyOutgoingEmergencyCallWithNoTelephonySubscription()
|
D | CallRecordingTonePlayerTest.java | 188 when(call.isEmergencyCall()).thenReturn(true); in testAddEmergencyCall() 203 when(call.isEmergencyCall()).thenReturn(false); in testAddIneligibleCall() 330 when(call.isEmergencyCall()).thenReturn(false); in addValidCall()
|
D | EmergencyCallHelperTest.java | 90 when(mCall.isEmergencyCall()).thenReturn(true); in setUp() 190 when(mCall.isEmergencyCall()).thenReturn(false); in testNoPermGrantForNonEmergencyCall()
|
D | EmergencyCallDiagnosticLoggerTest.java | 149 private Call createCall(boolean isEmergencyCall, int direction) { in createCall() argument 152 call.setIsEmergencyCall(isEmergencyCall); in createCall()
|
D | CallsManagerTest.java | 1062 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 …]
|
D | InCallControllerTests.java | 528 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()
|
D | DisconnectedCallNotifierTest.java | 102 when(call.isEmergencyCall()).thenReturn(true); in testNotificationShownForDisconnectedEmergencyCall()
|
D | CallAnomalyWatchdogTest.java | 140 ConnectionServiceWrapper service, boolean isVoipAudioMode, boolean isEmergencyCall) { in setupCallHelper() argument 146 call.setIsEmergencyCall(isEmergencyCall); in setupCallHelper()
|
D | CallTest.java | 990 assertTrue(testCall.isEmergencyCall()); in testNoTelephonyEmergencyBehavior() 995 assertTrue(!testCall2.isEmergencyCall()); in testNoTelephonyEmergencyBehavior()
|
/packages/services/Telecomm/src/com/android/server/telecom/stats/ |
D | CallStateChangedAtomWriter.java | 72 public CallStateChangedAtomWriter setEmergencyCall(boolean isEmergencyCall) { in setEmergencyCall() argument 73 mIsEmergencyCall = isEmergencyCall; in setEmergencyCall()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | CallAnomalyWatchdog.java | 311 boolean isEmergency = call.isEmergencyCall(); in getTimeoutMillis() 360 if (call.isEmergencyCall()){ in getCleanupRunnable() 414 .setEmergencyCall(call.isEmergencyCall()) in writeCallStateChangedAtom()
|
D | EmergencyCallHelper.java | 69 if (call != null && call.isEmergencyCall()) { in maybeGrantTemporaryLocationPermission() 132 if (!call.isEmergencyCall() && !isInEmergencyCallbackWindow( in shouldGrantTemporaryLocationPermission()
|
D | CallsManager.java | 1441 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 …]
|
D | CreateConnectionTimeout.java | 64 if (!mCall.isEmergencyCall()) { in isTimeoutNeededForCall()
|
D | PhoneStateBroadcaster.java | 67 if (call.isEmergencyCall() && !call.isIncoming()) { in onCallAdded()
|
D | CallRecordingTonePlayer.java | 211 !call.isEmergencyCall() && call.isUsingCallRecordingTone(); in shouldUseRecordingTone()
|
D | Call.java | 1273 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()
|
D | EmergencyCallDiagnosticLogger.java | 249 return (call != null && call.isEmergencyCall() && call.isOutgoing()); in shouldTrackCall()
|
D | CreateConnectionProcessor.java | 425 if (mCall.isEmergencyCall()) { in adjustAttemptsForEmergency()
|
D | ParcelableCallUtils.java | 173 if (call.isEmergencyCall()) { in toParcelableCall()
|
/packages/apps/Dialer/java/com/android/incallui/call/ |
D | DialerCall.java | 158 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/ |
D | TelecomCallUtil.java | 40 public static boolean isEmergencyCall(@NonNull Call call) { in isEmergencyCall() method in TelecomCallUtil
|
/packages/apps/Dialer/java/com/android/incallui/ |
D | InCallPresenter.java | 307 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/ |
D | DisconnectedCallNotifier.java | 152 call.getPhoto(), call.getName(), call.isEmergencyCall()); in onCallStateChanged()
|