/frameworks/base/services/java/com/android/server/location/ |
LocationBlacklist.java | 24 import android.provider.Settings; 61 mContext.getContentResolver().registerContentObserver(Settings.Secure.getUriFor( 63 // mContext.getContentResolver().registerContentObserver(Settings.Secure.getUriFor( 129 flatString = Settings.Secure.getStringForUser(mContext.getContentResolver(), key,
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
OrientationManager.java | 24 import android.provider.Settings; 42 // This is true if "Settings -> Display -> Rotation Lock" is checked. We 53 mRotationLockedSetting = Settings.System.getInt( 54 resolver, Settings.System.ACCELEROMETER_ROTATION, 0) != 1;
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
WifiScanModeActivity.java | 17 package com.android.settings.wifi; 19 import com.android.settings.R; 29 import android.provider.Settings; 72 Settings.Global.putInt(getContentResolver(), 73 Settings.Global.WIFI_SCAN_ALWAYS_AVAILABLE, 1);
|
/external/webkit/Source/WebKit2/WebProcess/WebCoreSupport/ |
WebInspectorFrontendClient.cpp | 42 : InspectorFrontendClientLocal(page->corePage()->inspectorController(), inspectorPage->corePage(), new Settings())
|
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/ |
SceneGraph.java | 28 import android.provider.Settings.System;
|
/external/webkit/Source/WebKit/mac/WebCoreSupport/ |
WebInspectorClient.h | 76 WTF::PassOwnPtr<WebCore::InspectorFrontendClientLocal::Settings> createFrontendSettings(); 88 WebInspectorFrontendClient(WebView*, WebInspectorWindowController*, WebCore::InspectorController*, WebCore::Page*, WTF::PassOwnPtr<Settings>);
|
/frameworks/base/core/java/android/widget/ |
DigitalClock.java | 23 import android.provider.Settings; 69 Settings.System.CONTENT_URI, true, mFormatChangeObserver);
|
DateTimeView.java | 29 import android.provider.Settings; 30 import android.provider.Settings.SettingNotFoundException; 196 String format = Settings.System.getString(getContext().getContentResolver(), 197 Settings.System.DATE_FORMAT); 220 Uri uri = Settings.System.getUriFor(Settings.System.DATE_FORMAT);
|
/packages/apps/Settings/src/com/android/settings/ |
DateTimeSettingsSetupWizard.java | 17 package com.android.settings; 32 import android.provider.Settings; 33 import android.provider.Settings.SettingNotFoundException; 65 // Otherwise, we use the standard date time settings fragment. 188 Settings.Global.putInt(getContentResolver(), Settings.Global.AUTO_TIME, 212 Settings.Global.putInt(getContentResolver(), 213 Settings.Global.AUTO_TIME_ZONE, 223 Settings.Global.putInt(getContentResolver(), 224 Settings.Global.AUTO_TIME [all...] |
DisplaySettings.java | 17 package com.android.settings; 19 import static android.provider.Settings.System.SCREEN_OFF_TIMEOUT; 41 import android.provider.Settings; 42 import android.provider.Settings.SettingNotFoundException; 47 import com.android.settings.DreamSettings; 100 // Display settings. However, is still available in Accessibility settings. 112 final long currentTimeout = Settings.System.getLong(resolver, SCREEN_OFF_TIMEOUT, 129 mNotificationPulse.setChecked(Settings.System.getInt(resolver, 130 Settings.System.NOTIFICATION_LIGHT_PULSE) == 1) [all...] |
/frameworks/base/core/java/com/android/internal/inputmethod/ |
InputMethodUtils.java | 25 import android.provider.Settings; 26 import android.provider.Settings.SettingNotFoundException; 42 * This methods are supposed to be used in both the framework and the Settings application. 436 * Utility class for putting and getting settings for InputMethod 437 * TODO: Move all putters and getters of settings to this class. 463 // Inputmethod and subtypes are saved in the settings as follows: 485 // IMMS settings are kept per user, so keep track of current user 537 // At the initial boot, the settings for input methods are not set, 648 Settings.Secure.putStringForUser( 649 mResolver, Settings.Secure.ENABLED_INPUT_METHODS, str, mCurrentUserId) [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
QuickSettingsModel.java | 34 import android.provider.Settings; 35 import android.provider.Settings.SettingNotFoundException; 44 import com.android.systemui.settings.CurrentUserTracker; 45 import com.android.systemui.settings.BrightnessController.BrightnessStateChangeCallback; 148 Settings.System.getUriFor(Settings.System.NEXT_ALARM_FORMATTED), false, this, 166 Settings.Global.getUriFor(Settings.Global.BUGREPORT_IN_POWER_MENU), false, this); 185 Settings.System.getUriFor(Settings.System.SCREEN_BRIGHTNESS_MODE) [all...] |
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
InputMethodAndLanguageSettings.java | 17 package com.android.settings.inputmethod; 19 import com.android.settings.R; 20 import com.android.settings.Settings.KeyboardLayoutPickerActivity; 21 import com.android.settings.Settings.SpellCheckersSettingsActivity; 22 import com.android.settings.SettingsPreferenceFragment; 23 import com.android.settings.Utils; 24 import com.android.settings.VoiceInputOutputSettings; 43 import android.provider.Settings; [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
GyroscopeTestActivity.java | 77 // This activity is reused 6 times with different settings to test each rotation direction 79 Settings settings = getSettings(stageIndex); local 88 mSensorListener = new SensorListener(settings.mSensorEventIndex, 89 settings.mExpectPositiveValue); 92 mGLSurfaceView.setRenderer(new RotationGuideRenderer(settings.mRotateX, settings.mRotateY, 93 settings.mRotateZ)); 97 settings.mStageIndex + 1, settings.mTotalStages)) [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
ContactsTest.java | 42 import android.provider.Contacts.Settings; 595 * Test case for the behavior of the ContactsProvider's settings table 600 Settings._ID, Settings._SYNC_ACCOUNT, Settings._SYNC_ACCOUNT_TYPE, 601 Settings.KEY, Settings.VALUE}; 616 value.put(Settings.KEY, insertKey); 617 value.put(Settings.VALUE, insertValue); 620 mProvider.insert(Settings.CONTENT_URI, value) [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
LockPatternUtils.java | 33 import android.provider.Settings; 52 * Utilities for the lock pattern and its settings. 143 private static final String LOCK_SCREEN_OWNER_INFO = Settings.Secure.LOCK_SCREEN_OWNER_INFO; 145 Settings.Secure.LOCK_SCREEN_OWNER_INFO_ENABLED; 168 * @param contentResolver Used to look up and save settings. 262 Log.e(TAG, "Couldn't remove lock settings for user " + userId); [all...] |
/frameworks/base/services/java/com/android/server/ |
BluetoothManagerService.java | 46 import android.provider.Settings; 129 final String airplaneModeRadios = Settings.Global.getString(resolver, 130 Settings.Global.AIRPLANE_MODE_RADIOS); 131 final String toggleableRadios = Settings.Global.getString(resolver, 132 Settings.Global.AIRPLANE_MODE_TOGGLEABLE_RADIOS); 134 airplaneModeRadios.contains(Settings.Global.RADIO_BLUETOOTH); 230 return Settings.Global.getInt(mContext.getContentResolver(), 231 Settings.Global.AIRPLANE_MODE_ON, 0) == 1; 238 return Settings.Global.getInt(mContentResolver, 239 Settings.Global.BLUETOOTH_ON, 0) != BLUETOOTH_OFF [all...] |
NetworkTimeUpdateService.java | 34 import android.provider.Settings; 227 return Settings.Global.getInt( 228 mContext.getContentResolver(), Settings.Global.AUTO_TIME, 0) != 0; 301 resolver.registerContentObserver(Settings.Global.getUriFor(Settings.Global.AUTO_TIME),
|
/frameworks/base/media/java/android/media/audiofx/ |
EnvironmentalReverb.java | 505 * The Settings class regroups all environmental reverb parameters. It is used in 509 public static class Settings { 521 public Settings() { 525 * Settings class constructor from a key=value; pairs formatted string. The string is 526 * typically returned by Settings.toString() method. 529 public Settings(String settings) { 530 StringTokenizer st = new StringTokenizer(settings, "=;"); 533 throw new IllegalArgumentException("settings: " + settings); 631 Settings settings = new Settings(); local [all...] |
Equalizer.java | 450 * The Settings class regroups all equalizer parameters. It is used in 454 public static class Settings { 459 public Settings() { 463 * Settings class constructor from a key=value; pairs formatted string. The string is 464 * typically returned by Settings.toString() method. 467 public Settings(String settings) { 468 StringTokenizer st = new StringTokenizer(settings, "=;"); 471 throw new IllegalArgumentException("settings: " + settings); 533 Settings settings = new Settings(); local [all...] |
/frameworks/base/services/java/com/android/server/dreams/ |
DreamManagerService.java | 36 import android.provider.Settings; 128 Settings.Secure.putStringForUser(mContext.getContentResolver(), 129 Settings.Secure.SCREENSAVER_COMPONENTS, 144 String name = Settings.Secure.getStringForUser(mContext.getContentResolver(), 145 Settings.Secure.SCREENSAVER_DEFAULT_COMPONENT, 282 String names = Settings.Secure.getStringForUser(mContext.getContentResolver(), 283 Settings.Secure.SCREENSAVER_COMPONENTS,
|
/packages/apps/Contacts/tests/src/com/android/contacts/activities/ |
PeopleActivityTest.java | 30 import android.provider.Settings; 164 .expectQuery(Settings.System.CONTENT_URI) 165 .withProjection(Settings.System.VALUE) 166 .withSelection(Settings.System.NAME + "=?", 171 .expectQuery(Settings.System.CONTENT_URI) 172 .withProjection(Settings.System.VALUE) 173 .withSelection(Settings.System.NAME + "=?",
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
AccessibilityManagerServiceTest.java | 29 import android.provider.Settings; 564 * settings and waiting until the accessibility manager service pick it up. 566 * @param context A context handle to access the settings. 567 * @param enabled The accessibility state to write to the settings. 571 boolean isEnabled = (Settings.Secure.getInt(context.getContentResolver(), 572 Settings.Secure.ACCESSIBILITY_ENABLED, 0) == 1 ? true : false); 578 Settings.Secure.putInt(context.getContentResolver(), Settings.Secure.ACCESSIBILITY_ENABLED, 587 * names are enabled by writing to the system settings and waiting until the 591 * @param context A context handle to access the settings [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/ |
A2dpService.java | 24 import android.provider.Settings; 163 Settings.Global.putInt(getContentResolver(), 164 Settings.Global.getBluetoothA2dpSinkPriorityKey(device.getAddress()), 173 int priority = Settings.Global.getInt(getContentResolver(), 174 Settings.Global.getBluetoothA2dpSinkPriorityKey(device.getAddress()),
|
/packages/apps/Phone/src/com/android/phone/ |
EmergencyCallHelper.java | 33 import android.provider.Settings; 349 // Settings activity turns it off. 350 if (Settings.Global.getInt(mApp.getContentResolver(), 351 Settings.Global.AIRPLANE_MODE_ON, 0) > 0) { 355 Settings.Global.putInt(mApp.getContentResolver(), 356 Settings.Global.AIRPLANE_MODE_ON, 0); 364 // (even though the Settings database doesn't think we're
|