Searched refs:MOBILE_DATA_ALWAYS_ON (Results 1 – 7 of 7) sorted by relevance
/packages/apps/Settings/src/com/android/settings/development/ |
D | MobileDataAlwaysOnPreferenceController.java | 33 private static final String MOBILE_DATA_ALWAYS_ON = "mobile_data_always_on"; field in MobileDataAlwaysOnPreferenceController 46 return MOBILE_DATA_ALWAYS_ON; in getPreferenceKey() 52 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.MOBILE_DATA_ALWAYS_ON, in onPreferenceChange() 60 Settings.Global.MOBILE_DATA_ALWAYS_ON, SETTING_VALUE_ON); in updateState() 68 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.MOBILE_DATA_ALWAYS_ON, in onDeveloperOptionsSwitchDisabled()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/ |
D | MobileDataAlwaysOnPreferenceControllerTest.java | 64 Settings.Global.MOBILE_DATA_ALWAYS_ON, -1 /* default */); in onPreferenceChanged_turnOnPreference_shouldEnableMobileDataAlwaysOn() 74 Settings.Global.MOBILE_DATA_ALWAYS_ON, -1 /* default */); in onPreferenceChanged_turnOffPreference_shouldDisableMobileDataAlwaysOn() 81 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.MOBILE_DATA_ALWAYS_ON, in updateState_settingEnabled_preferenceShouldBeChecked() 90 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.MOBILE_DATA_ALWAYS_ON, in updateState_settingDisabled_preferenceShouldNotBeChecked() 101 Settings.Global.MOBILE_DATA_ALWAYS_ON, -1 /* default */); in onDeveloperOptionsSwitchDisabled_shouldDisableMobileDataAlwaysOn()
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | ConnectivitySettingsManager.java | 278 public static final String MOBILE_DATA_ALWAYS_ON = "mobile_data_always_on"; field in ConnectivitySettingsManager 852 context.getContentResolver(), MOBILE_DATA_ALWAYS_ON, (def ? 1 : 0)); in getMobileDataAlwaysOn() 866 context.getContentResolver(), MOBILE_DATA_ALWAYS_ON, (enable ? 1 : 0)); in setMobileDataAlwaysOn() local
|
/packages/modules/Connectivity/tests/common/java/android/net/ |
D | ConnectivitySettingsManagerTest.kt | 30 import android.net.ConnectivitySettingsManager.MOBILE_DATA_ALWAYS_ON in <lambda>() 280 testIntSetting(names = arrayOf(MOBILE_DATA_ALWAYS_ON), type = settingsTypeGlobal, in <lambda>()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/ |
D | DevelopmentFragment.java | 146 private static final String MOBILE_DATA_ALWAYS_ON = "mobile_data_always_on"; field in DevelopmentFragment 399 mMobileDataAlwaysOn = findAndInitSwitchPref(MOBILE_DATA_ALWAYS_ON); in onCreatePreferences() 1353 Settings.Global.MOBILE_DATA_ALWAYS_ON, 0) != 0); in updateMobileDataAlwaysOnOptions() 1357 Settings.Global.putInt(mContentResolver, Settings.Global.MOBILE_DATA_ALWAYS_ON, in writeMobileDataAlwaysOnOptions()
|
/packages/modules/Connectivity/service/src/com/android/server/ |
D | ConnectivityService.java | 1588 ConnectivitySettingsManager.MOBILE_DATA_ALWAYS_ON, true /* defaultValue */); in handleConfigureAlwaysOnNetworks() 1606 Settings.Global.getUriFor(ConnectivitySettingsManager.MOBILE_DATA_ALWAYS_ON), in registerSettingsCallbacks()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
D | ConnectivityServiceTest.java | 4572 Settings.Global.putInt(cr, ConnectivitySettingsManager.MOBILE_DATA_ALWAYS_ON, in setAlwaysOnNetworks()
|