/frameworks/base/services/core/java/com/android/server/am/ |
CoreSettingsObserver.java | 34 * in {@link Settings.Secure}. 50 sSecureSettingToTypeMap.put(Settings.Secure.LONG_PRESS_TIMEOUT, int.class); 51 sSecureSettingToTypeMap.put(Settings.Secure.MULTI_PRESS_TIMEOUT, int.class); 52 // add other secure settings here... 92 Uri uri = Settings.Secure.getUriFor(setting); 117 value = Settings.Secure.getString(context.getContentResolver(), setting);
|
/frameworks/base/services/core/java/com/android/server/lights/ |
LightsService.java | 106 (getVrDisplayMode() == Settings.Secure.VR_DISPLAY_MODE_LOW_PERSISTENCE); 190 return Settings.Secure.getIntForUser(getContext().getContentResolver(), 191 Settings.Secure.VR_DISPLAY_MODE, 192 /*default*/Settings.Secure.VR_DISPLAY_MODE_LOW_PERSISTENCE,
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/assist/ |
DefaultAssistPreferenceControllerTest.java | 94 Settings.Secure.putString(null, Settings.Secure.ASSISTANT, flattenKey); 103 Settings.Secure.putString(null, Settings.Secure.ASSISTANT, flattenKey);
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/deletionhelper/ |
AutomaticStorageManagerSwitchBarControllerTest.java | 131 Settings.Secure.putInt( 133 Settings.Secure.AUTOMATIC_STORAGE_MANAGER_ENABLED, 149 Settings.Secure.putInt( 151 Settings.Secure.AUTOMATIC_STORAGE_MANAGER_ENABLED,
|
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/ |
StorageManagerUpsellDialog.java | 86 Settings.Secure.putInt(getActivity().getContentResolver(), 87 Settings.Secure.AUTOMATIC_STORAGE_MANAGER_ENABLED, 1); 121 Settings.Secure.getInt(context.getContentResolver(), 122 Settings.Secure.AUTOMATIC_STORAGE_MANAGER_ENABLED, 0) != 0;
|
/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,
|
/device/linaro/bootloader/edk2/ArmPlatformPkg/Sec/Arm/ |
Helper.asm | 24 // r3: Secure Monitor mode stack
26 cmp r3, #0 // If a Secure Monitor stack base has not been defined then use the Secure stack
53 returned_exception // We are now in non-secure state
62 // Set the Non Secure Mode
|
/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/development/ |
BugReportInPowerPreferenceController.java | 48 Settings.Secure.putInt(mContext.getContentResolver(), 97 final boolean enabled = Settings.Secure.getInt(
|
/packages/apps/Settings/src/com/android/settings/gestures/ |
DoubleTapScreenPreferenceController.java | 33 import static android.provider.Settings.Secure.DOZE_PULSE_ON_DOUBLE_TAP; 76 Settings.Secure.putInt(mContext.getContentResolver(), SECURE_KEY, enabled ? ON : OFF); 96 return new InlineSwitchPayload(SECURE_KEY, ResultPayload.SettingsSource.SECURE,
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
SpellCheckersSettings.java | 109 Settings.Secure.putInt(getContentResolver(), Settings.Secure.SPELL_CHECKER_ENABLED, 216 Settings.Secure.putInt(getContentResolver(), 217 Settings.Secure.SELECTED_SPELL_CHECKER_SUBTYPE, subtypeId); 258 Settings.Secure.putString(getContentResolver(), Settings.Secure.SELECTED_SPELL_CHECKER, 261 Settings.Secure.putInt(getContentResolver(), Settings.Secure.SELECTED_SPELL_CHECKER_SUBTYPE,
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/defaultapps/ |
DefaultEmergencyPickerTest.java | 79 Settings.Secure.putString(RuntimeEnvironment.application.getContentResolver(), 80 Settings.Secure.EMERGENCY_ASSISTANCE_APPLICATION,
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/ |
VrDisplayPreferencePickerTest.java | 76 Settings.Secure.putIntForUser(cr, Settings.Secure.VR_DISPLAY_MODE, 1,
|
/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.
|
/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/tests/robotests/src/com/android/settings/deviceinfo/storage/ |
AutomaticStorageManagementSwitchPreferenceControllerTest.java | 103 Settings.Secure.putInt(resolver, Settings.Secure.AUTOMATIC_STORAGE_MANAGER_ENABLED, 1); 141 assertThat(Settings.Secure.getInt( 142 resolver, Settings.Secure.AUTOMATIC_STORAGE_MANAGER_ENABLED, 0)).isNotEqualTo(0); 187 Settings.Secure.putInt( 189 Settings.Secure.AUTOMATIC_STORAGE_MANAGER_TURNED_OFF_BY_POLICY,
|
/packages/apps/Settings/src/com/android/settings/widget/ |
SettingsAppWidgetProvider.java | 519 private int mCurrentLocationMode = Settings.Secure.LOCATION_MODE_OFF; 528 case Settings.Secure.LOCATION_MODE_HIGH_ACCURACY: 529 case Settings.Secure.LOCATION_MODE_SENSORS_ONLY: 542 mCurrentLocationMode = Settings.Secure.getInt(resolver, 543 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF); 544 return (mCurrentLocationMode == Settings.Secure.LOCATION_MODE_OFF) 564 int currentMode = Settings.Secure.getInt(resolver, 565 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF) [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
ZenModeControllerImpl.java | 34 import android.provider.Settings.Secure; 256 return Secure.getIntForUser(mResolver, Secure.USER_SETUP_COMPLETE, 0, mUserId) != 0; 270 Secure.getUriFor(Secure.USER_SETUP_COMPLETE), false, this, mUserId); 277 || Secure.getUriFor(Secure.USER_SETUP_COMPLETE).equals(uri)) {
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/suggestions/ |
SuggestionFeatureProviderImplTest.java | 37 import android.provider.Settings.Secure; 407 Secure.putString(mContext.getContentResolver(), Secure.NIGHT_DISPLAY_LAST_ACTIVATED_TIME, 409 Secure.putInt(mContext.getContentResolver(), Secure.NIGHT_DISPLAY_AUTO_MODE, 1); 415 Secure.putString(mContext.getContentResolver(), Secure.NIGHT_DISPLAY_LAST_ACTIVATED_TIME, 424 Secure.putInt(mContext.getContentResolver(), Secure.NIGHT_DISPLAY_AUTO_MODE, 1); 432 Secure.putString(mContext.getContentResolver(), Secure.NIGHT_DISPLAY_LAST_ACTIVATED_TIME [all...] |
/packages/apps/Settings/src/com/android/settings/applications/defaultapps/ |
DefaultAutofillPicker.java | 53 static final String SETTING = Settings.Secure.AUTOFILL_SERVICE; 158 final String searchUri = Settings.Secure.getString(getActivity().getContentResolver(), 159 Settings.Secure.AUTOFILL_SERVICE_SEARCH_URI); 203 String setting = Settings.Secure.getString(context.getContentResolver(), SETTING); 231 Settings.Secure.putString(getContext().getContentResolver(), SETTING, key);
|
/packages/apps/Settings/src/com/android/settings/dashboard/suggestions/ |
SuggestionFeatureProviderImpl.java | 25 import android.provider.Settings.Secure; 169 return Secure.getInt(cr, Secure.NIGHT_DISPLAY_AUTO_MODE, 0) != 0 170 || Secure.getString(cr, Secure.NIGHT_DISPLAY_LAST_ACTIVATED_TIME) != null;
|
/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);
|
/frameworks/base/core/tests/coretests/src/android/os/ |
SetPersistentVrThreadTest.java | 59 mOldVrListener = Settings.Secure.getString(mContext.getContentResolver(), 61 Settings.Secure.putString(mContext.getContentResolver(), ENABLED_VR_LISTENERS, 73 Settings.Secure.putString(mContext.getContentResolver(), ENABLED_VR_LISTENERS,
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
WifiSettingsStore.java | 234 return Settings.Secure.getInt(context.getContentResolver(), 235 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF);
|