HomeSort by relevance Sort by last modified time
    Searched refs:Settings (Results 51 - 75 of 306) sorted by null

1 23 4 5 6 7 8 91011>>

  /packages/apps/Settings/src/com/android/settings/
TextToSpeechSettings.java 17 package com.android.settings;
19 import static android.provider.Settings.Secure.TTS_USE_DEFAULTS;
20 import static android.provider.Settings.Secure.TTS_DEFAULT_RATE;
21 import static android.provider.Settings.Secure.TTS_DEFAULT_LANG;
22 import static android.provider.Settings.Secure.TTS_DEFAULT_COUNTRY;
23 import static android.provider.Settings.Secure.TTS_DEFAULT_VARIANT;
24 import static android.provider.Settings.Secure.TTS_DEFAULT_SYNTH;
25 import static android.provider.Settings.Secure.TTS_ENABLED_PLUGINS;
42 import android.provider.Settings;
43 import android.provider.Settings.SettingNotFoundException
    [all...]
LanguageSettings.java 17 package com.android.settings;
34 import android.provider.Settings;
97 mLastInputMethodId = Settings.Secure.getString(getContentResolver(),
98 Settings.Secure.DEFAULT_INPUT_METHOD);
146 String enabledStr = Settings.Secure.getString(getContentResolver(),
147 Settings.Secure.ENABLED_INPUT_METHODS);
220 Settings.Secure.putString(getContentResolver(),
221 Settings.Secure.ENABLED_INPUT_METHODS, builder.toString());
222 Settings.Secure.putString(getContentResolver(),
223 Settings.Secure.DISABLED_SYSTEM_INPUT_METHODS, disabledSysImes.toString())
    [all...]
