Home
last modified time | relevance | path

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

/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/base/services/tests/servicestests/src/com/android/server/
DBluetoothAirplaneModeListenerTest.java74 when(mHelper.isAirplaneModeOn()).thenReturn(true); in testIgnoreOnAirplanModeChange()
89 when(mHelper.isAirplaneModeOn()).thenReturn(true); in testHandleAirplaneModeChange_NotInvokeAirplaneModeChanged_NotPopToast()
103 when(mHelper.isAirplaneModeOn()).thenReturn(true); in testHandleAirplaneModeChange_NotInvokeAirplaneModeChanged_PopToast()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiController.java138 boolean isAirplaneModeOn = mSettingsStore.isAirplaneModeOn(); in start()
143 log("isAirplaneModeOn = " + isAirplaneModeOn in start()
283 if (mSettingsStore.isAirplaneModeOn()) { in processMessage()
349 if (mSettingsStore.isAirplaneModeOn()) { in processMessage()
435 if (mSettingsStore.isAirplaneModeOn()) { in processMessage()
DWifiSettingsStore.java75 public synchronized boolean isAirplaneModeOn() { in isAirplaneModeOn() method in WifiSettingsStore
DWifiServiceImpl.java913 if (mSettingsStore.isAirplaneModeOn() && !isPrivileged) { in setWifiEnabled()
/frameworks/base/services/core/java/com/android/server/
DBluetoothAirplaneModeListener.java138 if (!mAirplaneHelper.isBluetoothOn() || !mAirplaneHelper.isAirplaneModeOn() in shouldSkipAirplaneModeChange()
212 public boolean isAirplaneModeOn() { in isAirplaneModeOn() method in BluetoothAirplaneModeListener.AirplaneModeHelper
DBluetoothManagerService.java340 if (isAirplaneModeOn()) { in onAirplaneModeChanged()
362 st) + ", isAirplaneModeOn()=" + isAirplaneModeOn()); in onAirplaneModeChanged()
364 if (isAirplaneModeOn()) { in onAirplaneModeChanged()
535 private boolean isAirplaneModeOn() { in isAirplaneModeOn() method in BluetoothManagerService
754 if (isAirplaneModeOn() && !mEnable) { in isBleScanAlwaysAvailable()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiServiceImplTest.java537 when(mSettingsStore.isAirplaneModeOn()).thenReturn(false); in testSetWifiEnabledMetricsPrivilegedApp()
556 when(mSettingsStore.isAirplaneModeOn()).thenReturn(false); in testSetWifiEnabledMetricsNormalAppBelowQSDK()
575 when(mSettingsStore.isAirplaneModeOn()).thenReturn(false); in testSetWifiEnabledMetricsNormalAppTargetingQSDKNoIncrement()
590 when(mSettingsStore.isAirplaneModeOn()).thenReturn(false); in testSetWifiEnabledSuccessWithNetworkSettingsPermission()
604 when(mSettingsStore.isAirplaneModeOn()).thenReturn(false); in testSetWifiEnabledSuccessWithNetworkManagedProvisioningPermission()
623 when(mSettingsStore.isAirplaneModeOn()).thenReturn(false); in testSetWifiEnabledSuccessForDOAppsTargetingQSDK()
641 when(mSettingsStore.isAirplaneModeOn()).thenReturn(false); in testSetWifiEnabledSuccessForSystemAppsTargetingQSDK()
658 when(mSettingsStore.isAirplaneModeOn()).thenReturn(false); in testSetWifiEnabledSuccessForAppsTargetingBelowQSDK()
673 when(mSettingsStore.isAirplaneModeOn()).thenReturn(false); in testSetWifiEnabledFailureWhenInCryptDebounce()
689 when(mSettingsStore.isAirplaneModeOn()).thenReturn(false); in testSetWifiEnabledFailureForAppsTargetingQSDK()
[all …]
DWifiControllerTest.java87 when(mSettingsStore.isAirplaneModeOn()).thenReturn(false); in initializeSettingsStore()
202 when(mSettingsStore.isAirplaneModeOn()).thenReturn(false); in testDoesNotEnterScanModeWhenLocationModeDisabled()
846 when(mSettingsStore.isAirplaneModeOn()).thenReturn(true); in testSoftApModeToggleWhenInAirplaneMode()
1010 when(mSettingsStore.isAirplaneModeOn()).thenReturn(false); in testRestartWifiStackInStaDisabledState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DOperatorNameView.java123 boolean airplaneMode = WirelessUtils.isAirplaneModeOn(mContext); in update()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DCarrierTextController.java349 if (!anySimReadyAndInService && WirelessUtils.isAirplaneModeOn(mContext)) { in updateCarrierText()
DKeyguardUpdateMonitor.java1634 if (!WirelessUtils.isAirplaneModeOn(mContext) in updateAirplaneModeState()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DServiceStateTracker.java1853 public void onAirplaneModeChanged(boolean isAirplaneModeOn) { in onAirplaneModeChanged() argument
1855 mNitzState.handleAirplaneModeChanged(isAirplaneModeOn); in onAirplaneModeChanged()