Searched refs:RADIO_POWER_ON (Results 1 – 16 of 16) sorted by relevance
367 boolean oldState = (mSimulatedCommands.getRadioState() == TelephonyManager.RADIO_POWER_ON); in testSetRadioPower()371 != (mSimulatedCommands.getRadioState() == TelephonyManager.RADIO_POWER_ON)); in testSetRadioPower()387 assertTrue(mSimulatedCommands.getRadioState() == TelephonyManager.RADIO_POWER_ON); in testSetRadioPowerOnForEmergencyCall()408 assertTrue(mSimulatedCommands.getRadioState() == TelephonyManager.RADIO_POWER_ON); in testSetRadioPowerForReason()426 assertTrue(mSimulatedCommands.getRadioState() == TelephonyManager.RADIO_POWER_ON); in testSetRadioPowerForReason()437 assertTrue(mSimulatedCommands.getRadioState() == TelephonyManager.RADIO_POWER_ON); in testSetRadioPowerForReason()447 == TelephonyManager.RADIO_POWER_ON); in testSetRadioPowerFromCarrier()455 == TelephonyManager.RADIO_POWER_ON); in testSetRadioPowerFromCarrier()462 assertTrue(mSimulatedCommands.getRadioState() == TelephonyManager.RADIO_POWER_ON); in testSetRadioPowerFromCarrier()471 == TelephonyManager.RADIO_POWER_ON); in testSetRadioPowerFromCarrier()[all …]
24 import static android.telephony.TelephonyManager.RADIO_POWER_ON;357 mTelephonyRegistry.notifyRadioPowerStateChanged(1, 1, RADIO_POWER_ON); in testMultiSimConfigChange()364 mTelephonyRegistry.notifyRadioPowerStateChanged(1, 1, RADIO_POWER_ON); in testMultiSimConfigChange()366 assertEquals(RADIO_POWER_ON, mRadioPowerState); in testMultiSimConfigChange()
197 setRadioState(TelephonyManager.RADIO_POWER_ON, false /* forceNotifyRegistrants */); in SimulatedCommands()552 if ((mState == TelephonyManager.RADIO_POWER_ON) && !isSimLocked()) { in getCurrentCalls()1324 setRadioState(TelephonyManager.RADIO_POWER_ON, false /* forceNotifyRegistrants */); in setRadioPower()
863 doReturn(TelephonyManager.RADIO_POWER_ON).when(mMockCi).getRadioState(); in testVoiceDataSmsAutoFallback()
85 if (state == TelephonyManager.RADIO_POWER_ON) { in onRadioPowerStateChanged()
214 if (mState == TelephonyManager.RADIO_POWER_ON) { in registerForOn()883 if (mState == TelephonyManager.RADIO_POWER_ON in setRadioState()884 && oldState != TelephonyManager.RADIO_POWER_ON) { in setRadioState()890 && (oldState == TelephonyManager.RADIO_POWER_ON)) { in setRadioState()
1359 mCi.getRadioState() == TelephonyManager.RADIO_POWER_ON) { in handleMessage()1379 if (!(mCi.getRadioState() == TelephonyManager.RADIO_POWER_ON)) { in handleMessage()3189 == TelephonyManager.RADIO_POWER_ON) { in setPowerStateToDesired()3372 return mCi.getRadioState() == TelephonyManager.RADIO_POWER_ON; in isRadioOn()3958 if ((mCi.getRadioState() == TelephonyManager.RADIO_POWER_ON) in getOperatorNameFromEri()3973 if (!hasBrandOverride && (mCi.getRadioState() == TelephonyManager.RADIO_POWER_ON) in getOperatorNameFromEri()
551 if (radioState == TelephonyManager.RADIO_POWER_ON) { in switchPhoneType()555 if (radioState != TelephonyManager.RADIO_POWER_ON) { in switchPhoneType()4053 if (mCi.getRadioState() == TelephonyManager.RADIO_POWER_ON) { in phoneObjectUpdater()
694 if (mCi.getRadioState() != TelephonyManager.RADIO_POWER_ON) { in checkForDialIssues()
1201 state = TelephonyManager.RADIO_POWER_ON; in getRadioStateFromInt()
4304 return mCi.getRadioState() == TelephonyManager.RADIO_POWER_ON; in isRadioOn()
44 TelephonyManager.RADIO_POWER_ON,
9787 public static final int RADIO_POWER_ON = 1; field in TelephonyManager
184 assertEquals(TelephonyManager.RADIO_POWER_ON, mSimulatedCommands.getRadioState()); in testPowerOn()
2721 case TelephonyManager.RADIO_POWER_ON: in convertRadioState()
12139 field public static final int RADIO_POWER_ON = 1; // 0x1