Lines Matching refs:Settings
17 package com.android.settings;
36 import android.provider.Settings;
37 import android.provider.Settings.SettingNotFoundException;
85 boolean autoTimeEnabled = getAutoState(Settings.Global.AUTO_TIME);
86 boolean autoTimeZoneEnabled = getAutoState(Settings.Global.AUTO_TIME_ZONE);
117 // Initialize if DATE_FORMAT is not set in the system settings
217 Settings.System.putString(getContentResolver(),
218 Settings.System.DATE_FORMAT, format);
222 Settings.Global.putInt(getContentResolver(), Settings.Global.AUTO_TIME,
228 Settings.Global.putInt(
229 getContentResolver(), Settings.Global.AUTO_TIME_ZONE, autoZoneEnabled ? 1 : 0);
329 /* Get & Set values from the system settings */
336 Settings.System.putString(getContentResolver(),
337 Settings.System.TIME_12_24,
342 return Settings.System.getString(getContentResolver(),
343 Settings.System.DATE_FORMAT);
348 return Settings.Global.getInt(getContentResolver(), name) > 0;