Home
last modified time | relevance | path

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

12345

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/
DNotificationLockscreenUserManagerTest.java313 mSettings.putIntForUser(LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS, 0, in testLockScreenAllowPrivateNotificationsFalse()
321 mSettings.putIntForUser(LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS, 0, in testLockScreenAllowsWorkPrivateNotificationsFalse()
329 mSettings.putIntForUser(LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS, 1, in testLockScreenAllowsWorkPrivateNotificationsTrue()
338 mSettings.putIntForUser(LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS, 0, in testCurrentUserPrivateNotificationsRedacted()
349 mSettings.putIntForUser(LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS, 1, in testCurrentUserPrivateNotificationsNotRedacted()
360 mSettings.putIntForUser(LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS, 1, in testCurrentUserPrivateNotificationsRedactedChannel()
377 mSettings.putIntForUser(LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS, 1, in testCurrentUserPrivateNotificationsNullChannel()
391 mSettings.putIntForUser(LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS, 0, in testWorkPrivateNotificationsRedacted()
403 mSettings.putIntForUser(LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS, 1, in testWorkPrivateNotificationsNotRedacted()
415 mSettings.putIntForUser(LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS, 1, in testWorkPrivateNotificationsNotRedacted_otherUsersRedacted()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DUserSettingObserverTest.kt87 secureSettings.putIntForUser(TEST_SETTING, 2, USER) in <lambda>()
97 secureSettings.putIntForUser(TEST_SETTING, 2, USER) in <lambda>()
108 secureSettings.putIntForUser("other", 2, USER) in <lambda>()
114 secureSettings.putIntForUser(TEST_SETTING, 2, USER) in <lambda>()
117 secureSettings.putIntForUser(TEST_SETTING, 4, USER) in <lambda>()
141 secureSettings.putIntForUser(TEST_SETTING, 3, OTHER_USER) in <lambda>()
152 secureSettings.putIntForUser(TEST_SETTING, 2, OTHER_USER) in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/accessibility/data/repository/
DColorInversionRepositoryImplTest.kt76 settings.putIntForUser(SETTING_NAME, ENABLED, testUser1.identifier) in isEnabled_initiallyGetsSettingsValue()
87 settings.putIntForUser(SETTING_NAME, DISABLED, testUser1.identifier) in isEnabled_settingUpdated_valueUpdated()
89 settings.putIntForUser(SETTING_NAME, ENABLED, testUser1.identifier) in isEnabled_settingUpdated_valueUpdated()
91 settings.putIntForUser(SETTING_NAME, DISABLED, testUser1.identifier) in isEnabled_settingUpdated_valueUpdated()
104 settings.putIntForUser(SETTING_NAME, DISABLED, testUser1.identifier) in isEnabled_settingForUserOneOnly_valueUpdatedForUserOneOnly()
105 settings.putIntForUser(SETTING_NAME, DISABLED, testUser2.identifier) in isEnabled_settingForUserOneOnly_valueUpdatedForUserOneOnly()
110 settings.putIntForUser(SETTING_NAME, ENABLED, testUser1.identifier) in isEnabled_settingForUserOneOnly_valueUpdatedForUserOneOnly()
DColorCorrectionRepositoryImplTest.kt76 settings.putIntForUser(SETTING_NAME, ENABLED, testUser1.identifier) in isEnabled_initiallyGetsSettingsValue()
87 settings.putIntForUser(SETTING_NAME, DISABLED, testUser1.identifier) in isEnabled_settingUpdated_valueUpdated()
90 settings.putIntForUser(SETTING_NAME, ENABLED, testUser1.identifier) in isEnabled_settingUpdated_valueUpdated()
93 settings.putIntForUser(SETTING_NAME, DISABLED, testUser1.identifier) in isEnabled_settingUpdated_valueUpdated()
106 settings.putIntForUser(SETTING_NAME, DISABLED, testUser1.identifier) in isEnabled_settingForUserOneOnly_valueUpdatedForUserOneOnly()
107 settings.putIntForUser(SETTING_NAME, DISABLED, testUser2.identifier) in isEnabled_settingForUserOneOnly_valueUpdatedForUserOneOnly()
113 settings.putIntForUser(SETTING_NAME, ENABLED, testUser1.identifier) in isEnabled_settingForUserOneOnly_valueUpdatedForUserOneOnly()
DOneHandedModeRepositoryImplTest.kt69 settings.putIntForUser(SETTING_NAME, ENABLED, testUser1.identifier) in isEnabled_initiallyGetsSettingsValue()
82 settings.putIntForUser(SETTING_NAME, ENABLED, testUser1.identifier) in isEnabled_settingUpdated_valueUpdated()
88 settings.putIntForUser(SETTING_NAME, DISABLED, testUser1.identifier) in isEnabled_settingUpdated_valueUpdated()
99 settings.putIntForUser(SETTING_NAME, DISABLED, testUser1.identifier) in isEnabled_settingForUserOneOnly_valueUpdatedForUserOneOnly()
100 settings.putIntForUser(SETTING_NAME, DISABLED, testUser2.identifier) in isEnabled_settingForUserOneOnly_valueUpdatedForUserOneOnly()
105 settings.putIntForUser(SETTING_NAME, ENABLED, testUser1.identifier) in isEnabled_settingForUserOneOnly_valueUpdatedForUserOneOnly()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/camera/data/repository/
DCameraAutoRotateRepositoryImplTest.kt52 settings.putIntForUser(SETTING_NAME, DISABLE, testUser.identifier) in isCameraAutoRotateSettingEnabled_3times()
58 settings.putIntForUser(SETTING_NAME, ENABLE, testUser.identifier) in isCameraAutoRotateSettingEnabled_3times()
62 settings.putIntForUser(SETTING_NAME, DISABLE, testUser.identifier) in isCameraAutoRotateSettingEnabled_3times()
66 settings.putIntForUser(SETTING_NAME, ENABLE, testUser.identifier) in isCameraAutoRotateSettingEnabled_3times()
88 settings.putIntForUser(SETTING_NAME, DISABLE, testUser.identifier) in isCameraAutoRotateSettingEnabled_0Times()
93 settings.putIntForUser(SETTING_NAME, DISABLE, testUser.identifier) in isCameraAutoRotateSettingEnabled_0Times()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/brightness/clamper/
DBrightnessLowLuxModifierTest.kt96 Settings.Secure.putIntForUser(context.contentResolver, in testSettingOffDisablesModifier()
114 Settings.Secure.putIntForUser(context.contentResolver, in testLuxRestrictsBrightnessRange()
132 Settings.Secure.putIntForUser(context.contentResolver, in testUserRestrictsBrightnessRange()
150 Settings.Secure.putIntForUser(context.contentResolver, in testOnToOff()
163 Settings.Secure.putIntForUser(context.contentResolver, in testOnToOff()
178 Settings.Secure.putIntForUser(context.contentResolver, in testOffToOn()
192 Settings.Secure.putIntForUser(context.contentResolver, in testOffToOn()
207 Settings.Secure.putIntForUser(context.contentResolver, in testEnabledEvenWhenAutobrightnessIsOff()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/pipeline/domain/autoaddable/
DAutoAddableSettingTest.kt70 secureSettings.putIntForUser(SETTING, 0, userId) in settingSetTo0_noSignal()
81 secureSettings.putIntForUser(SETTING, 42, userId) in settingSetToNon0_signal()
92 secureSettings.putIntForUser(SETTING, /* value */ 42, /* userHandle */ 1) in settingSetForUser_onlySignalInThatUser()
104 secureSettings.putIntForUser(SETTING, 1, userId) in multipleNonZeroChanges_onlyOneSignal()
105 secureSettings.putIntForUser(SETTING, 2, userId) in multipleNonZeroChanges_onlyOneSignal()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/
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()
DSecureSettingsContentObserverTest.java63 Settings.Secure.putIntForUser(mContext.getContentResolver(), in checkValue()
/frameworks/base/core/java/android/hardware/input/
DInputSettings.java247 Settings.System.putIntForUser(context.getContentResolver(), in setTouchpadPointerSpeed()
280 Settings.System.putIntForUser(context.getContentResolver(), in setTouchpadNaturalScrolling()
312 Settings.System.putIntForUser(context.getContentResolver(), in setTouchpadTapToClick()
359 Settings.System.putIntForUser(context.getContentResolver(), in setTouchpadTapDragging()
391 Settings.System.putIntForUser(context.getContentResolver(), in setTouchpadRightClickZone()
510 Settings.Secure.putIntForUser(context.getContentResolver(), in setAccessibilityBounceKeysThreshold()
594 Settings.Secure.putIntForUser(context.getContentResolver(), in setAccessibilitySlowKeysThreshold()
660 Settings.Secure.putIntForUser(context.getContentResolver(), in setAccessibilityStickyKeysEnabled()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationHistoryManagerTest.java122 Settings.Secure.putIntForUser(getContext().getContentResolver(), in setUp()
147 Settings.Secure.putIntForUser(getContext().getContentResolver(), in testOnUserUnlocked_historyDisabled()
170 Settings.Secure.putIntForUser(getContext().getContentResolver(), in testOnUserUnlocked_historyDisabled_withProfile()
174 Settings.Secure.putIntForUser(getContext().getContentResolver(), in testOnUserUnlocked_historyDisabled_withProfile()
194 Settings.Secure.putIntForUser(getContext().getContentResolver(), in testAddProfile_historyEnabledInPrimary()
227 Settings.Secure.putIntForUser(getContext().getContentResolver(), in testOnUserUnlocked_historyDisabledThenEnabled()
232 Settings.Secure.putIntForUser(getContext().getContentResolver(), in testOnUserUnlocked_historyDisabledThenEnabled()
256 Settings.Secure.putIntForUser(getContext().getContentResolver(), in testOnUserUnlocked_historyDisabledThenEnabled_multiProfile()
261 Settings.Secure.putIntForUser(getContext().getContentResolver(), in testOnUserUnlocked_historyDisabledThenEnabled_multiProfile()
358 Settings.Secure.putIntForUser(getContext().getContentResolver(), in testOnPackageRemoved_historyDisabled()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DDeviceProvisionedControllerImplTest.kt116 secureSettings.putIntForUser(Settings.Secure.USER_SETUP_COMPLETE, 1, START_USER) in testUserSetupWhenCreated()
136 secureSettings.putIntForUser(Settings.Secure.USER_SETUP_COMPLETE, 1, START_USER) in testUserSetupChange()
147 secureSettings.putIntForUser(Settings.Secure.USER_SETUP_COMPLETE, 1, otherUser) in testUserSetupChange_otherUser()
157 secureSettings.putIntForUser(Settings.Secure.USER_SETUP_COMPLETE, 1, otherUser) in testCurrentUserSetup()
199 secureSettings.putIntForUser(Settings.Secure.USER_SETUP_COMPLETE, 1, START_USER) in testListenerCalledOnUserSetupChanged()
229 secureSettings.putIntForUser(Settings.Secure.USER_SETUP_COMPLETE, 1, START_USER) in testRemoveListener()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DDndTileTest.kt154 secureSettings.putIntForUser(KEY, Settings.Secure.ZEN_DURATION_PROMPT, DEFAULT_USER) in testForceExpandIcon_durationAskAlways_true()
164 secureSettings.putIntForUser(KEY, 60, DEFAULT_USER) in testForceExpandIcon_durationNotAskAlways_false()
174 secureSettings.putIntForUser(KEY, 60, DEFAULT_USER) in testForceExpandIcon_changeWhileListening()
183 secureSettings.putIntForUser(KEY, Settings.Secure.ZEN_DURATION_PROMPT, DEFAULT_USER) in testForceExpandIcon_changeWhileListening()
193 secureSettings.putIntForUser(KEY, Settings.Secure.ZEN_DURATION_PROMPT, DEFAULT_USER) in testLaunchDialogFromViewWhenPrompt()
206 secureSettings.putIntForUser(KEY, 60, DEFAULT_USER) in testNoLaunchDialogWhenNotPrompt()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DActiveUnlockConfigTest.kt106 secureSettings.putIntForUser(ACTIVE_UNLOCK_ON_WAKE, 1, currentUser) in onWakeupSettingChanged()
142 secureSettings.putIntForUser(ACTIVE_UNLOCK_ON_UNLOCK_INTENT_LEGACY, 1, currentUser) in onUnlockIntentLegacySettingChanged()
179 secureSettings.putIntForUser(ACTIVE_UNLOCK_ON_UNLOCK_INTENT, 1, currentUser) in onUnlockIntentSettingChanged()
224 secureSettings.putIntForUser(ACTIVE_UNLOCK_ON_BIOMETRIC_FAIL, 1, currentUser) in onBioFailSettingChanged()
253 secureSettings.putIntForUser(ACTIVE_UNLOCK_ON_BIOMETRIC_FAIL, 1, currentUser) in faceErrorSettingsChanged()
316 secureSettings.putIntForUser(ACTIVE_UNLOCK_ON_BIOMETRIC_FAIL, 1, currentUser) in triggerOnUnlockIntentWhenBiometricEnrolledNone()
345 secureSettings.putIntForUser(ACTIVE_UNLOCK_ON_BIOMETRIC_FAIL, 1, currentUser) in triggerOnUnlockIntentWhenBiometricEnrolledFingerprintOrFaceOnly()
397 secureSettings.putIntForUser( in isWakeupConsideredUnlockIntent_singleValue()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/data/repository/
DCommunalSettingsRepositoryImplTest.kt104 kosmos.fakeSettings.putIntForUser( in hubIsDisabledByUser()
113 kosmos.fakeSettings.putIntForUser( in hubIsDisabledByUser()
120 kosmos.fakeSettings.putIntForUser( in hubIsDisabledByUser()
171 kosmos.fakeSettings.putIntForUser( in hubIsDisabledByUserAndDevicePolicy()
190 kosmos.fakeSettings.putIntForUser( in hubShowsWidgetCategoriesSetByUser()
234 kosmos.fakeSettings.putIntForUser( in backgroundType_verifyAllValues()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DCaptioningManagerImpl.java46 Settings.Secure.putIntForUser(mContext.getContentResolver(), in setSystemAudioCaptioningEnabled()
81 Settings.Secure.putIntForUser(mContext.getContentResolver(), in setSystemAudioCaptioningUiEnabled()
/frameworks/base/services/core/java/com/android/server/audio/
DSettingsAdapter.java65 return Settings.System.putIntForUser(cr, name, value, userHandle); in putSystemIntForUser()
84 return Settings.Secure.putIntForUser(cr, name, value, userHandle); in putSecureIntForUser()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/
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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/settings/
DUserSettingsProxy.kt206 override fun putInt(name: String, value: Int) = putIntForUser(name, value, userId) in putInt()
209 fun putIntForUser(name: String, value: Int, userHandle: Int) = in putInt() method
233 putIntForUser(name, if (value) 1 else 0, userHandle) in putBoolForUser()
/frameworks/base/services/flags/java/com/android/server/flags/
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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DGuestResumeSessionReceiver.java83 mSecureSettings.putIntForUser(SETTING_GUEST_HAS_LOGGED_IN, guestLoginState,
88 mSecureSettings.putIntForUser(SETTING_GUEST_HAS_LOGGED_IN, guestLoginState,
/frameworks/base/core/java/com/android/internal/view/
DRotationPolicy.java120 Settings.System.putIntForUser(context.getContentResolver(), in setRotationLockAtAngle()
134 Settings.System.putIntForUser(context.getContentResolver(), in setRotationLockForAccessibility()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DUserSettingObserver.java66 mSettingsProxy.putIntForUser(mSettingName, value, mUserId); in setValue()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/data/repository/
DColorInversionRepository.kt74 secureSettings.putIntForUser( in isEnabled()

12345