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

12 3 4 5 6 7 8 91011>>

  /development/apps/SdkSetup/src/com/android/sdksetup/
DefaultActivity.java 43 Settings.Secure.putInt(getContentResolver(), Settings.Secure.USER_SETUP_COMPLETE, 1);
50 Settings.Secure.putString(getContentResolver(), Settings.Secure.LOCATION_PROVIDERS_ALLOWED,
  /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);
AutoAddTracker.java 26 import android.provider.Settings.Secure;
61 Secure.getUriFor(Secure.QS_AUTO_ADDED_TILES), false, mObserver);
79 Secure.putString(mContext.getContentResolver(), Secure.QS_AUTO_ADDED_TILES,
84 String current = Secure.getString(mContext.getContentResolver(), Secure.QS_AUTO_ADDED_TILES);
  /packages/apps/Settings/src/com/android/settings/accessibility/
MagnificationPreferenceFragment.java 51 // Pseudo ComponentName used to represent navbar magnification in Settings.Secure.
87 updateFeatureSummary(Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_ENABLED,
89 updateFeatureSummary(Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_NAVBAR_ENABLED,
119 final boolean enabled = Settings.Secure.getInt(getContentResolver(), prefKey, 0) == 1;
123 if (Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_ENABLED.equals(prefKey)) {
125 } else if (Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_NAVBAR_ENABLED.equals(
141 Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_NAVBAR_ENABLED);
148 Settings.Secure.getInt(getContentResolver(),
149 Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_NAVBAR_ENABLED, 0)
156 if (!Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_NAVBAR_ENABLED.equals(key))
    [all...]
ToggleDaltonizerPreferenceFragment.java 33 private static final String ENABLED = Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER_ENABLED;
34 private static final String TYPE = Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER;
66 Settings.Secure.putInt(getContentResolver(), ENABLED, enabled ? 1 : 0);
72 Settings.Secure.putInt(getContentResolver(), TYPE, Integer.parseInt((String) newValue));
91 Settings.Secure.getInt(getContentResolver(), ENABLED, 0) == 1);
103 Settings.Secure.getInt(getContentResolver(), TYPE, DEFAULT_TYPE));
  /packages/apps/Settings/src/com/android/settings/display/
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/TvSettings/Settings/src/com/android/tv/settings/system/
CaptionFragment.java 193 return Settings.Secure.getInt(getContext().getContentResolver(),
194 Settings.Secure.ACCESSIBILITY_CAPTIONING_ENABLED, 0) != 0;
198 Settings.Secure.putInt(getContext().getContentResolver(),
199 Settings.Secure.ACCESSIBILITY_CAPTIONING_ENABLED, enabled ? 1 : 0);
203 return Settings.Secure.getInt(getContext().getContentResolver(),
204 Settings.Secure.ACCESSIBILITY_CAPTIONING_PRESET, 0);
208 Settings.Secure.putInt(getContext().getContentResolver(),
209 Settings.Secure.ACCESSIBILITY_CAPTIONING_PRESET, style);
215 final String captionLocale = Settings.Secure.getString(getContext().getContentResolver(),
216 Settings.Secure.ACCESSIBILITY_CAPTIONING_LOCALE)
    [all...]
LocationFragment.java 180 int mode = Settings.Secure.LOCATION_MODE_OFF;
182 mode = Settings.Secure.LOCATION_MODE_HIGH_ACCURACY;
184 mode = Settings.Secure.LOCATION_MODE_OFF;
196 int currentMode = Settings.Secure.getInt(getActivity().getContentResolver(),
197 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF);
202 Settings.Secure.putInt(getActivity().getContentResolver(),
203 Settings.Secure.LOCATION_MODE, mode);
210 final int mode = Settings.Secure.getInt(getActivity().getContentResolver(),
211 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF)
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
SettingsSecureCompatUtils.java 22 // Note that Settings.Secure.ACCESSIBILITY_SPEAK_PASSWORD has been introduced
25 android.provider.Settings.Secure.class, "ACCESSIBILITY_SPEAK_PASSWORD");
  /cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
RingtoneSyncTest.java 19 import static android.provider.Settings.Secure.SYNC_PARENT_SOUNDS;
55 assertEquals(1, Settings.Secure.getInt(mContentResolver, SYNC_PARENT_SOUNDS));
79 * Tests that setting a work ringtone disables Settings.Secure.SYNC_PARENT_SOUNDS.
88 assertEquals(1, Settings.Secure.getInt(mContentResolver, SYNC_PARENT_SOUNDS));
91 assertEquals(0, Settings.Secure.getInt(mContentResolver, SYNC_PARENT_SOUNDS));
95 Settings.Secure.putInt(mContentResolver, SYNC_PARENT_SOUNDS, 1);
105 Settings.Secure.putInt(mContentResolver, SYNC_PARENT_SOUNDS, 0);
108 Settings.Secure.putInt(mContentResolver, SYNC_PARENT_SOUNDS, 1);
  /frameworks/base/core/java/com/android/internal/hardware/
AmbientDisplayConfiguration.java 49 return boolSettingDefaultOn(Settings.Secure.DOZE_ENABLED, user) && pulseOnNotificationAvailable();
57 boolean settingEnabled = boolSettingDefaultOn(Settings.Secure.DOZE_PULSE_ON_PICK_UP, user);
71 return boolSettingDefaultOn(Settings.Secure.DOZE_PULSE_ON_DOUBLE_TAP, user)
89 Settings.Secure.DOZE_PULSE_ON_LONG_PRESS, user);
97 return boolSettingDefaultOn(Settings.Secure.DOZE_ALWAYS_ON, user) && alwaysOnAvailable()
115 return boolSettingDefaultOff(Settings.Secure.ACCESSIBILITY_DISPLAY_INVERSION_ENABLED, user);
140 return Settings.Secure.getIntForUser(mContext.getContentResolver(), name, def, user) != 0;
  /packages/apps/Settings/src/com/android/settings/applications/assist/
