HomeSort by relevance Sort by last modified time
    Searched defs:Settings (Results 276 - 300 of 697) sorted by null

<<11121314151617181920>>

  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessibility/
AccessibilityFragment.java 17 package com.android.tv.settings.accessibility;
23 import android.provider.Settings;
34 import com.android.tv.settings.R;
35 import com.android.tv.settings.SettingsPreferenceFragment;
41 * Fragment for Accessibility settings
72 highContrastPreference.setChecked(Settings.Secure.getInt(getContext().getContentResolver(),
73 Settings.Secure.ACCESSIBILITY_HIGH_TEXT_CONTRAST_ENABLED, 0) == 1);
82 Settings.Secure.putInt(getActivity().getContentResolver(),
83 Settings.Secure.ACCESSIBILITY_HIGH_TEXT_CONTRAST_ENABLED,
97 final boolean accessibilityEnabled = Settings.Secure.getInt
    [all...]
AccessibilityShortcutFragment.java 17 package com.android.tv.settings.accessibility;
25 import android.provider.Settings;
34 import com.android.tv.settings.R;
35 import com.android.tv.settings.SettingsPreferenceFragment;
57 boolean shortcutEnabled = Settings.Secure.getInt(getContext().getContentResolver(),
58 Settings.Secure.ACCESSIBILITY_SHORTCUT_ENABLED, 1) == 1;
81 Settings.Secure.putInt(getContext().getContentResolver(),
82 Settings.Secure.ACCESSIBILITY_SHORTCUT_ENABLED, enabled ? 1 : 0);
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/autofill/
AutofillHelper.java 17 package com.android.tv.settings.autofill;
26 import android.provider.Settings;
41 * Helper class for autofill related settings.
73 return Settings.Secure.getString(context.getContentResolver(),
74 Settings.Secure.AUTOFILL_SERVICE);
105 * Get the Intent for settings activity of autofill service. Returns null if does not exist.
143 * Set autofill service and write to settings.
149 Settings.Secure.putString(context.getContentResolver(), Settings.Secure.AUTOFILL_SERVICE,
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/sound/
SoundFormatPreferenceController.java 17 package com.android.tv.settings.device.sound;
21 import android.provider.Settings;
102 /** @return the formats that are enabled in manual mode, from global settings */
105 String enabledFormats = Settings.Global.getString(mContext.getContentResolver(),
106 Settings.Global.ENCODED_SURROUND_OUTPUT_ENABLED_FORMATS);
123 * Writes enabled/disabled state for a given format to the global settings.
132 Settings.Global.putString(mContext.getContentResolver(),
133 Settings.Global.ENCODED_SURROUND_OUTPUT_ENABLED_FORMATS,
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/inputmethod/
InputMethodHelper.java 16 package com.android.tv.settings.inputmethod;
23 import android.provider.Settings;
56 return Settings.Secure.getString(context.getContentResolver(),
57 Settings.Secure.DEFAULT_INPUT_METHOD);
70 Settings.Secure.putStringForUser(context.getContentResolver(),
71 Settings.Secure.DEFAULT_INPUT_METHOD, imid, userId);
98 * Get settings Intent of an InputMethod.
  /packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/device/
DevicePrefFragmentTest.java 17 package com.android.tv.settings.device;
35 import android.provider.Settings;
39 import com.android.tv.settings.R;
40 import com.android.tv.settings.TvSettingsRobolectricTestRunner;
41 import com.android.tv.settings.testutils.ShadowUserManager;
42 import com.android.tv.settings.testutils.TvShadowActivityThread;
43 import com.android.tv.settings.testutils.Utils;
114 final Intent intent = new Intent("com.google.android.settings.CAST_RECEIVER_SETTINGS");
163 Settings.Secure.AUTOFILL_SERVICE,
187 Settings.Secure.AUTOFILL_SERVICE, null)
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
AdvancedSettingsFragment.java 17 package com.android.inputmethod.latin.settings;
33 * "Advanced" settings sub screen.
35 * This settings sub screen handles the following advanced preferences.
41 * - Debug settings
52 // When we are called from the Settings application but we are not already running, some
59 if (!Settings.isInternal(prefs)) {
60 removePreference(Settings.SCREEN_DEBUG);
64 removePreference(Settings.PREF_VIBRATION_DURATION_SETTINGS);
68 if (!Settings.readFromBuildConfigIfToShowKeyPreviewPopupOption(res)) {
69 removePreference(Settings.PREF_KEY_PREVIEW_POPUP_DISMISS_DELAY)
    [all...]
  /packages/services/Car/car-lib/src/android/car/media/
CarAudioManager.java 30 import android.provider.Settings;
44 * @return Key to persist volume index for volume group in {@link Settings.Global}
64 Settings.Global.getUriFor(VOLUME_SETTINGS_KEY_FOR_GROUP_PREFIX),
  /packages/services/Telephony/src/com/android/phone/
CdmaSubscriptionListPreference.java 25 import android.provider.Settings;
26 import android.provider.Settings.Secure;
57 int cdmaSubscriptionMode = Settings.Global.getInt(mPhone.getContext().getContentResolver(),
58 Settings.Global.CDMA_SUBSCRIPTION_MODE, preferredSubscriptionMode);
124 Settings.Global.putInt(mPhone.getContext().getContentResolver(),
125 Settings.Global.CDMA_SUBSCRIPTION_MODE,
CdmaSystemSelectListPreference.java 26 import android.provider.Settings;
27 import android.provider.Settings.Secure;
71 Settings.Global.getInt(mPhone.getContext().getContentResolver(),
72 Settings.Global.CDMA_ROAMING_MODE, Phone.CDMA_RM_HOME);
83 //Set the Settings.Secure network mode
84 Settings.Global.putInt(mPhone.getContext().getContentResolver(),
85 Settings.Global.CDMA_ROAMING_MODE,
120 int settingsRoamingMode = Settings.Global.getInt(
122 Settings.Global.CDMA_ROAMING_MODE, Phone.CDMA_RM_HOME);
129 //changes the Settings.Secure accordingly to statusCdmaRoamingMod
    [all...]
CdmaVoicePrivacySwitchPreference.java 89 android.provider.Settings.Secure.putInt(getContext().getContentResolver(),
90 android.provider.Settings.Secure.ENHANCED_VOICE_PRIVACY_ENABLED, enable);
  /packages/services/Telephony/src/com/android/services/telephony/
RadioOnHelper.java 22 import android.provider.Settings;
99 // If airplane mode is on, we turn it off the same way that the Settings activity turns it
101 if (Settings.Global.getInt(mContext.getContentResolver(),
102 Settings.Global.AIRPLANE_MODE_ON, 0) > 0) {
106 Settings.Global.putInt(mContext.getContentResolver(),
107 Settings.Global.AIRPLANE_MODE_ON, 0);
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/
InputMethodAndSubtypeUtil.java 26 import android.provider.Settings;
27 import android.provider.Settings.SettingNotFoundException;
62 // InputMethods and subtypes are saved in the settings as follows:
93 return Settings.Secure.getInt(resolver,
94 Settings.Secure.SELECTED_INPUT_METHOD_SUBTYPE);
105 Settings.Secure.putInt(resolver, Settings.Secure.SELECTED_INPUT_METHOD_SUBTYPE, hashCode);
111 final String enabledInputMethodsStr = Settings.Secure.getString(
112 resolver, Settings.Secure.ENABLED_INPUT_METHODS);
144 String disabledIMEsStr = Settings.Secure.getString
    [all...]
  /frameworks/base/services/core/java/com/android/server/
RescueParty.java 30 import android.provider.Settings;
157 * opportunity to reset any settings depending on our rescue level.
184 resetAllSettings(context, Settings.RESET_MODE_UNTRUSTED_DEFAULTS);
187 resetAllSettings(context, Settings.RESET_MODE_UNTRUSTED_CHANGES);
190 resetAllSettings(context, Settings.RESET_MODE_TRUSTED_DEFAULTS);
199 // Try our best to reset all settings possible, and once finished
204 Settings.Global.resetToDefaultsAsUser(resolver, null, mode, UserHandle.USER_SYSTEM);
206 res = new RuntimeException("Failed to reset global settings", t);
210 Settings.Secure.resetToDefaultsAsUser(resolver, null, mode, userId);
212 res = new RuntimeException("Failed to reset secure settings for " + userId, t)
    [all...]
  /frameworks/base/tests/net/java/com/android/server/connectivity/
MultipathPolicyTrackerTest.java 26 import static android.provider.Settings.Global.NETWORK_DEFAULT_DAILY_MULTIPATH_QUOTA_BYTES;
56 import android.provider.Settings;
138 mContentResolver.addProvider(Settings.AUTHORITY, new FakeSettingsProvider());
139 Settings.Global.clearProviderForTest();
167 Settings.Global.putInt(mContentResolver, NETWORK_DEFAULT_DAILY_MULTIPATH_QUOTA_BYTES,
214 // Setup default quota in settings and resources
327 false, Settings.Global.getUriFor(NETWORK_DEFAULT_DAILY_MULTIPATH_QUOTA_BYTES));
  /packages/apps/Launcher3/tests/src/com/android/launcher3/model/
GridSizeMigrationTaskTest.java 315 LauncherSettings.Settings.call(mProviderRule.getResolver(),
316 LauncherSettings.Settings.METHOD_CREATE_EMPTY_DB);
324 LauncherSettings.Settings.call(mProviderRule.getResolver(),
325 LauncherSettings.Settings.METHOD_NEW_SCREEN_ID);
397 long id = LauncherSettings.Settings.call(mProviderRule.getResolver(),
398 LauncherSettings.Settings.METHOD_NEW_ITEM_ID)
399 .getLong(LauncherSettings.Settings.EXTRA_VALUE);
  /packages/apps/Settings/src/com/android/settings/applications/
ManageDomainUrls.java 15 package com.android.settings.applications;
24 import android.provider.Settings;
25 import android.provider.Settings.Global;
38 import com.android.settings.R;
39 import com.android.settings.SettingsPreferenceFragment;
40 import com.android.settings.Utils;
41 import com.android.settings.widget.AppPreference;
115 mWebAction.setChecked(Settings.Secure.getInt(getContentResolver(),
116 Settings.Secure.INSTANT_APPS_ENABLED, 1) != 0);
153 Settings.Secure.putInt
    [all...]
  /packages/apps/Settings/src/com/android/settings/nfc/
PaymentBackend.java 17 package com.android.settings.nfc;
29 import android.provider.Settings;
30 import android.provider.Settings.SettingNotFoundException;
38 public static final String TAG = "Settings.PaymentBackend";
156 return Settings.Secure.getInt(mContext.getContentResolver(),
157 Settings.Secure.NFC_PAYMENT_FOREGROUND) != 0;
164 Settings.Secure.putInt(mContext.getContentResolver(),
165 Settings.Secure.NFC_PAYMENT_FOREGROUND, foreground ? 1 : 0) ;
169 String componentString = Settings.Secure.getString(mContext.getContentResolver(),
170 Settings.Secure.NFC_PAYMENT_DEFAULT_COMPONENT)
    [all...]
  /packages/apps/Settings/src/com/android/settings/notification/
LockScreenNotificationPreferenceController.java 17 package com.android.settings.notification;
30 import android.provider.Settings;
37 import com.android.settings.R;
38 import com.android.settings.RestrictedListPreference;
39 import com.android.settings.Utils;
40 import com.android.settings.core.PreferenceControllerMixin;
41 import com.android.settings.overlay.FeatureFactory;
223 Settings.Secure.putIntForUser(mContext.getContentResolver(),
224 Settings.Secure.LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS,
235 Settings.Secure.putInt(mContext.getContentResolver()
    [all...]
  /packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
VisibilityPreferenceControllerTest.java 17 package com.android.settings.notification;
45 import android.provider.Settings;
48 import com.android.settings.RestrictedListPreference;
49 import com.android.settings.testutils.SettingsRobolectricTestRunner;
50 import com.android.settings.testutils.shadow.ShadowRestrictionUtils;
98 Settings.Secure.putInt(mContext.getContentResolver(),
99 Settings.Secure.LOCK_SCREEN_SHOW_NOTIFICATIONS, 1);
100 Settings.Secure.putInt(mContext.getContentResolver(),
101 Settings.Secure.LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS, 1);
192 Settings.Secure.putInt(mContext.getContentResolver()
    [all...]
  /packages/apps/Settings/tests/uitests/src/com/android/settings/ui/
DisplaySettingsTest.java 17 package com.android.settings.ui;
21 import android.provider.Settings;
36 private static final String PAGE = Settings.ACTION_DISPLAY_SETTINGS;
58 // reset settings we touched that may impact others
59 Settings.System.putFloat(mResolver, Settings.System.FONT_SCALE, 1.00f);
72 Settings.System.SCREEN_BRIGHTNESS_MODE));
74 Settings.System.SCREEN_BRIGHTNESS_MODE));
89 Settings.Secure.SCREENSAVER_ENABLED, false));
91 Settings.Secure.SCREENSAVER_ENABLED, false))
    [all...]
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DateTimeFragment.java 17 package com.android.tv.settings.system;
26 import android.provider.Settings;
35 import com.android.tv.settings.R;
36 import com.android.tv.settings.SettingsPreferenceFragment;
42 * The date and time screen in TV settings.
183 /* Get & Set values from the system settings */
199 Settings.System.putString(getContext().getContentResolver(),
200 Settings.System.TIME_12_24,
205 Settings.Global.putInt(getContext().getContentResolver(),
206 Settings.Global.AUTO_TIME, on ? 1 : 0)
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/power/
PowerUI.java 40 import android.provider.Settings;
118 resolver.registerContentObserver(Settings.Global.getUriFor(
119 Settings.Global.LOW_POWER_MODE_TRIGGER_LEVEL),
363 if (Settings.Global.getInt(resolver, Settings.Global.SHOW_TEMPERATURE_WARNING,
368 mThresholdTemp = Settings.Global.getFloat(resolver, Settings.Global.WARNING_TEMPERATURE,
517 pw.println(Settings.Global.getInt(mContext.getContentResolver(),
518 Settings.Global.LOW_BATTERY_SOUND_TIMEOUT, 0));
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
SmsUsageMonitor.java 30 import android.provider.Settings;
239 mEnabled.set(Settings.Global.getInt(mContext.getContentResolver(),
240 Settings.Global.SMS_SHORT_CODE_CONFIRMATION, 1) != 0);
248 resolver.registerContentObserver(Settings.Global.getUriFor(
249 Settings.Global.SMS_SHORT_CODE_CONFIRMATION), false, globalObserver);
261 mMaxAllowed = Settings.Global.getInt(resolver,
262 Settings.Global.SMS_OUTGOING_CHECK_MAX_COUNT,
265 mCheckPeriod = Settings.Global.getInt(resolver,
266 Settings.Global.SMS_OUTGOING_CHECK_INTERVAL_MS,
  /packages/apps/Settings/src/com/android/settings/accessibility/
CaptionPropertiesFragment.java 17 package com.android.settings.accessibility;
25 import android.provider.Settings;
40 import com.android.settings.R;
41 import com.android.settings.SettingsActivity;
42 import com.android.settings.SettingsPreferenceFragment;
43 import com.android.settings.accessibility.ListDialogPreference.OnValueChangedListener;
44 import com.android.settings.widget.SwitchBar;
45 import com.android.settings.widget.ToggleSwitch;
46 import com.android.settings.widget.ToggleSwitch.OnBeforeCheckedChangeListener;
52 * Settings fragment containing captioning properties
    [all...]

Completed in 797 milliseconds

<<11121314151617181920>>