/packages/apps/Settings/tests/robotests/src/com/android/settings/nfc/ |
D | NfcEnablerTest.java | 58 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()
|
D | NfcPreferenceControllerTest.java | 197 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/ |
D | AirplaneModeRule.java | 50 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/ |
D | MoreWirelessSettingsTests.java | 100 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()
|
D | WirelessNetworkSettingsTests.java | 73 Settings.Global.AIRPLANE_MODE_ON, "0"); in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/ |
D | MobileNetworkSummaryControllerTest.java | 361 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()
|
D | SubscriptionsChangeListenerTest.java | 69 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()
|
D | TetherPreferenceControllerTest.java | 157 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/ |
D | AirplaneModePreferenceControllerTest.java | 140 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()
|
D | MobileNetworkPreferenceControllerTest.java | 158 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()
|
D | SubscriptionsPreferenceControllerTest.java | 152 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()
|
D | GlobalSettingsChangeListenerTest.java | 47 private static final String SETTINGS_FIELD = Settings.Global.AIRPLANE_MODE_ON;
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | AirplaneModeTest.java | 78 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/ |
D | SubscriptionsChangeListener.java | 63 mAirplaneModeSettingUri = Settings.Global.getUriFor(Settings.Global.AIRPLANE_MODE_ON); in SubscriptionsChangeListener() 99 Settings.Global.AIRPLANE_MODE_ON, 0) != 0; in isAirplaneModeOn()
|
D | TetherPreferenceController.java | 244 uri = Settings.Global.getUriFor(Settings.Global.AIRPLANE_MODE_ON); in SettingObserver() 252 Settings.Global.AIRPLANE_MODE_ON, 0) != 0; in onChange()
|
D | MobileNetworkPreferenceController.java | 143 mContext.getContentResolver(), Settings.Global.AIRPLANE_MODE_ON, 0) == 0); in updateState()
|
/packages/services/Telephony/src/com/android/services/telephony/ |
D | RadioOnHelper.java | 108 Settings.Global.AIRPLANE_MODE_ON, 0) > 0) { in powerOnRadio() 113 Settings.Global.AIRPLANE_MODE_ON, 0); in powerOnRadio()
|
D | DeviceState.java | 47 Settings.Global.AIRPLANE_MODE_ON, 0) > 0; in isAirplaneModeOn()
|
/packages/apps/Settings/src/com/android/settings/ |
D | AirplaneModeEnabler.java | 67 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/ |
D | UwbPreferenceController.java | 62 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/ |
D | MobileDataSliceTest.java | 146 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/ |
D | NfcEnabler.java | 68 mContext.getContentResolver(), Settings.Global.AIRPLANE_MODE_ON, 0); in isToggleable()
|
/packages/services/Telephony/src/com/android/phone/ |
D | GsmUmtsCallOptions.java | 78 Settings.Global.AIRPLANE_MODE_ON, PhoneGlobals.AIRPLANE_OFF); in init()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiSettingsStore.java | 184 Settings.Global.AIRPLANE_MODE_ON, 0) == 1; in getPersistedAirplaneModeOn()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | PhoneUtils.java | 948 Settings.Global.AIRPLANE_MODE_ON, 0) != 0; in isAirplaneModeOn() 951 Settings.System.AIRPLANE_MODE_ON, 0) != 0; in isAirplaneModeOn()
|