/packages/apps/Contacts/src/com/android/contacts/ui/ |
ContactsPreferences.java | 26 import android.provider.Settings; 27 import android.provider.Settings.SettingNotFoundException; 64 mSortOrder = Settings.System.getInt(mContext.getContentResolver(), 75 Settings.System.putInt(mContext.getContentResolver(), 98 mDisplayOrder = Settings.System.getInt(mContext.getContentResolver(), 109 Settings.System.putInt(mContext.getContentResolver(), 123 Settings.System.getUriFor( 126 Settings.System.getUriFor(
|
/packages/apps/Settings/src/com/android/settings/ |
AccessibilitySettings.java | 17 package com.android.settings; 36 import android.provider.Settings; 48 * Activity with the accessibility settings. 99 String settingValue = Settings.Secure.getString(getContentResolver(), 100 Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES); 118 int serviceState = Settings.Secure.getInt(getContentResolver(), 119 Settings.Secure.ACCESSIBILITY_ENABLED, 0); 131 Settings.Secure.putInt(getContentResolver(), 132 Settings.Secure.ACCESSIBILITY_ENABLED, 0); 141 int incallPowerBehavior = Settings.Secure.getInt(getContentResolver() [all...] |
AirplaneModeEnabler.java | 17 package com.android.settings; 28 import android.provider.Settings; 81 return Settings.System.getInt(context.getContentResolver(), 82 Settings.System.AIRPLANE_MODE_ON, 0) != 0; 92 Settings.System.putInt(mContext.getContentResolver(), Settings.System.AIRPLANE_MODE_ON,
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/voice/ |
SettingsUtil.java | 22 import android.provider.Settings; 26 * Utility for retrieving settings from Settings.Secure. 86 String result = Settings.Secure.getString(cr, key); 99 return Settings.Secure.getInt(cr, key, defaultValue); 111 return Settings.Secure.getFloat(cr, key, defaultValue);
|
/frameworks/base/media/java/android/media/audiofx/ |
PresetReverb.java | 234 * The Settings class regroups all preset reverb parameters. It is used in 238 public static class Settings { 241 public Settings() { 245 * Settings class constructor from a key=value; pairs formatted string. The string is 246 * typically returned by Settings.toString() method. 249 public Settings(String settings) { 250 StringTokenizer st = new StringTokenizer(settings, "=;"); 253 throw new IllegalArgumentException("settings: " + settings); 292 Settings settings = new Settings(); local [all...] |
BassBoost.java | 216 * The Settings class regroups all bass boost parameters. It is used in 220 public static class Settings { 223 public Settings() { 227 * Settings class constructor from a key=value; pairs formatted string. The string is 228 * typically returned by Settings.toString() method. 231 public Settings(String settings) { 232 StringTokenizer st = new StringTokenizer(settings, "=;"); 235 throw new IllegalArgumentException("settings: " + settings); 274 Settings settings = new Settings(); local [all...] |
Virtualizer.java | 217 * The Settings class regroups all virtualizer parameters. It is used in 221 public static class Settings { 224 public Settings() { 228 * Settings class constructor from a key=value; pairs formatted string. The string is 229 * typically returned by Settings.toString() method. 232 public Settings(String settings) { 233 StringTokenizer st = new StringTokenizer(settings, "=;"); 236 throw new IllegalArgumentException("settings: " + settings); 275 Settings settings = new Settings(); local [all...] |
/frameworks/base/services/java/com/android/server/ |
DockObserver.java | 32 import android.provider.Settings; 138 if (Settings.Secure.getInt(cr, 139 Settings.Secure.DEVICE_PROVISIONED, 0) == 0) { 156 if (Settings.System.getInt(cr, 157 Settings.System.DOCK_SOUNDS_ENABLED, 1) == 1) 162 whichSound = Settings.System.DESK_UNDOCK_SOUND; 164 whichSound = Settings.System.CAR_UNDOCK_SOUND; 168 whichSound = Settings.System.DESK_DOCK_SOUND; 170 whichSound = Settings.System.CAR_DOCK_SOUND; 175 final String soundPath = Settings.System.getString(cr, whichSound) [all...] |
RecognitionManagerService.java | 28 import android.provider.Settings; 116 String curRecognizer = Settings.Secure.getString( 118 Settings.Secure.VOICE_RECOGNITION_SERVICE); 126 Settings.Secure.putString(mContext.getContentResolver(), 127 Settings.Secure.VOICE_RECOGNITION_SERVICE,
|
WifiWatchdogService.java | 34 import android.provider.Settings; 63 * DNS. There are settings that allow disabling the watchdog, or tweaking the 136 Settings.Secure.getUriFor(Settings.Secure.WIFI_WATCHDOG_ON), false, 153 * @see android.provider.Settings.Secure#WIFI_WATCHDOG_ON 156 return Settings.Secure.getInt(mContentResolver, Settings.Secure.WIFI_WATCHDOG_ON, 1) == 1; 160 * @see android.provider.Settings.Secure#WIFI_WATCHDOG_AP_COUNT 163 return Settings.Secure.getInt(mContentResolver, 164 Settings.Secure.WIFI_WATCHDOG_AP_COUNT, 2) [all...] |
/frameworks/base/core/java/android/net/ |
Proxy.java | 22 import android.provider.Settings; 29 * settings. 41 * @param ctx A Context used to get the settings for the proxy host. 49 String host = Settings.Secure.getString( 51 Settings.Secure.HTTP_PROXY); 67 * @param ctx A Context used to get the settings for the proxy port. 73 String host = Settings.Secure.getString( 75 Settings.Secure.HTTP_PROXY);
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
RealSystemFacade.java | 10 import android.provider.Settings; 11 import android.provider.Settings.SettingNotFoundException; 66 return Settings.Secure.getLong(mContext.getContentResolver(), 67 Settings.Secure.DOWNLOAD_MAX_BYTES_OVER_MOBILE); 76 return Settings.Secure.getLong(mContext.getContentResolver(), 77 Settings.Secure.DOWNLOAD_RECOMMENDED_MAX_BYTES_OVER_MOBILE);
|
/cts/tests/tests/text/src/android/text/format/cts/ |
DateFormatTest.java | 26 import android.provider.Settings; 60 mDefaultFormat = Settings.System.getString(mContext.getContentResolver(), 61 Settings.System.DATE_FORMAT); 67 Settings.System.putString(mContentResolver, Settings.System.TIME_12_24, "12"); 72 Settings.System.putString(mContentResolver, Settings.System.DATE_FORMAT, mDefaultFormat); 83 Settings.System.putString(mContentResolver, Settings.System.TIME_12_24, "24"); 85 Settings.System.putString(mContentResolver, Settings.System.TIME_12_24, "12") [all...] |
/external/webkit/WebKit/android/WebCoreSupport/ |
CachedFramePlatformDataAndroid.cpp | 29 #include "Settings.h" 33 CachedFramePlatformDataAndroid::CachedFramePlatformDataAndroid(WebCore::Settings* settings) 36 m_viewport_width = settings->viewportWidth(); 37 m_viewport_height = settings->viewportHeight(); 38 m_viewport_initial_scale = settings->viewportInitialScale(); 39 m_viewport_minimum_scale = settings->viewportMinimumScale(); 40 m_viewport_maximum_scale = settings->viewportMaximumScale(); 41 m_viewport_target_densitydpi = settings->viewportTargetDensityDpi(); 42 m_viewport_user_scalable = settings->viewportUserScalable() [all...] |
/packages/apps/Settings/ |
Android.mk | 8 LOCAL_PACKAGE_NAME := Settings
|
/packages/apps/Settings/tests/ |
Android.mk | 15 LOCAL_INSTRUMENTATION_FOR := Settings
|
/build/target/product/ |
generic.mk | 39 Settings \
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
ShortcutManager.java | 24 import android.provider.Settings; 43 Settings.Bookmarks.SHORTCUT, Settings.Bookmarks.INTENT 61 Settings.Bookmarks.CONTENT_URI, sProjection, null, null, null);
|
/packages/apps/Phone/src/com/android/phone/ |
HapticFeedback.java | 24 import android.provider.Settings; 25 import android.provider.Settings.System; 36 * system Settings activity. It must be rechecked each time the 76 private Settings.System mSystemSettings; 85 * @param context To look up the resources and system settings. 87 * the system settings. 96 mSystemSettings = new Settings.System(); 103 * Reload the system settings to check if the user enabled the
|
Settings.java | 43 * List of Phone-specific settings screens. 45 public class Settings extends PreferenceActivity implements DialogInterface.OnClickListener, 125 //displays the value taken from the Settings.System 126 int settingsNetworkMode = android.provider.Settings.Secure.getInt(mPhone.getContext(). 127 getContentResolver(), android.provider.Settings.Secure.PREFERRED_NETWORK_MODE, 190 //Get the networkMode from Settings.System and displays it 191 int settingsNetworkMode = android.provider.Settings.Secure.getInt(mPhone.getContext(). 192 getContentResolver(),android.provider.Settings.Secure.PREFERRED_NETWORK_MODE, 225 // app to change this setting's backend, and re-launch this settings app 257 int settingsNetworkMode = android.provider.Settings.Secure.getInt [all...] |
/external/webkit/WebCore/inspector/front-end/ |
Settings.js | 46 WebInspector.settings._load(settingsString); 49 WebInspector.Settings = function() 53 WebInspector.Settings.prototype = { 99 WebInspector.Settings.prototype.__proto__ = WebInspector.Object.prototype;
|
/packages/apps/Mms/src/com/android/mms/transaction/ |
SimFullReceiver.java | 29 import android.provider.Settings; 39 if (Settings.Secure.getInt(context.getContentResolver(), 40 Settings.Secure.DEVICE_PROVISIONED, 0) == 1 &&
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
SettingsBackupAgent.java | 17 package com.android.providers.settings; 44 import android.provider.Settings; 49 * Performs backup and restore of the System and Secure settings. 50 * List of settings that are backed up are stored in the Settings.java file 80 Settings.NameValueTable._ID, 81 Settings.NameValueTable.NAME, 82 Settings.NameValueTable.VALUE 131 restoreSettings(data, Settings.System.CONTENT_URI); 134 restoreSettings(data, Settings.Secure.CONTENT_URI) [all...] |
/packages/apps/Settings/src/com/android/settings/wifi/ |
WifiApEnabler.java | 17 package com.android.settings.wifi; 19 import com.android.settings.R; 20 import com.android.settings.WirelessSettings; 38 import android.provider.Settings; 101 boolean isAirplaneMode = Settings.System.getInt(mContext.getContentResolver(), 102 Settings.System.AIRPLANE_MODE_ON, 0) != 0; 122 Settings.Secure.putInt(cr, Settings.Secure.WIFI_SAVED_STATE, 1); 138 wifiSavedState = Settings.Secure.getInt(cr, Settings.Secure.WIFI_SAVED_STATE) [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
GroupsTest.java | 33 import android.provider.ContactsContract.Settings; 322 values.put(Settings.ACCOUNT_NAME, sTestAccount.name); 323 values.put(Settings.ACCOUNT_TYPE, sTestAccount.type); 324 values.put(Settings.UNGROUPED_VISIBLE, 0); 325 mResolver.insert(Settings.CONTENT_URI, values); 330 values.put(Settings.UNGROUPED_VISIBLE, 1); 331 mResolver.update(Settings.CONTENT_URI, values, Settings.ACCOUNT_NAME + "=? AND " 332 + Settings.ACCOUNT_TYPE + "=?", new String[] { 378 values.put(Settings.ACCOUNT_NAME, sTestAccount.name) [all...] |