/packages/apps/Settings/src/com/android/settings/ |
SubSettings.java | 17 package com.android.settings; 20 * Stub class for showing sub-settings; we can't use the main Settings class 23 public class SubSettings extends Settings {
|
ApplicationSettings.java | 17 package com.android.settings; 26 import android.provider.Settings; 63 boolean userSetInstLocation = (Settings.System.getInt(getContentResolver(), 64 Settings.Secure.SET_INSTALL_LOCATION, 0) != 0); 81 Settings.System.putInt(getContentResolver(), 82 Settings.Secure.DEFAULT_INSTALL_LOCATION, APP_INSTALL_DEVICE); 84 Settings.System.putInt(getContentResolver(), 85 Settings.Secure.DEFAULT_INSTALL_LOCATION, APP_INSTALL_SDCARD); 87 Settings.System.putInt(getContentResolver(), 88 Settings.Secure.DEFAULT_INSTALL_LOCATION, APP_INSTALL_AUTO) [all...] |
OwnerInfoSettings.java | 17 package com.android.settings; 22 import android.provider.Settings; 46 String info = Settings.Secure.getString(res, Settings.Secure.LOCK_SCREEN_OWNER_INFO); 47 int enabled = Settings.Secure.getInt(res, 48 Settings.Secure.LOCK_SCREEN_OWNER_INFO_ENABLED, 1); 56 Settings.Secure.putInt(res, Settings.Secure.LOCK_SCREEN_OWNER_INFO_ENABLED, 72 Settings.Secure.putString(res, Settings.Secure.LOCK_SCREEN_OWNER_INFO, info) [all...] |
LocationSettings.java | 17 package com.android.settings; 29 import android.provider.Settings; 35 * Gesture lock pattern settings. 40 // Location Settings 51 // These provide support for receiving notification when Location Manager settings change. 52 // This is necessary because the Network Location Provider can change settings 61 // listen for Location Manager settings changes 62 Cursor settingsCursor = getContentResolver().query(Settings.Secure.CONTENT_URI, null, 63 "(" + Settings.System.NAME + "=?)", 64 new String[]{Settings.Secure.LOCATION_PROVIDERS_ALLOWED} [all...] |
/frameworks/base/core/tests/coretests/src/android/provider/ |
SettingsProviderTest.java | 27 import android.provider.Settings; 39 Settings.Secure.putString(r, "test_service", "Value"); 40 assertEquals("Value", Settings.Secure.getString(r, "test_service")); 43 Settings.Secure.putString(r, "test_service", "New"); 44 assertEquals("New", Settings.Secure.getString(r, "test_service")); 47 assertEquals(1, r.delete(Settings.Secure.getUriFor("test_service"), null, null)); 48 assertEquals(null, Settings.Secure.getString(r, "test_service")); 51 Settings.System.putString(r, "test_setting", "Value"); 52 assertEquals("Value", Settings.System.getString(r, "test_setting")); 54 Settings.System.putString(r, "test_setting", "New") [all...] |
/external/webkit/Source/WebKit/android/WebCoreSupport/ |
CachedFramePlatformDataAndroid.h | 32 class Settings; 39 CachedFramePlatformDataAndroid(WebCore::Settings* settings); 42 void restoreMetadata(WebCore::Settings* settings);
|
/external/webkit/Source/WebCore/page/ |
Settings.cpp | 27 #include "Settings.h" 51 frame->document()->cachedResourceLoader()->setAutoLoadImages(page->settings()->loadsImagesAutomatically()); 55 bool Settings::gShouldPaintNativeControls = true; 59 bool Settings::gShouldUseHighResolutionTimers = true; 83 Settings::Settings(Page* page) 205 void Settings::setStandardFontFamily(const AtomicString& standardFontFamily) 214 void Settings::setFixedFontFamily(const AtomicString& fixedFontFamily) 223 void Settings::setSerifFontFamily(const AtomicString& serifFontFamily) 232 void Settings::setSansSerifFontFamily(const AtomicString& sansSerifFontFamily [all...] |
/external/webkit/Source/WebCore/inspector/ |
InspectorFrontendClientLocal.h | 48 class Settings { 50 Settings() { } 51 virtual ~Settings() { } 56 InspectorFrontendClientLocal(InspectorController*, Page*, PassOwnPtr<Settings>); 88 OwnPtr<InspectorFrontendClientLocal::Settings> m_settings;
|
/packages/apps/Phone/src/com/android/phone/sip/ |
SipSharedPreferences.java | 24 import android.provider.Settings; 25 import android.provider.Settings.SettingNotFoundException; 82 Settings.System.putString(mContext.getContentResolver(), 83 Settings.System.SIP_CALL_OPTIONS, option); 87 String option = Settings.System.getString(mContext.getContentResolver(), 88 Settings.System.SIP_CALL_OPTIONS); 94 Settings.System.putInt(mContext.getContentResolver(), 95 Settings.System.SIP_RECEIVE_CALLS, (enabled ? 1 : 0)); 100 return (Settings.System.getInt(mContext.getContentResolver(), 101 Settings.System.SIP_RECEIVE_CALLS) != 0) [all...] |
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
DatabaseHelper.java | 17 package com.android.providers.settings; 34 import android.provider.Settings; 35 import android.provider.Settings.Secure; 60 private static final String DATABASE_NAME = "settings.db"; 65 // settings. 139 // Load inital settings values 145 Log.w(TAG, "Upgrading settings database from version " + oldVersion + " to " 227 // This introduces the new secure settings table. 240 Settings.Secure.ADB_ENABLED, 241 Settings.Secure.ANDROID_ID [all...] |
/development/apps/SdkSetup/src/com/android/sdksetup/ |
DefaultActivity.java | 28 import android.provider.Settings; 41 Settings.Secure.putInt(getContentResolver(), Settings.Secure.DEVICE_PROVISIONED, 1); 44 // Not needed since this SDK will contain the Settings app. 45 Settings.Secure.putString(getContentResolver(), Settings.Secure.LOCATION_PROVIDERS_ALLOWED, LocationManager.GPS_PROVIDER); 48 Settings.Secure.putInt(getContentResolver(), Settings.Secure.INSTALL_NON_MARKET_APPS, 1);
|
/cts/tests/tests/provider/src/android/provider/cts/ |
Contacts_SettingsTest.java | 23 import android.provider.Contacts.Settings; 33 @TestTargetClass(android.provider.Contacts.Settings.class) 41 @ToBeFixed(explanation = "The URL: content://contacts/settings does not support" + 51 // Cursor cursor = mProvider.query(Settings.CONTENT_URI, null, null, null, null); 56 // value.put(Settings._ID, cursor.getInt(0)); 57 // value.put(Settings._SYNC_ACCOUNT, cursor.getString(1)); 58 // value.put(Settings.KEY, cursor.getString(2)); 59 // value.put(Settings.VALUE, cursor.getString(3)); 70 // NOTE: because we cannot delete the URL: content://contacts/settings, 73 // mProvider.delete(Settings.CONTENT_URI, null, null) [all...] |
Settings_SettingNotFoundExceptionTest.java | 23 import android.provider.Settings.SettingNotFoundException; 26 @TestTargetClass(android.provider.Settings.SettingNotFoundException.class) 30 method = "Settings.SettingNotFoundException",
|
SettingsTest.java | 28 import android.provider.Settings; 32 @TestTargetClass(android.provider.Settings.class) 36 Settings.System._ID, Settings.System.NAME, Settings.System.VALUE 50 IContentProvider provider = cr.acquireProvider(Settings.System.CONTENT_URI); 56 value.put(Settings.System.NAME, insertName); 57 value.put(Settings.System.VALUE, insertValue); 59 provider.insert(Settings.System.CONTENT_URI, value); 60 cursor = provider.query(Settings.System.CONTENT_URI, SYSTEM_PROJECTION [all...] |
/frameworks/base/core/tests/coretests/src/android/content/ |
ContentQueryMapTest.java | 25 import android.provider.Settings; 57 Settings.System.putString(r, "test", "Value"); 59 Settings.System.CONTENT_URI, 61 Settings.System.NAME, 62 Settings.System.VALUE, 66 cursor, Settings.System.NAME, true, null); 72 Settings.System.putString(r, "test", "New Value"); 74 String value = v.getAsString(Settings.System.VALUE); 82 String value = v.getAsString(Settings.System.VALUE);
|
/external/webkit/Source/WebKit/wx/ |
WebSettings.h | 40 class Settings; 57 call its wxWebView::GetWebSettings() method to get and change that WebView's settings. 63 wxWebSettings(WebCore::Settings* settings) : 65 m_settings(settings) 154 WebCore::Settings* m_settings;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
BrightnessController.java | 25 import android.provider.Settings; 26 import android.provider.Settings.SettingNotFoundException; 54 automatic = Settings.System.getInt(mContext.getContentResolver(), 55 Settings.System.SCREEN_BRIGHTNESS_MODE); 67 value = Settings.System.getInt(mContext.getContentResolver(), 68 Settings.System.SCREEN_BRIGHTNESS); 80 setMode(automatic ? Settings.System.SCREEN_BRIGHTNESS_MODE_AUTOMATIC 81 : Settings.System.SCREEN_BRIGHTNESS_MODE_MANUAL); 88 Settings.System.putInt(mContext.getContentResolver(), 89 Settings.System.SCREEN_BRIGHTNESS, val) [all...] |
/packages/apps/Provision/src/com/android/provision/ |
DefaultActivity.java | 23 import android.provider.Settings; 35 Settings.Secure.putInt(getContentResolver(), Settings.Secure.DEVICE_PROVISIONED, 1);
|
/cts/tests/tests/permission2/src/android/permission2/cts/ |
NoWriteSecureSettingsPermissionTest.java | 22 * Verify secure settings cannot be written to without required permissions. 27 * Verify that write to secure settings requires permissions. 33 assertWritingContentUriRequiresPermission(android.provider.Settings.Secure.CONTENT_URI,
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/deprecated/voice/ |
SettingsUtil.java | 20 import android.provider.Settings; 23 * Utility for retrieving settings from Settings.Secure. 83 String result = Settings.Secure.getString(cr, key); 96 return Settings.Secure.getInt(cr, key, defaultValue); 108 return Settings.Secure.getFloat(cr, key, defaultValue);
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
InputMethodDialogReceiver.java | 16 package com.android.settings.inputmethod; 21 import android.provider.Settings; 27 if (Settings.ACTION_SHOW_INPUT_METHOD_PICKER.equals(intent.getAction())) {
|
/frameworks/base/tools/localize/ |
localize.h | 18 struct Settings 27 int read_settings(const string& filename, map<string,Settings>* result, const string& rootDir); 30 int validate_config(const string& settingsFile, const map<string,Settings>& settings, 32 int validate_configs(const string& settingsFile, const map<string,Settings>& settings, 35 const map<string,Settings>& settings, const string& rootDir); 37 const map<string,Settings>& settings, const string& rootDir) [all...] |
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
SettingsActivity.java | 28 import com.android.inputmethod.pinyin.Settings; 48 addPreferencesFromResource(R.xml.settings); 61 Settings.getInstance(PreferenceManager 77 Settings.releaseInstance(); 84 Settings.setKeySound(mKeySoundPref.isChecked()); 85 Settings.setVibrate(mVibratePref.isChecked()); 86 Settings.setPrediction(mPredictionPref.isChecked()); 88 Settings.writeBack(); 96 mKeySoundPref.setChecked(Settings.getKeySound()); 97 mVibratePref.setChecked(Settings.getVibrate()) [all...] |
Settings.java | 23 * Class used to maintain settings. 25 public class Settings { 34 private static Settings mInstance = null; 40 protected Settings(SharedPreferences pref) { 45 public static Settings getInstance(SharedPreferences pref) { 47 mInstance = new Settings(pref);
|
/frameworks/base/core/tests/coretests/src/android/os/ |
BrightnessLimit.java | 25 import android.provider.Settings; 57 Settings.System.putInt(getContentResolver(), Settings.System.SCREEN_BRIGHTNESS, 0);
|