Searched refs:isAirplaneModeOn (Results 1 – 9 of 9) sorted by relevance
65 onAirplaneModeChanged(isAirplaneModeOn()); in onChange()69 private boolean isAirplaneModeOn() { in isAirplaneModeOn() method in AirplaneModeStats75 private void onAirplaneModeChanged(boolean isAirplaneModeOn) { in onAirplaneModeChanged() argument76 Rlog.d(TAG, "Airplane mode change. Value: " + isAirplaneModeOn); in onAirplaneModeChanged()82 boolean isShortToggle = calculateShortToggle(currentTime, isAirplaneModeOn); in onAirplaneModeChanged()85 Rlog.d(TAG, "Airplane mode: " + isAirplaneModeOn + ", short=" + isShortToggle in onAirplaneModeChanged()87 TelephonyStatsLog.write(AIRPLANE_MODE, isAirplaneModeOn, isShortToggle, carrierId); in onAirplaneModeChanged()92 private boolean calculateShortToggle(long currentTime, boolean isAirplaneModeOn) { in calculateShortToggle() argument94 if (isAirplaneModeOn) { in calculateShortToggle()
24 if (!isAirplaneModeOn(context)) { in isRadioAllowed()32 public static boolean isAirplaneModeOn(Context context) { in isAirplaneModeOn() method in WirelessUtils
1566 private boolean isAirplaneModeOn(Context context) { in isAirplaneModeOn() method in EmergencyStateTracker1588 final boolean isAirplaneModeOn = isAirplaneModeOn(mContext); in turnOnRadioAndSwitchDds()1589 boolean needToTurnOnRadio = !isRadioOn() || isAirplaneModeOn; in turnOnRadioAndSwitchDds()1593 if (isAirplaneModeOn && !isPowerOff() in turnOnRadioAndSwitchDds()
140 doReturn(false).when(mDeps).isAirplaneModeOn(any()); in testNullNetworkDoesNotTriggerDisconnect()154 doReturn(true).when(mDeps).isAirplaneModeOn(any()); in testNullNetworkAirplaneModeDisconnects()
675 if (isAirplaneModeOn()) { in logServiceState()789 private boolean isAirplaneModeOn() { in isAirplaneModeOn() method in TelephonyAnalytics.ServiceStateAnalytics
446 if (!anySimReadyAndInService && WirelessUtils.isAirplaneModeOn(mContext)) { in updateCarrierText()
2545 if (!WirelessUtils.isAirplaneModeOn(mContext) in updateAirplaneModeState()
930 if (mDeps.isAirplaneModeOn(mVcnContext)) { in onSelectedUnderlyingNetworkChanged()2810 public boolean isAirplaneModeOn(@NonNull VcnContext vcnContext) { in isAirplaneModeOn() method in VcnGatewayConnection.Dependencies
1927 public void onAirplaneModeChanged(boolean isAirplaneModeOn) { in onAirplaneModeChanged() argument1929 mNitzState.handleAirplaneModeChanged(isAirplaneModeOn); in onAirplaneModeChanged()1930 mAirplaneModeChangedRegistrants.notifyResult(isAirplaneModeOn); in onAirplaneModeChanged()