Home
last modified time | relevance | path

Searched refs:isRadioOn (Results 1 – 19 of 19) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DLocaleTrackerTest.java100 doReturn(true).when(mPhone).isRadioOn(); in setUp()
151 doReturn(false).when(mPhone).isRadioOn(); in testUpdateOperatorNumericSync()
178 doReturn(false).when(mPhone).isRadioOn(); in testBootupInAirplaneModeOn()
188 doReturn(true).when(mPhone).isRadioOn(); in testToggleAirplaneModeOn()
202 doReturn(false).when(mPhone).isRadioOn(); in testToggleAirplaneModeOn()
218 doReturn(false).when(mPhone).isRadioOn(); in testToggleAirplaneModeOff()
226 doReturn(true).when(mPhone).isRadioOn(); in testToggleAirplaneModeOff()
236 doReturn(false).when(mPhone).isRadioOn(); in testToggleAirplaneModeOosPlmn()
251 doReturn(true).when(mPhone).isRadioOn(); in testToggleAirplaneModeOosPlmn()
335 doReturn(true).when(mPhone).isRadioOn(); in testClearCellInfoForLostOperator()
[all …]
DCarrierServiceStateTrackerTest.java180 doReturn(true).when(mSST).isRadioOn(); in testSendPrefNetworkNotification()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/
DNetworkController.java52 boolean isRadioOn(); in isRadioOn() method
DWifiSignalController.java91 if (mCurrentState.isDefault || !mNetworkController.isRadioOn()) { in notifyListeners()
116 if (mCurrentState.isDefault || (!mNetworkController.isRadioOn() in notifyListenersForNonCarrierWifi()
DNetworkControllerImpl.java1442 public boolean isRadioOn() { in isRadioOn() method in NetworkControllerImpl
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierServiceStateTracker.java270 return (!mSST.isRadioOn() || (airplaneMode != 0)); in isRadioOffOrAirplaneMode()
580 + "," + isGlobalMode() + "," + mSST.isRadioOn()); in sendMessage()
675 + mSST.isRadioOn()); in sendMessage()
DDeviceStateMonitor.java288 mIsRadioOn = isRadioOn(); in DeviceStateMonitor()
757 private boolean isRadioOn() { in isRadioOn() method in DeviceStateMonitor
758 return mPhone.isRadioOn(); in isRadioOn()
DLocaleTracker.java536 if (!mPhone.isRadioOn()) { in updateLocale()
DPhone.java4335 public boolean isRadioOn() { in isRadioOn() method in Phone
DServiceStateTracker.java3300 public boolean isRadioOn() { in isRadioOn() method in ServiceStateTracker
/frameworks/opt/telephony/src/java/com/android/internal/telephony/emergency/
DEmergencyStateTracker.java1527 private boolean isRadioOn() { in isRadioOn() method in EmergencyStateTracker
1530 result |= phone.isRadioOn(); in isRadioOn()
1589 boolean needToTurnOnRadio = !isRadioOn() || isAirplaneModeOn; in turnOnRadioAndSwitchDds()
1649 return phone.getServiceStateTracker().isRadioOn() in turnOnRadioAndSwitchDds()
1661 return phone.getServiceStateTracker().isRadioOn() in turnOnRadioAndSwitchDds()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneTest.java761 doReturn(true).when(mPhone).isRadioOn(); in testRoamingDuplicateMessages()
783 doReturn(true).when(mPhone).isRadioOn(); in testRoamingToAirplanModeIwlanInService()
795 doReturn(false).when(mPhone).isRadioOn(); in testRoamingToAirplanModeIwlanInService()
810 doReturn(true).when(mPhone).isRadioOn(); in testRoamingToOutOfService()
836 doReturn(true).when(mPhone).isRadioOn(); in testSetWfcModeInRoaming()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/emergency/
DEmergencyStateTrackerTest.java187 when(mSST.isRadioOn()).thenReturn(true); in startEmergencyCall_radioOff_turnOnRadioSwitchDdsAndSetEmergencyMode()
248 when(mSST.isRadioOn()).thenReturn(true); in startEmergencyCall_radioOff_turnOnRadioTimeoutSwitchDdsAndSetEmergencyMode()
347 when(mSST.isRadioOn()).thenReturn(true); in startEmergencyCall_satelliteEnabled_turnOnRadioSwitchDdsAndSetEmergencyMode()
3385 private Phone setupTestPhoneForEmergencyCall(boolean isRoaming, boolean isRadioOn) { in setupTestPhoneForEmergencyCall() argument
3393 doReturn(isRadioOn).when(testPhone0).isRadioOn(); in setupTestPhoneForEmergencyCall()
3394 doReturn(isRadioOn).when(testPhone1).isRadioOn(); in setupTestPhoneForEmergencyCall()
/frameworks/base/telephony/java/com/android/internal/telephony/
DITelephony.aidl126 boolean isRadioOn(String callingPackage); in isRadioOn() method
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhone.java2456 if (!isInService || !mDefaultPhone.isRadioOn()) { in updateRoamingState()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/satellite/
DSatelliteController.java525 mIsRadioOn = phone.isRadioOn(); in SatelliteController()
/frameworks/base/telephony/java/android/telephony/
DTelephonyManager.java10857 public boolean isRadioOn() { in isRadioOn() method in TelephonyManager
/frameworks/base/core/api/
Dsystem-current.txt15411 …_PRIVILEGED_PHONE_STATE, android.Manifest.permission.READ_PHONE_STATE}) public boolean isRadioOn();
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt84123 Lcom/android/internal/telephony/ITelephony;->isRadioOn(Ljava/lang/String;)Z