Home
last modified time | relevance | path

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

1234567

/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/
H A 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()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/util/settings/
H A DSettingsProxy.java265 return getIntForUser(name, def, getUserId()); in getInt()
269 default int getIntForUser(String name, int def, int userHandle) { in getIntForUser() method
296 return getIntForUser(name, getUserId()); in getInt()
300 default int getIntForUser(String name, int userHandle) in getIntForUser() method
350 return getIntForUser(name, def ? 1 : 0, userHandle) != 0; in getBoolForUser()
377 return getIntForUser(name, userHandle) != 0; in getBoolForUser()
/aosp14/frameworks/base/core/java/android/hardware/input/
H A DInputSettings.java197 return Settings.System.getIntForUser(context.getContentResolver(), in getTouchpadPointerSpeed()
235 return Settings.System.getIntForUser(context.getContentResolver(), in useTouchpadNaturalScrolling()
268 return Settings.System.getIntForUser(context.getContentResolver(), in useTouchpadTapToClick()
300 return Settings.System.getIntForUser(context.getContentResolver(), in useTouchpadRightClickZone()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/inflation/
H A DNotifUiAdjustmentProviderTest.kt79 verify(secureSettings).getIntForUser(eq(SHOW_NOTIFICATION_SNOOZE), any(), any())
111 verify(secureSettings).getIntForUser(eq(SHOW_NOTIFICATION_SNOOZE), any(), any())
118 whenever(secureSettings.getIntForUser(eq(SHOW_NOTIFICATION_SNOOZE), any(), any()))
123 whenever(secureSettings.getIntForUser(eq(SHOW_NOTIFICATION_SNOOZE), any(), any()))
/aosp14/frameworks/base/services/flags/java/com/android/server/flags/
H A 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()
/aosp14/frameworks/base/services/core/java/com/android/server/input/
H A DInputSettingsObserver.java115 final int setting = Settings.System.getIntForUser(mContext.getContentResolver(), in getBoolean()
126 int speed = Settings.System.getIntForUser(mContext.getContentResolver(), in updateMousePointerSpeed()
165 final int accessibilityConfig = Settings.Secure.getIntForUser( in updateAccessibilityLargePointer()
179 final int timeout = Settings.Secure.getIntForUser(mContext.getContentResolver(), in updateLongPressTimeout()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/smartspace/
H A DLockscreenAndDreamTargetFilterTest.kt100 .getIntForUser(eq(setting) ?: setting, anyInt(), anyInt()))
117 .getIntForUser(eq(setting) ?: setting, anyInt(), anyInt()))
133 .getIntForUser(eq(setting) ?: setting, anyInt(), anyInt()))
/aosp14/frameworks/base/services/core/java/com/android/server/audio/
H A DSettingsAdapter.java60 return Settings.System.getIntForUser(cr, name, def, userHandle); in getSystemIntForUser()
74 return Settings.Secure.getIntForUser(cr, name, def, userHandle); in getSecureIntForUser()
/aosp14/frameworks/base/core/java/android/service/dreams/
H A DSandman.java110 return Settings.Secure.getIntForUser(context.getContentResolver(), in isScreenSaverEnabled()
118 return Settings.Secure.getIntForUser(context.getContentResolver(), in isScreenSaverActivatedOnDock()
/aosp14/frameworks/base/services/core/java/com/android/server/display/color/
H A DColorDisplayService.java272 return Secure.getIntForUser(cr, Secure.USER_SETUP_COMPLETE, 0, userHandle) == 1; in isUserSetupCompleted()
566 return Secure.getIntForUser(getContext().getContentResolver(), in isAccessiblityDaltonizerEnabled()
571 return Secure.getIntForUser(getContext().getContentResolver(), in isAccessiblityInversionEnabled()
587 ? Secure.getIntForUser(getContext().getContentResolver(), in onAccessibilityDaltonizerChanged()
620 final boolean activated = Secure.getIntForUser(getContext().getContentResolver(), in onReduceBrightColorsActivationChanged()
633 int strength = Secure.getIntForUser(getContext().getContentResolver(), in onReduceBrightColorsStrengthLevelChanged()
843 return Secure.getIntForUser(getContext().getContentResolver(), in isDisplayWhiteBalanceSettingEnabled()
923 int startTimeValue = Secure.getIntForUser(getContext().getContentResolver(), in getNightDisplayCustomStartTimeInternal()
940 int endTimeValue = Secure.getIntForUser(getContext().getContentResolver(), in getNightDisplayCustomEndTimeInternal()
1491 return Secure.getIntForUser(getContext().getContentResolver(), in isActivatedSetting()
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DDeviceProvisionedControllerImpl.kt159 .getIntForUser(Settings.Secure.USER_SETUP_COMPLETE, 0, user) != 0
164 .getIntForUser(Settings.Secure.USER_SETUP_COMPLETE, 0, updateUser) != 0
201 .getIntForUser(Settings.Secure.USER_SETUP_COMPLETE, 0, user) != 0
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/smartspace/filters/
H A DLockscreenAndDreamTargetFilter.kt141 secureSettings.getIntForUser(setting, 0, userTracker.userId) == 1
147 secureSettings.getIntForUser(setting, 0, managedId) == 1
/aosp14/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DActiveUnlockConfig.kt161 requestActiveUnlockOnWakeup = secureSettings.getIntForUser(
166 requestActiveUnlockOnUnlockIntent = secureSettings.getIntForUser(
171 requestActiveUnlockOnBioFail = secureSettings.getIntForUser(
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/user/data/repository/
H A DUserRepository.kt287 globalSettings.getIntForUser(
302 globalSettings.getIntForUser(
309 globalSettings.getIntForUser(
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
H A DMenuInfoRepository.java174 callback.onReady(mSecureSettings.getIntForUser( in loadMigrationTooltipVisibility()
293 return mSecureSettings.getIntForUser( in getMenuSizeTypeFromSettings()
298 return mSecureSettings.getIntForUser( in isMenuFadeEffectEnabledFromSettings()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
H A 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()
/aosp14/frameworks/base/core/java/com/android/internal/view/
H A DRotationPolicy.java92 Settings.System.getIntForUser(context.getContentResolver(), in isRotationLockToggleVisible()
101 return Settings.System.getIntForUser(context.getContentResolver(), in isRotationLocked()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/fragment/
H A DStatusBarIconBlocklist.kt43 val showVibrateIcon = settings.getIntForUser(
/aosp14/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DFlashNotificationsController.java343 mIsCameraFlashNotificationEnabled = isFeatureOn && Settings.System.getIntForUser( in requestStartFlashNotification()
346 mIsScreenFlashNotificationEnabled = isFeatureOn && Settings.System.getIntForUser( in requestStartFlashNotification()
493 return Settings.System.getIntForUser(mContext.getContentResolver(), in getScreenFlashColorPreference()
858 mIsCameraFlashNotificationEnabled = Settings.System.getIntForUser( in onReceive()
917 mIsCameraFlashNotificationEnabled = Settings.System.getIntForUser( in onChange()
929 mIsScreenFlashNotificationEnabled = Settings.System.getIntForUser( in onChange()
H A DCaptioningManagerImpl.java63 return Settings.Secure.getIntForUser(mContext.getContentResolver(), in isSystemAudioCaptioningUiEnabled()
/aosp14/frameworks/base/services/core/java/com/android/server/
H A DGestureLauncherService.java446 && (Settings.Secure.getIntForUser(context.getContentResolver(), in isCameraLaunchSettingEnabled()
452 && (Settings.Secure.getIntForUser(context.getContentResolver(), in isCameraDoubleTapPowerSettingEnabled()
458 && (Settings.Secure.getIntForUser(context.getContentResolver(), in isCameraLiftTriggerSettingEnabled()
468 && Settings.Secure.getIntForUser(context.getContentResolver(), in isEmergencyGestureSettingEnabled()
763 return Settings.Secure.getIntForUser(mContext.getContentResolver(), in isUserSetupComplete()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/
H A DDesktopModeStatus.java116 int result = Settings.System.getIntForUser(context.getContentResolver(), in isActive()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/lockscreen/
H A DLockscreenSmartspaceController.kt278 val showWeather = secureSettings.getIntForUser(
555 showNotifications = secureSettings.getIntForUser(
561 showSensitiveContentForCurrentUser = secureSettings.getIntForUser(
570 showSensitiveContentForManagedUser = secureSettings.getIntForUser(
/aosp14/frameworks/base/core/java/com/android/internal/policy/
H A DForceShowNavBarSettingsObserver.java81 return Settings.Secure.getIntForUser(mContext.getContentResolver(), in isEnabled()
/aosp14/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/aidl/
H A DFingerprintAuthenticationClient.java163 mWaitForAuthKeyguard = Settings.Secure.getIntForUser(context.getContentResolver(), in FingerprintAuthenticationClient()
166 mWaitForAuthBp = Settings.Secure.getIntForUser(context.getContentResolver(), in FingerprintAuthenticationClient()
169 mIgnoreAuthFor = Settings.Secure.getIntForUser(context.getContentResolver(), in FingerprintAuthenticationClient()

1234567