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

1 2 34 5 6 7 8 91011>>

  /frameworks/base/media/java/android/media/audiofx/
BassBoost.java 217 * The Settings class regroups all bass boost 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...]
Virtualizer.java 219 * The Settings class regroups all virtualizer parameters. It is used in
223 public static class Settings {
226 public Settings() {
230 * Settings class constructor from a key=value; pairs formatted string. The string is
231 * typically returned by Settings.toString() method.
234 public Settings(String settings) {
235 StringTokenizer st = new StringTokenizer(settings, "=;");
238 throw new IllegalArgumentException("settings: " + settings);
277 Settings settings = new Settings(); local
    [all...]
  /frameworks/base/services/tests/servicestests/src/com/android/server/pm/
PackageManagerSettingsTests.java 141 Settings settings = new Settings(getContext(), getContext().getFilesDir()); local
142 assertEquals(true, settings.readLPw(null, null, 0, false));
143 assertNotNull(settings.peekPackageLPr(PACKAGE_NAME_3));
144 assertNotNull(settings.peekPackageLPr(PACKAGE_NAME_1));
146 PackageSetting ps = settings.peekPackageLPr(PACKAGE_NAME_1);
150 ps = settings.peekPackageLPr(PACKAGE_NAME_2);
159 Settings settings = new Settings(getContext(), getContext().getFilesDir()) local
174 Settings settings = new Settings(getContext(), getContext().getFilesDir()); local
    [all...]
  /frameworks/base/cmds/settings/src/com/android/commands/settings/
SettingsCmd.java 17 package com.android.commands.settings;
28 import android.provider.Settings;
31 static final String TAG = "settings";
57 System.err.println("Unable to run settings command");
126 "settings", UserHandle.USER_OWNER, token);
128 throw new IllegalStateException("Could not find settings provider");
146 activityManager.removeContentProviderExternal("settings", token);
150 System.err.println("Error while accessing settings provider");
171 if ("system".equals(table)) callGetCommand = Settings.CALL_METHOD_GET_SYSTEM;
172 else if ("secure".equals(table)) callGetCommand = Settings.CALL_METHOD_GET_SECURE
    [all...]
  /packages/apps/Settings/src/com/android/settings/wifi/
AdvancedWifiSettings.java 17 package com.android.settings.wifi;
29 import android.provider.Settings;
30 import android.provider.Settings.Global;
36 import com.android.settings.R;
37 import com.android.settings.SettingsPreferenceFragment;
38 import com.android.settings.Utils;
78 notifyOpenNetworks.setChecked(Settings.Global.getInt(getContentResolver(),
79 Settings.Global.WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ON, 0) == 1);
136 int value = Settings.Global.getInt(getContentResolver(),
137 Settings.Global.WIFI_SLEEP_POLICY
    [all...]
WifiApEnabler.java 17 package com.android.settings.wifi;
19 import com.android.settings.R;
20 import com.android.settings.WirelessSettings;
37 import android.provider.Settings;
101 boolean isAirplaneMode = Settings.Global.getInt(mContext.getContentResolver(),
102 Settings.Global.AIRPLANE_MODE_ON, 0) != 0;
120 Settings.Global.putInt(cr, Settings.Global.WIFI_SAVED_STATE, 1);
136 wifiSavedState = Settings.Global.getInt(cr, Settings.Global.WIFI_SAVED_STATE)
    [all...]
  /cts/tests/tests/text/src/android/text/format/cts/
DateFormatTest.java 22 import android.provider.Settings;
58 mDefaultFormat = Settings.System.getString(mContext.getContentResolver(),
59 Settings.System.DATE_FORMAT);
65 Settings.System.putString(mContentResolver, Settings.System.TIME_12_24, "12");
70 Settings.System.putString(mContentResolver, Settings.System.DATE_FORMAT, mDefaultFormat);
76 Settings.System.putString(mContentResolver, Settings.System.TIME_12_24, "24");
78 Settings.System.putString(mContentResolver, Settings.System.TIME_12_24, "12")
    [all...]
  /packages/apps/Settings/src/com/android/settings/
SecuritySettings.java 17 package com.android.settings;
20 import static android.provider.Settings.System.SCREEN_OFF_TIMEOUT;
40 import android.provider.Settings;
51 * Gesture lock pattern settings.
58 // Lock Settings
73 // Misc Settings
170 // Rename owner info settings
223 // Append the rest of the settings
310 final String flat = Settings.Secure.getString(getContentResolver(),
311 Settings.Secure.ENABLED_NOTIFICATION_LISTENERS)
    [all...]
DateTimeSettings.java 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
    [all...]
AccessibilitySettings.java 17 package com.android.settings;
49 import android.provider.Settings;
69 import com.android.settings.AccessibilitySettings.ToggleSwitch.OnBeforeCheckedChangeListener;
78 * Activity with the accessibility settings.
219 Settings.Secure.putInt(getContentResolver(),
220 Settings.Secure.LONG_PRESS_TIMEOUT, Integer.parseInt(stringValue));
262 Settings.Secure.putInt(getContentResolver(),
263 Settings.Secure.INCALL_POWER_BUTTON_BEHAVIOR,
265 ? Settings.Secure.INCALL_POWER_BUTTON_BEHAVIOR_HANGUP
266 : Settings.Secure.INCALL_POWER_BUTTON_BEHAVIOR_SCREEN_OFF))
    [all...]
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
GroupsTest.java 32 import android.provider.ContactsContract.Settings;
316 values.put(Settings.ACCOUNT_NAME, sTestAccount.name);
317 values.put(Settings.ACCOUNT_TYPE, sTestAccount.type);
318 values.put(Settings.UNGROUPED_VISIBLE, 0);
319 mResolver.insert(Settings.CONTENT_URI, values);
324 values.put(Settings.UNGROUPED_VISIBLE, 1);
325 mResolver.update(Settings.CONTENT_URI, values, Settings.ACCOUNT_NAME + "=? AND "
326 + Settings.ACCOUNT_TYPE + "=?", new String[] {
372 values.put(Settings.ACCOUNT_NAME, sTestAccount.name)
    [all...]
  /frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
ObscureSpeechDelegate.java 22 import android.provider.Settings;
88 if (Settings.Secure.getInt(mContentResolver,
89 Settings.Secure.ACCESSIBILITY_SPEAK_PASSWORD, 0) != 0) {
  /packages/apps/Mms/src/com/android/mms/transaction/
SmsRejectedReceiver.java 25 import android.provider.Settings;
42 if (Settings.Global.getInt(context.getContentResolver(),
43 Settings.Global.DEVICE_PROVISIONED, 0) == 1 &&
  /packages/apps/Settings/tests/src/com/android/settings/
SettingsHookTests.java 17 package com.android.settings;
19 import com.android.settings.tests.Manufacturer;
20 import com.android.settings.tests.Operator;
38 * Tests for the Settings operator/manufacturer hook.
45 * -w com.android.settings.tests/android.test.InstrumentationTestRunner
47 public class SettingsHookTests extends ActivityInstrumentationTestCase2<Settings> {
49 private static final String PACKAGE_NAME = "com.android.settings.tests";
55 private static final String INTENT_OPERATOR_HOOK = "com.android.settings.OPERATOR_APPLICATION_SETTING";
56 private static final String INTENT_MANUFACTURER_HOOK = "com.android.settings.MANUFACTURER_APPLICATION_SETTING";
58 private Settings mSettings
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
Settings.java 30 public final class Settings implements SharedPreferences.OnSharedPreferenceChangeListener {
91 private static final Settings sInstance = new Settings();
93 public static Settings getInstance() {
101 private Settings() {
153 // Accessed from the settings interface, hence public
156 return prefs.getBoolean(Settings.PREF_SOUND_ON,
176 return prefs.getBoolean(Settings.PREF_BLOCK_POTENTIALLY_OFFENSIVE,
187 && prefs.getBoolean(Settings.PREF_GESTURE_INPUT, true);
233 prefs.edit().putString(Settings.PREF_CUSTOM_INPUT_STYLES, prefSubtypes).apply()
    [all...]
  /build/target/product/
large_emu_hw.mk 38 Settings \
  /cts/tests/tests/media/src/android/media/cts/
RingtoneTest.java 25 import android.provider.Settings;
43 mRingtone = RingtoneManager.getRingtone(mContext, Settings.System.DEFAULT_RINGTONE_URI);
44 // backup ringer settings
61 // restore original settings
91 mRingtone = RingtoneManager.getRingtone(mContext, Settings.System.DEFAULT_RINGTONE_URI);
99 mRingtone = RingtoneManager.getRingtone(mContext, Settings.System.DEFAULT_RINGTONE_URI);
  /external/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/
Settings.java 18 final class Settings {
25 /** Peer request to clear durable settings. */
49 /** Total number of settings. */
66 return; // Discard unknown settings.
99 if (isPersisted(id)) result |= Settings.PERSISTED;
100 if (persistValue(id)) result |= Settings.PERSIST_VALUE;
104 /** Returns the number of settings that have values assigned. */
168 void merge(Settings other) {
  /frameworks/base/services/java/com/android/server/
CertBlacklister.java 24 import android.provider.Settings;
73 return Settings.Secure.getString(mContentResolver, mKey);
130 Settings.Secure.getUriFor(PUBKEY_BLACKLIST_KEY),
137 Settings.Secure.getUriFor(SERIAL_BLACKLIST_KEY),
  /packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppLauncherActivity.java 52 import android.provider.Settings;
209 /* Returns true if Bluetooth is allowed given current airplane mode settings. */
214 final boolean isAirplaneModeOn = Settings.System.getInt(resolver,
215 Settings.System.AIRPLANE_MODE_ON, 0) == 1;
221 final String airplaneModeRadios = Settings.System.getString(resolver,
222 Settings.System.AIRPLANE_MODE_RADIOS);
224 airplaneModeRadios.contains(Settings.System.RADIO_BLUETOOTH);
230 final String airplaneModeToggleableRadios = Settings.System.getString(resolver,
231 Settings.System.AIRPLANE_MODE_TOGGLEABLE_RADIOS);
233 airplaneModeToggleableRadios.contains(Settings.System.RADIO_BLUETOOTH)
    [all...]
  /packages/apps/Phone/src/com/android/phone/
Use2GOnlyCheckBoxPreference.java 65 android.provider.Settings.Global.putInt(mPhone.getContext().getContentResolver(),
66 android.provider.Settings.Global.PREFERRED_NETWORK_MODE, networkType);
100 android.provider.Settings.Global.putInt(mPhone.getContext().getContentResolver(),
101 android.provider.Settings.Global.PREFERRED_NETWORK_MODE, type);
MobileNetworkSettings.java 47 * "Mobile network settings" screen. This preference screen lets you
54 * Settings app. It's not part of the "Call settings" hierarchy that's
75 private static final String UP_ACTIVITY_PACKAGE = "com.android.settings";
77 "com.android.settings.Settings$WirelessSettingsActivity";
142 //displays the value taken from the Settings.System
143 int settingsNetworkMode = android.provider.Settings.Global.getInt(mPhone.getContext().
144 getContentResolver(), android.provider.Settings.Global.PREFERRED_NETWORK_MODE,
175 String tmpl = android.provider.Settings.Global.getString(getContentResolver()
    [all...]
  /frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
SettingsBackupAgent.java 17 package com.android.providers.settings;
33 import android.provider.Settings;
59 * Performs backup and restore of the System and Secure settings.
60 * List of settings that are backed up are stored in the Settings.java file
108 Settings.NameValueTable._ID,
109 Settings.NameValueTable.NAME,
110 Settings.NameValueTable.VALUE
335 final int scanAlways = Settings.Global.getInt(cr,
336 Settings.Global.WIFI_SCAN_ALWAYS_AVAILABLE, 0)
    [all...]
SettingsProvider.java 17 package com.android.providers.settings;
54 import android.provider.Settings;
73 // Caches for each user's settings, access-ordered for acting as LRU.
89 // Each defined user has their own settings
92 // Over this size we don't reject loading or saving settings but
107 * Settings which need to be treated as global/shared in multi-user environments.
117 // These must match Settings.Secure.MOVED_TO_GLOBAL
119 Settings.Secure.getMovedKeys(sSecureGlobalKeys);
122 // These must match Settings.System.MOVED_TO_GLOBAL
124 Settings.System.getNonLegacyMovedKeys(sSystemGlobalKeys)
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/app/
ActionBarSettingsActionProviderActivity.java 22 import android.provider.Settings;
36 * ActionProvider for launching the system settings and adds a menu item with that
66 /** An intent for launching the system settings. */
67 private static final Intent sSettingsIntent = new Intent(Settings.ACTION_SETTINGS);
91 // Attach a click listener for launching the system settings.

Completed in 2245 milliseconds

1 2 34 5 6 7 8 91011>>