/packages/apps/Settings/src/com/android/settings/ |
D | AirplaneModeEnabler.java | 59 void onAirplaneModeChanged(boolean isAirplaneModeOn); in onAirplaneModeChanged() argument 139 mOnAirplaneModeChangedListener.onAirplaneModeChanged(isAirplaneModeOn()); in onAirplaneModeChanged() 169 public void setAirplaneMode(boolean isAirplaneModeOn) { in setAirplaneMode() argument 172 Log.d(LOG_TAG, "ECM airplane mode=" + isAirplaneModeOn); in setAirplaneMode() 175 isAirplaneModeOn); in setAirplaneMode() 176 setAirplaneModeOn(isAirplaneModeOn); in setAirplaneMode() 180 public void setAirplaneModeInECM(boolean isECMExit, boolean isAirplaneModeOn) { in setAirplaneModeInECM() argument 181 Log.d(LOG_TAG, "Exist ECM=" + isECMExit + ", with airplane mode=" + isAirplaneModeOn); in setAirplaneModeInECM() 184 setAirplaneModeOn(isAirplaneModeOn); in setAirplaneModeInECM() 191 public boolean isAirplaneModeOn() { in isAirplaneModeOn() method in AirplaneModeEnabler [all …]
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | InternetUpdater.java | 74 default void onAirplaneModeChanged(boolean isAirplaneModeOn) {}; in onAirplaneModeChanged() argument 203 public void onAirplaneModeChanged(boolean isAirplaneModeOn) { in onAirplaneModeChanged() argument 206 mListener.onAirplaneModeChanged(isAirplaneModeOn); in onAirplaneModeChanged() 256 } else if (mAirplaneModeEnabler.isAirplaneModeOn() in updateInternetType() 286 public boolean isAirplaneModeOn() { in isAirplaneModeOn() method in InternetUpdater 287 return mAirplaneModeEnabler.isAirplaneModeOn(); in isAirplaneModeOn()
|
D | AirplaneModePreferenceController.java | 154 return mAirplaneModeEnabler.isAirplaneModeOn(); in isChecked() 167 public void onAirplaneModeChanged(boolean isAirplaneModeOn) { in onAirplaneModeChanged() argument 169 mAirplaneModePreference.setChecked(isAirplaneModeOn); in onAirplaneModeChanged()
|
D | SubscriptionsChangeListener.java | 97 public boolean isAirplaneModeOn() { in isAirplaneModeOn() method in SubscriptionsChangeListener 109 mClient.onAirplaneModeChanged(isAirplaneModeOn()); in onChange()
|
D | MobileNetworkSummaryController.java | 162 mPreference.setEnabled(!mChangeListener.isAirplaneModeOn()); in initPreference() 189 mPreference.setAddWidgetEnabled(!mChangeListener.isAirplaneModeOn()); in update()
|
D | NetworkProviderSettings.java | 289 updateAirplaneModeMsgPreference(mAirplaneModeEnabler.isAirplaneModeOn() /* visible */); in addPreferences() 1223 if (!mAirplaneModeEnabler.isAirplaneModeOn()) { in onCreateOptionsMenu() 1289 public void onAirplaneModeChanged(boolean isAirplaneModeOn) { in onAirplaneModeChanged() argument 1290 updateAirplaneModeMsgPreference(isAirplaneModeOn /* visible */); in onAirplaneModeChanged()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/network/ |
D | InternetUpdaterTest.java | 145 doReturn(true).when(mAirplaneModeEnabler).isAirplaneModeOn(); in updateInternetType_apmOnWifiOff_getInternetApm() 156 doReturn(true).when(mAirplaneModeEnabler).isAirplaneModeOn(); in updateInternetType_apmOnWifiOnNotConnected_getInternetNetworksAvailable() 167 doReturn(true).when(mAirplaneModeEnabler).isAirplaneModeOn(); in updateInternetType_apmOnWifiConnected_getInternetWifi() 179 doReturn(true).when(mAirplaneModeEnabler).isAirplaneModeOn(); in updateInternetType_apmOnCellularConnected_getInternetCellular() 190 doReturn(true).when(mAirplaneModeEnabler).isAirplaneModeOn(); in updateInternetType_apmOnEthernetConnected_getInternetEthernet()
|
D | AirplaneModePreferenceControllerTest.java | 121 when(mAirplaneModeEnabler.isAirplaneModeOn()).thenReturn(true); in setChecked_isAirplaneModeOnAndSetCheckedTrue_shouldReturnFalse() 131 when(mAirplaneModeEnabler.isAirplaneModeOn()).thenReturn(true); in setChecked_setChecked_isAirplaneModeOnAndSetCheckedTrue_shouldReturnTrue()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/panel/ |
D | InternetConnectivityPanelTest.java | 131 doReturn(false).when(mInternetUpdater).isAirplaneModeOn(); in getTitle_apmOff_shouldBeInternet() 138 doReturn(true).when(mInternetUpdater).isAirplaneModeOn(); in getTitle_apmOn_shouldBeApm() 145 doReturn(true).when(mInternetUpdater).isAirplaneModeOn(); in getSubTitle_apmOnWifiOff_shouldBeNull() 153 doReturn(true).when(mInternetUpdater).isAirplaneModeOn(); in getSubTitle_apmOnWifiOn_shouldBeNull() 161 doReturn(false).when(mInternetUpdater).isAirplaneModeOn(); in getSubTitle_apmOffWifiOff_wifiIsOn() 332 doReturn(airplaneMode).when(mInternetUpdater).isAirplaneModeOn(); in mockCondition()
|
/packages/apps/Settings/src/com/android/settings/panel/ |
D | InternetConnectivityPanel.java | 206 return mContext.getText(mInternetUpdater.isAirplaneModeOn() in getTitle() 268 public void onAirplaneModeChanged(boolean isAirplaneModeOn) { in onAirplaneModeChanged() argument 269 log("onAirplaneModeChanged: isAirplaneModeOn:" + isAirplaneModeOn); in onAirplaneModeChanged() 320 if (!mInternetUpdater.isAirplaneModeOn()) { in updateSubtitleText() 329 if (mInternetUpdater.isAirplaneModeOn()) { in updateSubtitleText()
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | AirplaneModeTest.java | 61 boolean airplaneModeOn = isAirplaneModeOn(); in doOneTest() 70 if (airplaneModeOn == isAirplaneModeOn()) { in doOneTest() 81 private boolean isAirplaneModeOn() { in isAirplaneModeOn() method in AirplaneModeTest
|
/packages/services/Telephony/src/com/android/phone/ |
D | CallFeaturesSetting.java | 128 boolean isAirplaneModeOn = intent.getBooleanExtra("state", false); 129 handleAirplaneModeChange(isAirplaneModeOn); 134 private void handleAirplaneModeChange(boolean isAirplaneModeOn) { in handleAirplaneModeChange() argument 153 callForwarding.setEnabled(!isAirplaneModeOn); in handleAirplaneModeChange() 156 callBarring.setEnabled(!isAirplaneModeOn); in handleAirplaneModeChange() 159 additional.setEnabled(!isAirplaneModeOn); in handleAirplaneModeChange()
|
D | ShortcutViewUtils.java | 72 if (mCanEnableShortcutView && !isAirplaneModeOn(context)) { in refresh() 114 private boolean isAirplaneModeOn(@NonNull Context context) { in isAirplaneModeOn() method in ShortcutViewUtils.Config
|
/packages/apps/Settings/tests/unit/src/com/android/settings/testutils/ |
D | AirplaneModeRule.java | 55 if (enable == isAirplaneModeOn()) { in setAirplaneMode() 67 public boolean isAirplaneModeOn() { in isAirplaneModeOn() method in AirplaneModeRule
|
/packages/services/Iwlan/src/com/google/android/iwlan/ |
D | IwlanEventListener.java | 224 Boolean isAirplaneModeOn = new Boolean(intent.getBooleanExtra("state", false)); in onBroadcastReceived() local 225 if (sIsAirplaneModeOn != null && sIsAirplaneModeOn.equals(isAirplaneModeOn)) { in onBroadcastReceived() 229 sIsAirplaneModeOn = isAirplaneModeOn; in onBroadcastReceived()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/ |
D | SubscriptionsChangeListenerTest.java | 129 assertThat(mListener.isAirplaneModeOn()).isTrue(); in onAirplaneModeChangedEvent_becameTrue_eventFires() 138 assertThat(mListener.isAirplaneModeOn()).isFalse(); in onAirplaneModeChangedEvent_becameFalse_eventFires()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | ActiveModeWardenTest.java | 203 when(mSettingsStore.isAirplaneModeOn()).thenReturn(false); in setUp() 350 when(mSettingsStore.isAirplaneModeOn()).thenReturn(false); in enterScanOnlyModeActiveState() 1313 when(mSettingsStore.isAirplaneModeOn()).thenReturn(false); in testExitScanModeWhenLocationModeDisabled() 1994 when(mSettingsStore.isAirplaneModeOn()).thenReturn(true); in testSoftApModeToggleWhenInAirplaneMode() 2433 when(mSettingsStore.isAirplaneModeOn()).thenReturn(true); in staDisabled_toggleWifiOff_scanNotAvailable_dontGoToScanMode() 2456 when(mSettingsStore.isAirplaneModeOn()).thenReturn(false); in staDisabled_toggleWifiOff_scanAvailable_goToScanMode() 3369 when(mSettingsStore.isAirplaneModeOn()).thenReturn(true); in airplaneModeToggleOnDisablesWifi() 3385 when(mSettingsStore.isAirplaneModeOn()).thenReturn(true); in airplaneModeToggleOnDisablesSoftAp() 3403 when(mSettingsStore.isAirplaneModeOn()).thenReturn(true); in airplaneModeToggleOffIsDeferredWhileProcessingToggleOnWithOneModeManager() 3411 when(mSettingsStore.isAirplaneModeOn()).thenReturn(false); in airplaneModeToggleOffIsDeferredWhileProcessingToggleOnWithOneModeManager() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppLauncherActivity.java | 247 final boolean isAirplaneModeOn = in isBluetoothAllowed() 249 if (!isAirplaneModeOn) { in isBluetoothAllowed()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | ActiveModeWarden.java | 1503 boolean isAirplaneModeOn = mSettingsStore.isAirplaneModeOn(); in start() 1508 log("isAirplaneModeOn = " + isAirplaneModeOn in start() 1717 if (mSettingsStore.isAirplaneModeOn()) { in processMessage() 2013 if (mSettingsStore.isAirplaneModeOn()) { in processMessageFiltered()
|
D | WifiSettingsStore.java | 64 public synchronized boolean isAirplaneModeOn() { in isAirplaneModeOn() method in WifiSettingsStore
|
/packages/services/Telephony/src/com/android/services/telephony/ |
D | DeviceState.java | 45 public boolean isAirplaneModeOn(Context context) { in isAirplaneModeOn() method in DeviceState
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/ |
D | AirplaneModeEnablerTest.java | 68 public void onAirplaneModeChanged(boolean isAirplaneModeOn) {} in onAirplaneModeChanged() argument
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | ConnectivityUtil.java | 90 mCurrentServiceState = (PhoneUtils.getDefault().isAirplaneModeOn() ? in register()
|
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/conditional/ |
D | AirplaneModeConditionController.java | 59 return WirelessUtils.isAirplaneModeOn(mAppContext); in isDisplayable()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
D | BugleActionToasts.java | 59 if (phoneUtils.isAirplaneModeOn()) { in onSendMessageOrManualDownloadActionCompleted()
|