HomeSort by relevance Sort by last modified time
    Searched refs:Secure (Results 26 - 50 of 515) sorted by null

12 3 4 5 6 7 8 91011>>

  /packages/apps/Settings/tests/robotests/src/com/android/settings/development/
UsbAudioRoutingPreferenceControllerTest.java 60 Settings.Secure.putInt(mContext.getContentResolver(),
61 Settings.Secure.USB_AUDIO_AUTOMATIC_ROUTING_DISABLED,
71 Settings.Secure.putInt(mContext.getContentResolver(),
72 Settings.Secure.USB_AUDIO_AUTOMATIC_ROUTING_DISABLED,
84 final int usbAudioRoutingMode = Settings.Secure.getInt(mContext.getContentResolver(),
85 Settings.Secure.USB_AUDIO_AUTOMATIC_ROUTING_DISABLED, -1 /* default */);
95 final int usbAudioRoutingMode = Settings.Secure.getInt(mContext.getContentResolver(),
96 Settings.Secure.USB_AUDIO_AUTOMATIC_ROUTING_DISABLED, -1 /* default */);
106 final int usbAudioRoutingMode = Settings.Secure.getInt(mContext.getContentResolver(),
107 Settings.Secure.USB_AUDIO_AUTOMATIC_ROUTING_DISABLED, -1 /* default */)
    [all...]
SimulateColorSpacePreferenceControllerTest.java 76 final int enabled = Settings.Secure.getInt(mContext.getContentResolver(),
77 Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER_ENABLED);
87 final int enabled = Settings.Secure.getInt(mContext.getContentResolver(),
88 Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER_ENABLED);
89 final int settingValue = Settings.Secure.getInt(mContext.getContentResolver(),
90 Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER);
98 Settings.Secure.putInt(mContext.getContentResolver(),
99 Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER_ENABLED, SETTING_VALUE_OFF);
108 Settings.Secure.putInt(mContext.getContentResolver(),
109 Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER_ENABLED, SETTING_VALUE_ON)
    [all...]
  /frameworks/base/services/accessibility/java/com/android/server/accessibility/
DisplayAdjustmentUtils.java 22 import android.provider.Settings.Secure;
66 if (Secure.getIntForUser(cr,
67 Secure.ACCESSIBILITY_DISPLAY_DALTONIZER_ENABLED, 0, userId) != 0) {
68 daltonizerMode = Secure.getIntForUser(cr,
69 Secure.ACCESSIBILITY_DISPLAY_DALTONIZER, DEFAULT_DISPLAY_DALTONIZER, userId);
94 final boolean invertColors = Secure.getIntForUser(cr,
95 Secure.ACCESSIBILITY_DISPLAY_INVERSION_ENABLED, 0, userId) != 0;
  /packages/apps/Settings/src/com/android/settings/display/
VrDisplayPreferencePicker.java 57 int current = Settings.Secure.getIntForUser(getContext().getContentResolver(),
58 Settings.Secure.VR_DISPLAY_MODE, Settings.Secure.VR_DISPLAY_MODE_LOW_PERSISTENCE,
70 return Settings.Secure.putIntForUser(getContext().getContentResolver(),
71 Settings.Secure.VR_DISPLAY_MODE, 0, mUserId);
73 return Settings.Secure.putIntForUser(getContext().getContentResolver(),
74 Settings.Secure.VR_DISPLAY_MODE, 1, mUserId);
TapToWakePreferenceController.java 46 int value = Settings.Secure.getInt(
47 mContext.getContentResolver(), Settings.Secure.DOUBLE_TAP_TO_WAKE, 0);
54 Settings.Secure.putInt(
55 mContext.getContentResolver(), Settings.Secure.DOUBLE_TAP_TO_WAKE, value ? 1 : 0);
  /packages/apps/Settings/tests/robotests/src/com/android/settings/display/
NightDisplayIntensityPreferenceControllerTest.java 20 import android.provider.Settings.Secure;
47 Secure.putInt(mContext.getContentResolver(), Secure.NIGHT_DISPLAY_ACTIVATED, 1);
55 Secure.putInt(mContext.getContentResolver(), Secure.NIGHT_DISPLAY_ACTIVATED, 0);
75 assertThat(Secure.getInt(mContext.getContentResolver(),
76 Secure.NIGHT_DISPLAY_COLOR_TEMPERATURE, -1))
NightDisplayActivationPreferenceControllerTest.java 23 import android.provider.Settings.Secure;
91 Secure.putInt(mContext.getContentResolver(), Secure.NIGHT_DISPLAY_ACTIVATED, 0);
97 assertThat(Secure.getInt(mContext.getContentResolver(), Secure.NIGHT_DISPLAY_ACTIVATED, -1))
103 Secure.putInt(mContext.getContentResolver(), Secure.NIGHT_DISPLAY_ACTIVATED, 1);
109 assertThat(Secure.getInt(mContext.getContentResolver(), Secure.NIGHT_DISPLAY_ACTIVATED, -1))
NightDisplayPreferenceControllerTest.java 7 import android.provider.Settings.Secure;
43 Secure.putInt(context.getContentResolver(),
44 Secure.NIGHT_DISPLAY_AUTO_MODE, ColorDisplayController.AUTO_MODE_DISABLED);
53 Secure.putInt(context.getContentResolver(),
54 Secure.NIGHT_DISPLAY_AUTO_MODE, ColorDisplayController.AUTO_MODE_CUSTOM);
63 Secure.putInt(context.getContentResolver(),
64 Secure.NIGHT_DISPLAY_AUTO_MODE, ColorDisplayController.AUTO_MODE_TWILIGHT);
73 Secure.putInt(context.getContentResolver(),
74 Secure.NIGHT_DISPLAY_AUTO_MODE, ColorDisplayController.AUTO_MODE_DISABLED);
  /frameworks/base/core/java/com/android/internal/backup/
LocalTransportParameters.java 27 private static final String SETTING = Settings.Secure.BACKUP_LOCAL_TRANSPORT_PARAMETERS;
35 super(handler, resolver, Settings.Secure.getUriFor(SETTING));
47 return Settings.Secure.getString(resolver, SETTING);
  /packages/apps/Settings/src/com/android/settings/accessibility/
SettingsContentObserver.java 33 mKeysToObserve.add(Settings.Secure.ACCESSIBILITY_ENABLED);
34 mKeysToObserve.add(Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES);
45 Settings.Secure.getUriFor(mKeysToObserve.get(i)), false, this);
AccessibilityShortcutPreferenceFragment.java 75 Settings.Secure.putInt(getContentResolver(),
76 Settings.Secure.ACCESSIBILITY_SHORTCUT_ON_LOCK_SCREEN,
89 Settings.Secure.getUriFor(Settings.Secure.ACCESSIBILITY_SHORTCUT_DIALOG_SHOWN),
112 Settings.Secure.putInt(
113 getContentResolver(), Settings.Secure.ACCESSIBILITY_SHORTCUT_ENABLED, 1);
117 onPreferenceToggled(Settings.Secure.ACCESSIBILITY_SHORTCUT_ENABLED, enabled);
124 Settings.Secure.putInt(getContentResolver(), preferenceKey, enabled ? 1 : 0);
134 Settings.Secure.putInt(
135 getContentResolver(), Settings.Secure.ACCESSIBILITY_SHORTCUT_ENABLED, 0)
    [all...]
  /packages/apps/Settings/src/com/android/settings/location/
LocationEnabler.java 101 final int mode = Settings.Secure.getInt(mContext.getContentResolver(),
102 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF);
112 final int currentMode = Settings.Secure.getInt(mContext.getContentResolver(),
113 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF);
127 Settings.Secure.LOCATION_CHANGER_SYSTEM_SETTINGS);
132 final int currentMode = Settings.Secure.getInt(mContext.getContentResolver(),
133 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF)
    [all...]
  /packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/
GesturesSettingsPreferenceControllerTest.java 104 Settings.Secure.putInt(cr, Settings.Secure.ASSIST_GESTURE_ENABLED, 0);
105 Settings.Secure.putInt(cr, Settings.Secure.ASSIST_GESTURE_SILENCE_ALERTS_ENABLED, 0);
109 Settings.Secure.putInt(cr, Settings.Secure.ASSIST_GESTURE_ENABLED, 1);
110 Settings.Secure.putInt(cr, Settings.Secure.ASSIST_GESTURE_SILENCE_ALERTS_ENABLED, 0);
114 Settings.Secure.putInt(cr, Settings.Secure.ASSIST_GESTURE_ENABLED, 0)
    [all...]
  /packages/apps/Provision/src/com/android/provision/
DefaultActivity.java 36 Settings.Secure.putInt(getContentResolver(), Settings.Secure.USER_SETUP_COMPLETE, 1);
  /packages/apps/Settings/src/com/android/settings/applications/assist/
DefaultAssistPicker.java 175 Settings.Secure.putString(getContext().getContentResolver(),
176 Settings.Secure.ASSISTANT, "");
177 Settings.Secure.putString(getContext().getContentResolver(),
178 Settings.Secure.VOICE_INTERACTION_SERVICE, "");
179 Settings.Secure.putString(getContext().getContentResolver(),
180 Settings.Secure.VOICE_RECOGNITION_SERVICE, getDefaultRecognizer());
191 Settings.Secure.putString(getContext().getContentResolver(),
192 Settings.Secure.ASSISTANT, serviceComponentName);
193 Settings.Secure.putString(getContext().getContentResolver(),
194 Settings.Secure.VOICE_INTERACTION_SERVICE, serviceComponentName)
    [all...]
  /packages/apps/Settings/tests/robotests/src/com/android/settings/applications/assist/
AssistContextPreferenceControllerTest.java 72 Settings.Secure.putString(mContext.getContentResolver(),
73 Settings.Secure.ASSISTANT, "com.android.settings/assist");
79 Settings.Secure.putString(mContext.getContentResolver(),
80 Settings.Secure.ASSISTANT, "");
86 Settings.Secure.putString(mContext.getContentResolver(),
87 Settings.Secure.ASSISTANT, "com.android.settings/assist");
89 Settings.Secure.putInt(mContext.getContentResolver(),
90 Settings.Secure.ASSIST_STRUCTURE_ENABLED, 1);
  /packages/apps/Settings/tests/robotests/src/com/android/settings/deletionhelper/
AutomaticStorageManagerDescriptionPreferenceControllerTest.java 52 Settings.Secure.putInt(
54 Settings.Secure.AUTOMATIC_STORAGE_MANAGER_ENABLED,
66 Settings.Secure.putInt(
68 Settings.Secure.AUTOMATIC_STORAGE_MANAGER_ENABLED,
70 Settings.Secure.putLong(
72 Settings.Secure.AUTOMATIC_STORAGE_MANAGER_BYTES_CLEARED,
74 Settings.Secure.putLong(
76 Settings.Secure.AUTOMATIC_STORAGE_MANAGER_LAST_RUN,
  /packages/apps/Settings/tests/robotests/src/com/android/settings/security/
LockdownButtonPreferenceControllerTest.java 72 boolean state = Settings.Secure.getInt(mContext.getContentResolver(),
73 Settings.Secure.LOCKDOWN_IN_POWER_MENU, 0) != 0;
75 boolean newState = Settings.Secure.getInt(mContext.getContentResolver(),
76 Settings.Secure.LOCKDOWN_IN_POWER_MENU, 0) != 0;
82 boolean state = Settings.Secure.getInt(mContext.getContentResolver(),
83 Settings.Secure.LOCKDOWN_IN_POWER_MENU, 0) != 0;
86 Settings.Secure.putInt(mContext.getContentResolver(),
87 Settings.Secure.LOCKDOWN_IN_POWER_MENU, state ? 0 : 1);
  /device/google/atv/TvProvision/src/com/android/tv/provision/
DefaultActivity.java 42 Settings.Secure.putInt(getContentResolver(), Settings.Secure.USER_SETUP_COMPLETE, 1);
43 Settings.Secure.putInt(getContentResolver(), Settings.Secure.TV_USER_SETUP_COMPLETE, 1);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
SecureSetting.java 23 import android.provider.Settings.Secure;
27 /** Helper for managing a secure setting. **/
48 return Secure.getIntForUser(mContext.getContentResolver(), mSettingName, DEFAULT, mUserId);
52 Secure.putIntForUser(mContext.getContentResolver(), mSettingName, value, mUserId);
62 Secure.getUriFor(mSettingName), false, this, mUserId);
  /packages/apps/Settings/src/com/android/settings/deletionhelper/
AutomaticStorageManagerDescriptionPreferenceController.java 57 Settings.Secure.getLong(
58 cr, Settings.Secure.AUTOMATIC_STORAGE_MANAGER_BYTES_CLEARED, 0);
60 Settings.Secure.getLong(cr, Settings.Secure.AUTOMATIC_STORAGE_MANAGER_LAST_RUN, 0);
  /packages/apps/Settings/src/com/android/settings/security/
LockdownButtonPreferenceController.java 51 return Settings.Secure.getInt(mContext.getContentResolver(),
52 Settings.Secure.LOCKDOWN_IN_POWER_MENU, 0) != 0;
57 Settings.Secure.putInt(mContext.getContentResolver(),
58 Settings.Secure.LOCKDOWN_IN_POWER_MENU, isChecked ? 1 : 0);
  /packages/apps/Settings/tests/uitests/src/com/android/settings/ui/
AccessibilitySettingsTests.java 72 Settings.Secure.ACCESSIBILITY_HIGH_TEXT_CONTRAST_ENABLED, 0, 1);
79 Settings.Secure.ACCESSIBILITY_HIGH_TEXT_CONTRAST_ENABLED, 1, 0);
86 Settings.Secure.INCALL_POWER_BUTTON_BEHAVIOR, 1, 2);
93 Settings.Secure.INCALL_POWER_BUTTON_BEHAVIOR, 2, 1);
97 * nice with Settings.System.putInt or Settings.Secure.putInt.
132 Settings.Secure.ACCESSIBILITY_LARGE_POINTER_ICON, 0, 1);
139 Settings.Secure.ACCESSIBILITY_LARGE_POINTER_ICON, 1, 0);
146 Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER_ENABLED);
156 Settings.Secure.ACCESSIBILITY_ENABLED);
163 Settings.Secure.ACCESSIBILITY_CAPTIONING_ENABLED)
    [all...]
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
CaptionFragment.java 197 return Settings.Secure.getInt(getContext().getContentResolver(),
198 Settings.Secure.ACCESSIBILITY_CAPTIONING_ENABLED, 0) != 0;
202 Settings.Secure.putInt(getContext().getContentResolver(),
203 Settings.Secure.ACCESSIBILITY_CAPTIONING_ENABLED, enabled ? 1 : 0);
207 return Settings.Secure.getInt(getContext().getContentResolver(),
208 Settings.Secure.ACCESSIBILITY_CAPTIONING_PRESET, 0);
212 Settings.Secure.putInt(getContext().getContentResolver(),
213 Settings.Secure.ACCESSIBILITY_CAPTIONING_PRESET, style);
219 final String captionLocale = Settings.Secure.getString(getContext().getContentResolver(),
220 Settings.Secure.ACCESSIBILITY_CAPTIONING_LOCALE)
    [all...]
LocationFragment.java 179 int mode = Settings.Secure.LOCATION_MODE_OFF;
181 mode = Settings.Secure.LOCATION_MODE_HIGH_ACCURACY;
183 mode = Settings.Secure.LOCATION_MODE_OFF;
195 int currentMode = Settings.Secure.getInt(getActivity().getContentResolver(),
196 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF);
201 Settings.Secure.putInt(getActivity().getContentResolver(),
202 Settings.Secure.LOCATION_MODE, mode);
209 final int mode = Settings.Secure.getInt(getActivity().getContentResolver(),
210 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF)
    [all...]

Completed in 2692 milliseconds

12 3 4 5 6 7 8 91011>>