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

1 2 34 5 6 7 8 91011>>

  /packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/
DoubleTapPowerPreferenceControllerTest.java 41 import static android.provider.Settings.Secure.CAMERA_DOUBLE_TAP_POWER_GESTURE_DISABLED;
117 Settings.Secure.putInt(resolver, Settings.Secure.CAMERA_DOUBLE_TAP_POWER_GESTURE_DISABLED,
122 int updatedValue = Settings.Secure.getInt(resolver,
123 Settings.Secure.CAMERA_DOUBLE_TAP_POWER_GESTURE_DISABLED, -1);
134 Settings.Secure.putInt(resolver,
135 Settings.Secure.CAMERA_DOUBLE_TAP_POWER_GESTURE_DISABLED, currentValue);
DoubleTwistPreferenceControllerTest.java 106 null, Settings.Secure.CAMERA_DOUBLE_TWIST_TO_FLIP_ENABLED, 0, managedId);
113 assertThat(Settings.Secure.getIntForUser(mContext.getContentResolver(),
114 Settings.Secure.CAMERA_DOUBLE_TWIST_TO_FLIP_ENABLED, 0, managedId)).isEqualTo(1);
118 assertThat(Settings.Secure.getIntForUser(mContext.getContentResolver(),
119 Settings.Secure.CAMERA_DOUBLE_TWIST_TO_FLIP_ENABLED, 1, managedId)).isEqualTo(0);
127 Settings.Secure.CAMERA_DOUBLE_TWIST_TO_FLIP_ENABLED, 1);
138 Settings.Secure.CAMERA_DOUBLE_TWIST_TO_FLIP_ENABLED, 0);
DoubleTapScreenPreferenceControllerTest.java 107 Settings.Secure.putInt(resolver, Settings.Secure.DOZE_PULSE_ON_DOUBLE_TAP, 0);
110 int updatedValue = Settings.Secure.getInt(resolver,
111 Settings.Secure.DOZE_PULSE_ON_DOUBLE_TAP, -1);
121 Settings.Secure.putInt(resolver,
122 Settings.Secure.DOZE_PULSE_ON_DOUBLE_TAP, currentValue);
PIckupGesturePreferenceControllerTest.java 123 Settings.Secure.putInt(resolver, Settings.Secure.DOZE_PULSE_ON_PICK_UP, 0);
126 int updatedValue = Settings.Secure.getInt(resolver,
127 Settings.Secure.DOZE_PULSE_ON_PICK_UP, -1);
137 Settings.Secure.putInt(resolver, Settings.Secure.DOZE_PULSE_ON_PICK_UP, currentValue);
  /frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/util/
WizardManagerHelperTest.java 31 import android.provider.Settings.Secure;
299 Settings.Secure.putInt(application.getContentResolver(), Global.DEVICE_PROVISIONED, 1);
300 Settings.Secure.putInt(application.getContentResolver(), "user_setup_complete", 1);
303 Settings.Secure.putInt(application.getContentResolver(), "user_setup_complete", 0);
310 Settings.Secure.putInt(application.getContentResolver(), Secure.DEVICE_PROVISIONED, 1);
313 Settings.Secure.putInt(application.getContentResolver(), Secure.DEVICE_PROVISIONED, 0);
320 Settings.Secure.putInt(application.getContentResolver(), Global.DEVICE_PROVISIONED, 1);
322 Settings.Secure.putInt(application.getContentResolver(), Global.DEVICE_PROVISIONED, 0)
    [all...]
  /frameworks/base/services/tests/servicestests/src/com/android/server/policy/
