Home
last modified time | relevance | path

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

123

/packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/
DOneHandedSettingsUtilsTest.java60 assertThat(Settings.Secure.getIntForUser(mContext.getContentResolver(), in setOneHandedModeEnabled_setEnable_shouldReturnEnabled()
68 assertThat(Settings.Secure.getIntForUser(mContext.getContentResolver(), in setOneHandedModeEnabled_setDisable_shouldReturnDisabled()
76 assertThat(Settings.Secure.getIntForUser(mContext.getContentResolver(), in setTapsAppToExitEnabled_setEnable_shouldReturnEnabled()
84 assertThat(Settings.Secure.getIntForUser(mContext.getContentResolver(), in setTapsAppToExitEnabled_setDisable_shouldReturnDisabled()
93 assertThat(Settings.Secure.getIntForUser(mContext.getContentResolver(), in setTimeout_setNever_shouldReturnNeverValue()
104 assertThat(Settings.Secure.getIntForUser(mContext.getContentResolver(), in setTimeout_setShort_shouldReturnShortValue()
115 assertThat(Settings.Secure.getIntForUser(mContext.getContentResolver(), in setTimeout_setMedium_shouldReturnMediumValue()
126 assertThat(Settings.Secure.getIntForUser(mContext.getContentResolver(), in setTimeout_setLong_shouldReturnLongValue()
DDoubleTwistPreferenceControllerTest.java133 assertThat(Settings.Secure.getIntForUser(mContext.getContentResolver(), in onPreferenceChange_hasWorkProfile_shouldUpdateSettingForWorkProfileUser()
138 assertThat(Settings.Secure.getIntForUser(mContext.getContentResolver(), in onPreferenceChange_hasWorkProfile_shouldUpdateSettingForWorkProfileUser()
/packages/apps/Settings/src/com/android/settings/gestures/
DOneHandedSettingsUtils.java95 return Settings.Secure.getIntForUser(context.getContentResolver(), in isOneHandedModeEnabled()
117 return Settings.Secure.getIntForUser(context.getContentResolver(), in isTapsAppToExitEnabled()
139 return Settings.Secure.getIntForUser(context.getContentResolver(), in getTimeoutValue()
181 return Settings.Secure.getIntForUser(context.getContentResolver(), in isSwipeDownNotificationEnabled()
221 return Settings.Secure.getIntForUser(context.getContentResolver(), in getNavigationBarMode()
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioSettings.java53 return getIntForUser(getVolumeSettingsKeyForGroup(zoneId, configId, groupId), in getStoredVolumeGainIndexForUser()
83 return getIntForUser(getMuteSettingsKeyForGroup(zoneId, configId, groupId), in getVolumeGroupMuteForUser()
101 private int getIntForUser(String name, int defaultValue, @UserIdInt int userId) { in getIntForUser() method in CarAudioSettings
/packages/services/Telecomm/src/com/android/server/telecom/
DSystemSettingsUtil.java48 return Settings.System.getIntForUser(context.getContentResolver(), in isRingVibrationEnabled()
56 return Settings.System.getIntForUser(context.getContentResolver(), in isEnhancedCallBlockingEnabled()
/packages/apps/Settings/src/com/android/settings/biometrics/face/
DFaceSettingsAppPreferenceController.java57 return Settings.Secure.getIntForUser( in isChecked()
93 final boolean appUnlockEnabled = Settings.Secure.getIntForUser( in getAvailabilityStatus()
/packages/apps/Settings/tests/unit/src/com/android/settings/accessibility/
DAccessibilityShortcutPreferenceControllerTest.java79 assertThat(Settings.Secure.getIntForUser(mContext.getContentResolver(), in setChecked_setTrue_shouldEnableShortcutOnLockScreen()
88 assertThat(Settings.Secure.getIntForUser(mContext.getContentResolver(), in setChecked_setFalse_shouldDisableShortcutOnLockScreen()
DPrimaryMonoPreferenceControllerTest.java85 assertThat(Settings.System.getIntForUser(mContext.getContentResolver(), in setChecked_setTrue_shouldEnableMonoAudio()
93 assertThat(Settings.System.getIntForUser(mContext.getContentResolver(), in setChecked_setFalse_shouldDisableMonoAudio()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DRedactNotificationPreferenceControllerTest.java319 assertThat(Settings.Secure.getIntForUser( in setChecked_false()
331 assertThat(Settings.Secure.getIntForUser( in setChecked_workProfile_false()
347 assertThat(Settings.Secure.getIntForUser( in setChecked_true()
350 assertThat(Settings.Secure.getIntForUser( in setChecked_true()
DPoliteNotifWorkProfileToggleControllerTest.java151 assertThat(Settings.System.getIntForUser(mContext.getContentResolver(), in setChecked_coolDownEnabled_setTrue_shouldEnablePoliteNotifForWorkProfile()
163 assertThat(Settings.System.getIntForUser(mContext.getContentResolver(), in setChecked_coolDownEnabled_setFalse_shouldDisablePoliteNotifForWorkProfile()
/packages/apps/TvSettings/unbundle/java/com/android/tv/settings/unbundle/sdklib/
DSettingsCompat.java97 public static int getIntForUser(ContentResolver cr, String name, int def, int userHandle) { in getIntForUser() method in SettingsCompat
98 return Settings.System.getIntForUser(cr, name, def, userHandle); in getIntForUser()
/packages/apps/Settings/tests/robotests/src/com/android/settings/inputmethod/
DTrackpadTapToClickPreferenceControllerTest.java83 int result = Settings.System.getIntForUser( in setChecked_true_shouldReturn1()
100 int result = Settings.System.getIntForUser( in setChecked_false_shouldReturn0()
DTrackpadReverseScrollingPreferenceControllerTest.java83 int result = Settings.System.getIntForUser( in setChecked_true_shouldReturn0()
100 int result = Settings.System.getIntForUser( in setChecked_false_shouldReturn1()
DTrackpadBottomPreferenceControllerTest.java83 int result = Settings.System.getIntForUser( in setChecked_true_shouldReturn1()
100 int result = Settings.System.getIntForUser( in setChecked_false_shouldReturn0()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/
DCrossProfileCalendarPreferenceControllerTest.java140 assertThat(Settings.Secure.getIntForUser(mContext.getContentResolver(), in onPreferenceChangeToFalse_shouldUpdateProviderValue()
151 assertThat(Settings.Secure.getIntForUser(mContext.getContentResolver(), in onPreferenceChangeToTrue_shouldUpdateProviderValue()
DContactSearchPreferenceControllerTest.java121 assertThat(Settings.Secure.getIntForUser(mContext.getContentResolver(), in onPreferenceChange_shouldUpdateProviderValue()
127 assertThat(Settings.Secure.getIntForUser(mContext.getContentResolver(), in onPreferenceChange_shouldUpdateProviderValue()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowSecureSettings.java97 return getIntForUser(resolver, name, def, resolver.getUserId()); in getInt()
101 public static int getIntForUser(ContentResolver resolver, String name, int def, in getIntForUser() method in ShadowSecureSettings
/packages/apps/Settings/src/com/android/settings/notification/
DRedactNotificationPreferenceController.java185 return Settings.Secure.getIntForUser(mContext.getContentResolver(), in getAllowPrivateNotifications()
191 return Settings.Secure.getIntForUser(mContext.getContentResolver(), in getLockscreenNotificationsEnabled()
DRedactionInterstitial.java197 final boolean showNotifications = managedProfile || Settings.Secure.getIntForUser( in loadFromSettings()
199 final boolean showUnredacted = Settings.Secure.getIntForUser( in loadFromSettings()
/packages/services/Car/libs/car-test-lib/src/android/car/test/mocks/
DMockSettings.java76 when(Settings.Secure.getIntForUser(any(), any(), anyInt(), anyInt())) in setExpectations()
92 when(Settings.System.getIntForUser(any(), any(), anyInt(), anyInt())) in setExpectations()
/packages/apps/Settings/src/com/android/settings/accessibility/
DPrimaryMonoPreferenceController.java37 return Settings.System.getIntForUser(mContext.getContentResolver(), in isChecked()
DAudioDescriptionPreferenceController.java44 return Settings.Secure.getIntForUser(mContext.getContentResolver(), in isChecked()
/packages/apps/Settings/src/com/android/settings/display/
DVrDisplayPreferenceController.java50 int current = Settings.Secure.getIntForUser(mContext.getContentResolver(), in updateState()
/packages/apps/Settings/tests/unit/src/com/android/settings/privatespace/
DPrivateSpaceMaintainerTest.java483 return Settings.Secure.getIntForUser( in getSecureUserSetupComplete()
493 return Settings.Secure.getIntForUser( in getSecureSkipFirstUseHints()
501 return Settings.Secure.getIntForUser(mContentResolver, in getPsSensitiveNotificationsValue()
/packages/apps/Settings/src/com/android/settings/utils/
DContentCaptureUtils.java37 boolean enabled = Settings.Secure.getIntForUser(context.getContentResolver(), in isEnabledForUser()

123