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

1 2 34 5 6 7 8 91011>>

  /packages/apps/Settings/src/com/android/settings/
DreamTesterPreference.java 17 package com.android.settings;
19 import static android.provider.Settings.Secure.DREAM_COMPONENT;
32 import android.provider.Settings;
63 String component = Settings.Secure.getString(resolver, DREAM_COMPONENT);
DreamSettings.java 17 package com.android.settings;
19 import static android.provider.Settings.Secure.DREAM_TIMEOUT;
35 import android.provider.Settings;
58 final long currentSaverTimeout = Settings.Secure.getLong(resolver, DREAM_TIMEOUT,
114 Settings.Secure.putInt(getContentResolver(),
DateTimeSettings.java 17 package com.android.settings;
35 import android.provider.Settings;
36 import android.provider.Settings.SettingNotFoundException;
84 boolean autoTimeEnabled = getAutoState(Settings.System.AUTO_TIME);
85 boolean autoTimeZoneEnabled = getAutoState(Settings.System.AUTO_TIME_ZONE);
116 // Initialize if DATE_FORMAT is not set in the system settings
209 Settings.System.putString(getContentResolver(),
210 Settings.System.DATE_FORMAT, format);
214 Settings.System.putInt(getContentResolver(), Settings.System.AUTO_TIME
    [all...]
WirelessSettings.java 17 package com.android.settings;
32 import android.provider.Settings;
39 import com.android.settings.nfc.NfcEnabler;
40 import com.android.settings.wifi.p2p.WifiP2pEnabler;
88 String toggleable = Settings.System.getString(context.getContentResolver(),
89 Settings.System.AIRPLANE_MODE_TOGGLEABLE_RADIOS);
109 String toggleable = Settings.System.getString(activity.getContentResolver(),
110 Settings.System.AIRPLANE_MODE_TOGGLEABLE_RADIOS);
113 if (toggleable == null || !toggleable.contains(Settings.System.RADIO_WIFI)) {
118 if (toggleable == null || !toggleable.contains(Settings.System.RADIO_BLUETOOTH))
    [all...]
DockSettings.java 17 package com.android.settings;
19 import com.android.settings.bluetooth.DockEventReceiver;
33 import android.provider.Settings;
86 mDockSounds.setChecked(Settings.System.getInt(resolver,
87 Settings.System.DOCK_SOUNDS_ENABLED, 0) != 0);
144 Settings.System.putInt(getContentResolver(), Settings.System.DOCK_SOUNDS_ENABLED,
  /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/deprecated/
LanguageSwitcherProxy.java 22 import com.android.inputmethod.latin.Settings;
82 if (key.equals(Settings.PREF_SELECTED_LANGUAGES)
83 || key.equals(Settings.PREF_INPUT_LANGUAGE)) {
  /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;
Settings_SecureTest.java 26 import android.provider.Settings;
27 import android.provider.Settings.Secure;
28 import android.provider.Settings.SettingNotFoundException;
31 @TestTargetClass(android.provider.Settings.Secure.class)
53 /** Check that the settings that will be used for testing have proper values. */
184 0, Secure.getInt(cr, Settings.Secure.INSTALL_NON_MARKET_APPS));
  /packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppLauncherActivity.java 51 import android.provider.Settings;
168 /* Returns true if Bluetooth is allowed given current airplane mode settings. */
173 final boolean isAirplaneModeOn = Settings.System.getInt(resolver,
174 Settings.System.AIRPLANE_MODE_ON, 0) == 1;
180 final String airplaneModeRadios = Settings.System.getString(resolver,
181 Settings.System.AIRPLANE_MODE_RADIOS);
183 airplaneModeRadios.contains(Settings.System.RADIO_BLUETOOTH);
189 final String airplaneModeToggleableRadios = Settings.System.getString(resolver,
190 Settings.System.AIRPLANE_MODE_TOGGLEABLE_RADIOS);
192 airplaneModeToggleableRadios.contains(Settings.System.RADIO_BLUETOOTH)
    [all...]
  /packages/apps/Phone/src/com/android/phone/
Settings.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
58 * (But be careful in case the Settings app has any hardwired references
61 public class Settings extends PreferenceActivity implements DialogInterface.OnClickListener,
79 private static final String UP_ACTIVITY_PACKAGE = "com.android.settings";
81 "com.android.settings.Settings$WirelessSettingsActivity";
148 //displays the value taken from the Settings.System
149 int settingsNetworkMode = android.provider.Settings.Secure.getInt(mPhone.getContext()
    [all...]
  /frameworks/base/services/java/com/android/server/
Watchdog.java 35 import android.provider.Settings;
114 ? mReqRebootInterval : Settings.Secure.getInt(
115 mResolver, Settings.Secure.REBOOT_INTERVAL,
222 : Settings.Secure.getInt(
223 mResolver, Settings.Secure.REBOOT_INTERVAL,
234 : Settings.Secure.getLong(
235 mResolver, Settings.Secure.REBOOT_START_TIME,
238 : Settings.Secure.getLong(
239 mResolver, Settings.Secure.REBOOT_WINDOW,
242 : Settings.Secure.getLong
    [all...]
DeviceStorageMonitorService.java 36 import android.provider.Settings;
43 * than a tunable threshold value (a secure settings parameter;
53 * settings parameter with a default value of 12 hours. When the free
55 * settings parameter with a default value of 2MB), the free memory is
142 // Read the log interval from secure settings
143 long freeMemLogInterval = Settings.Secure.getLong(mContentResolver,
144 Settings.Secure.SYS_FREE_STORAGE_LOG_INTERVAL,
170 // Read the reporting threshold from secure settings
171 long threshold = Settings.Secure.getLong(mContentResolver,
172 Settings.Secure.DISK_FREE_CHANGE_REPORTING_THRESHOLD
    [all...]
ThrottleService.java 47 import android.provider.Settings;
212 resolver.registerContentObserver(Settings.Secure.getUriFor(
213 Settings.Secure.THROTTLE_POLLING_SEC), false, this);
214 resolver.registerContentObserver(Settings.Secure.getUriFor(
215 Settings.Secure.THROTTLE_THRESHOLD_BYTES), false, this);
216 resolver.registerContentObserver(Settings.Secure.getUriFor(
217 Settings.Secure.THROTTLE_VALUE_KBITSPS), false, this);
218 resolver.registerContentObserver(Settings.Secure.getUriFor(
219 Settings.Secure.THROTTLE_RESET_DAY), false, this);
220 resolver.registerContentObserver(Settings.Secure.getUriFor
    [all...]
WifiService.java 59 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
421 NOTIFICATION_REPEAT_DELAY_MS = Settings.Secure.getInt(context.getContentResolver(),
422 Settings.Secure.WIFI_NETWORKS_AVAILABLE_REPEAT_DELAY, 900) * 1000l;
454 wifiSavedState = Settings.Secure.getInt(cr, Settings.Secure.WIFI_SAVED_STATE);
456 Settings.Secure.putInt(cr, Settings.Secure.WIFI_SAVED_STATE, 0);
457 } catch (Settings.SettingNotFoundException e)
    [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;
  /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.
  /external/webkit/Source/WebKit/mac/WebCoreSupport/
WebFrameNetworkingContext.mm 24 #import <WebCore/Settings.h>
30 return frame() && frame()->settings() && frame()->settings()->needsSiteSpecificQuirks();
35 return frame() && frame()->settings() && frame()->settings()->localFileContentSniffingEnabled();
  /external/webkit/Source/WebKit2/WebProcess/WebCoreSupport/mac/
WebFrameNetworkingContext.mm 25 #import <WebCore/Settings.h>
33 return frame() && frame()->settings() && frame()->settings()->needsSiteSpecificQuirks();
38 return frame() && frame()->settings() && frame()->settings()->localFileContentSniffingEnabled();
  /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/Settings/
Android.mk 11 LOCAL_PACKAGE_NAME := Settings
  /frameworks/base/core/java/android/speech/tts/
TtsEngines.java 31 import static android.provider.Settings.Secure.getString;
33 import android.provider.Settings;
76 Settings.Secure.TTS_DEFAULT_SYNTH);
156 * @return an intent that can launch the settings activity for a given tts engine.
170 final String settings = settingsActivityFromServiceInfo(service, pm); local
171 if (settings != null) {
173 i.setClassName(engine, settings);
213 final String settings = array.getString( local
217 return settings;
285 * value from {@link Settings.Secure#TTS_DEFAULT_LOCALE}, failing which th
    [all...]
  /frameworks/base/telephony/java/com/android/internal/telephony/
PhoneFactory.java 22 import android.provider.Settings;
105 int networkMode = Settings.Secure.getInt(context.getContentResolver(),
106 Settings.Secure.PREFERRED_NETWORK_MODE, preferredNetworkMode);
126 //Get cdmaSubscription mode from Settings.System
127 cdmaSubscription = Settings.Secure.getInt(context.getContentResolver(),
128 Settings.Secure.PREFERRED_CDMA_SUBSCRIPTION,
  /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);
158 String value = Settings.Secure.getString(mContext.getContentResolver(),
159 Settings.Secure.ALLOWED_GEOLOCATION_ORIGINS);
  /frameworks/base/media/java/android/media/
RingtoneManager.java 32 import android.provider.Settings;
33 import android.provider.Settings.System;
639 final String uriString = Settings.System.getString(context.getContentResolver(), setting);
656 Settings.System.putString(context.getContentResolver(), setting,
662 return Settings.System.RINGTONE;
664 return Settings.System.NOTIFICATION_SOUND;
666 return Settings.System.ALARM_ALERT;
694 } else if (defaultRingtoneUri.equals(Settings.System.DEFAULT_RINGTONE_URI)) {
696 } else if (defaultRingtoneUri.equals(Settings.System.DEFAULT_NOTIFICATION_URI)) {
698 } else if (defaultRingtoneUri.equals(Settings.System.DEFAULT_ALARM_ALERT_URI))
    [all...]

Completed in 1331 milliseconds

1 2 34 5 6 7 8 91011>>