DisplaySettings.java 17 package com.android.settings;
19 import static android.provider.Settings.System.SCREEN_OFF_TIMEOUT;
34 import android.provider.Settings;
70 screenTimeoutPreference.setValue(String.valueOf(Settings.System.getInt(
144 mAccelerometer.setChecked(Settings.System.getInt(
146 Settings.System.ACCELEROMETER_ROTATION, 0) != 0);
165 Settings.System.putInt(getContentResolver(),
166 Settings.System.ACCELEROMETER_ROTATION,
196 Settings.System.putInt(getContentResolver(),
DateTimeSettings.java 17 package com.android.settings;
35 import android.provider.Settings;
36 import android.provider.Settings.SettingNotFoundException;
93 // Initialize if DATE_FORMAT is not set in the system settings
191 Settings.System.putString(getContentResolver(),
192 Settings.System.DATE_FORMAT, format);
196 Settings.System.putInt(getContentResolver(),
197 Settings.System.AUTO_TIME,
296 /* Get & Set values from the system settings */
303 Settings.System.putString(getContentResolver()
    [all...]
DockSettings.java 17 package com.android.settings;
32 import android.provider.Settings;
34 import com.android.settings.bluetooth.DockEventReceiver;
88 mDockSounds.setChecked(Settings.System.getInt(resolver,
89 Settings.System.DOCK_SOUNDS_ENABLED, 0) != 0);
146 Settings.System.putInt(getContentResolver(), Settings.System.DOCK_SOUNDS_ENABLED,
PrivacySettings.java 17 package com.android.settings;
34 import android.provider.Settings;
39 * Gesture lock pattern settings.
45 private static final String GSETTINGS_PROVIDER = "com.google.settings";
127 final boolean backupEnabled = Settings.Secure.getInt(res,
128 Settings.Secure.BACKUP_ENABLED, 0) == 1;
131 mAutoRestore.setChecked(Settings.Secure.getInt(res,
132 Settings.Secure.BACKUP_AUTO_RESTORE, 1) == 1);
VoiceInputOutputSettings.java 17 package com.android.settings;
39 import android.provider.Settings;
50 * Settings screen for voice input/output.
98 // set up the link to settings for the available recognizer.
109 String currentSetting = Settings.Secure.getString(
110 getContentResolver(), Settings.Secure.VOICE_RECOGNITION_SERVICE);
130 String currentSetting = Settings.Secure.getString(
131 getContentResolver(), Settings.Secure.VOICE_RECOGNITION_SERVICE);
201 // No settings preference available - hide the preference.
202 Log.w(TAG, "no recognizer settings available for " + si.packageName)
    [all...]
  /frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
SettingsHelper.java 17 package com.android.providers.settings;
34 import android.provider.Settings;
68 if (Settings.System.SCREEN_BRIGHTNESS.equals(name)) {
70 } else if (Settings.System.SOUND_EFFECTS_ENABLED.equals(name)) {
72 } else if (Settings.Secure.LOCATION_PROVIDERS_ALLOWED.equals(name)) {
75 } else if (Settings.Secure.BACKUP_AUTO_RESTORE.equals(name)) {
98 Settings.Secure.setLocationProviderEnabled(
186 * Informs the audio service of changes to the settings so that
  /packages/apps/Mms/src/com/android/mms/transaction/
SmsRejectedReceiver.java 27 import android.provider.Settings;
42 if (Settings.Secure.getInt(context.getContentResolver(),
43 Settings.Secure.DEVICE_PROVISIONED, 0) == 1 &&
  /packages/apps/Phone/src/com/android/phone/
OtaStartupReceiver.java 27 import android.provider.Settings;
89 boolean provisioned = Settings.Secure.getInt(context.getContentResolver(),
90 Settings.Secure.DEVICE_PROVISIONED, 0) != 0;
EmergencyCallHandler.java 27 import android.provider.Settings;
151 // Settings activity turns it off.
152 if (Settings.System.getInt(getContentResolver(),
153 Settings.System.AIRPLANE_MODE_ON, 0) > 0) {
155 Settings.System.putInt(getContentResolver(), Settings.System.AIRPLANE_MODE_ON, 0);
  /cts/tests/tests/provider/src/android/provider/cts/
Settings_NameValueTableTest.java 26 import android.provider.Settings;
27 import android.provider.Settings.NameValueTable;
30 @TestTargetClass(android.provider.Settings.NameValueTable.class)
40 Uri uri = Settings.System.CONTENT_URI;
  /packages/apps/Settings/src/com/android/settings/widget/
SettingsAppWidgetProvider.java 17 package com.android.settings.widget;
37 import android.provider.Settings;
40 import com.android.settings.R;
41 import com.android.settings.bluetooth.LocalBluetoothManager;
44 * Provides control of power-related settings from a widget.
50 new ComponentName("com.android.settings",
51 "com.android.settings.widget.SettingsAppWidgetProvider");
257 // settings write off the UI thread, as it can take a
330 // settings write off the UI thread, as it can take a
387 new ComponentName("com.android.settings", ".widget.SettingsAppWidgetProvider")
    [all...]
  /frameworks/base/services/java/com/android/server/
Watchdog.java 35 import android.provider.Settings;
109 Settings.Secure.MEMCHECK_SYSTEM_ENABLED,
110 Settings.Secure.MEMCHECK_SYSTEM_SOFT_THRESHOLD,
112 Settings.Secure.MEMCHECK_SYSTEM_HARD_THRESHOLD,
115 Settings.Secure.MEMCHECK_PHONE_ENABLED,
116 Settings.Secure.MEMCHECK_PHONE_SOFT_THRESHOLD,
118 Settings.Secure.MEMCHECK_PHONE_HARD_THRESHOLD,
173 mSoftThreshold = Settings.Secure.getInt(
175 mHardThreshold = Settings.Secure.getInt(
177 mEnabled = Settings.Secure.getInt
    [all...]
ThrottleService.java 47 import android.provider.Settings;
188 resolver.registerContentObserver(Settings.Secure.getUriFor(
189 Settings.Secure.THROTTLE_POLLING_SEC), false, this);
190 resolver.registerContentObserver(Settings.Secure.getUriFor(
191 Settings.Secure.THROTTLE_THRESHOLD_BYTES), false, this);
192 resolver.registerContentObserver(Settings.Secure.getUriFor(
193 Settings.Secure.THROTTLE_VALUE_KBITSPS), false, this);
194 resolver.registerContentObserver(Settings.Secure.getUriFor(
195 Settings.Secure.THROTTLE_RESET_DAY), false, this);
196 resolver.registerContentObserver(Settings.Secure.getUriFor
    [all...]
WifiService.java 66 import android.provider.Settings;
137 * See {@link Settings.Secure#WIFI_IDLE_MS}. This is the default value if a
138 * Settings.Secure value is not present. This timeout value is chosen as
153 * See {@link android.provider.Settings.Secure#WIFI_MOBILE_DATA_TRANSITION_WAKELOCK_TIMEOUT_MS}.
154 * This is the default value if a Settings.Secure value is not present.
338 wifiSavedState = Settings.Secure.getInt(cr, Settings.Secure.WIFI_SAVED_STATE);
340 Settings.Secure.putInt(cr, Settings.Secure.WIFI_SAVED_STATE, 0);
341 } catch (Settings.SettingNotFoundException e)
    [all...]
  /development/apps/Development/src/com/android/development/
DevelopmentSettings.java 1 /* //device/apps/Settings/src/com/android/settings/Keyguard.java
31 import android.provider.Settings;
214 mDebugApp = Settings.System.getString(
215 getContentResolver(), Settings.System.DEBUG_APP);
216 mWaitForDebugger = Settings.System.getInt(
217 getContentResolver(), Settings.System.WAIT_FOR_DEBUGGER, 0) != 0;
232 mAlwaysFinish = Settings.System.getInt(
233 getContentResolver(), Settings.System.ALWAYS_FINISH_ACTIVITIES, 0) != 0;
238 Settings.System.putInt(getContentResolver()
    [all...]
  /cts/tests/tests/media/src/android/media/cts/
AsyncPlayerTest.java 23 import android.provider.Settings;
51 final Uri PLAY_URI = Settings.System.DEFAULT_NOTIFICATION_URI;
RingtoneManagerTest.java 33 import android.provider.Settings;
62 // backup ringer settings
74 // restore original ringer settings
178 assertNotNull(RingtoneManager.getRingtone(mContext, Settings.System.DEFAULT_RINGTONE_URI));
188 assertEquals(Settings.System.DEFAULT_RINGTONE_URI,
190 assertEquals(Settings.System.DEFAULT_NOTIFICATION_URI,
193 RingtoneManager.getDefaultType(Settings.System.DEFAULT_RINGTONE_URI));
195 RingtoneManager.getDefaultType(Settings.System.DEFAULT_NOTIFICATION_URI));
196 assertTrue(RingtoneManager.isDefault(Settings.System.DEFAULT_RINGTONE_URI));
  /frameworks/base/core/tests/coretests/src/android/widget/listview/
ListManagedCursor.java 23 import android.provider.Settings;
39 Cursor c = getContentResolver().query(Settings.System.CONTENT_URI, null, null, null, null);
  /packages/apps/Browser/src/com/android/browser/
SystemAllowGeolocationOrigins.java 26 import android.provider.Settings;
60 // Register to receive notifications when the system settings change.
61 Uri uri = Settings.Secure.getUriFor(Settings.Secure.ALLOWED_GEOLOCATION_ORIGINS);
159 String value = Settings.Secure.getString(mContext.getContentResolver(),
160 Settings.Secure.ALLOWED_GEOLOCATION_ORIGINS);
  /packages/apps/Settings/src/com/android/settings/wifi/
AdvancedSettings.java 17 package com.android.settings.wifi;
19 import com.android.settings.R;
30 import android.provider.Settings;
31 import android.provider.Settings.System;
82 * channel count settings in non userdebug builds
106 * channel count settings in non userdebug builds
152 int value = Settings.System.getInt(getContentResolver(),
153 Settings.System.WIFI_SLEEP_POLICY,Settings. System.WIFI_SLEEP_POLICY_DEFAULT);
187 Settings.System.putInt(getContentResolver()
    [all...]
  /frameworks/base/core/java/com/android/internal/widget/
LockPatternUtils.java 25 import android.provider.Settings;
45 * Utilities for the lock patten and its settings.
113 * @param contentResolver Used to look up and save settings.
321 // Cant do much, unless we want to fail over to using the settings provider
392 // Cant do much, unless we want to fail over to using the settings provider
536 return getBoolean(Settings.Secure.LOCK_PATTERN_ENABLED)
545 setBoolean(Settings.Secure.LOCK_PATTERN_ENABLED, enabled);
552 return getBoolean(Settings.Secure.LOCK_PATTERN_VISIBLE);
559 setBoolean(Settings.Secure.LOCK_PATTERN_VISIBLE, enabled);
566 return getBoolean(Settings.Secure.LOCK_PATTERN_TACTILE_FEEDBACK_ENABLED)
    [all...]
  /frameworks/base/media/java/android/media/
RingtoneManager.java 32 import android.provider.Settings;
33 import android.provider.Settings.System;
626 final String uriString = Settings.System.getString(context.getContentResolver(), setting);
643 Settings.System.putString(context.getContentResolver(), setting,
649 return Settings.System.RINGTONE;
651 return Settings.System.NOTIFICATION_SOUND;
653 return Settings.System.ALARM_ALERT;
681 } else if (defaultRingtoneUri.equals(Settings.System.DEFAULT_RINGTONE_URI)) {
683 } else if (defaultRingtoneUri.equals(Settings.System.DEFAULT_NOTIFICATION_URI)) {
685 } else if (defaultRingtoneUri.equals(Settings.System.DEFAULT_ALARM_ALERT_URI))
    [all...]
  /frameworks/base/wifi/java/android/net/wifi/
WifiStateTracker.java 41 import android.provider.Settings;
156 * See {@link Settings.Secure#WIFI_MAX_DHCP_RETRY_COUNT}. This is the default
157 * value if a Settings value is not present.
273 * Observes the static IP address settings.
366 NOTIFICATION_REPEAT_DELAY_MS = Settings.Secure.getInt(context.getContentResolver(),
367 Settings.Secure.WIFI_NETWORKS_AVAILABLE_REPEAT_DELAY, 900) * 1000l;
    [all...]

Completed in 249 milliseconds

1 23 4 5 6 7 8 91011>>