Home
last modified time | relevance | path

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

/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhone.java849 public boolean isInEcm() { in isInEcm() method in ImsPhone
850 return mDefaultPhone.isInEcm(); in isInEcm()
854 public void setIsInEcm(boolean isInEcm){ in setIsInEcm() argument
855 mIsInImsEcm = isInEcm; in setIsInEcm()
856 mDefaultPhone.setIsInEcm(isInEcm); in setIsInEcm()
1917 intent.putExtra(TelephonyManager.EXTRA_PHONE_IN_ECM_STATE, isInEcm()); in sendEmergencyCallbackModeChange()
1920 if (DBG) logd("sendEmergencyCallbackModeChange: isInEcm=" + isInEcm()); in sendEmergencyCallbackModeChange()
1942 if (DBG) logd("handleEnterEmergencyCallbackMode,mIsPhoneInEcmState= " + isInEcm()); in handleEnterEmergencyCallbackMode()
1944 if (!isInEcm()) { in handleEnterEmergencyCallbackMode()
1963 if (DBG) logd("handleExitEmergencyCallbackMode: mIsPhoneInEcmState = " + isInEcm()); in handleExitEmergencyCallbackMode()
[all …]
DImsPhoneCallTracker.java958 if (mPhone.isInEcm()) { in startListeningForCalls()
2663 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()
651 if (p.isInEcm()) return true; in isInEmergencyCallbackMode()
653 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()
1704 boolean inEcm = mPhone.isInEcm(); in checkAndEnableDataCallAfterEmergencyCallDropped()
DGsmCdmaPhone.java803 intent.putExtra(TelephonyManager.EXTRA_PHONE_IN_ECM_STATE, isInEcm()); in sendEmergencyCallbackModeChange()
2708 logd("Event EVENT_MODEM_RESET Received" + " isInEcm = " + isInEcm() in handleMessage()
2710 if (isInEcm()) { in handleMessage()
3492 + isInEcm()); in handleEnterEmergencyCallbackMode()
3495 if (!isInEcm()) { in handleEnterEmergencyCallbackMode()
3516 + ar.exception + isInEcm()); in handleExitEmergencyCallbackMode()
3527 if (isInEcm()) { in handleExitEmergencyCallbackMode()
4023 pw.println(" isInEcm()=" + isInEcm()); in dump()
DPhone.java2655 public boolean isInEcm() { in isInEcm() method in Phone
2663 public void setIsInEcm(boolean isInEcm) { in setIsInEcm() argument
2665 TelephonyProperties.in_ecm_mode(isInEcm); in setIsInEcm()
2667 mIsPhoneInEcmState = isInEcm; in setIsInEcm()
4420 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.java888 assertTrue(mPhoneUT.isInEcm()); in testEmergencyCallbackMessages()
901 assertFalse(mPhoneUT.isInEcm()); in testEmergencyCallbackMessages()
919 private void verifyEcbmIntentSent(int times, boolean isInEcm) throws Exception { in verifyEcbmIntentSent() argument
937 assertEquals(isInEcm, intent.getBooleanExtra( in verifyEcbmIntentSent()
1000 assertEquals(true, mPhoneUT.isInEcm()); in testModemResetInEmergencyCallbackMessages()
1035 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.java162 doAnswer(invocation -> mIsPhoneUtInEcm).when(mPhone).isInEcm(); in setUp()
611 private void verifyEcbmIntentWasSent(int times, boolean isInEcm) throws Exception { in verifyEcbmIntentWasSent() argument
631 assertEquals(isInEcm, intent.getBooleanExtra( in verifyEcbmIntentWasSent()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcTracker.java1500 boolean isInEcm = mPhone.isInEcm(); in shouldRestrictDataForEcbm()
1502 log("shouldRestrictDataForEcbm: isInEcm=" + isInEcm + " isInImsEcm=" + isInImsEcm); in shouldRestrictDataForEcbm()
1503 return isInEcm && !isInImsEcm; in shouldRestrictDataForEcbm()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDcTrackerTest.java1248 doReturn(true).when(mPhone).isInEcm(); in testTrySetupDefaultInECBM()
/frameworks/base/config/
Dboot-image-profile.txt22433 HSPLcom/android/internal/telephony/Phone;->isInEcm()Z
23548 HSPLcom/android/internal/telephony/imsphone/ImsPhone;->isInEcm()Z