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

12 3 4 5 6 7 8 91011>>

  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/voice/
SettingsUtil.java 22 import android.provider.Settings;
26 * Utility for retrieving settings from Settings.Secure.
86 String result = Settings.Secure.getString(cr, key);
99 return Settings.Secure.getInt(cr, key, defaultValue);
111 return Settings.Secure.getFloat(cr, key, defaultValue);
  /packages/apps/AlarmClock/src/com/android/alarmclock/
SettingsActivity.java 30 import android.provider.Settings;
33 * Settings for the Alarm Clock.
53 addPreferencesFromResource(R.xml.settings);
76 int ringerModeStreamTypes = Settings.System.getInt(
78 Settings.System.MODE_RINGER_STREAMS_AFFECTED, 0);
86 Settings.System.putInt(getContentResolver(),
87 Settings.System.MODE_RINGER_STREAMS_AFFECTED,
107 Settings.System.getInt(getContentResolver(),
108 Settings.System.MODE_RINGER_STREAMS_AFFECTED, 0);
AlarmPreference.java 24 import android.provider.Settings;
44 Settings.System.putString(getContext().getContentResolver(),
45 Settings.System.ALARM_ALERT,
  /frameworks/base/services/java/com/android/server/
DockObserver.java 32 import android.provider.Settings;
138 if (Settings.Secure.getInt(cr,
139 Settings.Secure.DEVICE_PROVISIONED, 0) == 0) {
156 if (Settings.System.getInt(cr,
157 Settings.System.DOCK_SOUNDS_ENABLED, 1) == 1)
162 whichSound = Settings.System.DESK_UNDOCK_SOUND;
164 whichSound = Settings.System.CAR_UNDOCK_SOUND;
168 whichSound = Settings.System.DESK_DOCK_SOUND;
170 whichSound = Settings.System.CAR_DOCK_SOUND;
175 final String soundPath = Settings.System.getString(cr, whichSound)
    [all...]
RecognitionManagerService.java 28 import android.provider.Settings;
116 String curRecognizer = Settings.Secure.getString(
118 Settings.Secure.VOICE_RECOGNITION_SERVICE);
126 Settings.Secure.putString(mContext.getContentResolver(),
127 Settings.Secure.VOICE_RECOGNITION_SERVICE,
WifiWatchdogService.java 34 import android.provider.Settings;
63 * DNS. There are settings that allow disabling the watchdog, or tweaking the
136 Settings.Secure.getUriFor(Settings.Secure.WIFI_WATCHDOG_ON), false,
153 * @see android.provider.Settings.Secure#WIFI_WATCHDOG_ON
156 return Settings.Secure.getInt(mContentResolver, Settings.Secure.WIFI_WATCHDOG_ON, 1) == 1;
160 * @see android.provider.Settings.Secure#WIFI_WATCHDOG_AP_COUNT
163 return Settings.Secure.getInt(mContentResolver,
164 Settings.Secure.WIFI_WATCHDOG_AP_COUNT, 2)
    [all...]
  /frameworks/base/core/java/android/net/
Proxy.java 22 import android.provider.Settings;
29 * settings.
41 * @param ctx A Context used to get the settings for the proxy host.
49 String host = Settings.Secure.getString(
51 Settings.Secure.HTTP_PROXY);
67 * @param ctx A Context used to get the settings for the proxy port.
73 String host = Settings.Secure.getString(
75 Settings.Secure.HTTP_PROXY);
  /cts/tests/tests/text/src/android/text/format/cts/
DateFormatTest.java 26 import android.provider.Settings;
60 mDefaultFormat = Settings.System.getString(mContext.getContentResolver(),
61 Settings.System.DATE_FORMAT);
67 Settings.System.putString(mContentResolver, Settings.System.TIME_12_24, "12");
72 Settings.System.putString(mContentResolver, Settings.System.DATE_FORMAT, mDefaultFormat);
83 Settings.System.putString(mContentResolver, Settings.System.TIME_12_24, "24");
85 Settings.System.putString(mContentResolver, Settings.System.TIME_12_24, "12")
    [all...]
  /external/webkit/WebKit/android/WebCoreSupport/
CachedFramePlatformDataAndroid.cpp 29 #include "Settings.h"
33 CachedFramePlatformDataAndroid::CachedFramePlatformDataAndroid(WebCore::Settings* settings)
36 m_viewport_width = settings->viewportWidth();
37 m_viewport_height = settings->viewportHeight();
38 m_viewport_initial_scale = settings->viewportInitialScale();
39 m_viewport_minimum_scale = settings->viewportMinimumScale();
40 m_viewport_maximum_scale = settings->viewportMaximumScale();
41 m_viewport_target_densitydpi = settings->viewportTargetDensityDpi();
42 m_viewport_user_scalable = settings->viewportUserScalable()
    [all...]
  /packages/apps/Settings/
Android.mk 8 LOCAL_PACKAGE_NAME := Settings
  /packages/apps/Settings/tests/
Android.mk 15 LOCAL_INSTRUMENTATION_FOR := Settings
  /build/target/product/
generic.mk 40 Settings \
  /frameworks/policies/base/mid/com/android/internal/policy/impl/
ShortcutManager.java 24 import android.provider.Settings;
43 Settings.Bookmarks.SHORTCUT, Settings.Bookmarks.INTENT
61 Settings.Bookmarks.CONTENT_URI, sProjection, null, null, null);
  /frameworks/policies/base/phone/com/android/internal/policy/impl/
ShortcutManager.java 24 import android.provider.Settings;
43 Settings.Bookmarks.SHORTCUT, Settings.Bookmarks.INTENT
61 Settings.Bookmarks.CONTENT_URI, sProjection, null, null, null);
  /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
Settings.java 43 * List of Phone-specific settings screens.
45 public class Settings extends PreferenceActivity implements DialogInterface.OnClickListener,
124 //displays the value taken from the Settings.System
125 int settingsNetworkMode = android.provider.Settings.Secure.getInt(mPhone.getContext().
126 getContentResolver(), android.provider.Settings.Secure.PREFERRED_NETWORK_MODE,
191 //Get the networkMode from Settings.System and displays it
192 int settingsNetworkMode = android.provider.Settings.Secure.getInt(mPhone.getContext().
193 getContentResolver(),android.provider.Settings.Secure.PREFERRED_NETWORK_MODE,
233 // app to change this setting's backend, and re-launch this settings app
265 int settingsNetworkMode = android.provider.Settings.Secure.getInt
    [all...]
  /external/webkit/WebCore/inspector/front-end/
Settings.js 46 WebInspector.settings._load(settingsString);
49 WebInspector.Settings = function()
53 WebInspector.Settings.prototype = {
99 WebInspector.Settings.prototype.__proto__ = WebInspector.Object.prototype;
  /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/telephony/java/com/android/internal/telephony/
PhoneFactory.java 22 import android.provider.Settings;
97 //Get preferredNetworkMode from Settings.System
98 int networkMode = Settings.Secure.getInt(context.getContentResolver(),
99 Settings.Secure.PREFERRED_NETWORK_MODE, preferredNetworkMode);
102 //Get preferredNetworkMode from Settings.System
103 int cdmaSubscription = Settings.Secure.getInt(context.getContentResolver(),
104 Settings.Secure.PREFERRED_CDMA_SUBSCRIPTION, preferredCdmaSubscription);
  /packages/apps/Settings/src/com/android/settings/
AirplaneModeEnabler.java 17 package com.android.settings;
28 import android.provider.Settings;
81 return Settings.System.getInt(context.getContentResolver(),
82 Settings.System.AIRPLANE_MODE_ON, 0) != 0;
92 Settings.System.putInt(mContext.getContentResolver(), Settings.System.AIRPLANE_MODE_ON,
WirelessSettings.java 17 package com.android.settings;
31 import android.provider.Settings;
36 import com.android.settings.bluetooth.BluetoothEnabler;
37 import com.android.settings.wifi.WifiEnabler;
80 String toggleable = Settings.System.getString(context.getContentResolver(),
81 Settings.System.AIRPLANE_MODE_TOGGLEABLE_RADIOS);
100 String toggleable = Settings.System.getString(getContentResolver(),
101 Settings.System.AIRPLANE_MODE_TOGGLEABLE_RADIOS);
104 if (toggleable == null || !toggleable.contains(Settings.System.RADIO_WIFI)) {
111 if (toggleable == null || !toggleable.contains(Settings.System.RADIO_BLUETOOTH))
    [all...]
  /frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
SettingsProvider.java 17 package com.android.providers.settings;
44 import android.provider.Settings;
57 // Cache for settings, access-ordered for acting as LRU.
63 // Over this size we don't reject loading or saving settings but
95 this.where = Settings.NameValueTable.NAME + "=?";
129 String name = values.getAsString(Settings.NameValueTable.NAME);
139 * this table, for tables which have such a property. (The Settings
151 property = Settings.System.SYS_PROP_SETTING_VERSION;
154 property = Settings.Secure.SYS_PROP_SETTING_VERSION;
190 String.format("Permission denial: writing to secure settings requires %1$s"
    [all...]
SettingsBackupAgent.java 17 package com.android.providers.settings;
44 import android.provider.Settings;
49 * Performs backup and restore of the System and Secure settings.
50 * List of settings that are backed up are stored in the Settings.java file
80 Settings.NameValueTable._ID,
81 Settings.NameValueTable.NAME,
82 Settings.NameValueTable.VALUE
131 restoreSettings(data, Settings.System.CONTENT_URI);
134 restoreSettings(data, Settings.Secure.CONTENT_URI)
    [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;
38 import android.provider.Settings;
101 boolean isAirplaneMode = Settings.System.getInt(mContext.getContentResolver(),
102 Settings.System.AIRPLANE_MODE_ON, 0) != 0;
122 Settings.Secure.putInt(cr, Settings.Secure.WIFI_SAVED_STATE, 1);
138 wifiSavedState = Settings.Secure.getInt(cr, Settings.Secure.WIFI_SAVED_STATE)
    [all...]
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
GroupsTest.java 33 import android.provider.ContactsContract.Settings;
320 values.put(Settings.ACCOUNT_NAME, sTestAccount.name);
321 values.put(Settings.ACCOUNT_TYPE, sTestAccount.type);
322 values.put(Settings.UNGROUPED_VISIBLE, 0);
323 mResolver.insert(Settings.CONTENT_URI, values);
328 values.put(Settings.UNGROUPED_VISIBLE, 1);
329 mResolver.update(Settings.CONTENT_URI, values, Settings.ACCOUNT_NAME + "=? AND "
330 + Settings.ACCOUNT_TYPE + "=?", new String[] {
376 values.put(Settings.ACCOUNT_NAME, sTestAccount.name)
    [all...]

Completed in 558 milliseconds

12 3 4 5 6 7 8 91011>>