HomeSort by relevance Sort by last modified time
    Searched refs:Settings (Results 76 - 100 of 333) sorted by null

1 2 34 5 6 7 8 91011>>

  /cts/tests/tests/media/src/android/media/cts/
RingtoneManagerTest.java 33 import android.provider.Settings;
62 // backup ringer settings
72 // restore original ringer settings
176 assertNotNull(RingtoneManager.getRingtone(mContext, Settings.System.DEFAULT_RINGTONE_URI));
186 assertEquals(Settings.System.DEFAULT_RINGTONE_URI,
188 assertEquals(Settings.System.DEFAULT_NOTIFICATION_URI,
191 RingtoneManager.getDefaultType(Settings.System.DEFAULT_RINGTONE_URI));
193 RingtoneManager.getDefaultType(Settings.System.DEFAULT_NOTIFICATION_URI));
194 assertTrue(RingtoneManager.isDefault(Settings.System.DEFAULT_RINGTONE_URI));
RingtoneTest.java 28 import android.provider.Settings;
46 mRingtone = RingtoneManager.getRingtone(mContext, Settings.System.DEFAULT_RINGTONE_URI);
47 // backup ringer settings
59 // restore original settings
  /frameworks/base/media/java/android/media/audiofx/
Equalizer.java 449 * The Settings class regroups all equalizer parameters. It is used in
453 public static class Settings {
458 public Settings() {
462 * Settings class constructor from a key=value; pairs formatted string. The string is
463 * typically returned by Settings.toString() method.
466 public Settings(String settings) {
467 StringTokenizer st = new StringTokenizer(settings, "=;");
470 throw new IllegalArgumentException("settings: " + settings);
532 Settings settings = new Settings(); local
    [all...]
EnvironmentalReverb.java 505 * The Settings class regroups all environmental reverb parameters. It is used in
509 public static class Settings {
521 public Settings() {
525 * Settings class constructor from a key=value; pairs formatted string. The string is
526 * typically returned by Settings.toString() method.
529 public Settings(String settings) {
530 StringTokenizer st = new StringTokenizer(settings, "=;");
533 throw new IllegalArgumentException("settings: " + settings);
631 Settings settings = new Settings(); local
    [all...]
  /frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
SettingsProvider.java 17 package com.android.providers.settings;
47 import android.provider.Settings;
60 // Cache for settings, access-ordered for acting as LRU.
72 // Over this size we don't reject loading or saving settings but
114 this.where = Settings.NameValueTable.NAME + "=?";
151 String name = values.getAsString(Settings.NameValueTable.NAME);
161 * this table, for tables which have such a property. (The Settings
173 property = Settings.System.SYS_PROP_SETTING_VERSION;
176 property = Settings.Secure.SYS_PROP_SETTING_VERSION;
212 String.format("Permission denial: writing to secure settings requires %1$s"
    [all...]
  /packages/apps/Settings/src/com/android/settings/
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...]
WirelessSettings.java 17 package com.android.settings;
31 import android.provider.Settings;
34 import com.android.settings.bluetooth.BluetoothEnabler;
35 import com.android.settings.wifi.WifiEnabler;
36 import com.android.settings.nfc.NfcEnabler;
82 String toggleable = Settings.System.getString(context.getContentResolver(),
83 Settings.System.AIRPLANE_MODE_TOGGLEABLE_RADIOS);
104 String toggleable = Settings.System.getString(getContentResolver(),
105 Settings.System.AIRPLANE_MODE_TOGGLEABLE_RADIOS);
108 if (toggleable == null || !toggleable.contains(Settings.System.RADIO_WIFI))
    [all...]
SecuritySettings.java 17 package com.android.settings;
44 import android.provider.Settings;
56 * Gesture lock pattern settings.
61 // Lock Settings
62 private static final String PACKAGE = "com.android.settings";
78 // Location Settings
96 // These provide support for receiving notification when Location Manager settings change.
97 // This is necessary because the Network Location Provider can change settings
122 // listen for Location Manager settings changes
123 Cursor settingsCursor = getContentResolver().query(Settings.Secure.CONTENT_URI, null
    [all...]
Settings.java 17 package com.android.settings;
26 public class Settings extends PreferenceActivity {
37 addPreferencesFromResource(R.xml.settings);
RingerVolumePreference.java 17 package com.android.settings;
25 import android.provider.Settings;
82 mNotificationsUseRingVolumeCheckbox.setChecked(Settings.System.getInt(
84 Settings.System.NOTIFICATIONS_USE_RING_VOLUME, 1) == 1);
109 Settings.System.putInt(getContext().getContentResolver(),
110 Settings.System.NOTIFICATIONS_USE_RING_VOLUME, isChecked ? 1 : 0);
  /packages/apps/Calendar/src/com/android/calendar/
LaunchActivity.java 27 import android.provider.Settings;
59 // If we failed to find a valid Calendar, bounce the user to the account settings
62 final Intent intent = new Intent(Settings.ACTION_ADD_ACCOUNT);
64 intent.putExtra(Settings.EXTRA_AUTHORITIES, new String[] {
  /frameworks/base/services/java/com/android/server/
InputMethodManagerService.java 62 import android.provider.Settings;
63 import android.provider.Settings.Secure;
300 resolver.registerContentObserver(Settings.Secure.getUriFor(
301 Settings.Secure.DEFAULT_INPUT_METHOD), false, this);
342 String curInputMethodId = Settings.Secure.getString(mContext
343 .getContentResolver(), Settings.Secure.DEFAULT_INPUT_METHOD);
355 Settings.Secure.putString(mContext.getContentResolver(),
356 Settings.Secure.DEFAULT_INPUT_METHOD, "");
372 String curInputMethodId = Settings.Secure.getString(mContext
373 .getContentResolver(), Settings.Secure.DEFAULT_INPUT_METHOD)
    [all...]
AccessibilityManagerService.java 46 import android.provider.Settings;
187 Settings.Secure.putString(mContext.getContentResolver(),
188 Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES,
203 mIsEnabled = Settings.Secure.getInt(mContext.getContentResolver(),
204 Settings.Secure.ACCESSIBILITY_ENABLED, 0) == 1;
230 * {@link ContentObserver}s for {@link Settings.Secure#ACCESSIBILITY_ENABLED}
231 * and {@link Settings.Secure#ENABLED_ACCESSIBILITY_SERVICES} settings.
236 Uri enabledUri = Settings.Secure.getUriFor(Settings.Secure.ACCESSIBILITY_ENABLED)
    [all...]
  /frameworks/base/core/java/android/widget/
DigitalClock.java 24 import android.provider.Settings;
70 Settings.System.CONTENT_URI, true, mFormatChangeObserver);
105 * Pulls 12/24 mode from system settings
DateTimeView.java 29 import android.provider.Settings;
30 import android.provider.Settings.SettingNotFoundException;
204 String format = Settings.System.getString(getContext().getContentResolver(),
205 Settings.System.DATE_FORMAT);
228 Uri uri = Settings.System.getUriFor(Settings.System.DATE_FORMAT);
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
SearchSettings.java 34 import android.provider.Settings;
35 import android.provider.Settings.System;
132 * search settings.
147 Log.e(TAG, "No web search settings activity");
151 Log.e(TAG, "More than one web search settings activity");
187 * Informs our listeners about the updated settings data.
197 return (Settings.System.getInt(context.getContentResolver(),
198 Settings.System.SHOW_WEB_SUGGESTIONS,
210 Settings.System.getUriFor(Settings.System.SHOW_WEB_SUGGESTIONS)
    [all...]
  /cts/tests/tests/provider/src/android/provider/cts/
ContactsTest.java 47 import android.provider.Contacts.Settings;
682 * Test case for the behavior of the ContactsProvider's settings table
687 Settings._ID, Settings._SYNC_ACCOUNT, Settings._SYNC_ACCOUNT_TYPE,
688 Settings.KEY, Settings.VALUE};
703 value.put(Settings.KEY, insertKey);
704 value.put(Settings.VALUE, insertValue);
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/ui/
ContactsPreferencesActivity.java 53 import android.provider.ContactsContract.Settings;
354 * Entry holding any changes to {@link Groups} or {@link Settings} rows,
366 * Build {@link GroupDelta} from the {@link Settings} row for the given
367 * {@link Settings#ACCOUNT_NAME} and {@link Settings#ACCOUNT_TYPE}.
371 final Uri settingsUri = Settings.CONTENT_URI.buildUpon()
372 .appendQueryParameter(Settings.ACCOUNT_NAME, accountName)
373 .appendQueryParameter(Settings.ACCOUNT_TYPE, accountType).build();
375 Settings.SHOULD_SYNC, Settings.UNGROUPED_VISIBL
    [all...]
  /frameworks/base/core/java/com/android/internal/widget/
LockPatternUtils.java 26 import android.provider.Settings;
48 * Utilities for the lock patten and its settings.
121 * @param contentResolver Used to look up and save settings.
326 // Cant do much, unless we want to fail over to using the settings provider
397 // Cant do much, unless we want to fail over to using the settings provider
541 return getBoolean(Settings.Secure.LOCK_PATTERN_ENABLED)
550 setBoolean(Settings.Secure.LOCK_PATTERN_ENABLED, enabled);
557 return getBoolean(Settings.Secure.LOCK_PATTERN_VISIBLE);
564 setBoolean(Settings.Secure.LOCK_PATTERN_VISIBLE, enabled);
571 return getBoolean(Settings.Secure.LOCK_PATTERN_TACTILE_FEEDBACK_ENABLED)
    [all...]
  /frameworks/base/policy/src/com/android/internal/policy/impl/
KeyguardUpdateMonitor.java 32 import android.provider.Settings;
173 mDeviceProvisioned = Settings.Secure.getInt(
174 mContext.getContentResolver(), Settings.Secure.DEVICE_PROVISIONED, 0) != 0;
183 mDeviceProvisioned = Settings.Secure.getInt(mContext.getContentResolver(),
184 Settings.Secure.DEVICE_PROVISIONED, 0) != 0;
195 Settings.Secure.getUriFor(Settings.Secure.DEVICE_PROVISIONED),
200 mDeviceProvisioned = Settings.Secure.getInt(mContext.getContentResolver(),
201 Settings.Secure.DEVICE_PROVISIONED, 0) != 0;
  /frameworks/base/tools/localize/
localize_test.cpp 98 Settings setting;
122 map<string,Settings> settings; local
123 map<string,Settings>::iterator it;
125 err = read_settings("testdata/config.xml", &settings, "//asdf");
131 for (it=settings.begin(); it!=settings.end(); it++) {
132 const Settings& setting = it->second;
153 for (it=settings.begin(); it!=settings.end(); it++)
    [all...]
localize.cpp 27 read_settings(const string& filename, map<string,Settings>* result, const string& rootDir)
41 Settings settings; local
42 settings.id = configNode->GetAttribute("", "id", "");
43 if (settings.id == "") {
49 settings.oldVersion = configNode->GetAttribute("", "old-cl", "");
51 settings.currentVersion = configNode->GetAttribute("", "new-cl", "");
52 if (settings.currentVersion == "") {
72 settings.apps.push_back(dir);
104 settings.reject.push_back(reject)
177 const Settings* settings = reinterpret_cast<const Settings*>(cookie); local
273 map<string,Settings> settings; local
480 const PseudolocalizeSettings* settings = (PseudolocalizeSettings*)cookie; local
495 PseudolocalizeSettings settings; local
    [all...]
  /development/apps/Development/src/com/android/development/
AppPicker.java 30 import android.provider.Settings;
81 boolean waitForDebugger = Settings.System.getInt(
82 getContentResolver(), Settings.System.WAIT_FOR_DEBUGGER, 0) != 0;
  /frameworks/base/telephony/java/com/android/internal/telephony/
DataConnectionTracker.java 24 import android.provider.Settings;
25 import android.provider.Settings.SettingNotFoundException;
48 * FAILED: data connection fail for all apns settings
238 Settings.Secure.putInt(phone.getContext().getContentResolver(),
239 Settings.Secure.DATA_ROAMING, enabled ? 1 : 0);
252 return Settings.Secure.getInt(phone.getContext().getContentResolver(),
253 Settings.Secure.DATA_ROAMING) > 0;
  /build/target/product/
generic_x86.mk 14 Settings \

Completed in 396 milliseconds

1 2 34 5 6 7 8 91011>>