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

1 23 4 5 6 7 8 91011>>

  /packages/apps/DeskClock/src/com/android/deskclock/
AlarmPreference.java 25 import android.provider.Settings;
46 Settings.System.putString(getContext().getContentResolver(),
47 Settings.System.ALARM_ALERT,
75 Settings.System.DEFAULT_ALARM_ALERT_URI);
SettingsActivity.java 30 import android.provider.Settings;
33 * Settings for the Alarm Clock.
55 addPreferencesFromResource(R.xml.settings);
78 int ringerModeStreamTypes = Settings.System.getInt(
80 Settings.System.MODE_RINGER_STREAMS_AFFECTED, 0);
88 Settings.System.putInt(getContentResolver(),
89 Settings.System.MODE_RINGER_STREAMS_AFFECTED,
126 Settings.System.getInt(getContentResolver(),
127 Settings.System.MODE_RINGER_STREAMS_AFFECTED, 0);
  /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
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
SettingsActivity.java 23 private static final String DEFAULT_FRAGMENT = Settings.class.getName();
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/
NfcDialogs.java 25 import android.provider.Settings;
38 Intent intent = new Intent(Settings.ACTION_NFC_SETTINGS);
53 Intent intent = new Intent(Settings.ACTION_NFCSHARING_SETTINGS);
  /external/webkit/Source/WebCore/inspector/front-end/
Settings.js 55 WebInspector.Settings = function()
79 WebInspector.Settings.prototype = {
108 WebInspector.Settings.prototype.__proto__ = WebInspector.Object.prototype;
  /external/webkit/Source/WebKit/chromium/src/
WebSettingsImpl.h 37 class Settings;
44 explicit WebSettingsImpl(WebCore::Settings*);
117 WebCore::Settings* m_settings;
  /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/services/java/com/android/server/
RecognitionManagerService.java 28 import android.provider.Settings;
119 String curRecognizer = Settings.Secure.getString(
121 Settings.Secure.VOICE_RECOGNITION_SERVICE);
129 Settings.Secure.putString(mContext.getContentResolver(),
130 Settings.Secure.VOICE_RECOGNITION_SERVICE,
SamplingProfilerService.java 28 import android.provider.Settings;
93 Settings.Secure.getUriFor(Settings.Secure.SAMPLING_PROFILER_MS),
114 Integer samplingProfilerMs = Settings.Secure.getInt(
115 mContentResolver, Settings.Secure.SAMPLING_PROFILER_MS, 0);
DockObserver.java 32 import android.provider.Settings;
140 if (Settings.Secure.getInt(cr,
141 Settings.Secure.DEVICE_PROVISIONED, 0) == 0) {
158 if (Settings.System.getInt(cr,
159 Settings.System.DOCK_SOUNDS_ENABLED, 1) == 1)
166 whichSound = Settings.System.DESK_UNDOCK_SOUND;
168 whichSound = Settings.System.CAR_UNDOCK_SOUND;
174 whichSound = Settings.System.DESK_DOCK_SOUND;
176 whichSound = Settings.System.CAR_DOCK_SOUND;
181 final String soundPath = Settings.System.getString(cr, whichSound)
    [all...]
  /frameworks/base/telephony/java/com/android/internal/telephony/
SmsUsageMonitor.java 25 import android.provider.Settings;
76 mMaxAllowed = Settings.Secure.getInt(resolver,
77 Settings.Secure.SMS_OUTGOING_CHECK_MAX_COUNT,
80 mCheckPeriod = Settings.Secure.getInt(resolver,
81 Settings.Secure.SMS_OUTGOING_CHECK_INTERVAL_MS,
  /packages/apps/Settings/src/com/android/settings/inputmethod/
InputMethodAndSubtypeUtil.java 17 package com.android.settings.inputmethod;
19 import com.android.settings.SettingsPreferenceFragment;
29 import android.provider.Settings;
30 import android.provider.Settings.SettingNotFoundException;
62 // Inputmethod and subtypes are saved in the settings as follows:
97 return Settings.Secure.getInt(resolver,
98 Settings.Secure.SELECTED_INPUT_METHOD_SUBTYPE);
109 Settings.Secure.putInt(resolver, Settings.Secure.SELECTED_INPUT_METHOD_SUBTYPE, hashCode);
115 final String enabledInputMethodsStr = Settings.Secure.getString
    [all...]
  /packages/apps/Settings/src/com/android/settings/
DevelopmentSettings.java 17 package com.android.settings;
55 import android.provider.Settings;
308 mLastEnabledState = Settings.Secure.getInt(cr,
309 Settings.Secure.DEVELOPMENT_SETTINGS_ENABLED, 0) != 0;
315 // settings that are enabled. This is an invalid state. Switch
316 // to debug settings being enabled, so the user knows there is
318 Settings.Secure.putInt(getActivity().getContentResolver(),
319 Settings.Secure.DEVELOPMENT_SETTINGS_ENABLED, 1);
334 updateCheckBox(mEnableAdb, Settings.Secure.getInt(cr,
335 Settings.Secure.ADB_ENABLED, 0) != 0)
    [all...]
DreamSettings.java 17 package com.android.settings;
19 import static android.provider.Settings.Secure.SCREENSAVER_ENABLED;
20 import static android.provider.Settings.Secure.SCREENSAVER_ACTIVATE_ON_DOCK;
39 import android.provider.Settings;
91 return 0 != Settings.Secure.getInt(
96 Settings.Secure.putInt(
135 final boolean currentActivateOnDock = 0 != Settings.Secure.getInt(getContentResolver(),
153 Settings.Secure.putInt(getContentResolver(),
Settings.java 17 package com.android.settings;
20 import com.android.settings.accounts.AccountSyncSettings;
21 import com.android.settings.accounts.AuthenticatorHelper;
22 import com.android.settings.accounts.ManageAccountsSettings;
23 import com.android.settings.applications.ManageApplications;
24 import com.android.settings.bluetooth.BluetoothEnabler;
25 import com.android.settings.deviceinfo.Memory;
26 import com.android.settings.fuelgauge.PowerUsageSummary;
27 import com.android.settings.wifi.WifiEnabler;
69 * Top-level settings activity to handle single pane and double pane UI layout
    [all...]
SecuritySettings.java 17 package com.android.settings;
20 import static android.provider.Settings.System.SCREEN_OFF_TIMEOUT;
37 import android.provider.Settings;
48 * Gesture lock pattern settings.
53 // Lock Settings
67 // Misc Settings
201 // Append the rest of the settings
232 return Settings.Secure.getInt(getContentResolver(),
233 Settings.Secure.INSTALL_NON_MARKET_APPS, 0) > 0;
238 Settings.Secure.putInt(getContentResolver(), Settings.Secure.INSTALL_NON_MARKET_APPS
    [all...]
  /cts/tests/tests/media/src/android/media/cts/
RingtoneManagerTest.java 29 import android.provider.Settings;
57 // backup ringer settings
67 // restore original ringer settings
92 assertNotNull(RingtoneManager.getRingtone(mContext, Settings.System.DEFAULT_RINGTONE_URI));
102 assertEquals(Settings.System.DEFAULT_RINGTONE_URI,
104 assertEquals(Settings.System.DEFAULT_NOTIFICATION_URI,
107 RingtoneManager.getDefaultType(Settings.System.DEFAULT_RINGTONE_URI));
109 RingtoneManager.getDefaultType(Settings.System.DEFAULT_NOTIFICATION_URI));
110 assertTrue(RingtoneManager.isDefault(Settings.System.DEFAULT_RINGTONE_URI));
  /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().getFilesDir()); local
142 assertEquals(true, settings.readLPw(null));
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().getFilesDir()) local
174 Settings settings = new Settings(getContext().getFilesDir()); local
    [all...]
  /packages/apps/Settings/src/com/android/settings/widget/
SettingsAppWidgetProvider.java 17 package com.android.settings.widget;
39 import android.provider.Settings;
42 import com.android.settings.R;
43 import com.android.settings.bluetooth.LocalBluetoothAdapter;
44 import com.android.settings.bluetooth.LocalBluetoothManager;
47 * Provides control of power-related settings from a widget.
53 new ComponentName("com.android.settings",
54 "com.android.settings.widget.SettingsAppWidgetProvider");
359 // settings write off the UI thread, as it can take a
439 // settings write off the UI thread, as it can take
    [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;
37 import android.provider.Settings;
101 boolean isAirplaneMode = Settings.System.getInt(mContext.getContentResolver(),
102 Settings.System.AIRPLANE_MODE_ON, 0) != 0;
120 Settings.Secure.putInt(cr, Settings.Secure.WIFI_SAVED_STATE, 1);
136 wifiSavedState = Settings.Secure.getInt(cr, Settings.Secure.WIFI_SAVED_STATE)
    [all...]
  /frameworks/base/services/tests/servicestests/src/com/android/server/
ThrottleServiceTest.java 41 import android.provider.Settings;
241 * Persist the given {@link ThrottleService} policy into {@link Settings}.
245 Settings.Secure.putLong(resolver, Settings.Secure.THROTTLE_THRESHOLD_BYTES, thresholdBytes);
246 Settings.Secure.putInt(resolver, Settings.Secure.THROTTLE_VALUE_KBITSPS, valueKbitps);
247 Settings.Secure.putInt(resolver, Settings.Secure.THROTTLE_RESET_DAY, resetDay);
251 * Clear any {@link ThrottleService} policy from {@link Settings}.
255 Settings.Secure.putString(resolver, Settings.Secure.THROTTLE_THRESHOLD_BYTES, null)
    [all...]
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
GroupsTest.java 34 import android.provider.ContactsContract.Settings;
315 values.put(Settings.ACCOUNT_NAME, sTestAccount.name);
316 values.put(Settings.ACCOUNT_TYPE, sTestAccount.type);
317 values.put(Settings.UNGROUPED_VISIBLE, 0);
318 mResolver.insert(Settings.CONTENT_URI, values);
323 values.put(Settings.UNGROUPED_VISIBLE, 1);
324 mResolver.update(Settings.CONTENT_URI, values, Settings.ACCOUNT_NAME + "=? AND "
325 + Settings.ACCOUNT_TYPE + "=?", new String[] {
371 values.put(Settings.ACCOUNT_NAME, sTestAccount.name)
    [all...]

Completed in 2226 milliseconds

1 23 4 5 6 7 8 91011>>