Home
last modified time | relevance | path

Searched refs:getRadioState (Results 1 – 10 of 10) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccSlot.java92 int radioState = mCi.getRadioState(); in update()
181 (mCi == null) ? TelephonyManager.RADIO_POWER_UNAVAILABLE : mCi.getRadioState(); in updateCardStateAbsent()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DServiceStateTrackerTest.java320 boolean oldState = (mSimulatedCommands.getRadioState() == TelephonyManager.RADIO_POWER_ON); in testSetRadioPower()
324 != (mSimulatedCommands.getRadioState() == TelephonyManager.RADIO_POWER_ON)); in testSetRadioPower()
333 assertFalse(mSimulatedCommands.getRadioState() in testSetRadioPowerFromCarrier()
341 assertFalse(mSimulatedCommands.getRadioState() in testSetRadioPowerFromCarrier()
349 assertTrue(mSimulatedCommands.getRadioState() == TelephonyManager.RADIO_POWER_ON); in testSetRadioPowerFromCarrier()
357 assertFalse(mSimulatedCommands.getRadioState() in testSetRadioPowerFromCarrier()
1682 assertFalse(mSimulatedCommands.getRadioState() in testShuttingDownRequest()
1696 assertTrue(mSimulatedCommands.getRadioState() == TelephonyManager.RADIO_POWER_ON); in testShuttingDownRequestWithRadioPowerFailResponse()
1699 assertFalse(mSimulatedCommands.getRadioState() in testShuttingDownRequestWithRadioPowerFailResponse()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DUiccControllerTest.java163 assertEquals(TelephonyManager.RADIO_POWER_UNAVAILABLE, mSimulatedCommands.getRadioState()); in testPowerOff()
171 assertEquals(TelephonyManager.RADIO_POWER_ON, mSimulatedCommands.getRadioState()); in testPowerOn()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DServiceStateTracker.java1160 if (mDeviceShuttingDown && mCi.getRadioState() in handleMessage()
1185 mCi.getRadioState() == TelephonyManager.RADIO_POWER_ON) { in handleMessage()
1205 if (!(mCi.getRadioState() == TelephonyManager.RADIO_POWER_ON)) { in handleMessage()
2712 } else if (mCi.getRadioState() == TelephonyManager.RADIO_POWER_OFF) { in updateSpnDisplayLegacy()
2745 ", getRadioState=" + mCi.getRadioState() + in setPowerStateToDesired()
2763 && mCi.getRadioState() == TelephonyManager.RADIO_POWER_OFF) { in setPowerStateToDesired()
2765 } else if ((!mDesiredPowerState || mRadioDisabledByCarrier) && mCi.getRadioState() in setPowerStateToDesired()
2788 && (mCi.getRadioState() != TelephonyManager.RADIO_POWER_UNAVAILABLE)) { in setPowerStateToDesired()
2917 return mCi.getRadioState() == TelephonyManager.RADIO_POWER_ON; in isRadioOn()
2947 switch (mCi.getRadioState()) { in pollState()
[all …]
DPhone.java3623 return mCi.getRadioState(); in getRadioPowerState()
3630 return mCi.getRadioState() != TelephonyManager.RADIO_POWER_UNAVAILABLE; in isRadioAvailable()
3637 return mCi.getRadioState() == TelephonyManager.RADIO_POWER_ON; in isRadioOn()
DGsmCdmaPhone.java475 int radioState = mCi.getRadioState(); in switchPhoneType()
2388 Rlog.d(LOG_TAG, "handleRadioPowerStateChange, state= " + mCi.getRadioState()); in handleRadioPowerStateChange()
2389 mNotifier.notifyRadioPowerStateChanged(this, mCi.getRadioState()); in handleRadioPowerStateChange()
3556 if (mCi.getRadioState() == TelephonyManager.RADIO_POWER_ON) { in phoneObjectUpdater()
DCommandsInterface.java118 int getRadioState(); in getRadioState() method
DBaseCommands.java163 public @TelephonyManager.RadioPowerState int getRadioState() { in getRadioState() method in BaseCommands
DGsmCdmaCallTracker.java662 if (mCi.getRadioState() != TelephonyManager.RADIO_POWER_ON) { in checkForDialIssues()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
DSimulatedCommandsVerifier.java50 public int getRadioState() { in getRadioState() method in SimulatedCommandsVerifier