Home
last modified time | relevance | path

Searched refs:putStringForUser (Results 1 – 25 of 93) sorted by relevance

1234

/frameworks/base/services/flags/java/com/android/server/flags/
DGlobalSettingsProxy.java52 public boolean putStringForUser(String name, String value, int userHandle) { in putStringForUser() method in GlobalSettingsProxy
53 return Settings.Global.putStringForUser(mContentResolver, name, value, userHandle); in putStringForUser()
57 public boolean putStringForUser(String name, String value, String tag, boolean makeDefault, in putStringForUser() method in GlobalSettingsProxy
59 return Settings.Global.putStringForUser( in putStringForUser()
DSettingsProxy.java70 boolean putStringForUser(String name, String value, int userHandle); in putStringForUser() method
76 boolean putStringForUser(@NonNull String name, @Nullable String value, @Nullable String tag, in putStringForUser() method
97 return putStringForUser(name, value, getUserId()); in putString()
132 return putStringForUser(name, Integer.toString(value), userHandle); in putIntForUser()
245 return putStringForUser(name, Long.toString(value), userHandle); in putLongForUser()
290 return putStringForUser(name, Float.toString(value), userHandle); in putFloatForUser()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DActiveUnlockConfigTest.kt209 secureSettings.putStringForUser( in onBioFailSettingChanged()
257 secureSettings.putStringForUser(ACTIVE_UNLOCK_ON_FACE_ERRORS, "3", currentUser) in faceErrorSettingsChanged()
277 secureSettings.putStringForUser(ACTIVE_UNLOCK_ON_BIOMETRIC_FAIL, "1", currentUser) in faceAcquiredSettingsChanged()
281 secureSettings.putStringForUser( in faceAcquiredSettingsChanged()
325 secureSettings.putStringForUser( in triggerOnUnlockIntentWhenBiometricEnrolledNone()
354 secureSettings.putStringForUser( in triggerOnUnlockIntentWhenBiometricEnrolledFingerprintOrFaceOnly()
417 secureSettings.putStringForUser( in isWakeupConsideredUnlockIntent_multiValue()
449 secureSettings.putStringForUser( in isWakeupConsideredUnlockIntent_emptyValues()
476 secureSettings.putStringForUser( in isWakeupForceDismissKeyguard_singleValue()
498 secureSettings.putStringForUser( in isWakeupForceDismissKeyguard_emptyValues()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/settings/
DSecureSettingsImpl.java66 public boolean putStringForUser(String name, String value, int userHandle) { in putStringForUser() method in SecureSettingsImpl
67 return Settings.Secure.putStringForUser(mContentResolver, name, value, in putStringForUser()
72 public boolean putStringForUser(String name, String value, String tag, boolean makeDefault, in putStringForUser() method in SecureSettingsImpl
74 return Settings.Secure.putStringForUser( in putStringForUser()
DSystemSettingsImpl.java66 public boolean putStringForUser(String name, String value, int userHandle) { in putStringForUser() method in SystemSettingsImpl
67 return Settings.System.putStringForUser(mContentResolver, name, value, in putStringForUser()
72 public boolean putStringForUser(String name, String value, String tag, boolean makeDefault, in putStringForUser() method in SystemSettingsImpl
DUserSettingsProxy.kt162 return putStringForUser(name, value, userId) in getStringForUser()
166 fun putStringForUser(name: String, value: String, userHandle: Int): Boolean in putStringForUser() method
169 fun putStringForUser( in putStringForUser() method
210 putStringForUser(name, value.toString(), userHandle) in putInt()
250 putStringForUser(name, value.toString(), userHandle) in putLongForUser()
267 putStringForUser(name, value.toString(), userHandle)
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/accessibility/
DAccessibilityUtilsTest.java53 ShadowSecure.putStringForUser( in getEnabledServicesFromSettings_badFormat_emptyResult()
64 ShadowSecure.putStringForUser( in getEnabledServicesFromSettings_1Service_1result()
77 ShadowSecure.putStringForUser( in getEnabledServicesFromSettings_2Services_2results()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/
DAccessibilityButtonTargetsObserverTest.java71 Settings.Secure.putStringForUser(mContext.getContentResolver(), in onChange_haveListener_invokeCallback()
84 Settings.Secure.putStringForUser(mContext.getContentResolver(), in onChange_listenerRemoved_noInvokeCallback()
95 Settings.Secure.putStringForUser(mContext.getContentResolver(), in getCurrentAccessibilityButtonTargets_expectedValue()
/frameworks/base/packages/SettingsLib/DeviceStateRotationLock/src/com.android.settingslib.devicestate/
DAndroidSecureSettings.java36 public void putStringForUser(String name, String value, int userHandle) { in putStringForUser() method in AndroidSecureSettings
37 Settings.Secure.putStringForUser(mContentResolver, name, value, userHandle); in putStringForUser()
DSecureSettings.java24 void putStringForUser(String name, String value, int userHandle); in putStringForUser() method
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/settings/
DFakeSettings.java121 return putStringForUser(name, value, null, false, getUserId(), overrideableByRestore); in putString()
130 public boolean putStringForUser(String name, String value, int userHandle) { in putStringForUser() method in FakeSettings
131 return putStringForUser(name, value, null, false, userHandle, false); in putStringForUser()
135 public boolean putStringForUser(String name, String value, String tag, boolean makeDefault, in putStringForUser() method in FakeSettings
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qrcodescanner/controller/
DQRCodeScannerControllerTest.java278 mSecureSettings.putStringForUser(LOCK_SCREEN_SHOW_QR_CODE_SCANNER, "0", in verifyPreferenceChange()
280 mSecureSettings.putStringForUser(LOCK_SCREEN_SHOW_QR_CODE_SCANNER, "0", in verifyPreferenceChange()
283 mSecureSettings.putStringForUser(LOCK_SCREEN_SHOW_QR_CODE_SCANNER, "1", in verifyPreferenceChange()
285 mSecureSettings.putStringForUser(LOCK_SCREEN_SHOW_QR_CODE_SCANNER, "1", in verifyPreferenceChange()
300 mSecureSettings.putStringForUser(LOCK_SCREEN_SHOW_QR_CODE_SCANNER, "0", in verifyPreferenceChangeToSameValue()
307 mSecureSettings.putStringForUser(LOCK_SCREEN_SHOW_QR_CODE_SCANNER, "1", in verifyPreferenceChangeToSameValue()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/settings/
DUserSettingsProxyTest.kt156 mSettings.putStringForUser(TEST_SETTING, "test", MAIN_USER_ID) in getStringForUser_multipleUsers_validResult()
157 mSettings.putStringForUser(TEST_SETTING, "test1", SECONDARY_USER_ID) in getStringForUser_multipleUsers_validResult()
332 putStringForUser(name, value, DEFAULT_USER_ID) in putString()
336 override fun putStringForUser(name: String, value: String, userHandle: Int): Boolean { in putStringForUser() method in com.android.systemui.util.settings.UserSettingsProxyTest.FakeUserSettingsProxy
341 override fun putStringForUser( in putStringForUser() method in com.android.systemui.util.settings.UserSettingsProxyTest.FakeUserSettingsProxy
/frameworks/base/tests/testables/tests/src/android/testing/
DTestableSettingsProviderTest.java74 Secure.putStringForUser(mContentResolver, NONEXISTENT_SETTING, "something", 0); in testSeparateUsers()
75 Secure.putStringForUser(mContentResolver, NONEXISTENT_SETTING, "else", 1); in testSeparateUsers()
/frameworks/base/services/tests/servicestests/src/com/android/server/credentials/
DCredentialManagerServiceTest.java188 mSettingsWrapper.putStringForUser( in setSettingsKey()
206 public boolean putStringForUser( in putStringForUser() method in CredentialManagerServiceTest.MockSettingsWrapper
215 return Settings.Secure.putStringForUser(getContentResolver(), name, value, userHandle); in putStringForUser()
/frameworks/base/services/core/java/com/android/server/infra/
DSecureSettingsServiceNameResolver.java98 Settings.Secure.putStringForUser( in setServiceNameList()
107 Settings.Secure.putStringForUser( in setServiceNameList()
/frameworks/base/core/java/com/android/internal/util/
DSettingsWrapper.java33 public String putStringForUser(ContentResolver contentResolver, String name, int userHandle) { in putStringForUser() method in SettingsWrapper
/frameworks/base/packages/SettingsLib/tests/robotests/testutils/com/android/settingslib/testutils/shadow/
DShadowSecure.java31 public static boolean putStringForUser(ContentResolver cr, String name, String value, in putStringForUser() method in ShadowSecure
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeConfigurationTest.java51 Settings.Secure.putStringForUser(mContext.getContentResolver(), in alwaysOn_followsConfigByDefault()
/frameworks/opt/car/services/builtInServices/src/com/android/server/wm/
DCarDisplayCompatScaleProviderInterface.java73 boolean putStringForUser(ContentResolver resolver, String name, String value, in putStringForUser() method
DCarDisplayCompatScaleProvider.java143 public boolean putStringForUser(ContentResolver resolver, String name, String value, in getBuiltinInterface() method in CarDisplayCompatScaleProvider
145 return Settings.Secure.putStringForUser(resolver, name, value, in getBuiltinInterface()
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DBaseSettingsProviderTest.java84 Settings.Global.putStringForUser(contentResolver, name, value, userId); in setStringViaFrontEndApiSetting()
88 Settings.Secure.putStringForUser(contentResolver, name, value, userId); in setStringViaFrontEndApiSetting()
92 Settings.System.putStringForUser(contentResolver, name, value, userId); in setStringViaFrontEndApiSetting()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/devicestate/
DFakeSecureSettings.java35 public void putStringForUser(String name, String value, int userHandle) { in putStringForUser() method in FakeSecureSettings
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/accessibility/data/repository/
DUserA11yQsShortcutsRepositoryTest.kt53 secureSettings.putStringForUser( in targetsMatchesSetting()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/
DMenuViewLayerTest.java186 Settings.Secure.putStringForUser(mSpyContext.getContentResolver(), in setUp()
188 Settings.Secure.putStringForUser(mSpyContext.getContentResolver(), in setUp()
194 Settings.Secure.putStringForUser(mSpyContext.getContentResolver(), in tearDown()
197 Settings.Secure.putStringForUser(mSpyContext.getContentResolver(), in tearDown()
250 verify(mSecureSettings).putStringForUser( in triggerDismissMenuAction_matchA11yButtonTargetsResult()

1234