Searched refs:RadioState (Results 1 – 11 of 11) sorted by relevance
34 import com.android.internal.telephony.CommandsInterface.RadioState;60 private RadioState mLastRadioState = RadioState.RADIO_UNAVAILABLE;89 RadioState radioState = mCi.getRadioState(); in update()103 if (radioState == RadioState.RADIO_ON && mLastRadioState == RadioState.RADIO_ON) { in update()144 mLastRadioState = RadioState.RADIO_UNAVAILABLE; in update()168 RadioState radioState = in updateCardStateAbsent()169 (mCi == null) ? RadioState.RADIO_UNAVAILABLE : mCi.getRadioState(); in updateCardStateAbsent()171 if (radioState == RadioState.RADIO_ON && mLastRadioState == RadioState.RADIO_ON) { in updateCardStateAbsent()372 mLastRadioState = RadioState.RADIO_UNAVAILABLE; in onRadioStateUnavailable()
123 CommandsInterface.RadioState newState = getRadioStateFromInt(radioState); in radioStateChanged()907 private CommandsInterface.RadioState getRadioStateFromInt(int stateInt) { in getRadioStateFromInt()908 CommandsInterface.RadioState state; in getRadioStateFromInt()911 case android.hardware.radio.V1_0.RadioState.OFF: in getRadioStateFromInt()912 state = CommandsInterface.RadioState.RADIO_OFF; in getRadioStateFromInt()914 case android.hardware.radio.V1_0.RadioState.UNAVAILABLE: in getRadioStateFromInt()915 state = CommandsInterface.RadioState.RADIO_UNAVAILABLE; in getRadioStateFromInt()917 case android.hardware.radio.V1_0.RadioState.ON: in getRadioStateFromInt()918 state = CommandsInterface.RadioState.RADIO_ON; in getRadioStateFromInt()
34 protected RadioState mState = RadioState.RADIO_UNAVAILABLE;120 public RadioState getRadioState() { in getRadioState()217 if (mState == RadioState.RADIO_OFF || !mState.isAvailable()) { in registerForOffOrNotAvailable()796 protected void setRadioState(RadioState newState) { in setRadioState()797 RadioState oldState; in setRadioState()
40 enum RadioState { enum124 RadioState getRadioState(); in getRadioState()
1102 mCi.getRadioState() == CommandsInterface.RadioState.RADIO_ON) { in handleMessage()2420 } else if (mCi.getRadioState() == CommandsInterface.RadioState.RADIO_OFF) { in updateSpnDisplay()2490 && mCi.getRadioState() == CommandsInterface.RadioState.RADIO_OFF) { in setPowerStateToDesired()2632 return mCi.getRadioState() == CommandsInterface.RadioState.RADIO_ON; in isRadioOn()4638 if (mCi.getRadioState() == CommandsInterface.RadioState.RADIO_OFF) { in resetServiceStateInIwlanMode()
341 setRadioState(RadioState.RADIO_UNAVAILABLE); in resetProxyAndRequestList()4164 setRadioState(RadioState.RADIO_UNAVAILABLE); in processResponse()
398 CommandsInterface.RadioState radioState = mCi.getRadioState(); in switchPhoneType()
146 assertEquals(CommandsInterface.RadioState.RADIO_UNAVAILABLE, in testPowerOff()155 assertEquals(CommandsInterface.RadioState.RADIO_ON, mSimulatedCommands.getRadioState()); in testPowerOn()
160 setRadioState(RadioState.RADIO_ON); in SimulatedCommands()507 if ((mState == RadioState.RADIO_ON) && !isSimLocked()) { in getCurrentCalls()1254 setRadioState(RadioState.RADIO_ON); in setRadioPower()1256 setRadioState(RadioState.RADIO_OFF); in setRadioPower()1612 setRadioState(RadioState.RADIO_UNAVAILABLE); in shutdown()2018 setRadioState(RadioState.RADIO_UNAVAILABLE); in requestShutdown()
51 public RadioState getRadioState() { in getRadioState()
39449 …lephony/BaseCommands;->getRadioState()Lcom/android/internal/telephony/CommandsInterface$RadioState;39502 …ephony/BaseCommands;->setRadioState(Lcom/android/internal/telephony/CommandsInterface$RadioState;)V39622 HSPLcom/android/internal/telephony/CommandsInterface$RadioState;-><init>(Ljava/lang/String;I)V39623 …ternal/telephony/CommandsInterface$RadioState;->values()[Lcom/android/internal/telephony/CommandsI…39625 …ny/CommandsInterface;->getRadioState()Lcom/android/internal/telephony/CommandsInterface$RadioState;40677 …ioIndication;->getRadioStateFromInt(I)Lcom/android/internal/telephony/CommandsInterface$RadioState;60144 Lcom/android/internal/telephony/CommandsInterface$RadioState;