Searched refs:getRadioState (Results 1 – 12 of 12) sorted by relevance
367 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 …]
57 public int getRadioState() { in getRadioState() method in SimulatedCommandsVerifier
863 doReturn(TelephonyManager.RADIO_POWER_ON).when(mMockCi).getRadioState(); in testVoiceDataSmsAutoFallback()
96 int radioState = mCi.getRadioState(); in update()184 (mCi == null) ? TelephonyManager.RADIO_POWER_UNAVAILABLE : mCi.getRadioState(); in updateCardStateAbsent()
1336 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 …]
302 if (phone.mCi.getRadioState() == TelephonyManager.RADIO_POWER_UNAVAILABLE) { in handleMessage()992 phone.mCi.getRadioState() == TelephonyManager.RADIO_POWER_UNAVAILABLE) || in isRadioAvailableOnAllSubs()
4290 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()
132 int getRadioState(); in getRadioState() method
182 public @RadioPowerState int getRadioState() { in getRadioState() method in BaseCommands
548 int radioState = mCi.getRadioState(); in switchPhoneType()2831 @RadioPowerState int newState = mCi.getRadioState(); in handleRadioPowerStateChange()4053 if (mCi.getRadioState() == TelephonyManager.RADIO_POWER_ON) { in phoneObjectUpdater()
694 if (mCi.getRadioState() != TelephonyManager.RADIO_POWER_ON) { in checkForDialIssues()
176 assertEquals(TelephonyManager.RADIO_POWER_UNAVAILABLE, mSimulatedCommands.getRadioState()); in testPowerOff()184 assertEquals(TelephonyManager.RADIO_POWER_ON, mSimulatedCommands.getRadioState()); in testPowerOn()