Home
last modified time | relevance | path

Searched refs:isInEcm (Results 1 – 12 of 12) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhone.java756 public boolean isInEcm() { in isInEcm() method in ImsPhone
757 return mDefaultPhone.isInEcm(); in isInEcm()
761 public void setIsInEcm(boolean isInEcm){ in setIsInEcm() argument
762 mIsInImsEcm = isInEcm; in setIsInEcm()
763 mDefaultPhone.setIsInEcm(isInEcm); in setIsInEcm()
1702 intent.putExtra(TelephonyManager.EXTRA_PHONE_IN_ECM_STATE, isInEcm()); in sendEmergencyCallbackModeChange()
1705 if (DBG) logd("sendEmergencyCallbackModeChange: isInEcm=" + isInEcm()); in sendEmergencyCallbackModeChange()
1727 if (DBG) logd("handleEnterEmergencyCallbackMode,mIsPhoneInEcmState= " + isInEcm()); in handleEnterEmergencyCallbackMode()
1729 if (!isInEcm()) { in handleEnterEmergencyCallbackMode()
1748 if (DBG) logd("handleExitEmergencyCallbackMode: mIsPhoneInEcmState = " + isInEcm()); in handleExitEmergencyCallbackMode()
[all …]
DImsPhoneCallTracker.java981 if (mPhone.isInEcm()) { in startListeningForCalls()
2689 return mPhone != null && mPhone.isInEcm(); in isPhoneInEcbMode()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPhoneSwitcher.java470 boolean isInEcm = isInEmergencyCallbackMode(); in handleMessage()
472 log("Emergency override - ecbm status = " + isInEcm); in handleMessage()
473 if (isInEcm) { in handleMessage()
660 if (p.isInEcm()) return true; in isInEmergencyCallbackMode()
662 if (imsPhone != null && imsPhone.isInEcm()) { in isInEmergencyCallbackMode()
DGsmCdmaCallTracker.java121 boolean isInEcm = intent.getBooleanExtra(
123 log("Received ACTION_EMERGENCY_CALLBACK_MODE_CHANGED isInEcm = " + isInEcm);
126 if (!isInEcm) {
425 boolean isPhoneInEcmMode = mPhone.isInEcm(); in dialCdma()
1702 boolean inEcm = mPhone.isInEcm(); in checkAndEnableDataCallAfterEmergencyCallDropped()
DGsmCdmaPhone.java815 intent.putExtra(TelephonyManager.EXTRA_PHONE_IN_ECM_STATE, isInEcm()); in sendEmergencyCallbackModeChange()
2681 logd("Event EVENT_MODEM_RESET Received" + " isInEcm = " + isInEcm() in handleMessage()
2683 if (isInEcm()) { in handleMessage()
3466 + isInEcm()); in handleEnterEmergencyCallbackMode()
3469 if (!isInEcm()) { in handleEnterEmergencyCallbackMode()
3490 + ar.exception + isInEcm()); in handleExitEmergencyCallbackMode()
3501 if (isInEcm()) { in handleExitEmergencyCallbackMode()
3997 pw.println(" isInEcm()=" + isInEcm()); in dump()
DPhone.java2663 public boolean isInEcm() { in isInEcm() method in Phone
2671 public void setIsInEcm(boolean isInEcm) { in setIsInEcm() argument
2673 TelephonyProperties.in_ecm_mode(isInEcm); in setIsInEcm()
2675 mIsPhoneInEcmState = isInEcm; in setIsInEcm()
4425 pw.println(" isInEcm()=" + isInEcm()); in dump()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaSMSDispatcher.java76 return mPhone.isInEcm() && isCdmaMo() && !isIms(); in shouldBlockSmsForEcbm()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmCdmaPhoneTest.java884 assertTrue(mPhoneUT.isInEcm()); in testEmergencyCallbackMessages()
897 assertFalse(mPhoneUT.isInEcm()); in testEmergencyCallbackMessages()
915 private void verifyEcbmIntentSent(int times, boolean isInEcm) throws Exception { in verifyEcbmIntentSent() argument
921 assertEquals(isInEcm, intent.getBooleanExtra( in verifyEcbmIntentSent()
973 assertEquals(true, mPhoneUT.isInEcm()); in testModemResetInEmergencyCallbackMessages()
997 assertEquals(false, mPhoneUT.isInEcm()); in testModemResetInEmergencyCallbackMessages()
DPhoneSwitcherTest.java1049 doReturn(true).when(phone).isInEcm(); in notifyEcbmStart()
1055 doReturn(false).when(phone).isInEcm(); in notifyEcbmEnd()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneTest.java159 doAnswer(invocation -> mIsPhoneUtInEcm).when(mPhone).isInEcm(); in setUp()
594 private void verifyEcbmIntentWasSent(int times, boolean isInEcm) throws Exception { in verifyEcbmIntentWasSent() argument
603 assertEquals(isInEcm, intent.getBooleanExtra( in verifyEcbmIntentWasSent()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcTracker.java1530 boolean isInEcm = mPhone.isInEcm(); in shouldRestrictDataForEcbm()
1532 log("shouldRestrictDataForEcbm: isInEcm=" + isInEcm + " isInImsEcm=" + isInImsEcm); in shouldRestrictDataForEcbm()
1533 return isInEcm && !isInImsEcm; in shouldRestrictDataForEcbm()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDcTrackerTest.java1235 doReturn(true).when(mPhone).isInEcm(); in testTrySetupDefaultInECBM()