Home
last modified time | relevance | path

Searched refs:putIntForUser (Results 1 – 25 of 85) sorted by relevance

1234

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
H A DSettingObserverTest.kt85 secureSettings.putIntForUser(TEST_SETTING, 2, USER)
95 secureSettings.putIntForUser(TEST_SETTING, 2, USER)
106 secureSettings.putIntForUser("other", 2, USER)
112 secureSettings.putIntForUser(TEST_SETTING, 2, USER)
115 secureSettings.putIntForUser(TEST_SETTING, 4, USER)
139 secureSettings.putIntForUser(TEST_SETTING, 3, OTHER_USER)
150 secureSettings.putIntForUser(TEST_SETTING, 2, OTHER_USER)
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
H A DNotificationLockscreenUserManagerTest.java177 mSettings.putIntForUser(Settings.Secure.LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS, 0, in testLockScreenAllowPrivateNotificationsFalse()
185 mSettings.putIntForUser(Settings.Secure.LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS, 0, in testLockScreenAllowsWorkPrivateNotificationsFalse()
193 mSettings.putIntForUser(Settings.Secure.LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS, 1, in testLockScreenAllowsWorkPrivateNotificationsTrue()
202 mSettings.putIntForUser(Settings.Secure.LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS, 0, in testCurrentUserPrivateNotificationsNotRedacted()
213 mSettings.putIntForUser(Settings.Secure.LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS, 1, in testCurrentUserPrivateNotificationsRedacted()
224 mSettings.putIntForUser(Settings.Secure.LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS, 0, in testWorkPrivateNotificationsRedacted()
235 mSettings.putIntForUser(Settings.Secure.LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS, 1, in testWorkPrivateNotificationsNotRedacted()
246 mSettings.putIntForUser(Settings.Secure.LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS, 1, in testWorkPrivateNotificationsNotRedacted_otherUsersRedacted()
248 mSettings.putIntForUser(Settings.Secure.LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS, 0, in testWorkPrivateNotificationsNotRedacted_otherUsersRedacted()
250 mSettings.putIntForUser(Settings.Secure.LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS, 0, in testWorkPrivateNotificationsNotRedacted_otherUsersRedacted()
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/pipeline/domain/autoaddable/
H A DAutoAddableSettingTest.kt68 secureSettings.putIntForUser(SETTING, 0, userId)
79 secureSettings.putIntForUser(SETTING, 42, userId)
90 secureSettings.putIntForUser(SETTING, /* value */ 42, /* userHandle */ 1)
102 secureSettings.putIntForUser(SETTING, 1, userId)
103 secureSettings.putIntForUser(SETTING, 2, userId)
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/
H A DAccessibilityButtonModeObserverTest.java65 Settings.Secure.putIntForUser(mContext.getContentResolver(), in setUp()
75 Settings.Secure.putIntForUser(mContext.getContentResolver(), in onChange_haveListener_invokeCallback()
88 Settings.Secure.putIntForUser(mContext.getContentResolver(), in onChange_noListener_noInvokeCallback()
99 Settings.Secure.putIntForUser(mContext.getContentResolver(), in getCurrentAccessibilityButtonMode_expectedValue()
H A DSecureSettingsContentObserverTest.java63 Settings.Secure.putIntForUser(mContext.getContentResolver(), in checkValue()
/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DNotificationHistoryManagerTest.java147 Settings.Secure.putIntForUser(getContext().getContentResolver(), in testOnUserUnlocked_historyDisabled()
170 Settings.Secure.putIntForUser(getContext().getContentResolver(), in testOnUserUnlocked_historyDisabled_withProfile()
193 Settings.Secure.putIntForUser(getContext().getContentResolver(), in testOnUserUnlocked_historyDisabledThenEnabled()
198 Settings.Secure.putIntForUser(getContext().getContentResolver(), in testOnUserUnlocked_historyDisabledThenEnabled()
222 Settings.Secure.putIntForUser(getContext().getContentResolver(), in testOnUserUnlocked_historyDisabledThenEnabled_multiProfile()
227 Settings.Secure.putIntForUser(getContext().getContentResolver(), in testOnUserUnlocked_historyDisabledThenEnabled_multiProfile()
324 Settings.Secure.putIntForUser(getContext().getContentResolver(), in testOnPackageRemoved_historyDisabled()
431 Settings.Secure.putIntForUser(getContext().getContentResolver(), in testTriggerWriteToDisk_historyDisabled()
455 Settings.Secure.putIntForUser(getContext().getContentResolver(), in testAddNotification_historyDisabled()
530 Settings.Secure.putIntForUser(getContext().getContentResolver(), in testReadNotificationHistory_historyDisabled()
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
H A DDndTileTest.kt148 secureSettings.putIntForUser(KEY, Settings.Secure.ZEN_DURATION_PROMPT, DEFAULT_USER)
158 secureSettings.putIntForUser(KEY, 60, DEFAULT_USER)
168 secureSettings.putIntForUser(KEY, 60, DEFAULT_USER)
177 secureSettings.putIntForUser(KEY, Settings.Secure.ZEN_DURATION_PROMPT, DEFAULT_USER)
187 secureSettings.putIntForUser(KEY, Settings.Secure.ZEN_DURATION_PROMPT, DEFAULT_USER)
201 secureSettings.putIntForUser(KEY, 60, DEFAULT_USER)
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
H A DDeviceProvisionedControllerImplTest.kt127 settings.putIntForUser(Settings.Secure.USER_SETUP_COMPLETE, 1, START_USER)
157 settings.putIntForUser(Settings.Secure.USER_SETUP_COMPLETE, 1, START_USER)
168 settings.putIntForUser(Settings.Secure.USER_SETUP_COMPLETE, 1, otherUser)
178 settings.putIntForUser(Settings.Secure.USER_SETUP_COMPLETE, 1, otherUser)
222 settings.putIntForUser(Settings.Secure.USER_SETUP_COMPLETE, 1, START_USER)
269 settings.putIntForUser(Settings.Secure.USER_SETUP_COMPLETE, 1, START_USER)
/aosp14/frameworks/base/core/java/android/hardware/input/
H A DInputSettings.java219 Settings.System.putIntForUser(context.getContentResolver(), in setTouchpadPointerSpeed()
252 Settings.System.putIntForUser(context.getContentResolver(), in setTouchpadNaturalScrolling()
284 Settings.System.putIntForUser(context.getContentResolver(), in setTouchpadTapToClick()
316 Settings.System.putIntForUser(context.getContentResolver(), in setTouchpadRightClickZone()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
H A DActiveUnlockConfigTest.kt100 secureSettings.putIntForUser(ACTIVE_UNLOCK_ON_WAKE, 1, currentUser)
127 secureSettings.putIntForUser(ACTIVE_UNLOCK_ON_UNLOCK_INTENT, 1, currentUser)
152 secureSettings.putIntForUser(ACTIVE_UNLOCK_ON_BIOMETRIC_FAIL, 1, currentUser)
167 secureSettings.putIntForUser(ACTIVE_UNLOCK_ON_BIOMETRIC_FAIL, 1, currentUser)
212 secureSettings.putIntForUser(ACTIVE_UNLOCK_ON_BIOMETRIC_FAIL, 1, currentUser)
237 secureSettings.putIntForUser(ACTIVE_UNLOCK_ON_BIOMETRIC_FAIL, 1, currentUser)
280 secureSettings.putIntForUser(
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/
H A DAccessibilityFloatingMenuControllerTest.java116 Settings.Secure.putIntForUser(mContextWrapper.getContentResolver(), in tearDown()
276 Settings.Secure.putIntForUser(mContextWrapper.getContentResolver(), in onAccessibilityButtonTargetsChanged_floatingModeAndHasButtonTargets_showWidget()
288 Settings.Secure.putIntForUser(mContextWrapper.getContentResolver(), in onAccessibilityButtonTargetsChanged_floatingModeAndNoButtonTargets_destroyWidget()
300 Settings.Secure.putIntForUser(mContextWrapper.getContentResolver(), in onAccessibilityButtonTargetsChanged_navBarModeAndHasButtonTargets_destroyWidget()
312 Settings.Secure.putIntForUser(mContextWrapper.getContentResolver(), in onAccessibilityButtonTargetsChanged_navBarModeAndNoButtonTargets_destroyWidget()
324 Settings.Secure.putIntForUser(mContextWrapper.getContentResolver(), in onTargetsChanged_isFloatingViewLayerControllerCreated()
351 Settings.Secure.putIntForUser(mContextWrapper.getContentResolver(), in enableAccessibilityFloatingMenuConfig()
/aosp14/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DCaptioningManagerImpl.java46 Settings.Secure.putIntForUser(mContext.getContentResolver(), in setSystemAudioCaptioningEnabled()
81 Settings.Secure.putIntForUser(mContext.getContentResolver(), in setSystemAudioCaptioningUiEnabled()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/
H A DOneHandedSettingsUtil.java121 return Settings.Secure.putIntForUser(resolver, in setOneHandedModeEnabled()
198 return Settings.Secure.putIntForUser(resolver, in setTutorialShownCounts()
218 return Settings.Secure.putIntForUser(resolver, in setOneHandedModeActivated()
/aosp14/frameworks/base/services/core/java/com/android/server/audio/
H A DSettingsAdapter.java65 return Settings.System.putIntForUser(cr, name, value, userHandle); in putSystemIntForUser()
84 return Settings.Secure.putIntForUser(cr, name, value, userHandle); in putSecureIntForUser()
/aosp14/frameworks/base/services/flags/java/com/android/server/flags/
H A DSettingsProxy.java127 return putIntForUser(name, value, getUserId()); in putInt()
131 default boolean putIntForUser(String name, int value, int userHandle) { in putIntForUser() method
202 return putIntForUser(name, value ? 1 : 0, userHandle); in putBoolForUser()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/util/settings/
H A DSettingsProxy.java323 return putIntForUser(name, value, getUserId()); in putInt()
327 default boolean putIntForUser(String name, int value, int userHandle) { in putIntForUser() method
398 return putIntForUser(name, value ? 1 : 0, userHandle); in putBoolForUser()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DGuestResumeSessionReceiver.java79 mSecureSettings.putIntForUser(SETTING_GUEST_HAS_LOGGED_IN, guestLoginState,
84 mSecureSettings.putIntForUser(SETTING_GUEST_HAS_LOGGED_IN, guestLoginState,
/aosp14/frameworks/base/core/java/com/android/internal/view/
H A DRotationPolicy.java120 Settings.System.putIntForUser(context.getContentResolver(), in setRotationLockAtAngle()
133 Settings.System.putIntForUser(context.getContentResolver(), in setRotationLockForAccessibility()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/user/data/repository/
H A DUserRepositoryImplTest.kt314 globalSettings.putIntForUser(
319 globalSettings.putIntForUser(
324 globalSettings.putIntForUser(
/aosp14/frameworks/base/services/core/java/com/android/server/display/color/
H A DColorDisplayService.java484 return Secure.putIntForUser(getContext().getContentResolver(), in resetReduceBrightColors()
834 return Secure.putIntForUser(getContext().getContentResolver(), in setDisplayWhiteBalanceSettingEnabled()
855 return Secure.putIntForUser(getContext().getContentResolver(), in setReduceBrightColorsActivatedInternal()
863 return Secure.putIntForUser(getContext().getContentResolver(), in setReduceBrightColorsStrengthInternal()
894 return Secure.putIntForUser(getContext().getContentResolver(), in setNightDisplayAutoModeInternal()
933 return Secure.putIntForUser(getContext().getContentResolver(), in setNightDisplayCustomStartTimeInternal()
950 return Secure.putIntForUser(getContext().getContentResolver(), in setNightDisplayCustomEndTimeInternal()
996 System.putIntForUser(getContext().getContentResolver(), System.DISPLAY_COLOR_MODE, in setColorModeInternal()
1435 Secure.putIntForUser(getContext().getContentResolver(), in setActivated()
1476 final boolean success = Secure.putIntForUser(getContext().getContentResolver(), in setColorTemperature()
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/fuelgauge/
H A DBatterySaverUtils.java205 Secure.putIntForUser(context.getContentResolver(), in setBatterySaverConfirmationAcknowledged()
207 Secure.putIntForUser(context.getContentResolver(), in setBatterySaverConfirmationAcknowledged()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/power/
H A DAttentionDetectorTest.java93 Settings.Secure.putIntForUser(getContext().getContentResolver(), in setUp()
104 Settings.Secure.putIntForUser(getContext().getContentResolver(), in tearDown()
127 Settings.Secure.putIntForUser(getContext().getContentResolver(), in testOnUserActivity_doesntCheckIfNotEnabled()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DSettingObserver.java68 mSettingsProxy.putIntForUser(mSettingName, value, mUserId); in setValue()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
H A DFlashNotificationsControllerTest.java462 Settings.System.putIntForUser(mTestableContentResolver, in putCameraFlash()
468 Settings.System.putIntForUser(mTestableContentResolver, in putScreenFlash()
474 Settings.System.putIntForUser(mTestableContentResolver, in putScreenColor()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
H A DBiometricNotificationService.java111 Settings.Secure.putIntForUser(mContext.getContentResolver(),
180 Settings.Secure.putIntForUser(mContext.getContentResolver(), in start()

1234