/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/ |
D | NotificationLockscreenUserManagerTest.java | 313 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/ |
D | UserSettingObserverTest.kt | 87 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/ |
D | ColorInversionRepositoryImplTest.kt | 76 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()
|
D | ColorCorrectionRepositoryImplTest.kt | 76 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()
|
D | OneHandedModeRepositoryImplTest.kt | 69 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/ |
D | CameraAutoRotateRepositoryImplTest.kt | 52 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/ |
D | BrightnessLowLuxModifierTest.kt | 96 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/ |
D | AutoAddableSettingTest.kt | 70 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/ |
D | AccessibilityButtonModeObserverTest.java | 65 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()
|
D | SecureSettingsContentObserverTest.java | 63 Settings.Secure.putIntForUser(mContext.getContentResolver(), in checkValue()
|
/frameworks/base/core/java/android/hardware/input/ |
D | InputSettings.java | 247 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/ |
D | NotificationHistoryManagerTest.java | 122 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/ |
D | DeviceProvisionedControllerImplTest.kt | 116 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/ |
D | DndTileTest.kt | 154 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/ |
D | ActiveUnlockConfigTest.kt | 106 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/ |
D | CommunalSettingsRepositoryImplTest.kt | 104 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/ |
D | CaptioningManagerImpl.java | 46 Settings.Secure.putIntForUser(mContext.getContentResolver(), in setSystemAudioCaptioningEnabled() 81 Settings.Secure.putIntForUser(mContext.getContentResolver(), in setSystemAudioCaptioningUiEnabled()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | SettingsAdapter.java | 65 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/ |
D | OneHandedSettingsUtil.java | 121 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/ |
D | UserSettingsProxy.kt | 206 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/ |
D | SettingsProxy.java | 127 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/ |
D | GuestResumeSessionReceiver.java | 83 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/ |
D | RotationPolicy.java | 120 Settings.System.putIntForUser(context.getContentResolver(), in setRotationLockAtAngle() 134 Settings.System.putIntForUser(context.getContentResolver(), in setRotationLockForAccessibility()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | UserSettingObserver.java | 66 mSettingsProxy.putIntForUser(mSettingName, value, mUserId); in setValue()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/data/repository/ |
D | ColorInversionRepository.kt | 74 secureSettings.putIntForUser( in isEnabled()
|