Lines Matching refs:Settings
17 package com.android.settings;
36 import android.provider.Settings;
37 import android.provider.Settings.SettingNotFoundException;
86 boolean autoTimeEnabled = getAutoState(Settings.Global.AUTO_TIME);
87 boolean autoTimeZoneEnabled = getAutoState(Settings.Global.AUTO_TIME_ZONE);
118 // Initialize if DATE_FORMAT is not set in the system settings
218 Settings.System.putString(getContentResolver(),
219 Settings.System.DATE_FORMAT, format);
223 Settings.Global.putInt(getContentResolver(), Settings.Global.AUTO_TIME,
229 Settings.Global.putInt(
230 getContentResolver(), Settings.Global.AUTO_TIME_ZONE, autoZoneEnabled ? 1 : 0);
324 /* Get & Set values from the system settings */
331 Settings.System.putString(getContentResolver(),
332 Settings.System.TIME_12_24,
337 return Settings.System.getString(getContentResolver(),
338 Settings.System.DATE_FORMAT);
343 return Settings.Global.getInt(getContentResolver(), name) > 0;