Home
last modified time | relevance | path

Searched refs:isAirplaneModeOn (Results 1 – 9 of 9) 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.java130 boolean isAirplaneModeOn = mSettingsStore.isAirplaneModeOn(); in WifiController()
137 log("isAirplaneModeOn = " + isAirplaneModeOn in WifiController()
283 if (mSettingsStore.isAirplaneModeOn()) { in processMessage()
295 if (mSettingsStore.isAirplaneModeOn()) { in processMessage()
366 if (mSettingsStore.isAirplaneModeOn()) { in processMessage()
379 if (mSettingsStore.isAirplaneModeOn()) { in processMessage()
452 if (mSettingsStore.isAirplaneModeOn()) { in processMessage()
DWifiSettingsStore.java75 public synchronized boolean isAirplaneModeOn() { in isAirplaneModeOn() method in WifiSettingsStore
DWifiServiceImpl.java525 if (mSettingsStore.isAirplaneModeOn()) { in checkAndStartWifi()
822 if (mSettingsStore.isAirplaneModeOn() && !isFromSettings) { in setWifiEnabled()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiServiceImplTest.java391 when(mSettingsStore.isAirplaneModeOn()).thenReturn(false); in testSetWifiEnabledSuccess()
415 when(mSettingsStore.isAirplaneModeOn()).thenReturn(false); in testSetWifiEnableWithoutPermission()
433 when(mSettingsStore.isAirplaneModeOn()).thenReturn(false); in testSetWifiEnableAppOpsRejected()
453 when(mSettingsStore.isAirplaneModeOn()).thenReturn(false); in testSetWifiEnableAppOpsIgnored()
465 when(mSettingsStore.isAirplaneModeOn()).thenReturn(true); in testSetWifiEnabledFromNetworkSettingsHolderWhenInAirplaneMode()
480 when(mSettingsStore.isAirplaneModeOn()).thenReturn(true); in testSetWifiEnabledFromAppFailsWhenInAirplaneMode()
509 when(mSettingsStore.isAirplaneModeOn()).thenReturn(false); in testSetWifiEnabledFromNetworkSettingsHolderWhenApEnabled()
533 when(mSettingsStore.isAirplaneModeOn()).thenReturn(false); in testSetWifiEnabledFromAppFailsWhenApEnabled()
550 when(mSettingsStore.isAirplaneModeOn()).thenReturn(false); in testSetWifiEnabledSuccessWhenPermissionReviewRequiredAndPermissionGranted()
570 when(mSettingsStore.isAirplaneModeOn()).thenReturn(false); in testSetWifiEnabledConsentUiWhenPermissionReviewRequiredAndPermissionDenied()
[all …]
DWifiControllerTest.java81 when(mSettingsStore.isAirplaneModeOn()).thenReturn(false); in initializeSettingsStore()
192 when(mSettingsStore.isAirplaneModeOn()).thenReturn(false); in testDoesNotEnterScanModeWhenLocationModeDisabled()
858 when(mSettingsStore.isAirplaneModeOn()).thenReturn(false); in testRestartWifiStackInStaDisabledState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DOperatorNameView.java124 boolean airplaneMode = WirelessUtils.isAirplaneModeOn(mContext); in update()
/frameworks/base/services/core/java/com/android/server/
DBluetoothManagerService.java255 if (isAirplaneModeOn()) {
279 if (isAirplaneModeOn()) {
433 private boolean isAirplaneModeOn() { in isAirplaneModeOn() method in BluetoothManagerService
657 if (isAirplaneModeOn() && !mEnable) { in isBleScanAlwaysAvailable()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DCarrierText.java245 if (!anySimReadyAndInService && WirelessUtils.isAirplaneModeOn(mContext)) { in updateCarrierText()