/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | WirelessUtils.java | 24 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/ |
D | BluetoothAirplaneModeListenerTest.java | 74 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/ |
D | WifiController.java | 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()
|
D | WifiSettingsStore.java | 75 public synchronized boolean isAirplaneModeOn() { in isAirplaneModeOn() method in WifiSettingsStore
|
D | WifiServiceImpl.java | 913 if (mSettingsStore.isAirplaneModeOn() && !isPrivileged) { in setWifiEnabled()
|
/frameworks/base/services/core/java/com/android/server/ |
D | BluetoothAirplaneModeListener.java | 138 if (!mAirplaneHelper.isBluetoothOn() || !mAirplaneHelper.isAirplaneModeOn() in shouldSkipAirplaneModeChange() 212 public boolean isAirplaneModeOn() { in isAirplaneModeOn() method in BluetoothAirplaneModeListener.AirplaneModeHelper
|
D | BluetoothManagerService.java | 340 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/ |
D | WifiServiceImplTest.java | 537 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 …]
|
D | WifiControllerTest.java | 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()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | OperatorNameView.java | 123 boolean airplaneMode = WirelessUtils.isAirplaneModeOn(mContext); in update()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | CarrierTextController.java | 349 if (!anySimReadyAndInService && WirelessUtils.isAirplaneModeOn(mContext)) { in updateCarrierText()
|
D | KeyguardUpdateMonitor.java | 1634 if (!WirelessUtils.isAirplaneModeOn(mContext) in updateAirplaneModeState()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | ServiceStateTracker.java | 1853 public void onAirplaneModeChanged(boolean isAirplaneModeOn) { in onAirplaneModeChanged() argument 1855 mNitzState.handleAirplaneModeChanged(isAirplaneModeOn); in onAirplaneModeChanged()
|