Home
last modified time | relevance | path

Searched refs:AUTO_TIME (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/services/core/java/com/android/server/timedetector/
DServiceConfigAccessorImpl.java153 Settings.Global.getUriFor(Settings.Global.AUTO_TIME), true, contentObserver); in ServiceConfigAccessorImpl()
291 Settings.Global.putInt(mCr, Settings.Global.AUTO_TIME, enabled ? 1 : 0); in setAutoDetectionEnabledIfRequired()
301 return Settings.Global.getInt(mCr, Settings.Global.AUTO_TIME, 1 /* default */) > 0; in getAutoDetectionEnabledSetting()
DNetworkTimeUpdateService.java144 resolver.registerContentObserver(Settings.Global.getUriFor(Settings.Global.AUTO_TIME), in systemRunning()
274 return Settings.Global.getInt(resolver, Settings.Global.AUTO_TIME, 0) != 0; in isAutomaticTimeEnabled()
/frameworks/base/packages/SettingsProvider/src/android/provider/settings/backup/
DGlobalSettings.java47 Settings.Global.AUTO_TIME,
DSystemSettings.java63 Settings.System.AUTO_TIME, // moved to global in getSettingsToBackUp()
/frameworks/base/packages/SettingsProvider/src/android/provider/settings/validators/
DSystemSettingsValidators.java156 VALIDATORS.put(System.AUTO_TIME, BOOLEAN_VALIDATOR); in VALIDATORS.put() argument
DGlobalSettingsValidators.java103 VALIDATORS.put(Global.AUTO_TIME, BOOLEAN_VALIDATOR); in VALIDATORS.put() argument
/frameworks/base/services/core/java/com/android/server/pm/
DUserRestrictionsUtils.java872 case android.provider.Settings.Global.AUTO_TIME: in isSettingRestrictedForUser()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DDatabaseHelper.java816 int autoTimeValue = getIntValueFromSystem(db, Settings.System.AUTO_TIME, 0); in onUpgrade()
2428 loadBooleanSetting(stmt, Settings.Global.AUTO_TIME, in loadGlobalSettings()
DSettingsProtoDumpUtil.java516 Settings.Global.AUTO_TIME, in dumpProtoGlobalSettingsLocked()
517 GlobalSettingsProto.DateTime.AUTO_TIME); in dumpProtoGlobalSettingsLocked()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java4347 verify(getServices().settings).settingsGlobalPutInt(Settings.Global.AUTO_TIME, 1); in testSetAutoTimeEnabledModifiesSetting()
4350 verify(getServices().settings).settingsGlobalPutInt(Settings.Global.AUTO_TIME, 0); in testSetAutoTimeEnabledModifiesSetting()
4358 verify(getServices().settings).settingsGlobalPutInt(Settings.Global.AUTO_TIME, 1); in testSetAutoTimeEnabledWithPOOnUser0()
4361 verify(getServices().settings).settingsGlobalPutInt(Settings.Global.AUTO_TIME, 0); in testSetAutoTimeEnabledWithPOOnUser0()
4369 verify(getServices().settings, never()).settingsGlobalPutInt(Settings.Global.AUTO_TIME, 0); in testSetAutoTimeEnabledFailWithPONotOnUser0()
4378 verify(getServices().settings).settingsGlobalPutInt(Settings.Global.AUTO_TIME, 1); in testSetAutoTimeEnabledWithPOOfOrganizationOwnedDevice()
4381 verify(getServices().settings).settingsGlobalPutInt(Settings.Global.AUTO_TIME, 0); in testSetAutoTimeEnabledWithPOOfOrganizationOwnedDevice()
4508 when(getServices().settings.settingsGlobalGetInt(Settings.Global.AUTO_TIME, 0)) in testSetTimeWithAutoTimeOn()
/frameworks/base/core/java/android/provider/
DSettings.java4098 MOVED_TO_GLOBAL.add(Settings.Global.AUTO_TIME);
5671 public static final String AUTO_TIME = Global.AUTO_TIME; field in Settings.System
12968 public static final String AUTO_TIME = "auto_time"; field in Settings.Global
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java705 GLOBAL_SETTINGS_ALLOWLIST.add(Settings.Global.AUTO_TIME);
8986 () -> mInjector.settingsGlobalPutInt(Settings.Global.AUTO_TIME,
9038 mInjector.settingsGlobalPutInt(Settings.Global.AUTO_TIME, enabled ? 1 : 0));
9071 return mInjector.settingsGlobalGetInt(Global.AUTO_TIME, 0) > 0;
15208 if (mInjector.settingsGlobalGetInt(Global.AUTO_TIME, 0) == 1) { in setTime()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt25264 field public static final java.lang.String AUTO_TIME = "auto_time";
25424 field public static final deprecated java.lang.String AUTO_TIME = "auto_time";
/frameworks/base/core/api/
Dcurrent.txt37426 field public static final String AUTO_TIME = "auto_time";
37598 field @Deprecated public static final String AUTO_TIME = "auto_time";