Home
last modified time | relevance | path

Searched refs:isInEmergencyCall (Results 1 – 18 of 18) sorted by relevance

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DInCallControllerTests.java404 when(mMockCallsManager.isInEmergencyCall()).thenReturn(false); in testBindToService_NoServicesFound_IncomingCall()
436 when(mMockCallsManager.isInEmergencyCall()).thenReturn(false); in testBindToService_NoServicesFound_OutgoingCall()
474 when(mMockCallsManager.isInEmergencyCall()).thenReturn(false); in testBindToService_DefaultDialer_NoEmergency()
527 when(mMockCallsManager.isInEmergencyCall()).thenReturn(true); in testBindToService_SystemDialer_Emergency()
730 when(mMockCallsManager.isInEmergencyCall()).thenReturn(true); in testBindToService_SystemDialer_Crash()
819 when(mMockCallsManager.isInEmergencyCall()).thenReturn(false); in testBindToService_DefaultDialer_FallBackToSystem()
902 when(mMockCallsManager.isInEmergencyCall()).thenReturn(false); in testBindToService_NullBinding_FallBackToSystem()
1009 when(mMockCallsManager.isInEmergencyCall()).thenReturn(true); in testBindToLateConnectionNonUiIcs()
1120 when(mMockCallsManager.isInEmergencyCall()).thenReturn(true); in testNoInitialBinding()
1254 when(mMockCallsManager.isInEmergencyCall()).thenReturn(false); in testUnbindDueToCallDisconnect()
[all …]
DMissedInformationTest.java159 assertTrue(mCallsManager.isInEmergencyCall()); in testEmergencyCallPlacing()
DCallsManagerTest.java1691 assertTrue(mCallsManager.isInEmergencyCall()); in testIsInEmergencyCallNetwork()
1706 assertTrue(mCallsManager.isInEmergencyCall()); in testIsInEmergencyCallLocal()
1723 assertFalse(mCallsManager.isInEmergencyCall()); in testIsInEmergencyCallLocalDisconnected()
1733 assertTrue(mCallsManager.isInEmergencyCall()); in testBlockNonEmergencyCallDuringEmergencyCall()
DCallTest.java524 doReturn(true).when(mMockCallsManager).isInEmergencyCall(); in testCanNotPullCallDuringEmergencyCall()
/packages/services/Telephony/tests/src/com/android/phone/satellite/accesscontrol/
DSatelliteAccessControllerTest.java342 when(mMockTelecomManager.isInEmergencyCall()).thenReturn(true); in testRequestIsSatelliteCommunicationAllowedForCurrentLocation()
377 when(mMockTelecomManager.isInEmergencyCall()).thenReturn(false); in testRequestIsSatelliteCommunicationAllowedForCurrentLocation()
406 when(mMockTelecomManager.isInEmergencyCall()).thenReturn(false); in testRequestIsSatelliteCommunicationAllowedForCurrentLocation()
439 when(mMockTelecomManager.isInEmergencyCall()).thenReturn(false); in testRequestIsSatelliteCommunicationAllowedForCurrentLocation()
/packages/services/Telephony/src/com/android/phone/
DNumberVerificationManager.java128 if (phone.isInEmergencyCall()) { in checkNumberVerificationFeasibility()
DPhoneGlobals.java912 if (tm != null && tm.isInEmergencyCall()) { in maybeTurnCellOff()
DPhoneInterfaceManager.java11428 if (tm.isInEmergencyCall()) { in isAnyPhoneInEmergencyState()
/packages/services/Telephony/tests/src/com/android/phone/
DNumberVerificationManagerTest.java100 when(mPhone1.isInEmergencyCall()).thenReturn(true); in testEmergencyCallFailure()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallAudioManager.java431 if (mCallsManager.isInEmergencyCall()) { in toggleMute()
450 if (mCallsManager.isInEmergencyCall()) { in mute()
DCallsManager.java1737 } else if (isInEmergencyCall()) { in processIncomingCallIntent()
2096 if (!finalCall.isEmergencyCall() && isInEmergencyCall()) { in startOutgoingCall()
3689 if (isInEmergencyCall() && shouldMute) {
5744 if (isInEmergencyCall()) {
5793 return !isInEmergencyCall() &&
6197 if (isInEmergencyCall()) {
6439 isInEmergencyCall()) {
6704 isInEmergencyCall() {
6714 boolean isInEmergencyCall = isInEmergencyCall();
6718 c->c.setIsPullExternalCallSupported(!isInEmergencyCall));
DTelecomServiceImpl.java2298 public boolean isInEmergencyCall() {
2305 boolean isInEmergencyCall = mCallsManager.isInEmergencyCall();
2306 Log.i(this, "isInEmergencyCall: %b", isInEmergencyCall);
2307 return isInEmergencyCall;
DCall.java2387 boolean isInEmergencyCall = mCallsManager.isInEmergencyCall(); in setConnectionProperties()
2388 setIsPullExternalCallSupported(!isInEmergencyCall); in setConnectionProperties()
3504 if (mCallsManager.isInEmergencyCall()) { in pullExternalCall()
DInCallController.java1864 if (mFeatureFlags.eccKeyguard() && mCallsManager.isInEmergencyCall() in bringToForeground()
2115 systemInCall.setHasEmergency(mCallsManager.isInEmergencyCall()); in bindToServices()
2519 if (mCallsManager.isInEmergencyCall()) { in adjustServiceBindingsForEmergency()
DCallAudioRouteController.java140 if (mCallsManager.isInEmergencyCall()) {
DCallAudioRouteStateMachine.java1430 if (mCallsManager.isInEmergencyCall()) {
/packages/modules/Wifi/service/java/com/android/server/wifi/
DActiveModeWarden.java852 public void emergencyCallStateChanged(boolean isInEmergencyCall) { in emergencyCallStateChanged() argument
854 WifiController.CMD_EMERGENCY_CALL_STATE_CHANGED, isInEmergencyCall ? 1 : 0); in emergencyCallStateChanged()
/packages/services/Telephony/src/com/android/phone/satellite/accesscontrol/
DSatelliteAccessController.java1270 if (mTelecomManager.isInEmergencyCall()) { in isInEmergency()