AssistScreenshotPreferenceController.java 94 Settings.Secure.putInt(mContext.getContentResolver(),
95 Settings.Secure.ASSIST_SCREENSHOT_ENABLED,
112 final boolean checked = Settings.Secure.getInt(mContext.getContentResolver(),
113 Settings.Secure.ASSIST_SCREENSHOT_ENABLED, 1) != 0;
115 final boolean contextChecked = Settings.Secure.getInt(mContext.getContentResolver(),
116 Settings.Secure.ASSIST_STRUCTURE_ENABLED, 1) != 0;
123 Settings.Secure.getUriFor(Settings.Secure.ASSIST_SCREENSHOT_ENABLED);
125 Settings.Secure.getUriFor(Settings.Secure.ASSIST_STRUCTURE_ENABLED)
    [all...]
AssistContextPreferenceController.java 112 Settings.Secure.putInt(mContext.getContentResolver(),
113 Settings.Secure.ASSIST_STRUCTURE_ENABLED,
119 return Settings.Secure.getInt(context.getContentResolver(),
120 Settings.Secure.ASSIST_STRUCTURE_ENABLED, 1) != 0;
126 Settings.Secure.getUriFor(Settings.Secure.ASSIST_STRUCTURE_ENABLED);
  /packages/apps/Settings/tests/robotests/src/com/android/settings/applications/assist/
AssistFlashScreenPreferenceControllerTest.java 82 Settings.Secure.putString(cr, Settings.Secure.ASSISTANT, "com.android.settings/assist");
93 Settings.Secure.putString(cr, Settings.Secure.ASSISTANT, "com.android.settings/assist");
101 Settings.Secure.putString(mContext.getContentResolver(), Settings.Secure.ASSISTANT, "");
109 Settings.Secure.putString(mContext.getContentResolver(),
110 Settings.Secure.ASSISTANT, "com.android.settings/assist");
116 Settings.Secure.putInt(mContext.getContentResolver(),
117 Settings.Secure.ASSIST_DISCLOSURE_ENABLED, 1)
    [all...]
DefaultAssistPickerTest.java 66 assertThat(Settings.Secure.getString(mContext.getContentResolver(),
67 Settings.Secure.ASSISTANT))
79 assertThat(Settings.Secure.getString(mContext.getContentResolver(),
80 Settings.Secure.ASSISTANT))
93 assertThat(Settings.Secure.getString(mContext.getContentResolver(),
94 Settings.Secure.ASSISTANT))
  /packages/apps/Settings/tests/robotests/src/com/android/settings/display/
AmbientDisplayAlwaysOnPreferenceControllerTest.java 94 assertThat(Settings.Secure.getInt(null, Settings.Secure.DOZE_ALWAYS_ON, -1))
102 assertThat(Settings.Secure.getInt(null, Settings.Secure.DOZE_ALWAYS_ON, -1))
132 Settings.Secure.putInt(resolver, Settings.Secure.DOZE_ALWAYS_ON, 0);
135 int updatedValue = Settings.Secure.getInt(resolver, Settings.Secure.DOZE_ALWAYS_ON, 1);
145 Settings.Secure.putInt(resolver, Settings.Secure.DOZE_ALWAYS_ON, currentValue)
    [all...]
  /frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
SettingsProtoDumpUtil.java     [all...]
  /frameworks/base/core/java/com/android/internal/util/
NotificationMessagingUtil.java 40 private static final String DEFAULT_SMS_APP_SETTING = Settings.Secure.SMS_DEFAULT_APPLICATION;
47 Settings.Secure.getUriFor(DEFAULT_SMS_APP_SETTING), false, mSmsContentObserver);
61 mDefaultSmsApp.put(userId, Settings.Secure.getStringForUser(
63 Settings.Secure.SMS_DEFAULT_APPLICATION, userId));
70 if (Settings.Secure.getUriFor(DEFAULT_SMS_APP_SETTING).equals(uri)) {
  /frameworks/base/services/core/java/com/android/server/policy/
AccessibilityShortcutController.java 72 final String currentShortcutServiceId = Settings.Secure.getStringForUser(
73 context.getContentResolver(), Settings.Secure.ACCESSIBILITY_SHORTCUT_TARGET_SERVICE,
95 Settings.Secure.getUriFor(Settings.Secure.ACCESSIBILITY_SHORTCUT_TARGET_SERVICE),
98 Settings.Secure.getUriFor(Settings.Secure.ACCESSIBILITY_SHORTCUT_ENABLED),
101 Settings.Secure.getUriFor(Settings.Secure.ACCESSIBILITY_SHORTCUT_ON_LOCK_SCREEN),
126 final boolean enabled = Settings.Secure.getIntForUser(
127 cr, Settings.Secure.ACCESSIBILITY_SHORTCUT_ENABLED, 1, mUserId) == 1
    [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/util/
SettingsObserver.java 35 abstract class Secure extends ContentObserver implements SettingsObserver {
39 public Secure(ContentResolver resolver) {
48 Settings.Secure.getUriFor(mKeySetting), false, this);
51 Settings.Secure.getUriFor(setting), false, this);
64 onSettingChanged(Settings.Secure.getInt(mResolver, mKeySetting, 1) == 1);
  /packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
BadgingNotificationPreferenceControllerTest.java 41 import static android.provider.Settings.Secure.NOTIFICATION_BADGING;
97 Settings.Secure.putInt(context.getContentResolver(), NOTIFICATION_BADGING, 1);
109 Settings.Secure.putInt(context.getContentResolver(), NOTIFICATION_BADGING, 0);
127 Settings.Secure.putInt(resolver, Settings.Secure.NOTIFICATION_BADGING, 1);
130 int updatedValue = Settings.Secure.getInt(resolver, Settings.Secure.NOTIFICATION_BADGING,
141 Settings.Secure.putInt(resolver, Settings.Secure.NOTIFICATION_BADGING, currentValue);
  /packages/services/Car/service/src/com/android/car/
CarBluetoothService.java 18 import static android.car.settings.CarSettings.Secure
20 import static android.car.settings.CarSettings.Secure
22 import static android.car.settings.CarSettings.Secure
24 import static android.car.settings.CarSettings.Secure
26 import static android.car.settings.CarSettings.Secure
28 import static android.car.settings.CarSettings.Secure
102 // Write the priority preference to Secure settings. The Bluetooth device connection policy
104 Settings.Secure.putStringForUser(mContext.getContentResolver(),
127 Settings.Secure.putStringForUser(mContext.getContentResolver(),
194 deviceName = Settings.Secure.getStringForUser(mContext.getContentResolver()
    [all...]
  /packages/apps/Settings/src/com/android/settings/applications/defaultapps/
DefaultEmergencyPicker.java 79 return Settings.Secure.getString(getContext().getContentResolver(),
80 Settings.Secure.EMERGENCY_ASSISTANCE_APPLICATION);
86 final String previousValue = Settings.Secure.getString(contentResolver,
87 Settings.Secure.EMERGENCY_ASSISTANCE_APPLICATION);
90 Settings.Secure.putString(contentResolver,
91 Settings.Secure.EMERGENCY_ASSISTANCE_APPLICATION,
  /packages/apps/Settings/src/com/android/settings/deviceinfo/storage/
AutomaticStorageManagementSwitchPreferenceController.java 77 boolean isStorageManagerEnabled = Settings.Secure.getInt(mContext.getContentResolver(),
78 Settings.Secure.AUTOMATIC_STORAGE_MANAGER_ENABLED, 0) != 0;
92 Settings.Secure.putInt(mContext.getContentResolver(),
93 Settings.Secure.AUTOMATIC_STORAGE_MANAGER_ENABLED,
99 Settings.Secure.getInt(
101 Settings.Secure.AUTOMATIC_STORAGE_MANAGER_TURNED_OFF_BY_POLICY,
  /packages/apps/Settings/src/com/android/settings/gestures/
DoubleTwistPreferenceController.java 95 Settings.Secure.putInt(context.getContentResolver(),
96 Settings.Secure.CAMERA_DOUBLE_TWIST_TO_FLIP_ENABLED, enabled);
99 Settings.Secure.putIntForUser(context.getContentResolver(),
100 Settings.Secure.CAMERA_DOUBLE_TWIST_TO_FLIP_ENABLED, enabled, managedProfileUserId);
106 final int doubleTwistEnabled = Settings.Secure.getInt(mContext.getContentResolver(),
107 Settings.Secure.CAMERA_DOUBLE_TWIST_TO_FLIP_ENABLED, ON);

Completed in 915 milliseconds

12 3 4 5 6 7 8 91011>>