Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DServiceStateTrackerTest.java367 boolean oldState = (mSimulatedCommands.getRadioState() == TelephonyManager.RADIO_POWER_ON); in testSetRadioPower()
371 != (mSimulatedCommands.getRadioState() == TelephonyManager.RADIO_POWER_ON)); in testSetRadioPower()
380 assertTrue(mSimulatedCommands.getRadioState() == TelephonyManager.RADIO_POWER_OFF); in testSetRadioPowerOnForEmergencyCall()
387 assertTrue(mSimulatedCommands.getRadioState() == TelephonyManager.RADIO_POWER_ON); in testSetRadioPowerOnForEmergencyCall()
408 assertTrue(mSimulatedCommands.getRadioState() == TelephonyManager.RADIO_POWER_ON); in testSetRadioPowerForReason()
414 assertTrue(mSimulatedCommands.getRadioState() == TelephonyManager.RADIO_POWER_OFF); in testSetRadioPowerForReason()
419 assertTrue(mSimulatedCommands.getRadioState() == TelephonyManager.RADIO_POWER_OFF); in testSetRadioPowerForReason()
426 assertTrue(mSimulatedCommands.getRadioState() == TelephonyManager.RADIO_POWER_ON); in testSetRadioPowerForReason()
433 assertTrue(mSimulatedCommands.getRadioState() == TelephonyManager.RADIO_POWER_OFF); in testSetRadioPowerForReason()
437 assertTrue(mSimulatedCommands.getRadioState() == TelephonyManager.RADIO_POWER_ON); in testSetRadioPowerForReason()
[all …]
DSimulatedCommandsVerifier.java57 public int getRadioState() { in getRadioState() method in SimulatedCommandsVerifier
DMultiSimSettingControllerTest.java863 doReturn(TelephonyManager.RADIO_POWER_ON).when(mMockCi).getRadioState(); in testVoiceDataSmsAutoFallback()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccSlot.java96 int radioState = mCi.getRadioState(); in update()
184 (mCi == null) ? TelephonyManager.RADIO_POWER_UNAVAILABLE : mCi.getRadioState(); in updateCardStateAbsent()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DServiceStateTracker.java1336 if (mDeviceShuttingDown && mCi.getRadioState() in handleMessage()
1359 mCi.getRadioState() == TelephonyManager.RADIO_POWER_ON) { in handleMessage()
1379 if (!(mCi.getRadioState() == TelephonyManager.RADIO_POWER_ON)) { in handleMessage()
3120 } else if (mCi.getRadioState() == TelephonyManager.RADIO_POWER_OFF) { in updateSpnDisplayLegacy()
3176 ", getRadioState=" + mCi.getRadioState() + in setPowerStateToDesired()
3186 && (forceApply || mCi.getRadioState() == TelephonyManager.RADIO_POWER_OFF)) { in setPowerStateToDesired()
3188 } else if ((!mDesiredPowerState || mRadioDisabledByCarrier) && mCi.getRadioState() in setPowerStateToDesired()
3201 && (mCi.getRadioState() != TelephonyManager.RADIO_POWER_UNAVAILABLE)) { in setPowerStateToDesired()
3372 return mCi.getRadioState() == TelephonyManager.RADIO_POWER_ON; in isRadioOn()
3394 switch (mCi.getRadioState()) { in pollStateInternal()
[all …]
DMultiSimSettingController.java302 if (phone.mCi.getRadioState() == TelephonyManager.RADIO_POWER_UNAVAILABLE) { in handleMessage()
992 phone.mCi.getRadioState() == TelephonyManager.RADIO_POWER_UNAVAILABLE) || in isRadioAvailableOnAllSubs()
DPhone.java4290 return mCi.getRadioState(); in getRadioPowerState()
4297 return mCi.getRadioState() != TelephonyManager.RADIO_POWER_UNAVAILABLE; in isRadioAvailable()
4304 return mCi.getRadioState() == TelephonyManager.RADIO_POWER_ON; in isRadioOn()
DCommandsInterface.java132 int getRadioState(); in getRadioState() method
DBaseCommands.java182 public @RadioPowerState int getRadioState() { in getRadioState() method in BaseCommands
DGsmCdmaPhone.java548 int radioState = mCi.getRadioState(); in switchPhoneType()
2831 @RadioPowerState int newState = mCi.getRadioState(); in handleRadioPowerStateChange()
4053 if (mCi.getRadioState() == TelephonyManager.RADIO_POWER_ON) { in phoneObjectUpdater()
DGsmCdmaCallTracker.java694 if (mCi.getRadioState() != TelephonyManager.RADIO_POWER_ON) { in checkForDialIssues()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DUiccControllerTest.java176 assertEquals(TelephonyManager.RADIO_POWER_UNAVAILABLE, mSimulatedCommands.getRadioState()); in testPowerOff()
184 assertEquals(TelephonyManager.RADIO_POWER_ON, mSimulatedCommands.getRadioState()); in testPowerOn()