/development/samples/Support7Demos/src/com/example/android/supportv7/app/ |
ActionBarSettingsActionProviderActivity.java | 21 import android.provider.Settings; 35 * ActionProvider for launching the system settings and adds a menu item with that 57 /** An intent for launching the system settings. */ 58 private static final Intent sSettingsIntent = new Intent(Settings.ACTION_SETTINGS); 75 // Attach a click listener for launching the system settings.
|
/external/webkit/Source/WebKit/android/content/ |
content_detector.h | 48 class Settings; 90 WebCore::Settings* GetSettings(const WebKit::WebHitTestInfo& hit_test);
|
/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/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/ |
ContactsMockContext.java | 26 import android.provider.Settings; 50 mContentResolver.addProvider(Settings.AUTHORITY, mSettingsProvider);
|
/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/services/java/com/android/server/ |
RecognitionManagerService.java | 33 import android.provider.Settings; 136 String curRecognizer = Settings.Secure.getStringForUser( 138 Settings.Secure.VOICE_RECOGNITION_SERVICE, userHandle); 148 Settings.Secure.putStringForUser(mContext.getContentResolver(), 149 Settings.Secure.VOICE_RECOGNITION_SERVICE,
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
PhoneFactory.java | 22 import android.provider.Settings; 107 int networkMode = Settings.Global.getInt(context.getContentResolver(), 108 Settings.Global.PREFERRED_NETWORK_MODE, preferredNetworkMode); 128 //Get cdmaSubscription mode from Settings.System 129 cdmaSubscription = Settings.Global.getInt(context.getContentResolver(), 130 Settings.Global.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; 638 final String uriString = Settings.System.getString(context.getContentResolver(), setting); 655 Settings.System.putString(context.getContentResolver(), setting, 661 return Settings.System.RINGTONE; 663 return Settings.System.NOTIFICATION_SOUND; 665 return Settings.System.ALARM_ALERT; 693 } else if (defaultRingtoneUri.equals(Settings.System.DEFAULT_RINGTONE_URI)) { 695 } else if (defaultRingtoneUri.equals(Settings.System.DEFAULT_NOTIFICATION_URI)) { 697 } else if (defaultRingtoneUri.equals(Settings.System.DEFAULT_ALARM_ALERT_URI)) [all...] |
/frameworks/base/services/java/com/android/server/wifi/ |
WifiController.java | 39 import android.provider.Settings; 66 * See {@link Settings.Global#WIFI_IDLE_MS}. This is the default value if a 67 * Settings.Global value is not present. This timeout value is chosen as 75 * See {@link Settings.Global#WIFI_REENABLE_DELAY_MS}. This is the default value if a 76 * Settings.Global value is not present. This is the minimum time after wifi is disabled 194 mStayAwakeConditions = Settings.Global.getInt(mContext.getContentResolver(), 195 Settings.Global.STAY_ON_WHILE_PLUGGED_IN, 0); 199 mIdleMillis = Settings.Global.getLong(mContext.getContentResolver(), 200 Settings.Global.WIFI_IDLE_MS, DEFAULT_IDLE_MS); 204 mSleepPolicy = Settings.Global.getInt(mContext.getContentResolver() [all...] |
WifiNotificationController.java | 35 import android.provider.Settings; 135 NOTIFICATION_REPEAT_DELAY_MS = Settings.Global.getInt(context.getContentResolver(), 136 Settings.Global.WIFI_NETWORKS_AVAILABLE_REPEAT_DELAY, 900) * 1000l; 274 cr.registerContentObserver(Settings.Global.getUriFor( 275 Settings.Global.WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ON), true, this); 292 return Settings.Global.getInt(mContext.getContentResolver(), 293 Settings.Global.WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ON, 1) == 1;
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
CustomContactListFilterActivity.java | 41 import android.provider.ContactsContract.Settings; 236 * Entry holding any changes to {@link Groups} or {@link Settings} rows, 248 * Build {@link GroupDelta} from the {@link Settings} row for the given 249 * {@link Settings#ACCOUNT_NAME}, {@link Settings#ACCOUNT_TYPE}, and 250 * {@link Settings#DATA_SET}. 254 final Uri.Builder settingsUri = Settings.CONTENT_URI.buildUpon() 255 .appendQueryParameter(Settings.ACCOUNT_NAME, accountName) 256 .appendQueryParameter(Settings.ACCOUNT_TYPE, accountType); 258 settingsUri.appendQueryParameter(Settings.DATA_SET, dataSet) [all...] |
/packages/apps/Settings/src/com/android/settings/ |
VoiceInputOutputSettings.java | 17 package com.android.settings; 34 import android.provider.Settings; 49 * Settings screen for voice input/output. 96 // There were no TTS settings and no recognizer settings, 118 // set up the link to settings for the available recognizer. 129 String currentSetting = Settings.Secure.getString( 130 mFragment.getContentResolver(), Settings.Secure.VOICE_RECOGNITION_SERVICE); 138 // we populated the settings. 157 String currentSetting = Settings.Secure.getString [all...] |
WirelessSettings.java | 17 package com.android.settings; 37 import android.provider.Settings; 43 import com.android.settings.nfc.NfcEnabler; 44 import com.android.settings.NsdEnabler; 178 String toggleable = Settings.Global.getString(context.getContentResolver(), 179 Settings.Global.AIRPLANE_MODE_TOGGLEABLE_RADIOS); 211 String toggleable = Settings.Global.getString(activity.getContentResolver(), 212 Settings.Global.AIRPLANE_MODE_TOGGLEABLE_RADIOS); 222 if (toggleable == null || !toggleable.contains(Settings.Global.RADIO_WIMAX ) 229 if (toggleable == null || !toggleable.contains(Settings.Global.RADIO_WIFI)) [all...] |
/packages/apps/Settings/src/com/android/settings/widget/ |
SettingsAppWidgetProvider.java | 17 package com.android.settings.widget; 39 import android.provider.Settings; 43 import com.android.settings.R; 44 import com.android.settings.bluetooth.LocalBluetoothAdapter; 45 import com.android.settings.bluetooth.LocalBluetoothManager; 48 * Provides control of power-related settings from a widget. 54 new ComponentName("com.android.settings", 55 "com.android.settings.widget.SettingsAppWidgetProvider"); 385 // settings write off the UI thread, as it can take a 467 // settings write off the UI thread, as it can take [all...] |
/frameworks/base/core/java/android/net/ |
CaptivePortalTracker.java | 35 import android.provider.Settings; 102 mServer = Settings.Global.getString(mContext.getContentResolver(), 103 Settings.Global.CAPTIVE_PORTAL_SERVER); 106 mIsCaptivePortalCheckEnabled = Settings.Global.getInt(mContext.getContentResolver(), 107 Settings.Global.CAPTIVE_PORTAL_DETECTION_ENABLED, 1) == 1; 119 mContext.getContentResolver().registerContentObserver(Settings.Global.getUriFor( 120 Settings.Global.DEVICE_PROVISIONED), false, this); 126 mDeviceProvisioned = Settings.Global.getInt(mContext.getContentResolver(), 127 Settings.Global.DEVICE_PROVISIONED, 0) != 0;
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/ |
WifiStressTest.java | 30 import android.provider.Settings; 223 int value = Settings.Global.getInt(mRunner.getContext().getContentResolver(), 224 Settings.Global.WIFI_SLEEP_POLICY, -1); 226 if (value != Settings.Global.WIFI_SLEEP_POLICY_DEFAULT) { 227 Settings.Global.putInt(mRunner.getContext().getContentResolver(), 228 Settings.Global.WIFI_SLEEP_POLICY, Settings.Global.WIFI_SLEEP_POLICY_DEFAULT); 231 Settings.Global.putLong(mRunner.getContext().getContentResolver(), 232 Settings.Global.WIFI_IDLE_MS, WIFI_IDLE_MS);
|
/cts/tests/tests/provider/src/android/provider/cts/ |
Settings_NameValueTableTest.java | 23 import android.provider.Settings; 24 import android.provider.Settings.NameValueTable; 30 Uri uri = Settings.System.CONTENT_URI;
|
/external/webkit/Source/WebCore/inspector/ |
InspectorFrontendClientLocal.cpp | 47 #include "Settings.h" 56 String InspectorFrontendClientLocal::Settings::getProperty(const String&) 61 void InspectorFrontendClientLocal::Settings::setProperty(const String&, const String&) 65 InspectorFrontendClientLocal::InspectorFrontendClientLocal(InspectorController* inspectorController, Page* frontendPage, PassOwnPtr<Settings> settings) 69 , m_settings(settings) 71 m_frontendPage->settings()->setAllowFileAccessFromFileURLs(true);
|
/external/webkit/Source/WebKit/cf/WebCoreSupport/ |
WebInspectorClientCF.cpp | 146 WTF::PassOwnPtr<WebCore::InspectorFrontendClientLocal::Settings> WebInspectorClient::createFrontendSettings() 148 class InspectorFrontendSettingsCF : public WebCore::InspectorFrontendClientLocal::Settings { 163 return adoptPtr<WebCore::InspectorFrontendClientLocal::Settings>(new InspectorFrontendSettingsCF());
|
/frameworks/base/core/java/android/webkit/ |
JniUtil.java | 22 import android.provider.Settings; 176 return Settings.Global.getString(sContext.getContentResolver(), 177 Settings.Global.WEB_AUTOFILL_QUERY_URL);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/ |
InputMethodButton.java | 21 import android.provider.Settings; 38 // These values are defined in Settings application. 149 return Settings.Secure.getInt(getContext().getContentResolver(), 150 Settings.Secure.INPUT_METHOD_SELECTOR_VISIBILITY, ID_IME_BUTTON_VISIBILITY_AUTO);
|