Home
last modified time | relevance | path

Searched refs:isAirplaneModeOn (Results 1 – 10 of 10) 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/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.java531 if (mSettingsStore.isAirplaneModeOn()) { in checkAndStartWifi()
884 if (mSettingsStore.isAirplaneModeOn() && !isPrivileged) { in setWifiEnabled()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DOperatorNameView.java123 boolean airplaneMode = WirelessUtils.isAirplaneModeOn(mContext); in update()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
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()
DWifiServiceImplTest.java530 when(mSettingsStore.isAirplaneModeOn()).thenReturn(false); in testSetWifiEnabledMetricsPrivilegedApp()
549 when(mSettingsStore.isAirplaneModeOn()).thenReturn(false); in testSetWifiEnabledMetricsNormalAppBelowQSDK()
568 when(mSettingsStore.isAirplaneModeOn()).thenReturn(false); in testSetWifiEnabledMetricsNormalAppTargetingQSDKNoIncrement()
583 when(mSettingsStore.isAirplaneModeOn()).thenReturn(false); in testSetWifiEnabledSuccessWithNetworkSettingsPermission()
597 when(mSettingsStore.isAirplaneModeOn()).thenReturn(false); in testSetWifiEnabledSuccessWithNetworkManagedProvisioningPermission()
613 when(mSettingsStore.isAirplaneModeOn()).thenReturn(false); in testSetWifiEnabledSuccessForAppsTargetingBelowQSDK()
630 when(mSettingsStore.isAirplaneModeOn()).thenReturn(false); in testSetWifiEnabledFailureForAppsTargetingQSDK()
678 when(mSettingsStore.isAirplaneModeOn()).thenReturn(true); in testSetWifiEnabledFromNetworkSettingsHolderWhenInAirplaneMode()
698 when(mSettingsStore.isAirplaneModeOn()).thenReturn(true); in testSetWifiEnabledFromAppFailsWhenInAirplaneMode()
727 when(mSettingsStore.isAirplaneModeOn()).thenReturn(false); in testSetWifiEnabledFromNetworkSettingsHolderWhenApEnabled()
[all …]
/frameworks/base/services/core/java/com/android/server/
DBluetoothManagerService.java265 if (isAirplaneModeOn()) {
287 st) + ", isAirplaneModeOn()=" + isAirplaneModeOn());
289 if (isAirplaneModeOn()) {
458 private boolean isAirplaneModeOn() { in isAirplaneModeOn() method in BluetoothManagerService
682 if (isAirplaneModeOn() && !mEnable) { in isBleScanAlwaysAvailable()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DCarrierTextController.java403 if (!anySimReadyAndInService && WirelessUtils.isAirplaneModeOn(mContext)) { in updateCarrierText()
DKeyguardUpdateMonitor.java1534 if (!WirelessUtils.isAirplaneModeOn(mContext) in updateAirplaneModeState()