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.java687 public boolean isInEcm() { in isInEcm() method in ImsPhone
688 return mDefaultPhone.isInEcm(); in isInEcm()
692 public void setIsInEcm(boolean isInEcm){ in setIsInEcm() argument
693 mDefaultPhone.setIsInEcm(isInEcm); in setIsInEcm()
1573 intent.putExtra(PhoneConstants.PHONE_IN_ECM_STATE, isInEcm()); in sendEmergencyCallbackModeChange()
1576 if (DBG) logd("sendEmergencyCallbackModeChange: isInEcm=" + isInEcm()); in sendEmergencyCallbackModeChange()
1598 if (DBG) logd("handleEnterEmergencyCallbackMode,mIsPhoneInEcmState= " + isInEcm()); in handleEnterEmergencyCallbackMode()
1600 if (!isInEcm()) { in handleEnterEmergencyCallbackMode()
1619 if (DBG) logd("handleExitEmergencyCallbackMode: mIsPhoneInEcmState = " + isInEcm()); in handleExitEmergencyCallbackMode()
1621 if (isInEcm()) { in handleExitEmergencyCallbackMode()
[all …]
DImsPhoneCallTracker.java635 if (mPhone.isInEcm()) { in startListeningForCalls()
2162 return mPhone != null && mPhone.isInEcm(); in isPhoneInEcbMode()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPhoneSwitcher.java461 boolean isInEcm = isInEmergencyCallbackMode(); in handleMessage()
463 log("Emergency override - ecbm status = " + isInEcm); in handleMessage()
464 if (isInEcm) { in handleMessage()
625 if (p.isInEcm()) return true; in isInEmergencyCallbackMode()
627 if (imsPhone != null && imsPhone.isInEcm()) { in isInEmergencyCallbackMode()
DGsmCdmaCallTracker.java122 boolean isInEcm = intent.getBooleanExtra(PhoneConstants.PHONE_IN_ECM_STATE, false);
123 log("Received ACTION_EMERGENCY_CALLBACK_MODE_CHANGED isInEcm = " + isInEcm);
126 if (!isInEcm) {
433 boolean isPhoneInEcmMode = mPhone.isInEcm(); in dialCdma()
1677 boolean inEcm = mPhone.isInEcm(); in checkAndEnableDataCallAfterEmergencyCallDropped()
DGsmCdmaPhone.java727 intent.putExtra(PhoneConstants.PHONE_IN_ECM_STATE, isInEcm()); in sendEmergencyCallbackModeChange()
2428 logd("Event EVENT_MODEM_RESET Received" + " isInEcm = " + isInEcm() in handleMessage()
2430 if (isInEcm()) { in handleMessage()
3158 + isInEcm()); in handleEnterEmergencyCallbackMode()
3161 if (!isInEcm()) { in handleEnterEmergencyCallbackMode()
3182 + ar.exception + isInEcm()); in handleExitEmergencyCallbackMode()
3192 if (isInEcm()) { in handleExitEmergencyCallbackMode()
3678 pw.println(" isInEcm()=" + isInEcm()); in dump()
DPhone.java2415 public boolean isInEcm() { in isInEcm() method in Phone
2419 public void setIsInEcm(boolean isInEcm) { in setIsInEcm() argument
2420 setGlobalSystemProperty(TelephonyProperties.PROPERTY_INECM_MODE, String.valueOf(isInEcm)); in setIsInEcm()
2421 mIsPhoneInEcmState = isInEcm; in setIsInEcm()
4066 pw.println(" isInEcm()=" + isInEcm()); in dump()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaSMSDispatcher.java75 return mPhone.isInEcm() && isCdmaMo() && !isIms(); in shouldBlockSmsForEcbm()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmCdmaPhoneTest.java698 assertEquals(true, mPhoneUT.isInEcm()); in testEmergencyCallbackMessages()
732 assertEquals(false, mPhoneUT.isInEcm()); in testEmergencyCallbackMessages()
786 assertEquals(true, mPhoneUT.isInEcm()); in testModemResetInEmergencyCallbackMessages()
820 assertEquals(false, mPhoneUT.isInEcm()); in testModemResetInEmergencyCallbackMessages()
DPhoneSwitcherTest.java907 doReturn(true).when(phone).isInEcm(); in notifyEcbmStart()
913 doReturn(false).when(phone).isInEcm(); in notifyEcbmEnd()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
DPhoneMock.java607 public boolean isInEcm() { in isInEcm() method in PhoneMock
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDcTrackerTest.java1265 doReturn(true).when(mPhone).isInEcm(); in testTrySetupDefaultInECBM()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcTracker.java1453 final boolean result = mPhone.isInEcm() || mPhone.isInEmergencyCall(); in isEmergency()