Searched refs:RadioState (Results 1 - 11 of 11) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DUiccSlot.java34 import com.android.internal.telephony.CommandsInterface.RadioState;
60 private RadioState mLastRadioState = RadioState.RADIO_UNAVAILABLE;
89 RadioState radioState = mCi.getRadioState();
103 if (radioState == RadioState.RADIO_ON && mLastRadioState == RadioState.RADIO_ON) {
144 mLastRadioState = RadioState.RADIO_UNAVAILABLE;
168 RadioState radioState =
169 (mCi == null) ? RadioState.RADIO_UNAVAILABLE : mCi.getRadioState();
171 if (radioState == RadioState
[all...]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
H A DUiccControllerTest.java146 assertEquals(CommandsInterface.RadioState.RADIO_UNAVAILABLE,
155 assertEquals(CommandsInterface.RadioState.RADIO_ON, mSimulatedCommands.getRadioState());
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DRadioIndication.java118 * @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
[all...]
H A DBaseCommands.java34 protected RadioState mState = RadioState.RADIO_UNAVAILABLE;
120 public RadioState getRadioState() {
217 if (mState == RadioState.RADIO_OFF || !mState.isAvailable()) {
787 * Store new RadioState and send notification based on the changes
792 * RadioState has 3 values : RADIO_OFF, RADIO_UNAVAILABLE, RADIO_ON.
794 * @param newState new RadioState decoded from RIL_UNSOL_RADIO_STATE_CHANGED
796 protected void setRadioState(RadioState newState) {
797 RadioState oldState;
H A DCommandsInterface.java40 enum RadioState { enum in interface:CommandsInterface
124 RadioState getRadioState();
138 * Fires on any RadioState transition
154 * Fires on any transition into RadioState.isOn()
163 * Fires on any transition out of RadioState.isAvailable()
172 * Fires on any transition into !RadioState.isAvailable()
181 * Fires on any transition into RADIO_OFF or !RadioState.isAvailable()
H A DServiceStateTracker.java1102 mCi.getRadioState() == CommandsInterface.RadioState.RADIO_ON) {
2420 } else if (mCi.getRadioState() == CommandsInterface.RadioState.RADIO_OFF) {
2490 && mCi.getRadioState() == CommandsInterface.RadioState.RADIO_OFF) {
2632 return mCi.getRadioState() == CommandsInterface.RadioState.RADIO_ON;
4638 if (mCi.getRadioState() == CommandsInterface.RadioState.RADIO_OFF) {
H A DRIL.java341 setRadioState(RadioState.RADIO_UNAVAILABLE);
4164 setRadioState(RadioState.RADIO_UNAVAILABLE);
H A DGsmCdmaPhone.java398 CommandsInterface.RadioState radioState = mCi.getRadioState();
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
H A DSimulatedCommands.java160 setRadioState(RadioState.RADIO_ON);
507 if ((mState == RadioState.RADIO_ON) && !isSimLocked()) {
1254 setRadioState(RadioState.RADIO_ON);
1256 setRadioState(RadioState.RADIO_OFF);
1612 setRadioState(RadioState.RADIO_UNAVAILABLE);
2018 setRadioState(RadioState.RADIO_UNAVAILABLE);
H A DSimulatedCommandsVerifier.java51 public RadioState getRadioState() {
/frameworks/base/config/
H A Dboot-image-profile.txt[all...]

Completed in 241 milliseconds