Home
last modified time | relevance | path

Searched refs:getIntForUser (Results 1 – 25 of 178) sorted by relevance

12345678

/frameworks/base/core/java/android/hardware/input/
DInputSettings.java225 return Settings.System.getIntForUser(context.getContentResolver(), in getTouchpadPointerSpeed()
263 return Settings.System.getIntForUser(context.getContentResolver(), in useTouchpadNaturalScrolling()
296 return Settings.System.getIntForUser(context.getContentResolver(), in useTouchpadTapToClick()
340 return Settings.System.getIntForUser(context.getContentResolver(), in useTouchpadTapDragging()
375 return Settings.System.getIntForUser(context.getContentResolver(), in useTouchpadRightClickZone()
413 return Settings.Secure.getIntForUser(context.getContentResolver(), in isStylusPointerIconEnabled()
478 return Settings.Secure.getIntForUser(context.getContentResolver(), in getAccessibilityBounceKeysThreshold()
562 return Settings.Secure.getIntForUser(context.getContentResolver(), in getAccessibilitySlowKeysThreshold()
635 return Settings.Secure.getIntForUser(context.getContentResolver(), in isAccessibilityStickyKeysEnabled()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/
DOneHandedSettingsUtil.java111 return Settings.Secure.getIntForUser(resolver, in getSettingsOneHandedModeEnabled()
132 return Settings.Secure.getIntForUser(resolver, in getSettingsTapsAppToExit()
144 return Settings.Secure.getIntForUser(resolver, in getSettingsOneHandedModeTimeout()
153 return Settings.Secure.getIntForUser(resolver, in getSettingsSwipeToNotificationEnabled()
164 return Settings.Secure.getIntForUser(resolver, in getTutorialShownCounts()
208 return Settings.Secure.getIntForUser(resolver, in getOneHandedModeActivated()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/settings/
DUserSettingsProxy.kt179 return getIntForUser(name, def, userId) in putStringForUser()
183 fun getIntForUser(name: String, def: Int, userHandle: Int): Int { in getIntForUser() method
193 override fun getInt(name: String) = getIntForUser(name, userId) in getInt()
197 fun getIntForUser(name: String, userHandle: Int): Int { in getInt() method
216 getIntForUser(name, if (def) 1 else 0, userHandle) != 0 in putInt()
224 return getIntForUser(name, userHandle) != 0 in putInt()
/frameworks/base/services/core/java/com/android/server/input/
DInputSettingsObserver.java142 final int setting = Settings.System.getIntForUser(mContext.getContentResolver(), in getBoolean()
153 int speed = Settings.System.getIntForUser(mContext.getContentResolver(), in updateMousePointerSpeed()
199 final int accessibilityConfig = Settings.Secure.getIntForUser( in updateAccessibilityLargePointer()
207 final int longPressTimeoutMs = Settings.Secure.getIntForUser(mContext.getContentResolver(), in updateLongPressTimeout()
225 final int timeoutMs = Settings.Secure.getIntForUser(mContext.getContentResolver(), in updateKeyRepeatInfo()
228 final int delayMs = Settings.Secure.getIntForUser(mContext.getContentResolver(), in updateKeyRepeatInfo()
277 final int pointerFillStyle = Settings.System.getIntForUser( in updatePointerFillStyleFromSettings()
/frameworks/base/services/flags/java/com/android/server/flags/
DSettingsProxy.java100 default int getIntForUser(String name, int def, int userHandle) { in getIntForUser() method
111 return getIntForUser(name, getUserId()); in getInt()
115 default int getIntForUser(String name, int userHandle) in getIntForUser() method
154 return getIntForUser(name, def ? 1 : 0, userHandle) != 0; in getBoolForUser()
181 return getIntForUser(name, userHandle) != 0; in getBoolForUser()
/frameworks/base/services/core/java/com/android/server/audio/
DSettingsAdapter.java60 return Settings.System.getIntForUser(cr, name, def, userHandle); in getSystemIntForUser()
74 return Settings.Secure.getIntForUser(cr, name, def, userHandle); in getSecureIntForUser()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/smartspace/
DLockscreenTargetFilterTest.kt91 `when`(secureSettings.getIntForUser(eq(setting) ?: setting, anyInt(), anyInt())) in testLockscreenAllowPrivateNotifications()
119 `when`(secureSettings.getIntForUser(eq(setting) ?: setting, anyInt(), anyInt())) in testLockscreenAllowPrivateNotifications()
132 `when`(secureSettings.getIntForUser(eq(setting) ?: setting, anyInt(), anyInt())) in testUserSwitchCallback()
/frameworks/base/core/java/android/service/dreams/
DSandman.java110 return Settings.Secure.getIntForUser(context.getContentResolver(), in isScreenSaverEnabled()
118 return Settings.Secure.getIntForUser(context.getContentResolver(), in isScreenSaverActivatedOnDock()
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/data/repository/
DCommunalSettingsRepository.kt114 secureSettings.getIntForUser( in <lambda>()
139 secureSettings.getIntForUser( in getBackground()
154 secureSettings.getIntForUser( in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DActiveUnlockConfig.kt173 requestActiveUnlockOnWakeup = secureSettings.getIntForUser( in onChange()
179 secureSettings.getIntForUser( in onChange()
187 requestActiveUnlockOnUnlockIntent = secureSettings.getIntForUser( in onChange()
193 requestActiveUnlockOnBioFail = secureSettings.getIntForUser( in onChange()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/inflation/
DNotifUiAdjustmentProviderTest.kt92 verify(secureSettings).getIntForUser(eq(SHOW_NOTIFICATION_SNOOZE), any(), any()) in setup()
136 verify(secureSettings).getIntForUser(eq(SHOW_NOTIFICATION_SNOOZE), any(), any()) in onChangeWillQueryThenNotifyDirty()
143 whenever(secureSettings.getIntForUser(eq(SHOW_NOTIFICATION_SNOOZE), any(), any())) in changingSnoozeChangesProvidedAdjustment()
148 whenever(secureSettings.getIntForUser(eq(SHOW_NOTIFICATION_SNOOZE), any(), any())) in changingSnoozeChangesProvidedAdjustment()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DDeviceProvisionedControllerImpl.kt145 secureSettings.getIntForUser( in updateValues()
154 secureSettings.getIntForUser( in updateValues()
185 secureSettings.getIntForUser(Settings.Secure.USER_SETUP_COMPLETE, 0, user) != 0 in isUserSetup()
/frameworks/base/packages/SystemUI/src/com/android/systemui/smartspace/filters/
DLockscreenTargetFilter.kt143 secureSettings.getIntForUser(setting, 0, userTracker.userId) == 1 in updateUserContentSettings()
149 secureSettings.getIntForUser(setting, 0, managedId) == 1 in updateUserContentSettings()
/frameworks/base/services/core/java/com/android/server/biometrics/
DUtils.java84 if (Settings.Secure.getIntForUser(context.getContentResolver(), in isDebugEnabled()
95 && (Settings.Secure.getIntForUser(context.getContentResolver(), in isFingerprintVirtualEnabled()
98 || Settings.Secure.getIntForUser(context.getContentResolver(), in isFingerprintVirtualEnabled()
105 && (Settings.Secure.getIntForUser(context.getContentResolver(), in isFaceVirtualEnabled()
107 || Settings.Secure.getIntForUser(context.getContentResolver(), in isFaceVirtualEnabled()
/frameworks/base/services/core/java/com/android/server/display/color/
DColorDisplayService.java278 return Secure.getIntForUser(cr, Secure.USER_SETUP_COMPLETE, 0, userHandle) == 1; in isUserSetupCompleted()
503 final boolean isSettingActivated = Secure.getIntForUser(getContext().getContentResolver(), in resetReduceBrightColors()
505 final boolean shouldResetOnReboot = Secure.getIntForUser(getContext().getContentResolver(), in resetReduceBrightColors()
591 return Secure.getIntForUser(getContext().getContentResolver(), in isAccessiblityDaltonizerEnabled()
596 return Secure.getIntForUser(getContext().getContentResolver(), in isAccessiblityInversionEnabled()
613 ? Secure.getIntForUser(contentResolver, in onAccessibilityDaltonizerChanged()
620 saturation = Secure.getIntForUser( in onAccessibilityDaltonizerChanged()
655 final boolean activated = Secure.getIntForUser(getContext().getContentResolver(), in onReduceBrightColorsActivationChanged()
668 int strength = Secure.getIntForUser(getContext().getContentResolver(), in onReduceBrightColorsStrengthLevelChanged()
879 return Secure.getIntForUser(getContext().getContentResolver(), in isDisplayWhiteBalanceSettingEnabled()
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/accessibility/data/repository/
DOneHandedModeRepositoryImplTest.kt118 val actualValue = settings.getIntForUser(SETTING_NAME, testUser1.identifier) in setEnabled()
129 val actualValue = settings.getIntForUser(SETTING_NAME, testUser1.identifier) in setDisabled()
DColorInversionRepositoryImplTest.kt123 val actualValue = settings.getIntForUser(SETTING_NAME, testUser1.identifier) in setEnabled()
134 val actualValue = settings.getIntForUser(SETTING_NAME, testUser1.identifier) in setDisabled()
DColorCorrectionRepositoryImplTest.kt127 val actualValue = settings.getIntForUser(SETTING_NAME, testUser1.identifier) in setEnabled()
138 val actualValue = settings.getIntForUser(SETTING_NAME, testUser1.identifier) in setDisabled()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/fragment/
DStatusBarIconBlocklist.kt43 val showVibrateIcon = settings.getIntForUser( in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DMenuInfoRepository.java174 callback.onReady(mSecureSettings.getIntForUser( in loadMigrationTooltipVisibility()
299 return mSecureSettings.getIntForUser( in getMenuSizeTypeFromSettings()
304 return mSecureSettings.getIntForUser( in isMenuFadeEffectEnabledFromSettings()
/frameworks/base/core/java/com/android/internal/view/
DRotationPolicy.java92 Settings.System.getIntForUser(context.getContentResolver(), in isRotationLockToggleVisible()
101 return Settings.System.getIntForUser(context.getContentResolver(), in isRotationLocked()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeScreenBrightnessTest.java109 when(mSystemSettings.getIntForUser(eq(Settings.System.SCREEN_BRIGHTNESS), anyInt(), in setUp()
166 when(mSystemSettings.getIntForUser(eq(Settings.System.SCREEN_BRIGHTNESS), anyInt(), in testAod_usesLightSensorRespectingUserSetting()
168 when(mSystemSettings.getIntForUser(eq(Settings.System.SCREEN_BRIGHTNESS_MODE), anyInt(), in testAod_usesLightSensorRespectingUserSetting()
179 when(mSystemSettings.getIntForUser(eq(Settings.System.SCREEN_BRIGHTNESS), anyInt(), in testAod_usesLightSensorNotClampingToAutoBrightnessValue()
181 when(mSystemSettings.getIntForUser(eq(Settings.System.SCREEN_BRIGHTNESS_MODE), anyInt(), in testAod_usesLightSensorNotClampingToAutoBrightnessValue()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DCaptioningManagerImpl.java63 return Settings.Secure.getIntForUser(mContext.getContentResolver(), in isSystemAudioCaptioningUiEnabled()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/
DNaturalScrollingSettingObserver.kt61 Settings.System.getIntForUser(context.contentResolver, in update()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationAttentionHelper.java316 boolean pulseEnabled = Settings.System.getIntForUser(mContext.getContentResolver(), in loadUserSettings()
328 Settings.System.getIntForUser(mContext.getContentResolver(), in loadUserSettings()
332 mNotificationCooldownForWorkEnabled = Settings.System.getIntForUser( in loadUserSettings()
340 mNotificationCooldownApplyToAll = Settings.System.getIntForUser( in loadUserSettings()
346 mNotificationCooldownVibrateUnlocked = Settings.System.getIntForUser( in loadUserSettings()
784 && Settings.Secure.getIntForUser(cr, in playInCallNotification()
1660 boolean pulseEnabled = Settings.System.getIntForUser( in onChange()
1672 mNotificationCooldownEnabled = Settings.System.getIntForUser( in onChange()
1679 mNotificationCooldownForWorkEnabled = Settings.System.getIntForUser( in onChange()
1690 mNotificationCooldownApplyToAll = Settings.System.getIntForUser( in onChange()
[all …]

12345678