Home
last modified time | relevance | path

Searched refs:MODE_EMERGENCY_WWAN (Results 1 – 7 of 7) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/emergency/
DEmergencyConstants.java33 MODE_EMERGENCY_WWAN,
47 public static final int MODE_EMERGENCY_WWAN = 1; field in EmergencyConstants
63 case MODE_EMERGENCY_WWAN: return "WWAN"; in emergencyModeToString()
DEmergencyStateTracker.java27 import static com.android.internal.telephony.emergency.EmergencyConstants.MODE_EMERGENCY_WWAN;
367 if (mPhone != null && mEmergencyMode == MODE_EMERGENCY_WWAN) { in handleMessage()
371 mPhone.setEmergencyMode(MODE_EMERGENCY_WWAN, in handleMessage()
380 } else if (mPhone != null && mEmergencyMode == MODE_EMERGENCY_WWAN) { in handleMessage()
384 mPhone.setEmergencyMode(MODE_EMERGENCY_WWAN, in handleMessage()
390 MODE_EMERGENCY_WWAN, MSG_SET_EMERGENCY_MODE_DONE); in handleMessage()
588 setEmergencyMode(mPhone, EMERGENCY_TYPE_CALL, MODE_EMERGENCY_WWAN, in startEmergencyCall()
728 if (mEmergencyMode != MODE_EMERGENCY_WWAN) { in switchDdsAndSetEmergencyMode()
729 setEmergencyMode(phone, emergencyType, MODE_EMERGENCY_WWAN, in switchDdsAndSetEmergencyMode()
765 && mode == MODE_EMERGENCY_WWAN in setEmergencyMode()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/emergency/
DEmergencyStateTrackerTest.java27 import static com.android.internal.telephony.emergency.EmergencyConstants.MODE_EMERGENCY_WWAN;
209 verify(testPhone).setEmergencyMode(eq(MODE_EMERGENCY_WWAN), any()); in startEmergencyCall_radioOff_turnOnRadioSwitchDdsAndSetEmergencyMode()
263 verify(testPhone).setEmergencyMode(eq(MODE_EMERGENCY_WWAN), any()); in startEmergencyCall_radioOff_turnOnRadioTimeoutSwitchDdsAndSetEmergencyMode()
378 verify(testPhone).setEmergencyMode(eq(MODE_EMERGENCY_WWAN), any()); in startEmergencyCall_satelliteEnabled_turnOnRadioSwitchDdsAndSetEmergencyMode()
563 verify(testPhone).setEmergencyMode(eq(MODE_EMERGENCY_WWAN), any(Message.class)); in setEmergencyModeDone_notifiesListenersAndCompletesFuture()
586 verify(testPhone).setEmergencyMode(eq(MODE_EMERGENCY_WWAN), any(Message.class)); in exitEmergencyModeDone_isInEmergencyCallFalse()
705 EmergencyStateTracker.EMERGENCY_TYPE_CALL, MODE_EMERGENCY_WWAN); in onEmergencyTransportChanged_setEmergencyMode()
707 verify(testPhone).setEmergencyMode(eq(MODE_EMERGENCY_WWAN), any()); in onEmergencyTransportChanged_setEmergencyMode()
726 EmergencyStateTracker.EMERGENCY_TYPE_CALL, MODE_EMERGENCY_WWAN); in onEmergencyTransportChangedAndWait_setEmergencyMode()
728 verify(testPhone).setEmergencyMode(eq(MODE_EMERGENCY_WWAN), any()); in onEmergencyTransportChangedAndWait_setEmergencyMode()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/domainselection/
DEmergencySmsDomainSelectionConnection.java20 import static com.android.internal.telephony.emergency.EmergencyConstants.MODE_EMERGENCY_WWAN;
95 EmergencyStateTracker.EMERGENCY_TYPE_SMS, MODE_EMERGENCY_WWAN); in onWwanSelected()
DEmergencyCallDomainSelectionConnection.java27 import static com.android.internal.telephony.emergency.EmergencyConstants.MODE_EMERGENCY_WWAN;
115 EmergencyStateTracker.EMERGENCY_TYPE_CALL, MODE_EMERGENCY_WWAN); in onWwanSelected()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/domainselection/
DEmergencyCallDomainSelectionConnectionTest.java28 import static com.android.internal.telephony.emergency.EmergencyConstants.MODE_EMERGENCY_WWAN;
191 eq(EmergencyStateTracker.EMERGENCY_TYPE_CALL), eq(MODE_EMERGENCY_WWAN)); in testSelectDomainCs()
229 eq(EmergencyStateTracker.EMERGENCY_TYPE_CALL), eq(MODE_EMERGENCY_WWAN)); in testSelectDomainPs()
DEmergencySmsDomainSelectionConnectionTest.java20 import static com.android.internal.telephony.emergency.EmergencyConstants.MODE_EMERGENCY_WWAN;
249 eq(EmergencyStateTracker.EMERGENCY_TYPE_SMS), eq(MODE_EMERGENCY_WWAN)); in testOnWwanSelected()