/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
H A D | RedactNotificationPreferenceControllerTest.java | 126 Settings.Secure.putIntForUser(mContext.getContentResolver(), in getAvailabilityStatus_noSecureLockscreen() 129 Settings.Secure.putIntForUser(mContext.getContentResolver(), in getAvailabilityStatus_noSecureLockscreen() 148 Settings.Secure.putIntForUser(mContext.getContentResolver(), in getAvailabilityStatus_noWorkProfile() 207 Settings.Secure.putIntForUser(mContext.getContentResolver(), in getAvailabilityStatus_adminSaysNoNotifications() 210 Settings.Secure.putIntForUser(mContext.getContentResolver(), in getAvailabilityStatus_adminSaysNoNotifications() 222 Settings.Secure.putIntForUser(mContext.getContentResolver(), in getAvailabilityStatus_noNotifications() 225 Settings.Secure.putIntForUser(mContext.getContentResolver(), in getAvailabilityStatus_noNotifications() 237 Settings.Secure.putIntForUser(mContext.getContentResolver(), in getAvailabilityStatus_workProfileLocked() 240 Settings.Secure.putIntForUser(mContext.getContentResolver(), in getAvailabilityStatus_workProfileLocked() 254 Settings.Secure.putIntForUser(mContext.getContentResolver(), in getAvailabilityStatus_show() [all …]
|
H A D | NotificationAssistantPreferenceControllerTest.java | 114 Settings.Secure.putIntForUser(mContext.getContentResolver(), in testMigrationFromSetting_userEnable_multiProfile() 116 Settings.Secure.putIntForUser(mContext.getContentResolver(), in testMigrationFromSetting_userEnable_multiProfile() 130 Settings.Secure.putIntForUser(mContext.getContentResolver(), in testMigrationFromSetting_userEnable_multiUser() 132 Settings.Secure.putIntForUser(mContext.getContentResolver(), in testMigrationFromSetting_userEnable_multiUser() 146 Settings.Secure.putIntForUser(mContext.getContentResolver(), in testMigrationFromSetting_userDisable_multiProfile() 148 Settings.Secure.putIntForUser(mContext.getContentResolver(), in testMigrationFromSetting_userDisable_multiProfile()
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
H A D | SecureSettingTest.kt | 85 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)
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
H A D | NotificationLockscreenUserManagerTest.java | 178 Settings.Secure.putIntForUser(mContext.getContentResolver(), in testLockScreenAllowPrivateNotificationsFalse() 186 Settings.Secure.putIntForUser(mContext.getContentResolver(), in testLockScreenAllowsWorkPrivateNotificationsFalse() 194 Settings.Secure.putIntForUser(mContext.getContentResolver(), in testLockScreenAllowsWorkPrivateNotificationsTrue() 203 Settings.Secure.putIntForUser(mContext.getContentResolver(), in testCurrentUserPrivateNotificationsNotRedacted() 214 Settings.Secure.putIntForUser(mContext.getContentResolver(), in testCurrentUserPrivateNotificationsRedacted() 225 Settings.Secure.putIntForUser(mContext.getContentResolver(), in testWorkPrivateNotificationsRedacted() 236 Settings.Secure.putIntForUser(mContext.getContentResolver(), in testWorkPrivateNotificationsNotRedacted() 247 Settings.Secure.putIntForUser(mContext.getContentResolver(), in testWorkPrivateNotificationsNotRedacted_otherUsersRedacted() 249 Settings.Secure.putIntForUser(mContext.getContentResolver(), in testWorkPrivateNotificationsNotRedacted_otherUsersRedacted() 251 Settings.Secure.putIntForUser(mContext.getContentResolver(), in testWorkPrivateNotificationsNotRedacted_otherUsersRedacted() [all …]
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/ |
H A D | DndTileTest.kt | 130 secureSettings.putIntForUser(KEY, Settings.Secure.ZEN_DURATION_PROMPT, DEFAULT_USER) 140 secureSettings.putIntForUser(KEY, 60, DEFAULT_USER) 150 secureSettings.putIntForUser(KEY, 60, DEFAULT_USER) 159 secureSettings.putIntForUser(KEY, Settings.Secure.ZEN_DURATION_PROMPT, DEFAULT_USER) 169 secureSettings.putIntForUser(KEY, Settings.Secure.ZEN_DURATION_PROMPT, DEFAULT_USER) 183 secureSettings.putIntForUser(KEY, 60, DEFAULT_USER)
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/ |
H A D | AccessibilityButtonModeObserverTest.java | 59 Settings.Secure.putIntForUser(mContext.getContentResolver(), in setUp() 68 Settings.Secure.putIntForUser(mContext.getContentResolver(), in onChange_haveListener_invokeCallback() 81 Settings.Secure.putIntForUser(mContext.getContentResolver(), in onChange_noListener_noInvokeCallback() 92 Settings.Secure.putIntForUser(mContext.getContentResolver(), in getCurrentAccessibilityButtonMode_expectedValue()
|
/aosp12/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A D | NotificationHistoryManagerTest.java | 147 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 …]
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
H A D | DeviceProvisionedControllerImplTest.kt | 108 settings.putIntForUser(Settings.Secure.USER_SETUP_COMPLETE, 1, START_USER) 128 settings.putIntForUser(Settings.Secure.USER_SETUP_COMPLETE, 1, START_USER) 139 settings.putIntForUser(Settings.Secure.USER_SETUP_COMPLETE, 1, otherUser) 149 settings.putIntForUser(Settings.Secure.USER_SETUP_COMPLETE, 1, otherUser) 191 settings.putIntForUser(Settings.Secure.USER_SETUP_COMPLETE, 1, START_USER) 221 settings.putIntForUser(Settings.Secure.USER_SETUP_COMPLETE, 1, START_USER)
|
/aosp12/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
H A D | SettingsFacade.java | 40 Secure.putIntForUser(context.getContentResolver(), USER_SETUP_COMPLETE, 1, userId); in setUserSetupCompleted() 61 Secure.putIntForUser(context.getContentResolver(), in setProfileContactRemoteSearch() 69 Secure.putIntForUser(context.getContentResolver(), in setCrossProfileCalendarEnabled()
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/ |
H A D | AccessibilityFloatingMenuControllerTest.java | 235 Settings.Secure.putIntForUser(mContextWrapper.getContentResolver(), in onAccessibilityButtonTargetsChanged_floatingModeAndHasButtonTargets_showWidget() 247 Settings.Secure.putIntForUser(mContextWrapper.getContentResolver(), in onAccessibilityButtonTargetsChanged_floatingModeAndNoButtonTargets_destroyWidget() 259 Settings.Secure.putIntForUser(mContextWrapper.getContentResolver(), in onAccessibilityButtonTargetsChanged_navBarModeAndHasButtonTargets_destroyWidget() 271 Settings.Secure.putIntForUser(mContextWrapper.getContentResolver(), in onAccessibilityButtonTargetsChanged_navBarModeAndNoButtonTargets_destroyWidget() 294 Settings.Secure.putIntForUser(mContextWrapper.getContentResolver(), in enableAccessibilityFloatingMenuConfig()
|
/aosp12/packages/apps/Settings/src/com/android/settings/gestures/ |
H A D | OneHandedSettingsUtils.java | 104 Settings.Secure.putIntForUser(context.getContentResolver(), in setOneHandedModeEnabled() 126 return Settings.Secure.putIntForUser(context.getContentResolver(), in setTapsAppToExitEnabled() 168 Settings.Secure.putIntForUser(context.getContentResolver(), in setTimeoutValue() 190 Settings.Secure.putIntForUser(context.getContentResolver(), in setSwipeDownNotificationEnabled()
|
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/display/ |
H A D | SmartAutoRotatePreferenceControllerTest.java | 231 Settings.System.putIntForUser(mContentResolver, in enableAutoRotation() 236 Settings.System.putIntForUser(mContentResolver, in disableAutoRotation() 241 Settings.Secure.putIntForUser(mContentResolver, in enableCameraBasedRotation() 246 Settings.Secure.putIntForUser(mContentResolver, in disableCameraBasedRotation()
|
H A D | SmartAutoRotateControllerTest.java | 126 Settings.System.putIntForUser(mContentResolver, in enableAutoRotation() 131 Settings.System.putIntForUser(mContentResolver, in disableAutoRotation()
|
H A D | AutoRotatePreferenceControllerTest.java | 175 Settings.System.putIntForUser(mContentResolver, in enableAutoRotation() 180 Settings.System.putIntForUser(mContentResolver, in disableAutoRotation()
|
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/ |
H A 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()
|
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/ |
H A D | CrossProfileCalendarPreferenceControllerTest.java | 120 Settings.Secure.putIntForUser(mContext.getContentResolver(), in updateStateToDisabled_isNotChecked() 130 Settings.Secure.putIntForUser(mContext.getContentResolver(), in updateStateToEnabled_isChecked() 133 Settings.Secure.putIntForUser(mContext.getContentResolver(), in updateStateToEnabled_isChecked()
|
H A D | ContactSearchPreferenceControllerTest.java | 77 Settings.Secure.putIntForUser(mContext.getContentResolver(), in updateState_shouldRefreshContent() 82 Settings.Secure.putIntForUser(mContext.getContentResolver(), in updateState_shouldRefreshContent()
|
/aosp12/packages/services/Car/service/src/com/android/car/audio/ |
H A D | CarAudioSettings.java | 55 Settings.System.putIntForUser(mContentResolver, in storeVolumeGainIndexForUser() 73 Settings.System.putIntForUser(mContentResolver, in storeVolumeGroupMuteForUser()
|
/aosp12/packages/apps/Settings/src/com/android/settings/display/ |
H A D | VrDisplayPreferencePicker.java | 70 return Settings.Secure.putIntForUser(getContext().getContentResolver(), in setDefaultKey() 73 return Settings.Secure.putIntForUser(getContext().getContentResolver(), in setDefaultKey()
|
/aosp12/packages/apps/Settings/tests/unit/src/com/android/settings/accessibility/ |
H A D | AccessibilityShortcutPreferenceControllerTest.java | 54 Settings.Secure.putIntForUser(mContext.getContentResolver(), in isChecked_enabledShortcutOnLockScreen_shouldReturnTrue() 65 Settings.Secure.putIntForUser(mContext.getContentResolver(), in isChecked_disabledShortcutOnLockScreen_shouldReturnFalse()
|
H A D | PrimaryMonoPreferenceControllerTest.java | 61 Settings.System.putIntForUser(mContext.getContentResolver(), in isChecked_enabledMonoAudio_shouldReturnTrue() 72 Settings.System.putIntForUser(mContext.getContentResolver(), in isChecked_disabledMonoAudio_shouldReturnFalse()
|
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/ |
H A D | LockScreenRotationPreferenceControllerTest.java | 90 Settings.System.putIntForUser(mContext.getContentResolver(), in updateState_settingIsOn_shouldTurnOnToggle() 100 Settings.System.putIntForUser(mContext.getContentResolver(), in updateState_settingIsOff_shouldTurnOffToggle()
|
/aosp12/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/display/ |
H A D | BrightnessLevelPreferenceControllerTest.java | 125 Settings.System.putIntForUser(mContext.getContentResolver(), in testRefreshUi_minValue() 134 Settings.System.putIntForUser(mContext.getContentResolver(), in testRefreshUi_maxValue() 143 Settings.System.putIntForUser(mContext.getContentResolver(), in testRefreshUi_midValue()
|
/aosp12/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | UserRestrictionsUtils.java | 563 android.provider.Settings.Secure.putIntForUser(cr, in applyUserRestriction() 645 android.provider.Settings.Secure.putIntForUser( in applyUserRestriction() 648 android.provider.Settings.Secure.putIntForUser( in applyUserRestriction() 651 android.provider.Settings.Secure.putIntForUser( in applyUserRestriction() 654 android.provider.Settings.Secure.putIntForUser( in applyUserRestriction() 657 android.provider.Settings.Secure.putIntForUser( in applyUserRestriction() 858 android.provider.Settings.Secure.putIntForUser( in setInstallMarketAppsRestriction()
|
/aosp12/frameworks/base/core/java/com/android/internal/view/ |
H A D | RotationPolicy.java | 122 Settings.System.putIntForUser(context.getContentResolver(), in setRotationLockAtAngle() 135 Settings.System.putIntForUser(context.getContentResolver(), in setRotationLockForAccessibility()
|