Searched refs:isAirplaneModeOn (Results 1 – 10 of 10) sorted by relevance
24 if (!isAirplaneModeOn(context)) { in isRadioAllowed()32 public static boolean isAirplaneModeOn(Context context) { in isAirplaneModeOn() method in WirelessUtils
138 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()
75 public synchronized boolean isAirplaneModeOn() { in isAirplaneModeOn() method in WifiSettingsStore
531 if (mSettingsStore.isAirplaneModeOn()) { in checkAndStartWifi()884 if (mSettingsStore.isAirplaneModeOn() && !isPrivileged) { in setWifiEnabled()
123 boolean airplaneMode = WirelessUtils.isAirplaneModeOn(mContext); in update()
87 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()
530 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 …]
265 if (isAirplaneModeOn()) {287 st) + ", isAirplaneModeOn()=" + isAirplaneModeOn());289 if (isAirplaneModeOn()) {458 private boolean isAirplaneModeOn() { in isAirplaneModeOn() method in BluetoothManagerService682 if (isAirplaneModeOn() && !mEnable) { in isBleScanAlwaysAvailable()
403 if (!anySimReadyAndInService && WirelessUtils.isAirplaneModeOn(mContext)) { in updateCarrierText()
1534 if (!WirelessUtils.isAirplaneModeOn(mContext) in updateAirplaneModeState()