Home
last modified time | relevance | path

Searched refs:getStringForUser (Results 1 – 25 of 113) sorted by relevance

12345

/frameworks/base/core/java/com/android/internal/util/
DSettingsWrapper.java28 public String getStringForUser(ContentResolver contentResolver, String name, int userHandle) { in getStringForUser() method in SettingsWrapper
29 return Settings.System.getStringForUser(contentResolver, name, userHandle); in getStringForUser()
34 return Settings.System.getStringForUser(contentResolver, name, userHandle); in putStringForUser()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/settings/
DUserSettingsProxy.kt145 return getStringForUser(name, userId) in getString()
149 fun getStringForUser(name: String, userHandle: Int): String in getStringForUser() method
184 val v = getStringForUser(name, userHandle) in getIntForUser()
198 val v = getStringForUser(name, userHandle) in getInt()
237 val valString = getStringForUser(name, userHandle) in putBoolForUser()
244 val valString = getStringForUser(name, userHandle) in getLongForUser()
254 val v = getStringForUser(name, userHandle) in putLongForUser()
261 val v = getStringForUser(name, userHandle) in getFloatForUser()
DSystemSettingsImpl.java55 public String getStringForUser(String name, int userHandle) { in getStringForUser() method in SystemSettingsImpl
56 return Settings.System.getStringForUser(mContentResolver, name, in getStringForUser()
DSecureSettingsImpl.java55 public String getStringForUser(String name, int userHandle) { in getStringForUser() method in SecureSettingsImpl
56 return Settings.Secure.getStringForUser(mContentResolver, name, in getStringForUser()
/frameworks/base/services/flags/java/com/android/server/flags/
DSettingsProxy.java64 String getStringForUser(String name, int userHandle); in getStringForUser() method
92 return getStringForUser(name, getUserId()); in getString()
101 String v = getStringForUser(name, userHandle); in getIntForUser()
117 String v = getStringForUser(name, userHandle); in getIntForUser()
212 String valString = getStringForUser(name, userHandle); in getLongForUser()
230 String valString = getStringForUser(name, userHandle); in getLongForUser()
255 String v = getStringForUser(name, userHandle); in getFloatForUser()
272 String v = getStringForUser(name, userHandle); in getFloatForUser()
DGlobalSettingsProxy.java41 public String getStringForUser(String name, int userHandle) { in getStringForUser() method in GlobalSettingsProxy
42 return Settings.Global.getStringForUser(mContentResolver, name, userHandle); in getStringForUser()
/frameworks/base/packages/SettingsLib/DeviceStateRotationLock/src/com.android.settingslib.devicestate/
DAndroidSecureSettings.java41 public String getStringForUser(String name, int userHandle) { in getStringForUser() method in AndroidSecureSettings
42 return Settings.Secure.getStringForUser(mContentResolver, name, userHandle); in getStringForUser()
DSecureSettings.java26 String getStringForUser(String name, int userHandle); in getStringForUser() method
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DDeviceStateRotationLockSettingControllerTest.java110 Settings.Secure.getStringForUser( in whenSavedSettingsEmpty_defaultsLoadedAndSaved()
184 Settings.Secure.getStringForUser( in whenUserChangesSetting_saveSettingForCurrentState()
216 Settings.Secure.getStringForUser( in whenDeviceStateSwitchedToIgnoredState_noFallback_newSettingsSaveForPreviousState()
253 Settings.Secure.getStringForUser( in onRotationLockStateChanged_newSettingIsPersisted()
274 Settings.Secure.getStringForUser( in onRotationLockStateChanged_deviceStateIsIgnored_newSettingIsPersistedToFallback()
296 Settings.Secure.getStringForUser( in onRotationLockStateChange_stateIgnored_noFallback_settingIsPersistedToPrevious()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DActiveUnlockConfig.kt200 secureSettings.getStringForUser(ACTIVE_UNLOCK_ON_FACE_ERRORS, in onChange()
208 secureSettings.getStringForUser(ACTIVE_UNLOCK_ON_FACE_ACQUIRE_INFO, in onChange()
216 secureSettings.getStringForUser( in onChange()
225 secureSettings.getStringForUser( in onChange()
234 secureSettings.getStringForUser( in onChange()
/frameworks/base/core/java/android/hardware/biometrics/
DParentalControlsUtilsInternal.java49 final String pkg = Settings.Secure.getStringForUser(context.getContentResolver(), in getTestComponentName()
51 final String cls = Settings.Secure.getStringForUser(context.getContentResolver(), in getTestComponentName()
/frameworks/base/tests/testables/tests/src/android/testing/
DTestableSettingsProviderTest.java77 Secure.getStringForUser(mContentResolver, NONEXISTENT_SETTING, 0)); in testSeparateUsers()
79 Secure.getStringForUser(mContentResolver, NONEXISTENT_SETTING, 1)); in testSeparateUsers()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DTunerServiceImpl.java175 return Settings.Secure.getStringForUser(mContentResolver, setting, mCurrentUser); in getValue()
190 String ret = Secure.getStringForUser(mContentResolver, setting, mCurrentUser); in getValue()
223 .getStringForUser(mContentResolver, key, mCurrentUser)); in addTunable()
253 String value = Settings.Secure.getStringForUser(mContentResolver, key, mCurrentUser); in reloadSetting()
261 String value = Settings.Secure.getStringForUser(mContentResolver, key, in reloadAll()
/frameworks/base/services/core/java/com/android/server/infra/
DSecureSettingsServiceNameResolver.java85 Settings.Secure.getStringForUser( in readServiceNameList()
91 return Settings.Secure.getStringForUser( in readServiceName()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/theme/
DThemeOverlayControllerTest.java291 when(mSecureSettings.getStringForUser( in onWallpaperColorsChanged_preservesWallpaperPickerTheme()
320 when(mSecureSettings.getStringForUser( in onWallpaperColorsChanged_resetThemeIfNotPreset()
355 when(mSecureSettings.getStringForUser( in onWallpaperColorsChanged_resetThemeWithNewHomeWallpapers()
387 when(mSecureSettings.getStringForUser( in onWallpaperColorsChanged_keepsThemeWhenSetFromLockScreen()
410 when(mSecureSettings.getStringForUser( in onWallpaperColorsChanged_resetLockScreenThemeWhenBothSet()
443 when(mSecureSettings.getStringForUser( in onSettingChanged_honorThemeStyle()
459 when(mSecureSettings.getStringForUser( in onSettingChanged_invalidStyle()
480 when(mSecureSettings.getStringForUser( in onWallpaperColorsChanged_resetThemeWithNewHomeAndLockWallpaper()
511 when(mSecureSettings.getStringForUser( in onWallpaperColorsChanged_changeLockWallpaper()
542 when(mSecureSettings.getStringForUser( in onWallpaperColorsChanged_changeHomeWallpaper()
[all …]
/frameworks/base/services/core/java/com/android/server/stats/pull/
DSettingsStatsUtil.java90 final String value = Settings.Global.getStringForUser(resolver, key, userId); in logGlobalSettings()
109 final String value = Settings.System.getStringForUser(resolver, key, userId); in logSystemSettings()
128 final String value = Settings.Secure.getStringForUser(resolver, key, userId); in logSecureSettings()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DAutoAddTrackerTest.java209 mSecureSettings.getStringForUser(Secure.QS_AUTO_ADDED_TILES, USER)); in testSettingRestoredWithTilesNotRemovedInSource_noAutoAddedInTarget()
233 mSecureSettings.getStringForUser(Secure.QS_AUTO_ADDED_TILES, USER)); in testSettingRestoredWithTilesRemovedInSource_noAutoAddedInTarget()
258 mSecureSettings.getStringForUser(Secure.QS_AUTO_ADDED_TILES, USER)); in testSettingRestoredWithTilesRemovedInSource_sameAutoAddedinTarget()
283 String setting = mSecureSettings.getStringForUser(Secure.QS_AUTO_ADDED_TILES, USER); in testSettingRestoredWithTilesRemovedInSource_othersAutoAddedinTarget()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/
DOneHandedSettingsUtil.java175 final String targetsSwKey = Settings.Secure.getStringForUser(resolver, in getShortcutEnabled()
183 final String targetsHwKey = Settings.Secure.getStringForUser(resolver, in getShortcutEnabled()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/accessibility/
DAccessibilityUtils.java79 final String enabledServicesSetting = Settings.Secure.getStringForUser( in getEnabledServicesFromSettings()
183 final String currentShortcutServiceId = Settings.Secure.getStringForUser( in getShortcutTargetServiceComponentNameString()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/settings/
DFakeSettings.java111 return getStringForUser(name, getUserId()); in getString()
115 public String getStringForUser(String name, int userHandle) { in getStringForUser() method in FakeSettings
/frameworks/opt/car/services/builtInServices/src/com/android/server/wm/
DCarDisplayCompatScaleProviderInterface.java68 String getStringForUser(ContentResolver resolver, String name, @UserIdInt int userId); in getStringForUser() method
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DBaseSettingsProviderTest.java106 return Settings.Global.getStringForUser(contentResolver, name, userId); in getStringViaFrontEndApiSetting()
110 return Settings.Secure.getStringForUser(contentResolver, name, userId); in getStringViaFrontEndApiSetting()
114 return Settings.System.getStringForUser(contentResolver, name, userId); in getStringViaFrontEndApiSetting()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationSettingsControllerTest.kt219 whenever(secureSettings.getStringForUser(setting1, ActivityManager.getCurrentUser())) in addCallback_updatesCurrentValue()
221 whenever(secureSettings.getStringForUser(setting2, ActivityManager.getCurrentUser())) in addCallback_updatesCurrentValue()
245 whenever(secureSettings.getStringForUser(setting1, ActivityManager.getCurrentUser())) in removeCallback_noMoreUpdates()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/settings/
DUserSettingsProxyTest.kt158 assertThat(mSettings.getStringForUser(TEST_SETTING, MAIN_USER_ID)).isEqualTo("test") in getStringForUser_multipleUsers_validResult()
159 assertThat(mSettings.getStringForUser(TEST_SETTING, SECONDARY_USER_ID)).isEqualTo("test1") in getStringForUser_multipleUsers_validResult()
314 override fun getStringForUser(name: String, userHandle: Int) = in getContentResolver() method in com.android.systemui.util.settings.UserSettingsProxyTest.FakeUserSettingsProxy
/frameworks/base/services/core/java/com/android/server/policy/role/
DRoleServicePlatformHelperImpl.java192 String assistantSetting = Settings.Secure.getStringForUser(contentResolver, in readFromLegacySettings()
226 String dialerSetting = Settings.Secure.getStringForUser(contentResolver, in readFromLegacySettings()
245 String smsSetting = Settings.Secure.getStringForUser(contentResolver, in readFromLegacySettings()
282 String emergencyPackageName = Settings.Secure.getStringForUser(contentResolver, in readFromLegacySettings()

12345