Home
last modified time | relevance | path

Searched refs:isAirplaneModeOn (Results 1 – 9 of 9) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DAirplaneModeStats.java65 onAirplaneModeChanged(isAirplaneModeOn()); in onChange()
69 private boolean isAirplaneModeOn() { in isAirplaneModeOn() method in AirplaneModeStats
75 private void onAirplaneModeChanged(boolean isAirplaneModeOn) { in onAirplaneModeChanged() argument
76 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() argument
94 if (isAirplaneModeOn) { in calculateShortToggle()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DWirelessUtils.java24 if (!isAirplaneModeOn(context)) { in isRadioAllowed()
32 public static boolean isAirplaneModeOn(Context context) { in isAirplaneModeOn() method in WirelessUtils
/frameworks/opt/telephony/src/java/com/android/internal/telephony/emergency/
DEmergencyStateTracker.java1566 private boolean isAirplaneModeOn(Context context) { in isAirplaneModeOn() method in EmergencyStateTracker
1588 final boolean isAirplaneModeOn = isAirplaneModeOn(mContext); in turnOnRadioAndSwitchDds()
1589 boolean needToTurnOnRadio = !isRadioOn() || isAirplaneModeOn; in turnOnRadioAndSwitchDds()
1593 if (isAirplaneModeOn && !isPowerOff() in turnOnRadioAndSwitchDds()
/frameworks/base/tests/vcn/java/com/android/server/vcn/
DVcnGatewayConnectionConnectedStateTest.java140 doReturn(false).when(mDeps).isAirplaneModeOn(any()); in testNullNetworkDoesNotTriggerDisconnect()
154 doReturn(true).when(mDeps).isAirplaneModeOn(any()); in testNullNetworkAirplaneModeDisconnects()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/analytics/
DTelephonyAnalytics.java675 if (isAirplaneModeOn()) { in logServiceState()
789 private boolean isAirplaneModeOn() { in isAirplaneModeOn() method in TelephonyAnalytics.ServiceStateAnalytics
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DCarrierTextManager.java446 if (!anySimReadyAndInService && WirelessUtils.isAirplaneModeOn(mContext)) { in updateCarrierText()
DKeyguardUpdateMonitor.java2545 if (!WirelessUtils.isAirplaneModeOn(mContext) in updateAirplaneModeState()
/frameworks/base/services/core/java/com/android/server/vcn/
DVcnGatewayConnection.java930 if (mDeps.isAirplaneModeOn(mVcnContext)) { in onSelectedUnderlyingNetworkChanged()
2810 public boolean isAirplaneModeOn(@NonNull VcnContext vcnContext) { in isAirplaneModeOn() method in VcnGatewayConnection.Dependencies
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DServiceStateTracker.java1927 public void onAirplaneModeChanged(boolean isAirplaneModeOn) { in onAirplaneModeChanged() argument
1929 mNitzState.handleAirplaneModeChanged(isAirplaneModeOn); in onAirplaneModeChanged()
1930 mAirplaneModeChangedRegistrants.notifyResult(isAirplaneModeOn); in onAirplaneModeChanged()