/cts/tests/tests/voicesettings/src/android/voicesettings/cts/ |
AirplaneModeTest.java | 19 import static android.provider.Settings.ACTION_VOICE_CONTROL_AIRPLANE_MODE; 23 import android.provider.Settings; 24 import android.provider.Settings.Global; 61 } catch (Settings.SettingNotFoundException e) { 63 Log.i(TAG, "airplane mode is not found in Settings. Skipping AirplaneModeTest"); 101 private int getMode() throws Settings.SettingNotFoundException { 102 return Settings.Global.getInt(mContext.getContentResolver(), 103 Settings.Global.AIRPLANE_MODE_ON);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
IntentFiltersTestHelper.java | 38 import android.provider.Settings; 68 new Intent(Settings.ACTION_ACCESSIBILITY_SETTINGS), 69 new Intent(Settings.ACTION_APPLICATION_DEVELOPMENT_SETTINGS), 70 new Intent(Settings.ACTION_CAPTIONING_SETTINGS), 71 new Intent(Settings.ACTION_DATE_SETTINGS), 72 new Intent(Settings.ACTION_DEVICE_INFO_SETTINGS), 73 new Intent(Settings.ACTION_DISPLAY_SETTINGS), 74 new Intent(Settings.ACTION_LOCALE_SETTINGS), 75 new Intent(Settings.ACTION_PRIVACY_SETTINGS), 76 new Intent(Settings.ACTION_SETTINGS) [all...] |
UserRestrictions.java | 22 import android.provider.Settings; 96 Settings.ACTION_SETTINGS, 97 Settings.ACTION_SOUND_SETTINGS, 98 Settings.ACTION_APPLICATION_SETTINGS, 99 Settings.ACTION_SOUND_SETTINGS, 100 Settings.ACTION_SECURITY_SETTINGS, 101 Settings.ACTION_WIRELESS_SETTINGS, 102 Settings.ACTION_WIRELESS_SETTINGS, 103 Settings.ACTION_WIFI_SETTINGS, 104 Settings.ACTION_DEVICE_INFO_SETTINGS [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
BrightnessController.java | 17 package com.android.systemui.settings; 30 import android.provider.Settings; 43 * {@link android.provider.Settings.System#SCREEN_AUTO_BRIGHTNESS_ADJ} uses the range [-1, 1]. 75 Settings.System.getUriFor(Settings.System.SCREEN_BRIGHTNESS_MODE); 77 Settings.System.getUriFor(Settings.System.SCREEN_BRIGHTNESS); 79 Settings.System.getUriFor(Settings.System.SCREEN_AUTO_BRIGHTNESS_ADJ); 215 Settings.System.putIntForUser(mContext.getContentResolver() [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/ |
BasicPeriodBuilderFactory.java | 23 private Settings settings; field in class:BasicPeriodBuilderFactory 29 this.settings = new Settings(); 36 class Settings { 47 Settings setUnits(int uset) { 51 Settings result = inUse ? copy() : this; 100 Settings setMaxLimit(float maxLimit) { 105 Settings result = inUse ? copy() : this; 110 Settings setMinLimit(float minLimit) 309 protected BasicPeriodBuilderFactory.Settings settings; field in class:PeriodBuilderImpl [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/ |
BasicPeriodBuilderFactory.java | 22 private Settings settings; field in class:BasicPeriodBuilderFactory 28 this.settings = new Settings(); 35 class Settings { 46 Settings setUnits(int uset) { 50 Settings result = inUse ? copy() : this; 99 Settings setMaxLimit(float maxLimit) { 104 Settings result = inUse ? copy() : this; 109 Settings setMinLimit(float minLimit) 308 protected BasicPeriodBuilderFactory.Settings settings; field in class:PeriodBuilderImpl [all...] |
/frameworks/base/core/java/com/android/internal/view/ |
RotationPolicy.java | 29 import android.provider.Settings; 94 Settings.System.getIntForUser(context.getContentResolver(), 95 Settings.System.HIDE_ROTATION_LOCK_TOGGLE_FOR_ACCESSIBILITY, 0, 103 return Settings.System.getIntForUser(context.getContentResolver(), 104 Settings.System.ACCELEROMETER_ROTATION, 0, UserHandle.USER_CURRENT) == 0; 111 Settings.System.putIntForUser(context.getContentResolver(), 112 Settings.System.HIDE_ROTATION_LOCK_TOGGLE_FOR_ACCESSIBILITY, 0, 120 * Enables or disables natural rotation lock from Accessibility settings. 125 Settings.System.putIntForUser(context.getContentResolver(), 126 Settings.System.HIDE_ROTATION_LOCK_TOGGLE_FOR_ACCESSIBILITY, enabled ? 1 : 0 [all...] |
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
DisplayAdjustmentUtils.java | 26 import android.provider.Settings; 69 if (Settings.Secure.getIntForUser(cr, 70 Settings.Secure.ACCESSIBILITY_DISPLAY_INVERSION_ENABLED, 0, userId) != 0) { 74 if (Settings.Secure.getIntForUser(cr, 75 Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER_ENABLED, 0, userId) != 0) { 89 if (Settings.Secure.getIntForUser(cr, 90 Settings.Secure.ACCESSIBILITY_DISPLAY_INVERSION_ENABLED, 0, userId) != 0) { 94 if (Settings.Secure.getIntForUser(cr, 95 Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER_ENABLED, 0, userId) != 0) { 96 final int daltonizerMode = Settings.Secure.getIntForUser(cr [all...] |
/packages/apps/Settings/src/com/android/settings/location/ |
LocationSettingsBase.java | 17 package com.android.settings.location; 26 import android.provider.Settings; 29 import com.android.settings.SettingsPreferenceFragment; 32 * A base class that listens to location settings change and modifies location 33 * settings. 39 "com.android.settings.location.MODE_CHANGING"; 100 mode = Settings.Secure.getInt(getContentResolver(), Settings.Secure.LOCATION_MODE, 101 Settings.Secure.LOCATION_MODE_OFF); 111 Settings.Secure.putInt(getContentResolver(), Settings.Secure.LOCATION_MODE, mode) [all...] |
/cts/tests/tests/net/src/android/net/cts/ |
AirplaneModeTest.java | 22 import android.provider.Settings; 77 Settings.Global.putInt(resolver, Settings.Global.AIRPLANE_MODE_ON, enabling ? 1 : 0); 82 return Settings.Global.getInt(mContext.getContentResolver(), 83 Settings.Global.AIRPLANE_MODE_ON, 0) != 0;
|
TheaterModeTest.java | 21 import android.provider.Settings; 76 Settings.Global.putInt(resolver, Settings.Global.THEATER_MODE_ON, enabling ? 1 : 0); 81 return Settings.Global.getInt(mContext.getContentResolver(), 82 Settings.Global.THEATER_MODE_ON, 0) != 0;
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/ |
HapticFeedbackController.java | 9 import android.provider.Settings; 19 return Settings.System.getInt(context.getContentResolver(), 20 Settings.System.HAPTIC_FEEDBACK_ENABLED, 0) == 1; 46 // Setup a listener for changes in haptic feedback settings 48 Uri uri = Settings.System.getUriFor(Settings.System.HAPTIC_FEEDBACK_ENABLED);
|
/packages/apps/Settings/src/com/android/settings/applications/ |
DefaultAssistPreference.java | 17 package com.android.settings.applications; 25 import android.provider.Settings; 33 import com.android.settings.AppListPreferenceWithSettings; 34 import com.android.settings.R; 71 Settings.Secure.putString(getContext().getContentResolver(), 72 Settings.Secure.ASSISTANT, ITEM_NONE_VALUE); 73 Settings.Secure.putString(getContext().getContentResolver(), 74 Settings.Secure.VOICE_INTERACTION_SERVICE, ""); 75 Settings.Secure.putString(getContext().getContentResolver(), 76 Settings.Secure.VOICE_RECOGNITION_SERVICE, getDefaultRecognizer()) [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
AsyncPlayerTest.java | 24 import android.provider.Settings; 30 final Uri PLAY_URI = Settings.System.DEFAULT_NOTIFICATION_URI; 39 final Uri PLAY_URI = Settings.System.DEFAULT_NOTIFICATION_URI;
|
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/ |
ImePreferences.java | 31 modIntent.putExtra(EXTRA_SHOW_FRAGMENT, Settings.class.getName()); 46 return Settings.class.getName().equals(fragmentName); 49 public static class Settings extends InputMethodSettingsFragment {
|
/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);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
BootReceiver.java | 23 import android.provider.Settings; 38 if (Settings.Global.getInt(res, Settings.Global.SHOW_PROCESSES, 0) != 0) {
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
ToggleGlobalGesturePreferenceFragment.java | 17 package com.android.settings.accessibility; 19 import android.provider.Settings; 22 import com.android.settings.widget.ToggleSwitch; 23 import com.android.settings.widget.ToggleSwitch.OnBeforeCheckedChangeListener; 29 Settings.Global.putInt(getContentResolver(), 30 Settings.Global.ENABLE_ACCESSIBILITY_GLOBAL_GESTURE_ENABLED, enabled ? 1 : 0);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
SettingsValues.java | 17 package com.android.inputmethod.latin.settings; 50 // Float.NEGATIVE_INFINITE and Float.MAX_VALUE. Currently used for auto-correction settings. 97 // Deduced settings 108 // Debug settings 133 // Get the settings preferences 134 mAutoCap = prefs.getBoolean(Settings.PREF_AUTO_CAP, true); 135 mVibrateOn = Settings.readVibrationEnabled(prefs, res); 136 mSoundOn = Settings.readKeypressSoundEnabled(prefs, res); 137 mKeyPreviewPopupOn = Settings.readKeyPreviewPopupEnabled(prefs, res); 143 mIncludesOtherImesInLanguageSwitchList = Settings.ENABLE_SHOW_LANGUAGE_SWITCH_KEY_SETTING [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
UncachedInputMethodManagerUtils.java | 20 import android.provider.Settings; 61 final String currentImeId = Settings.Secure.getString( 62 context.getContentResolver(), Settings.Secure.DEFAULT_INPUT_METHOD);
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/utils/ |
LocationUtils.java | 29 import android.provider.Settings; 48 context.startActivity(new Intent(Settings.ACTION_LOCATION_SOURCE_SETTINGS)); 55 return Settings.Secure.getInt(context.getContentResolver(), Settings.Secure.LOCATION_MODE, 56 Settings.Secure.LOCATION_MODE_OFF) != Settings.Secure.LOCATION_MODE_OFF;
|
/cts/suite/audio_quality/lib/src/ |
Report.cpp | 18 #include "Settings.h" 62 Settings::Instance()->addSetting(Settings::EREPORT_FILE, report); 110 Settings::Instance()->getSetting(Settings::EREPORT_TIME).string()); 113 printf(" %s", Settings::Instance()->getSetting(Settings::EDEVICE_INFO).string()); 116 Settings::Instance()->getSetting(Settings::ETEST_XML).string());
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
AccessibilitySettingsTest.java | 22 import android.provider.Settings; 30 * accessibility settings has an activity that handles it. 37 Intent intent = new Intent(Settings.ACTION_ACCESSIBILITY_SETTINGS); 41 // make sure accessibility settings exist 42 String message = "Accessibility settings activity must be launched via Intent " + 43 "Settings.ACTION_ACCESSIBILITY_SETTINGS";
|
/external/libweave/src/ |
base_api_handler.h | 18 struct Settings; 33 void OnConfigChanged(const Settings& settings);
|
/packages/apps/SpareParts/src/com/android/spare_parts/ |
SpareParts.java | 1 /* //device/apps/Settings/src/com/android/settings/Keyguard.java 37 import android.provider.Settings; 38 import android.provider.Settings.SettingNotFoundException; 128 mCompatibilityMode.setChecked(Settings.Global.getInt(getContentResolver(), 129 Settings.Global.COMPATIBILITY_MODE, 1) != 0); 145 mFancyImeAnimationsPref.setChecked(Settings.Global.getInt( 147 Settings.Global.FANCY_IME_ANIMATIONS, 0) != 0); 148 mHapticFeedbackPref.setChecked(Settings.System.getInt( 150 Settings.System.HAPTIC_FEEDBACK_ENABLED, 0) != 0) [all...] |