Home
last modified time | relevance | path

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

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCreateConnectionProcessorTest.java148 when(mMockCall.isEmergencyCall()).thenReturn(false); in testSimPhoneAccountSuccess()
169 when(mMockCall.isEmergencyCall()).thenReturn(false); in testbadPhoneAccount()
189 when(mMockCall.isEmergencyCall()).thenReturn(false); in testConnectionManagerSuccess()
218 when(mMockCall.isEmergencyCall()).thenReturn(false); in testConnectionManagerFailedFallToSim()
258 when(mMockCall.isEmergencyCall()).thenReturn(false); in testConnectionManagerFailedDoNotFallToSim()
295 when(mMockCall.isEmergencyCall()).thenReturn(true); in testEmergencyCall()
333 when(mMockCall.isEmergencyCall()).thenReturn(true); in testEmergencyCallMultiSimNoPreferred()
370 when(mMockCall.isEmergencyCall()).thenReturn(true); in testEmergencyCallMultiSimTelephonyPreferred()
402 when(mMockCall.isEmergencyCall()).thenReturn(true); in testEmergencyCallMultiSimUserPreferred()
438 when(mMockCall.isEmergencyCall()).thenReturn(true); in testEmergencyCallMultiSimUserPreferredInvalidSlot()
[all …]
DCallRecordingTonePlayerTest.java120 when(call.isEmergencyCall()).thenReturn(true); in testAddEmergencyCall()
135 when(call.isEmergencyCall()).thenReturn(false); in testAddIneligibleCall()
262 when(call.isEmergencyCall()).thenReturn(false); in addValidCall()
DCallsManagerTest.java555 doReturn(true).when(ongoingCall).isEmergencyCall(); in testUnholdCallWhenOngoingEmergCallCanNotBeHeldAndFromDifferentConnectionService()
662 doReturn(true).when(ongoingCall).isEmergencyCall(); in testAnswerCallWhenOngoingHasDifferentConnectionServiceButIsEmerg()
1007 assertFalse(ongoingCall.isEmergencyCall()); in testIsInEmergencyCallNetwork()
1021 assertTrue(ongoingCall.isEmergencyCall()); in testIsInEmergencyCallLocal()
DCallLogManagerTest.java995 when(fakeCall.isEmergencyCall()).thenReturn( in makeFakeCall()
DInCallControllerTests.java300 when(mMockCall.isEmergencyCall()).thenReturn(true); in testBindToService_SystemDialer_Emergency()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallsManager.java976 if (call.isEmergencyCall()) { in hasEmergencyCall()
985 if (call.isEmergencyCall() && call.isRttCall()) { in hasEmergencyRttCall()
1314 if (call.isEmergencyCall() && account != null && in startOutgoingCall()
1397 && !makeRoomForOutgoingCall(finalCall, finalCall.isEmergencyCall()))) { in startOutgoingCall()
1448 && !callToPlace.isEmergencyCall() && !isSelfManaged; in startOutgoingCall()
1539 if (callToUse.isEmergencyCall() || (accountToUse != null in startOutgoingCall()
1897 if (call.isEmergencyCall()) {
1907 if (call.getTargetPhoneAccount() != null || call.isEmergencyCall()) {
1913 if (call.isEmergencyCall()) {
2123 .filter(c -> !c.isEmergencyCall() &&
[all …]
DEmergencyCallHelper.java55 if (call != null && call.isEmergencyCall()) { in maybeGrantTemporaryLocationPermission()
88 if (!call.isEmergencyCall() && !isInEmergencyCallbackWindow()) { in shouldGrantTemporaryLocationPermission()
DCreateConnectionTimeout.java54 if (!mCall.isEmergencyCall()) { in isTimeoutNeededForCall()
DCallLogManager.java331 creationTime, age, callDataUsage, call.isEmergencyCall(), in logCall()
338 creationTime, age, callDataUsage, call.isEmergencyCall(), in logCall()
DCallRecordingTonePlayer.java156 !call.isEmergencyCall() && call.isUsingCallRecordingTone(); in shouldUseRecordingTone()
DCall.java843 if(!isEmergencyCall()) { in shouldContinueProcessingAfterDisconnect()
1141 public boolean isEmergencyCall() { in isEmergencyCall() method in Call
1567 if (isEmergencyCall()) { in setConnectionProperties()
DCreateConnectionProcessor.java368 if (mCall.isEmergencyCall()) { in adjustAttemptsForEmergency()
DParcelableCallUtils.java166 if (call.isEmergencyCall()) { in toParcelableCall()
DTelecomServiceImpl.java1810 if (call.isEmergencyCall()) { in endCallInternal()
/packages/services/Telephony/src/com/android/phone/
DPhoneUtils.java137 boolean isEmergencyCall) { in placeCall() argument
138 return placeCall(context, phone, number, contactRef, isEmergencyCall, in placeCall()
165 boolean isEmergencyCall, RawGatewayInfo gatewayInfo, CallGatewayManager callGateway) { in placeCall() argument
172 + ", isEmergencyCall: " + isEmergencyCall); in placeCall()
176 + ", emergency? " + isEmergencyCall); in placeCall()
182 !isEmergencyCall && in placeCall()
/packages/apps/Dialer/java/com/android/incallui/call/
DDialerCall.java156 private boolean isEmergencyCall; field in DialerCall
813 public boolean isEmergencyCall() { in isEmergencyCall() method in DialerCall
814 return isEmergencyCall; in isEmergencyCall()
1181 isEmergencyCall = TelecomCallUtil.isEmergencyCall(telecomCall); in updateEmergencyCallState()
1518 if (isEmergencyCall() || showCallbackNumber) { in getCallbackNumber()
1729 && !isEmergencyCall() in isSpeakEasyEligible()
/packages/apps/Dialer/java/com/android/incallui/
DInCallPresenter.java304 if (call != null && !call.isEmergencyCall()) { in isCallWithNoValidAccounts()
433 if (dialerCall.isEmergencyCall()) { in shouldStartInBubbleMode()
650 if (TelecomCallUtil.isEmergencyCall(call)) { in shouldAttemptBlocking()
1033 if (call.isEmergencyCall()) { in onDisconnect()
DCallButtonPresenter.java492 !call.isEmergencyCall() in updateButtonsState()
DCallCardPresenter.java815 return call != null && !call.isIncoming() && call.isEmergencyCall(); in isOutgoingEmergencyCall()
/packages/apps/Dialer/java/com/android/dialer/telecom/
DTelecomCallUtil.java40 public static boolean isEmergencyCall(@NonNull Call call) { in isEmergencyCall() method in TelecomCallUtil
/packages/services/Telephony/src/com/android/services/telephony/
DTelephonyConnection.java607 public void onIsNetworkEmergencyCallChanged(boolean isEmergencyCall) {
608 setIsNetworkIdentifiedEmergencyCall(isEmergencyCall);