Home
last modified time | relevance | path

Searched refs:hasEmergencyCall (Results 1 – 4 of 4) sorted by relevance

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DInCallControllerTests.java129 when(mMockCallsManager.hasEmergencyCall()).thenReturn(false); in testBindToService_NoServicesFound_IncomingCall()
159 when(mMockCallsManager.hasEmergencyCall()).thenReturn(false); in testBindToService_NoServicesFound_OutgoingCall()
195 when(mMockCallsManager.hasEmergencyCall()).thenReturn(false); in testBindToService_DefaultDialer_NoEmergency()
245 when(mMockCallsManager.hasEmergencyCall()).thenReturn(true); in testBindToService_SystemDialer_Emergency()
312 when(mMockCallsManager.hasEmergencyCall()).thenReturn(false); in testBindToService_DefaultDialer_FallBackToSystem()
433 when(mMockCallsManager.hasEmergencyCall()).thenReturn(false); in testUnbindDueToCallDisconnect()
482 when(mMockCallsManager.hasEmergencyCall()).thenReturn(false); in setupMocks()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallsManager.java760 public boolean hasEmergencyCall() { in hasEmergencyCall() method in CallsManager
2866 return !hasEmergencyCall() && in isIncomingCallPermitted()
2895 return !hasEmergencyCall() && ( in isOutgoingCallPermitted()
3148 if (!isHandoverFromSupported || !isHandoverToSupported || hasEmergencyCall()) { in requestHandover()
DInCallController.java1061 systemInCall.setHasEmergency(mCallsManager.hasEmergencyCall()); in bindToServices()
1255 if (mCallsManager.hasEmergencyCall()) { in adjustServiceBindingsForEmergency()
DCallAudioManager.java376 if (mCallsManager.hasEmergencyCall()) { in mute()