Home
last modified time | relevance | path

Searched refs:AIRPLANE_MODE_ON (Results 1 – 25 of 42) sorted by relevance

12

/packages/apps/Settings/tests/robotests/src/com/android/settings/nfc/
DNfcEnablerTest.java58 Settings.Global.putInt(contentResolver, Settings.Global.AIRPLANE_MODE_ON, 0); in isToggleable_AirplaneModeOff_shouldReturnTrue()
70 Settings.Global.putInt(contentResolver, Settings.Global.AIRPLANE_MODE_ON, 1); in isToggleable_AirplaneModeOnNfcNotInAirplaneModeRadio_shouldReturnTrue()
79 Settings.Global.putInt(contentResolver, Settings.Global.AIRPLANE_MODE_ON, 1); in isToggleable_AirplaneModeOnNfcToggleable_shouldReturnTrue()
91 Settings.Global.putInt(contentResolver, Settings.Global.AIRPLANE_MODE_ON, 1); in isToggleable_AirplaneModeOnNfcNotToggleable_shouldReturnFalse()
DNfcPreferenceControllerTest.java197 Settings.Global.AIRPLANE_MODE_ON, 1); in isToggleableInAirplaneMode_containNfc_shouldReturnTrue()
208 Settings.Global.AIRPLANE_MODE_ON, 1); in isToggleableInAirplaneMode_withoutNfc_shouldReturnFalse()
/packages/apps/Settings/tests/unit/src/com/android/settings/testutils/
DAirplaneModeRule.java50 Settings.Global.putInt(mContentResolver, Settings.Global.AIRPLANE_MODE_ON, in after()
64 Settings.Global.putInt(mContentResolver, Settings.Global.AIRPLANE_MODE_ON, enable ? 1 : 0); in setAirplaneMode()
69 Settings.Global.AIRPLANE_MODE_ON, 0) != 0; in isAirplaneModeOn()
/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/
DMoreWirelessSettingsTests.java100 Settings.Global.AIRPLANE_MODE_ON, "0"); in verifyAirplaneModeOnOrOff()
104 Settings.Global.AIRPLANE_MODE_ON, "1"); in verifyAirplaneModeOnOrOff()
109 Settings.Global.AIRPLANE_MODE_ON); in verifyAirplaneModeOnOrOff()
DWirelessNetworkSettingsTests.java73 Settings.Global.AIRPLANE_MODE_ON, "0"); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DMobileNetworkSummaryControllerTest.java361 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.AIRPLANE_MODE_ON, 1); in addButton_oneSubscriptionAirplaneModeTurnedOn_addButtonGetsDisabled()
371 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.AIRPLANE_MODE_ON, 1); in onResume_oneSubscriptionAirplaneMode_isDisabled()
386 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.AIRPLANE_MODE_ON, 0); in onResume_noSubscriptionEsimDisabled_isDisabled()
405 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.AIRPLANE_MODE_ON, 1); in onAirplaneModeChanged_oneSubscriptionAirplaneModeGetsTurnedOn_isDisabled()
413 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.AIRPLANE_MODE_ON, 1); in onAirplaneModeChanged_oneSubscriptionAirplaneModeGetsTurnedOff_isEnabled()
421 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.AIRPLANE_MODE_ON, 0); in onAirplaneModeChanged_oneSubscriptionAirplaneModeGetsTurnedOff_isEnabled()
DSubscriptionsChangeListenerTest.java69 mAirplaneModeUri = Settings.Global.getUriFor(Settings.Global.AIRPLANE_MODE_ON); in setUp()
126 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.AIRPLANE_MODE_ON, 1); in onAirplaneModeChangedEvent_becameTrue_eventFires()
135 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.AIRPLANE_MODE_ON, 0); in onAirplaneModeChangedEvent_becameFalse_eventFires()
DTetherPreferenceControllerTest.java157 Settings.Global.putInt(context.getContentResolver(), Settings.Global.AIRPLANE_MODE_ON, 0); in airplaneModeOn_shouldUpdateSummaryToOff()
163 Settings.Global.putInt(context.getContentResolver(), Settings.Global.AIRPLANE_MODE_ON, 1); in airplaneModeOn_shouldUpdateSummaryToOff()
167 observer.onChange(true, Settings.Global.getUriFor(Settings.Global.AIRPLANE_MODE_ON)); in airplaneModeOn_shouldUpdateSummaryToOff()
/packages/apps/Settings/tests/unit/src/com/android/settings/network/
DAirplaneModePreferenceControllerTest.java140 Settings.Global.putInt(mResolver, Settings.Global.AIRPLANE_MODE_ON, ON); in isChecked_airplaneModeTurnOff_returnFalse()
145 Settings.Global.putInt(mResolver, Settings.Global.AIRPLANE_MODE_ON, OFF); in isChecked_airplaneModeTurnOff_returnFalse()
152 Settings.Global.putInt(mResolver, Settings.Global.AIRPLANE_MODE_ON, OFF); in testPreferenceUI_airplaneModeTurnOn_updatesCorrectly()
DMobileNetworkPreferenceControllerTest.java158 Global.AIRPLANE_MODE_ON, 1); in airplaneModeTurnedOn_shouldDisablePreference()
168 Global.AIRPLANE_MODE_ON, 0); in airplaneModeTurnedOffAndNoUserRestriction_shouldEnablePreference()
179 Global.AIRPLANE_MODE_ON, 0); in airplaneModeTurnedOffAndHasUserRestriction_shouldDisablePreference()
DSubscriptionsPreferenceControllerTest.java152 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.AIRPLANE_MODE_ON, 0); in setUp()
196 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.AIRPLANE_MODE_ON, 1); in isAvailable_airplaneModeOn_availableFalse()
212 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.AIRPLANE_MODE_ON, 1); in onAirplaneModeChanged_airplaneModeTurnedOn_eventFired()
223 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.AIRPLANE_MODE_ON, 1); in onAirplaneModeChanged_airplaneModeTurnedOff_eventFired()
231 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.AIRPLANE_MODE_ON, 0); in onAirplaneModeChanged_airplaneModeTurnedOff_eventFired()
609 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.AIRPLANE_MODE_ON, 1); in onAirplaneModeChanged_providerAndHasSim_noPreference()
DGlobalSettingsChangeListenerTest.java47 private static final String SETTINGS_FIELD = Settings.Global.AIRPLANE_MODE_ON;
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DAirplaneModeTest.java78 Settings.Global.putInt(resolver, Settings.Global.AIRPLANE_MODE_ON, enabling ? 1 : 0); in setAirplaneModeOn()
84 Settings.Global.AIRPLANE_MODE_ON, 0) != 0; in isAirplaneModeOn()
/packages/apps/Settings/src/com/android/settings/network/
DSubscriptionsChangeListener.java63 mAirplaneModeSettingUri = Settings.Global.getUriFor(Settings.Global.AIRPLANE_MODE_ON); in SubscriptionsChangeListener()
99 Settings.Global.AIRPLANE_MODE_ON, 0) != 0; in isAirplaneModeOn()
DTetherPreferenceController.java244 uri = Settings.Global.getUriFor(Settings.Global.AIRPLANE_MODE_ON); in SettingObserver()
252 Settings.Global.AIRPLANE_MODE_ON, 0) != 0; in onChange()
DMobileNetworkPreferenceController.java143 mContext.getContentResolver(), Settings.Global.AIRPLANE_MODE_ON, 0) == 0); in updateState()
/packages/services/Telephony/src/com/android/services/telephony/
DRadioOnHelper.java108 Settings.Global.AIRPLANE_MODE_ON, 0) > 0) { in powerOnRadio()
113 Settings.Global.AIRPLANE_MODE_ON, 0); in powerOnRadio()
DDeviceState.java47 Settings.Global.AIRPLANE_MODE_ON, 0) > 0; in isAirplaneModeOn()
/packages/apps/Settings/src/com/android/settings/
DAirplaneModeEnabler.java67 super(context, Settings.Global.AIRPLANE_MODE_ON); in AirplaneModeEnabler()
115 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.AIRPLANE_MODE_ON, in setAirplaneModeOn()
/packages/apps/Settings/src/com/android/settings/uwb/
DUwbPreferenceController.java62 Settings.Global.AIRPLANE_MODE_ON, 0) == 1; in UwbPreferenceController()
102 Settings.Global.AIRPLANE_MODE_ON, 0) == 1; in setChecked()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/
DMobileDataSliceTest.java146 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.AIRPLANE_MODE_ON, 1); in isAirplaneModeEnabled_correctlyReturnsTrue()
155 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.AIRPLANE_MODE_ON, 0); in isAirplaneModeEnabled_correctlyReturnsFalse()
/packages/apps/Settings/src/com/android/settings/nfc/
DNfcEnabler.java68 mContext.getContentResolver(), Settings.Global.AIRPLANE_MODE_ON, 0); in isToggleable()
/packages/services/Telephony/src/com/android/phone/
DGsmUmtsCallOptions.java78 Settings.Global.AIRPLANE_MODE_ON, PhoneGlobals.AIRPLANE_OFF); in init()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiSettingsStore.java184 Settings.Global.AIRPLANE_MODE_ON, 0) == 1; in getPersistedAirplaneModeOn()
/packages/apps/Messaging/src/com/android/messaging/util/
DPhoneUtils.java948 Settings.Global.AIRPLANE_MODE_ON, 0) != 0; in isAirplaneModeOn()
951 Settings.System.AIRPLANE_MODE_ON, 0) != 0; in isAirplaneModeOn()

12