Lines Matching refs:RadioState
118 * @param radioState android.hardware.radio.V1_0.RadioState
123 CommandsInterface.RadioState newState = getRadioStateFromInt(radioState);
907 private CommandsInterface.RadioState getRadioStateFromInt(int stateInt) {
908 CommandsInterface.RadioState state;
911 case android.hardware.radio.V1_0.RadioState.OFF:
912 state = CommandsInterface.RadioState.RADIO_OFF;
914 case android.hardware.radio.V1_0.RadioState.UNAVAILABLE:
915 state = CommandsInterface.RadioState.RADIO_UNAVAILABLE;
917 case android.hardware.radio.V1_0.RadioState.ON:
918 state = CommandsInterface.RadioState.RADIO_ON;
921 throw new RuntimeException("Unrecognized RadioState: " + stateInt);