/packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/ |
D | OneHandedSettingsUtilsTest.java | 60 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()
|
D | DoubleTwistPreferenceControllerTest.java | 133 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/ |
D | OneHandedSettingsUtils.java | 95 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/ |
D | CarAudioSettings.java | 53 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/ |
D | SystemSettingsUtil.java | 48 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/ |
D | FaceSettingsAppPreferenceController.java | 57 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/ |
D | AccessibilityShortcutPreferenceControllerTest.java | 79 assertThat(Settings.Secure.getIntForUser(mContext.getContentResolver(), in setChecked_setTrue_shouldEnableShortcutOnLockScreen() 88 assertThat(Settings.Secure.getIntForUser(mContext.getContentResolver(), in setChecked_setFalse_shouldDisableShortcutOnLockScreen()
|
D | PrimaryMonoPreferenceControllerTest.java | 85 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/ |
D | RedactNotificationPreferenceControllerTest.java | 319 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()
|
D | PoliteNotifWorkProfileToggleControllerTest.java | 151 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/ |
D | SettingsCompat.java | 97 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/ |
D | TrackpadTapToClickPreferenceControllerTest.java | 83 int result = Settings.System.getIntForUser( in setChecked_true_shouldReturn1() 100 int result = Settings.System.getIntForUser( in setChecked_false_shouldReturn0()
|
D | TrackpadReverseScrollingPreferenceControllerTest.java | 83 int result = Settings.System.getIntForUser( in setChecked_true_shouldReturn0() 100 int result = Settings.System.getIntForUser( in setChecked_false_shouldReturn1()
|
D | TrackpadBottomPreferenceControllerTest.java | 83 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/ |
D | CrossProfileCalendarPreferenceControllerTest.java | 140 assertThat(Settings.Secure.getIntForUser(mContext.getContentResolver(), in onPreferenceChangeToFalse_shouldUpdateProviderValue() 151 assertThat(Settings.Secure.getIntForUser(mContext.getContentResolver(), in onPreferenceChangeToTrue_shouldUpdateProviderValue()
|
D | ContactSearchPreferenceControllerTest.java | 121 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/ |
D | ShadowSecureSettings.java | 97 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/ |
D | RedactNotificationPreferenceController.java | 185 return Settings.Secure.getIntForUser(mContext.getContentResolver(), in getAllowPrivateNotifications() 191 return Settings.Secure.getIntForUser(mContext.getContentResolver(), in getLockscreenNotificationsEnabled()
|
D | RedactionInterstitial.java | 197 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/ |
D | MockSettings.java | 76 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/ |
D | PrimaryMonoPreferenceController.java | 37 return Settings.System.getIntForUser(mContext.getContentResolver(), in isChecked()
|
D | AudioDescriptionPreferenceController.java | 44 return Settings.Secure.getIntForUser(mContext.getContentResolver(), in isChecked()
|
/packages/apps/Settings/src/com/android/settings/display/ |
D | VrDisplayPreferenceController.java | 50 int current = Settings.Secure.getIntForUser(mContext.getContentResolver(), in updateState()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/privatespace/ |
D | PrivateSpaceMaintainerTest.java | 483 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/ |
D | ContentCaptureUtils.java | 37 boolean enabled = Settings.Secure.getIntForUser(context.getContentResolver(), in isEnabledForUser()
|