/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
AutofillRestrictionsTest.java | 19 import static android.provider.Settings.Secure.AUTOFILL_SERVICE; 20 import static android.provider.Settings.Secure.USER_SETUP_COMPLETE; 84 runShellCommand("settings put secure --user %d %s %s default", mUserId, USER_SETUP_COMPLETE, 88 runShellCommand("settings put secure %s %s default", AUTOFILL_SERVICE, SERVICE_NAME); 90 runShellCommand("settings put --user %d secure %s %s default", 98 runShellCommand("settings delete secure %s", AUTOFILL_SERVICE); 100 runShellCommand("settings delete --user %d secure %s", mUserId, AUTOFILL_SERVICE); 109 actual = runShellCommand("settings get secure %s", AUTOFILL_SERVICE); 111 actual = runShellCommand("settings get --user %d secure %s", mUserId,
|
/frameworks/base/tests/utils/testutils/java/com/android/internal/util/test/ |
FakeSettingsProvider.java | 71 private static final String[] TABLES = { "system", "secure", "global" }; 85 case "secure": 86 return Settings.Secure.getUriFor(key); 98 Settings.Secure.clearProviderForTest();
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
AccessibilitySlicePreferenceController.java | 65 final boolean accessibilityEnabled = Settings.Secure.getInt(contentResolver, 66 Settings.Secure.ACCESSIBILITY_ENABLED, OFF) == ON;
|
/packages/apps/Settings/src/com/android/settings/deletionhelper/ |
AutomaticStorageManagerSwitchBarController.java | 68 Settings.Secure.putInt( 70 Settings.Secure.AUTOMATIC_STORAGE_MANAGER_ENABLED,
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
SpellCheckersSettings.java | 112 Settings.Secure.putInt(getContentResolver(), Settings.Secure.SPELL_CHECKER_ENABLED, 224 Settings.Secure.putInt(getContentResolver(), 225 Settings.Secure.SELECTED_SPELL_CHECKER_SUBTYPE, subtypeId); 266 Settings.Secure.putString(getContentResolver(), Settings.Secure.SELECTED_SPELL_CHECKER, 269 Settings.Secure.putInt(getContentResolver(), Settings.Secure.SELECTED_SPELL_CHECKER_SUBTYPE,
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/ |
DefaultEmergencyShortcutPreferenceControllerTest.java | 83 Settings.Secure.putString(mContext.getContentResolver(), 84 Settings.Secure.EMERGENCY_ASSISTANCE_APPLICATION, "Package1");
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/defaultapps/ |
DefaultEmergencyPickerTest.java | 76 Settings.Secure.putString(RuntimeEnvironment.application.getContentResolver(), 77 Settings.Secure.EMERGENCY_ASSISTANCE_APPLICATION,
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/ |
ShowOperatorNamePreferenceControllerTest.java | 74 Settings.Secure.getInt(mContext.getContentResolver(), KEY_SHOW_OPERATOR_NAME, 0); 83 Settings.Secure.getInt(mContext.getContentResolver(), KEY_SHOW_OPERATOR_NAME, 1);
|
VrDisplayPreferencePickerTest.java | 74 Settings.Secure.putIntForUser(cr, Settings.Secure.VR_DISPLAY_MODE, 1,
|
/prebuilts/go/darwin-x86/src/cmd/go/internal/web/ |
security.go | 10 // The zero value is "secure". 14 Secure SecurityMode = iota
|
/prebuilts/go/linux-x86/src/cmd/go/internal/web/ |
security.go | 10 // The zero value is "secure". 14 Secure SecurityMode = iota
|
/device/linaro/bootloader/edk2/ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSecLibRTSM/Arm/ |
RTSMBoot.asm | 43 This memory can contain the initial stacks (Secure and Secure Monitor stacks).
45 do nothing. This memory can also represent the Secure RAM.
|
/device/linaro/bootloader/edk2/ArmPlatformPkg/Library/ArmPlatformSecLibNull/Arm/ |
ArmPlatformLibNullBoot.asm | 38 This memory can contain the initial stacks (Secure and Secure Monitor stacks).
40 do nothing. This memory can also represent the Secure RAM.
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
ShadowSettingsTest.java | 39 assertThat(Settings.Secure.getInt(contentResolver, "property", 0)).isEqualTo(0); 40 assertThat(Settings.Secure.getInt(contentResolver, "property", 2)).isEqualTo(2); 42 Settings.Secure.putInt(contentResolver, "property", 1); 43 assertThat(Settings.Secure.getInt(contentResolver, "property", 0)).isEqualTo(1); 45 Settings.Secure.putString(contentResolver, "property", "11"); 46 assertThat(Settings.Secure.getInt(contentResolver, "property", 0)).isEqualTo(11);
|
/frameworks/base/core/java/com/android/internal/app/ |
AccessibilityButtonChooserActivity.java | 65 String component = Settings.Secure.getString(getContentResolver(), 66 Settings.Secure.ACCESSIBILITY_BUTTON_TARGET_COMPONENT); 77 if (Settings.Secure.getInt(getContentResolver(), 78 Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_NAVBAR_ENABLED, 0) == 1) { 115 Settings.Secure.putString(getContentResolver(), 116 Settings.Secure.ACCESSIBILITY_BUTTON_TARGET_COMPONENT, target.getId());
|
/packages/apps/Settings/src/com/android/settings/notification/ |
RedactionInterstitial.java | 21 import static android.provider.Settings.Secure.LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS; 22 import static android.provider.Settings.Secure.LOCK_SCREEN_SHOW_NOTIFICATIONS; 172 final boolean showNotifications = managedProfile || Settings.Secure.getIntForUser( 174 final boolean showUnredacted = Settings.Secure.getIntForUser( 194 Settings.Secure.putIntForUser(getContentResolver(), 196 Settings.Secure.putIntForUser(getContentResolver(),
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/storage/ |
AutomaticStorageManagementSwitchPreferenceControllerTest.java | 98 Settings.Secure.putInt(resolver, Settings.Secure.AUTOMATIC_STORAGE_MANAGER_ENABLED, 1); 134 assertThat(Settings.Secure.getInt( 135 resolver, Settings.Secure.AUTOMATIC_STORAGE_MANAGER_ENABLED, 0)).isNotEqualTo(0); 183 Settings.Secure.putInt( 185 Settings.Secure.AUTOMATIC_STORAGE_MANAGER_TURNED_OFF_BY_POLICY,
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/ |
DoubleTapScreenPreferenceControllerTest.java | 97 Settings.Secure.putInt(resolver, Settings.Secure.DOZE_PULSE_ON_DOUBLE_TAP, 0); 100 int updatedValue = Settings.Secure.getInt(resolver, 101 Settings.Secure.DOZE_PULSE_ON_DOUBLE_TAP, -1); 110 Settings.Secure.putInt(mContext.getContentResolver(), 111 Settings.Secure.DOZE_PULSE_ON_DOUBLE_TAP, currentValue);
|
PickupGesturePreferenceControllerTest.java | 114 Settings.Secure.putInt(resolver, Settings.Secure.DOZE_PULSE_ON_PICK_UP, 0); 117 int updatedValue = Settings.Secure.getInt(resolver, 118 Settings.Secure.DOZE_PULSE_ON_PICK_UP, -1); 127 Settings.Secure.putInt(resolver, Settings.Secure.DOZE_PULSE_ON_PICK_UP, currentValue);
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
WifiPermissionsUtilTest.java | 175 mLocationModeSetting = Settings.Secure.LOCATION_MODE_HIGH_ACCURACY; 198 mLocationModeSetting = Settings.Secure.LOCATION_MODE_HIGH_ACCURACY; 242 mLocationModeSetting = Settings.Secure.LOCATION_MODE_HIGH_ACCURACY; 310 mLocationModeSetting = Settings.Secure.LOCATION_MODE_HIGH_ACCURACY; 335 mLocationModeSetting = Settings.Secure.LOCATION_MODE_HIGH_ACCURACY; 361 mLocationModeSetting = Settings.Secure.LOCATION_MODE_OFF; 395 mLocationModeSetting = Settings.Secure.LOCATION_MODE_OFF; 430 mLocationModeSetting = Settings.Secure.LOCATION_MODE_OFF; 465 mLocationModeSetting = Settings.Secure.LOCATION_MODE_OFF; 501 mLocationModeSetting = Settings.Secure.LOCATION_MODE_OFF [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
ZenModeControllerImpl.java | 34 import android.provider.Settings.Secure; 253 return Secure.getIntForUser(mResolver, Secure.USER_SETUP_COMPLETE, 0, mUserId) != 0; 267 Secure.getUriFor(Secure.USER_SETUP_COMPLETE), false, this, mUserId); 274 || Secure.getUriFor(Secure.USER_SETUP_COMPLETE).equals(uri)) {
|
/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/ |
DisplaySettingsTest.java | 88 assertTrue(mHelper.verifyToggleSetting(SettingsType.SECURE, PAGE, p, 89 Settings.Secure.SCREENSAVER_ENABLED, false)); 90 assertTrue(mHelper.verifyToggleSetting(SettingsType.SECURE, PAGE, p, 91 Settings.Secure.SCREENSAVER_ENABLED, false)); 117 Settings.Secure.putInt(mResolver, Settings.Secure.SCREENSAVER_ENABLED, 1); 123 assertTrue(mHelper.verifyRadioSetting(SettingsType.SECURE, PAGE, 124 "Current screen saver", "Clock", Settings.Secure.SCREENSAVER_COMPONENTS, 126 assertTrue(mHelper.verifyRadioSetting(SettingsType.SECURE, PAGE, 127 "Current screen saver", "Colors", Settings.Secure.SCREENSAVER_COMPONENTS [all...] |
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
UserDataTest.java | 19 import static android.provider.Settings.Secure.AUTOFILL_USER_DATA_MAX_CATEGORY_COUNT; 20 import static android.provider.Settings.Secure.AUTOFILL_USER_DATA_MAX_FIELD_CLASSIFICATION_IDS_SIZE; 21 import static android.provider.Settings.Secure.AUTOFILL_USER_DATA_MAX_USER_DATA_SIZE; 22 import static android.provider.Settings.Secure.AUTOFILL_USER_DATA_MAX_VALUE_LENGTH; 23 import static android.provider.Settings.Secure.AUTOFILL_USER_DATA_MIN_VALUE_LENGTH;
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/location/ |
LocationForWorkPreferenceControllerTest.java | 129 mController.onLocationModeChanged(Settings.Secure.LOCATION_MODE_BATTERY_SAVING, false); 141 mController.onLocationModeChanged(Settings.Secure.LOCATION_MODE_OFF, false); 155 mController.onLocationModeChanged(Settings.Secure.LOCATION_MODE_BATTERY_SAVING, false); 168 mController.onLocationModeChanged(Settings.Secure.LOCATION_MODE_BATTERY_SAVING, false); 179 mController.onLocationModeChanged(Settings.Secure.LOCATION_MODE_BATTERY_SAVING, false);
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowSettings.java | 14 * Shadow of {@code Settings} that allows the status of various System and Secure settings to be simulated, changed and 126 @Implements(Settings.Secure.class) 149 Settings.Secure.putInt(Robolectric.application.getContentResolver(), Settings.Secure.WIFI_ON, isOn ? 1 : 0);
|