AccessibilityShortcutControllerTest.java 54 import static android.provider.Settings.Secure.ACCESSIBILITY_SHORTCUT_DIALOG_SHOWN;
55 import static android.provider.Settings.Secure.ACCESSIBILITY_SHORTCUT_ENABLED;
56 import static android.provider.Settings.Secure.ACCESSIBILITY_SHORTCUT_ON_LOCK_SCREEN;
57 import static android.provider.Settings.Secure.ACCESSIBILITY_SHORTCUT_TARGET_SERVICE;
208 Settings.Secure.putString(mContentResolver, ACCESSIBILITY_SHORTCUT_TARGET_SERVICE, "");
277 Settings.Secure.putInt(mContentResolver, ACCESSIBILITY_SHORTCUT_DIALOG_SHOWN, 0);
280 assertEquals(1, Settings.Secure.getInt(
294 Settings.Secure.putInt(mContentResolver, ACCESSIBILITY_SHORTCUT_DIALOG_SHOWN, 0);
310 Settings.Secure.putInt(mContentResolver, ACCESSIBILITY_SHORTCUT_DIALOG_SHOWN, 0);
326 Settings.Secure.putInt(mContentResolver, ACCESSIBILITY_SHORTCUT_DIALOG_SHOWN, 0)
    [all...]
  /packages/apps/Settings/tests/robotests/src/com/android/settings/display/
AmbientDisplayNotificationsPreferenceControllerTest.java 93 assertThat(Settings.Secure.getInt(null, Settings.Secure.DOZE_ENABLED, -1))
101 assertThat(Settings.Secure.getInt(null, Settings.Secure.DOZE_ENABLED, -1))
150 Settings.Secure.putInt(resolver, Settings.Secure.DOZE_ENABLED, 0);
153 int updatedValue = Settings.Secure.getInt(resolver, Settings.Secure.DOZE_ENABLED, 1);
163 Settings.Secure.putInt(resolver, Settings.Secure.DOZE_ENABLED, currentValue)
    [all...]
  /frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DatabaseHelper.java 42 import android.provider.Settings.Secure;
67 * secure, and system settings are no longer stored in a database
94 private static final String TABLE_SECURE = "secure";
179 db.execSQL("CREATE TABLE secure (" +
184 db.execSQL("CREATE INDEX secureIndex1 ON secure (name);");
334 // This introduces the new secure settings table.
347 Settings.Secure.ADB_ENABLED,
348 Settings.Secure.ANDROID_ID,
349 Settings.Secure.BLUETOOTH_ON,
350 Settings.Secure.DATA_ROAMING
    [all...]
  /cts/tests/accessibility/src/android/view/accessibility/cts/
ServiceControlUtils.java 59 String alreadyEnabledServices = Settings.Secure.getString(
60 cr, Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES);
61 ParcelFileDescriptor fd = uiAutomation.executeShellCommand("settings --user cur put secure "
62 + Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES + " "
124 String alreadyEnabledServices = Settings.Secure.getString(
125 cr, Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES);
126 ParcelFileDescriptor fd = uiAutomation.executeShellCommand("settings --user cur put secure "
127 + Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES + " "
  /cts/tests/vr/src/android/vr/cts/
VrSetFIFOThreadTest.java 60 String old_vr_listener = Settings.Secure.getString(mContext.getContentResolver(), ENABLED_VR_LISTENERS);
61 Settings.Secure.putString(mContext.getContentResolver(),
79 Settings.Secure.putString(mContext.getContentResolver(),
87 String old_vr_listener = Settings.Secure.getString(mContext.getContentResolver(), ENABLED_VR_LISTENERS);
88 Settings.Secure.putString(mContext.getContentResolver(),
105 Settings.Secure.putString(mContext.getContentResolver(),
  /frameworks/base/telecomm/java/android/telecom/
DefaultDialerManager.java 43 * The caller of this method needs to have permission to write to secure settings and
57 * The caller of this method needs to have permission to write to secure settings and
68 String oldPackageName = Settings.Secure.getStringForUser(context.getContentResolver(),
69 Settings.Secure.DIALER_DEFAULT_APPLICATION, user);
80 // Update the secure setting.
81 Settings.Secure.putStringForUser(context.getContentResolver(),
82 Settings.Secure.DIALER_DEFAULT_APPLICATION, packageName, user);
119 String defaultPackageName = Settings.Secure.getStringForUser(context.getContentResolver(),
120 Settings.Secure.DIALER_DEFAULT_APPLICATION, user);
  /packages/apps/Settings/src/com/android/settings/applications/assist/
AssistFlashScreenPreferenceController.java 96 Settings.Secure.putInt(mContext.getContentResolver(),
97 Settings.Secure.ASSIST_DISCLOSURE_ENABLED,
144 Settings.Secure.getUriFor(Settings.Secure.ASSIST_DISCLOSURE_ENABLED);
146 Settings.Secure.getUriFor(Settings.Secure.ASSIST_STRUCTURE_ENABLED);
  /packages/apps/Settings/src/com/android/settings/deletionhelper/
AutomaticStorageManagerSettings.java 72 Settings.Secure.getInt(
74 Settings.Secure.AUTOMATIC_STORAGE_MANAGER_DAYS_TO_RETAIN,
126 Settings.Secure.putInt(
128 Settings.Secure.AUTOMATIC_STORAGE_MANAGER_DAYS_TO_RETAIN,
155 return Settings.Secure.getInt(
156 getContentResolver(), Settings.Secure.AUTOMATIC_STORAGE_MANAGER_ENABLED, 0)
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessibility/
AccessibilityFragment.java 71 highContrastPreference.setChecked(Settings.Secure.getInt(getContext().getContentResolver(),
72 Settings.Secure.ACCESSIBILITY_HIGH_TEXT_CONTRAST_ENABLED, 0) == 1);
81 Settings.Secure.putInt(getActivity().getContentResolver(),
82 Settings.Secure.ACCESSIBILITY_HIGH_TEXT_CONTRAST_ENABLED,
96 final boolean accessibilityEnabled = Settings.Secure.getInt(
98 Settings.Secure.ACCESSIBILITY_ENABLED, 0) == 1;
AccessibilityShortcutFragment.java 56 boolean shortcutEnabled = Settings.Secure.getInt(getContext().getContentResolver(),
57 Settings.Secure.ACCESSIBILITY_SHORTCUT_ENABLED, 1) == 1;
80 Settings.Secure.putInt(getContext().getContentResolver(),
81 Settings.Secure.ACCESSIBILITY_SHORTCUT_ENABLED, enabled ? 1 : 0);
  /packages/apps/Settings/src/com/android/settings/accessibility/
AccessibilitySettings.java 280 Settings.Secure.putInt(getContentResolver(),
281 Settings.Secure.LONG_PRESS_TIMEOUT, Integer.parseInt(stringValue));
287 Settings.Secure.putInt(getContentResolver(),
288 Settings.Secure.ACCESSIBILITY_DISPLAY_INVERSION_ENABLED, (checked ? 1 : 0));
313 Settings.Secure.putInt(getContentResolver(),
314 Settings.Secure.ACCESSIBILITY_HIGH_TEXT_CONTRAST_ENABLED,
319 Settings.Secure.putInt(getContentResolver(),
320 Settings.Secure.INCALL_POWER_BUTTON_BEHAVIOR,
322 ? Settings.Secure.INCALL_POWER_BUTTON_BEHAVIOR_HANGUP
323 : Settings.Secure.INCALL_POWER_BUTTON_BEHAVIOR_SCREEN_OFF))
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
TunerServiceImpl.java 36 import android.provider.Settings.Secure;
114 Settings.Secure.putStringForUser(mContentResolver,
124 return Settings.Secure.getStringForUser(mContentResolver, setting, mCurrentUser);
129 Settings.Secure.putStringForUser(mContentResolver, setting, value, mCurrentUser);
134 return Settings.Secure.getIntForUser(mContentResolver, setting, def, mCurrentUser);
139 String ret = Secure.getStringForUser(mContentResolver, setting, mCurrentUser);
146 Settings.Secure.putIntForUser(mContentResolver, setting, value, mCurrentUser);
165 Uri uri = Settings.Secure.getUriFor(key);
171 String value = Settings.Secure.getStringForUser(mContentResolver, key, mCurrentUser);
201 String value = Settings.Secure.getStringForUser(mContentResolver, key, mCurrentUser)
    [all...]
  /packages/apps/Settings/src/com/android/settings/gestures/
DoubleTapPowerPreferenceController.java 31 import static android.provider.Settings.Secure.CAMERA_DOUBLE_TAP_POWER_GESTURE_DISABLED;
76 Settings.Secure.putInt(mContext.getContentResolver(), SECURE_KEY, enabled ? ON : OFF);
82 final int cameraDisabled = Settings.Secure.getInt(mContext.getContentResolver(),
93 return new InlineSwitchPayload(SECURE_KEY, ResultPayload.SettingsSource.SECURE,
SwipeToNotificationPreferenceController.java 27 import static android.provider.Settings.Secure.SYSTEM_NAVIGATION_KEYS_ENABLED;
83 return Settings.Secure.getInt(context.getContentResolver(), SECURE_KEY, OFF) == ON;
87 return Settings.Secure.putInt(
  /frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/core/
ShellUiAutomatorBridge.java 61 String providerName = Settings.Secure.CONTENT_URI.getAuthority();
70 cursor = provider.query(null, Settings.Secure.CONTENT_URI,
72 Settings.Secure.VALUE
76 new String[] { Settings.Secure.LONG_PRESS_TIMEOUT },
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/
InputMethodAndSubtypeUtil.java 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(
145 resolver, Settings.Secure.DISABLED_SYSTEM_INPUT_METHODS);
159 String currentInputMethodId = Settings.Secure.getString(resolver,
160 Settings.Secure.DEFAULT_INPUT_METHOD)
    [all...]
  /packages/apps/Settings/src/com/android/settings/notification/
LockScreenNotificationPreferenceController.java 232 Settings.Secure.putIntForUser(mContext.getContentResolver(),
233 Settings.Secure.LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS,
235 Settings.Secure.putIntForUser(mContext.getContentResolver(),
236 Settings.Secure.LOCK_SCREEN_SHOW_NOTIFICATIONS,
248 Settings.Secure.putInt(mContext.getContentResolver(),
249 Settings.Secure.LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS, show ? 1 : 0);
250 Settings.Secure.putInt(mContext.getContentResolver(),
251 Settings.Secure.LOCK_SCREEN_SHOW_NOTIFICATIONS, enabled ? 1 : 0);
318 return Settings.Secure.getIntForUser(mContext.getContentResolver(),
319 Settings.Secure.LOCK_SCREEN_SHOW_NOTIFICATIONS, 0, userId) != 0
    [all...]
  /packages/services/Car/car-lib/src/android/car/settings/
CarSettings.java 27 * like the "Secure" settings, these are for preferences that the user must
151 public static final class Secure {
  /packages/services/Telephony/src/com/android/phone/
LocationAccessPolicy.java 77 return Settings.Secure.getIntForUser(context.getContentResolver(),
78 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF, userId)
79 != Settings.Secure.LOCATION_MODE_OFF;
  /frameworks/base/services/core/java/com/android/server/
GestureLauncherService.java 171 Settings.Secure.getUriFor(Settings.Secure.CAMERA_GESTURE_DISABLED),
174 Settings.Secure.getUriFor(Settings.Secure.CAMERA_DOUBLE_TAP_POWER_GESTURE_DISABLED),
177 Settings.Secure.getUriFor(Settings.Secure.CAMERA_LIFT_TRIGGER_ENABLED),
311 && (Settings.Secure.getIntForUser(context.getContentResolver(),
312 Settings.Secure.CAMERA_GESTURE_DISABLED, 0, userId) == 0);
317 && (Settings.Secure.getIntForUser(context.getContentResolver(),
318 Settings.Secure.CAMERA_DOUBLE_TAP_POWER_GESTURE_DISABLED, 0, userId) == 0)
    [all...]

Completed in 607 milliseconds

1 2 34 5 6 7 8 91011>>