Searched refs:getRadioState (Results 1 – 13 of 13) sorted by relevance
83 if (mPhone.mCi.getRadioState() == TelephonyManager.RADIO_POWER_OFF) { in handleMessage()
198 PhoneFactory.getPhone(i).mCi.getRadioState() == in isRadioAvailableOnAllSubs()
96 int radioState = mCi.getRadioState(); in update()184 (mCi == null) ? TelephonyManager.RADIO_POWER_UNAVAILABLE : mCi.getRadioState(); in updateCardStateAbsent()
357 boolean oldState = (mSimulatedCommands.getRadioState() == TelephonyManager.RADIO_POWER_ON); in testSetRadioPower()361 != (mSimulatedCommands.getRadioState() == TelephonyManager.RADIO_POWER_ON)); in testSetRadioPower()370 assertTrue(mSimulatedCommands.getRadioState() == TelephonyManager.RADIO_POWER_OFF); in testSetRadioPowerOnForEmergencyCall()377 assertTrue(mSimulatedCommands.getRadioState() == TelephonyManager.RADIO_POWER_ON); in testSetRadioPowerOnForEmergencyCall()400 assertFalse(mSimulatedCommands.getRadioState() in testSetRadioPowerFromCarrier()408 assertFalse(mSimulatedCommands.getRadioState() in testSetRadioPowerFromCarrier()416 assertTrue(mSimulatedCommands.getRadioState() == TelephonyManager.RADIO_POWER_ON); in testSetRadioPowerFromCarrier()424 assertFalse(mSimulatedCommands.getRadioState() in testSetRadioPowerFromCarrier()1854 assertFalse(mSimulatedCommands.getRadioState() in testShuttingDownRequest()1868 assertTrue(mSimulatedCommands.getRadioState() == TelephonyManager.RADIO_POWER_ON); in testShuttingDownRequestWithRadioPowerFailResponse()[all …]
54 public int getRadioState() { in getRadioState() method in SimulatedCommandsVerifier
1253 if (mDeviceShuttingDown && mCi.getRadioState() in handleMessage()1276 mCi.getRadioState() == TelephonyManager.RADIO_POWER_ON) { in handleMessage()1296 if (!(mCi.getRadioState() == TelephonyManager.RADIO_POWER_ON)) { in handleMessage()2827 } else if (mCi.getRadioState() == TelephonyManager.RADIO_POWER_OFF) { in updateSpnDisplayLegacy()2887 ", getRadioState=" + mCi.getRadioState() + in setPowerStateToDesired()2905 && (forceApply || mCi.getRadioState() == TelephonyManager.RADIO_POWER_OFF)) { in setPowerStateToDesired()2907 } else if ((!mDesiredPowerState || mRadioDisabledByCarrier) && mCi.getRadioState() in setPowerStateToDesired()2930 && (mCi.getRadioState() != TelephonyManager.RADIO_POWER_UNAVAILABLE)) { in setPowerStateToDesired()3070 return mCi.getRadioState() == TelephonyManager.RADIO_POWER_ON; in isRadioOn()3092 switch (mCi.getRadioState()) { in pollStateInternal()[all …]
3935 return mCi.getRadioState(); in getRadioPowerState()3942 return mCi.getRadioState() != TelephonyManager.RADIO_POWER_UNAVAILABLE; in isRadioAvailable()3949 return mCi.getRadioState() == TelephonyManager.RADIO_POWER_ON; in isRadioOn()
500 int radioState = mCi.getRadioState(); in switchPhoneType()2668 Rlog.d(LOG_TAG, "handleRadioPowerStateChange, state= " + mCi.getRadioState()); in handleRadioPowerStateChange()2669 mNotifier.notifyRadioPowerStateChanged(this, mCi.getRadioState()); in handleRadioPowerStateChange()3899 if (mCi.getRadioState() == TelephonyManager.RADIO_POWER_ON) { in phoneObjectUpdater()
126 int getRadioState(); in getRadioState() method
176 public @RadioPowerState int getRadioState() { in getRadioState() method in BaseCommands
653 if (mCi.getRadioState() != TelephonyManager.RADIO_POWER_ON) { in checkForDialIssues()
173 assertEquals(TelephonyManager.RADIO_POWER_UNAVAILABLE, mSimulatedCommands.getRadioState()); in testPowerOff()181 assertEquals(TelephonyManager.RADIO_POWER_ON, mSimulatedCommands.getRadioState()); in testPowerOn()
21722 HSPLcom/android/internal/telephony/BaseCommands;->getRadioState()I