Home
last modified time | relevance | path

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

/frameworks/opt/telephony/src/java/com/android/internal/telephony/vendor/
DVendorServiceStateTracker.java83 if (mPhone.mCi.getRadioState() == TelephonyManager.RADIO_POWER_OFF) { in handleMessage()
DVendorSubscriptionController.java198 PhoneFactory.getPhone(i).mCi.getRadioState() == in isRadioAvailableOnAllSubs()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccSlot.java96 int radioState = mCi.getRadioState(); in update()
184 (mCi == null) ? TelephonyManager.RADIO_POWER_UNAVAILABLE : mCi.getRadioState(); in updateCardStateAbsent()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DServiceStateTrackerTest.java357 boolean oldState = (mSimulatedCommands.getRadioState() == TelephonyManager.RADIO_POWER_ON); in testSetRadioPower()
361 != (mSimulatedCommands.getRadioState() == TelephonyManager.RADIO_POWER_ON)); in testSetRadioPower()
370 assertTrue(mSimulatedCommands.getRadioState() == TelephonyManager.RADIO_POWER_OFF); in testSetRadioPowerOnForEmergencyCall()
377 assertTrue(mSimulatedCommands.getRadioState() == TelephonyManager.RADIO_POWER_ON); in testSetRadioPowerOnForEmergencyCall()
400 assertFalse(mSimulatedCommands.getRadioState() in testSetRadioPowerFromCarrier()
408 assertFalse(mSimulatedCommands.getRadioState() in testSetRadioPowerFromCarrier()
416 assertTrue(mSimulatedCommands.getRadioState() == TelephonyManager.RADIO_POWER_ON); in testSetRadioPowerFromCarrier()
424 assertFalse(mSimulatedCommands.getRadioState() in testSetRadioPowerFromCarrier()
1854 assertFalse(mSimulatedCommands.getRadioState() in testShuttingDownRequest()
1868 assertTrue(mSimulatedCommands.getRadioState() == TelephonyManager.RADIO_POWER_ON); in testShuttingDownRequestWithRadioPowerFailResponse()
[all …]
DSimulatedCommandsVerifier.java54 public int getRadioState() { in getRadioState() method in SimulatedCommandsVerifier
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DServiceStateTracker.java1253 if (mDeviceShuttingDown && mCi.getRadioState() in handleMessage()
1276 mCi.getRadioState() == TelephonyManager.RADIO_POWER_ON) { in handleMessage()
1296 if (!(mCi.getRadioState() == TelephonyManager.RADIO_POWER_ON)) { in handleMessage()
2827 } else if (mCi.getRadioState() == TelephonyManager.RADIO_POWER_OFF) { in updateSpnDisplayLegacy()
2887 ", getRadioState=" + mCi.getRadioState() + in setPowerStateToDesired()
2905 && (forceApply || mCi.getRadioState() == TelephonyManager.RADIO_POWER_OFF)) { in setPowerStateToDesired()
2907 } else if ((!mDesiredPowerState || mRadioDisabledByCarrier) && mCi.getRadioState() in setPowerStateToDesired()
2930 && (mCi.getRadioState() != TelephonyManager.RADIO_POWER_UNAVAILABLE)) { in setPowerStateToDesired()
3070 return mCi.getRadioState() == TelephonyManager.RADIO_POWER_ON; in isRadioOn()
3092 switch (mCi.getRadioState()) { in pollStateInternal()
[all …]
DPhone.java3935 return mCi.getRadioState(); in getRadioPowerState()
3942 return mCi.getRadioState() != TelephonyManager.RADIO_POWER_UNAVAILABLE; in isRadioAvailable()
3949 return mCi.getRadioState() == TelephonyManager.RADIO_POWER_ON; in isRadioOn()
DGsmCdmaPhone.java500 int radioState = mCi.getRadioState(); in switchPhoneType()
2668 Rlog.d(LOG_TAG, "handleRadioPowerStateChange, state= " + mCi.getRadioState()); in handleRadioPowerStateChange()
2669 mNotifier.notifyRadioPowerStateChanged(this, mCi.getRadioState()); in handleRadioPowerStateChange()
3899 if (mCi.getRadioState() == TelephonyManager.RADIO_POWER_ON) { in phoneObjectUpdater()
DCommandsInterface.java126 int getRadioState(); in getRadioState() method
DBaseCommands.java176 public @RadioPowerState int getRadioState() { in getRadioState() method in BaseCommands
DGsmCdmaCallTracker.java653 if (mCi.getRadioState() != TelephonyManager.RADIO_POWER_ON) { in checkForDialIssues()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DUiccControllerTest.java173 assertEquals(TelephonyManager.RADIO_POWER_UNAVAILABLE, mSimulatedCommands.getRadioState()); in testPowerOff()
181 assertEquals(TelephonyManager.RADIO_POWER_ON, mSimulatedCommands.getRadioState()); in testPowerOn()
/frameworks/base/config/
Dboot-image-profile.txt21722 HSPLcom/android/internal/telephony/BaseCommands;->getRadioState()I