Home
last modified time | relevance | path

Searched refs:isInScbm (Results 1 – 2 of 2) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/emergency/
DEmergencyStateTracker.java318 if (!isSamePhone(mPhone, mSmsPhone) || !isInScbm()) { in handleMessage()
692 if (isInScbm()) { in endCall()
1306 + ", scbm=" + isInScbm()); in startEmergencySms()
1316 boolean smsStartedInScbm = isInScbm(); in startEmergencySms()
1408 && (isInScbm() || isEmergencyCallbackModeSupported(mSmsPhone))) { in endSms()
1410 } else if (isInScbm()) { in endSms()
1426 if (isInScbm()) { in onEmergencySmsReceived()
1444 public boolean isInScbm() { in isInScbm() method in EmergencyStateTracker
1454 private void setIsInScbm(boolean isInScbm) { in setIsInScbm() argument
1455 mIsInScbm = isInScbm; in setIsInScbm()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/emergency/
DEmergencyStateTrackerTest.java1166 assertFalse(emergencyStateTracker.isInScbm()); in testEndSmsAndExitEmergencyMode()
1228 assertTrue(emergencyStateTracker.isInScbm()); in testEndSmsAndEnterEmergencySmsCallbackMode()
1247 assertTrue(emergencyStateTracker.isInScbm()); in testEndSmsWithSmsSentFailureWhileInScbm()
1260 assertTrue(emergencyStateTracker.isInScbm()); in testEndSmsWithSmsSentFailureWhileInScbm()
1279 assertTrue(emergencyStateTracker.isInScbm()); in testEndSmsWithSmsSentSuccessWhileInScbm()
1292 assertTrue(emergencyStateTracker.isInScbm()); in testEndSmsWithSmsSentSuccessWhileInScbm()
1586 assertFalse(emergencyStateTracker.isInScbm()); in testStartEmergencyCallWhileCallActiveAndInScbmOnSamePhone()
1627 assertFalse(emergencyStateTracker.isInScbm()); in testStartEmergencyCallWhileInEcmAndScbmOnSamePhone()
1654 assertFalse(emergencyStateTracker.isInScbm()); in testStartEmergencyCallWhileScbmInProgressOnSamePhone()
1682 assertFalse(emergencyStateTracker.isInScbm()); in testStartEmergencyCallWhileInScbmOnSamePhone()
[all …]