/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/ |
D | AuthenticationStatsPersisterTest.java | 88 when(mEditor.putStringSet(anyString(), anySet())).thenReturn(mEditor); in setUp() 153 verify(mEditor).putStringSet(eq(KEY), mStringSetArgumentCaptor.capture()); in persistFrrStats_newUser_face_shouldSuccess() 170 verify(mEditor).putStringSet(eq(KEY), mStringSetArgumentCaptor.capture()); in persistFrrStats_newUser_fingerprint_shouldSuccess() 192 verify(mEditor).putStringSet(eq(KEY), mStringSetArgumentCaptor.capture()); in persistFrrStats_existingUser_shouldUpdateRecord() 221 verify(mEditor).putStringSet(eq(KEY), mStringSetArgumentCaptor.capture()); in persistFrrStats_existingUserWithFingerprint_faceAuthenticate_shouldUpdateRecord() 245 verify(mEditor).putStringSet(eq(KEY), mStringSetArgumentCaptor.capture()); in persistFrrStats_multiUser_newUser_shouldUpdateRecord() 260 verify(mEditor).putStringSet(eq(KEY), mStringSetArgumentCaptor.capture()); in removeFrrStats_existingUser_shouldUpdateRecord()
|
D | AuthenticationStatsBroadcastReceiverTest.java | 87 when(mEditor.putStringSet(anyString(), anySet())).thenReturn(mEditor); in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/panels/ |
D | AuthorizedPanelsRepositoryImpl.kt | 60 edit().putStringSet(KEY, currentSet - packageNames).apply() in removeAuthorizedPanels() 73 sharedPreferences.edit().putStringSet(KEY, currentSet + packageNames).apply() in addAuthorizedPanelsInternal() 87 sharedPref.edit().putStringSet(KEY, getPreferredPackages()).apply() in instantiateSharedPrefs()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/ |
D | FakeSharedPreferencesTest.kt | 106 SharedPreferences.Editor::putStringSet, in <lambda>() 169 sharedPreferences.edit().putStringSet("key", setOf("one")).commit() in <lambda>() 170 sharedPreferences.edit().putStringSet("key", setOf("two")).commit() in <lambda>() 218 .putStringSet("keySet", setOf("a")) in <lambda>() 222 sharedPreferences.edit().putString("keyString", null).putStringSet("keySet", null).commit() in <lambda>()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/ |
D | ApprovedPrintServices.java | 104 editor.putStringSet(APPROVED_SERVICES_PREFERENCE, newApprovedServices); in addApprovedService() 155 editor.putStringSet(APPROVED_SERVICES_PREFERENCE, newApprovedServices); in pruneApprovedServices()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locales/ |
D | LocaleManagerBackupRestoreTest.java | 308 verify(mMockSpEditor, times(0)).putStringSet(anyString(), any()); in testRestore_allAppsInstalled_nothingToSp() 332 verify(mMockSpEditor, times(1)).putStringSet(Integer.toString(DEFAULT_USER_ID), in testRestore_allAppsInstalled_storeInfoToSp() 357 verify(mMockSpEditor, times(0)).putStringSet(anyString(), any()); in testRestore_allAppsInstalled_InfoHasExistedInSp() 515 verify(mMockSpEditor, times(0)).putStringSet(anyString(), any()); in testRestore_appInstalledAfterSUW_restoresFromStage() 531 verify(mMockSpEditor, times(1)).putStringSet(Integer.toString(DEFAULT_USER_ID), in testRestore_appInstalledAfterSUW_restoresFromStage() 579 verify(mMockSpEditor, times(0)).putStringSet(anyString(), any()); in testRestore_appInstalledAfterSUW_restoresFromStage_ArchiveEnabled() 596 verify(mMockSpEditor, times(1)).putStringSet(Integer.toString(DEFAULT_USER_ID), in testRestore_appInstalledAfterSUW_restoresFromStage_ArchiveEnabled() 802 verify(mMockSpEditor, times(0)).putStringSet(anyString(), any()); in testRestore_multipleProfile_restoresFromStage_ArchiveEnabled() 815 verify(mMockSpEditor, times(1)).putStringSet(Integer.toString(DEFAULT_USER_ID), in testRestore_multipleProfile_restoresFromStage_ArchiveEnabled() 828 verify(mMockSpEditor, times(0)).putStringSet(anyString(), any()); in testPackageRemoved_noInfoInSp() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/panels/ |
D | AuthorizedPanelsRepositoryImplTest.kt | 78 sharedPrefs.edit().putStringSet(KEY, emptySet()).apply() in testPreApprovedPackagesNotSeededIfEmptySavedPreferences() 93 sharedPrefs_1.edit().putStringSet(KEY, emptySet()).apply() in testPreApprovedPackagesOnlySetForUserThatDoesntHaveThem() 105 sharedPrefs.edit().putStringSet(KEY, mutableSetOf(TEST_PACKAGE)).apply() in testGetAuthorizedPackages()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/ |
D | PeopleBackupHelper.java | 305 editor.putStringSet(peopleTileKey.toString(), filteredWidgets); in backupPeopleTileKey() 337 followUpEditor.putStringSet(peopleTileKey.toString(), widgetIds); in restorePeopleTileKeyAndCorrespondingWidgetFile() 344 editor.putStringSet(peopleTileKey.toString(), widgetIds); in restorePeopleTileKeyAndCorrespondingWidgetFile() 368 editor.putStringSet(uri.toString(), widgetIds); in backupContactUriKey() 377 editor.putStringSet(uri.toString(), widgetIds); in backupContactUriKey() 392 editor.putStringSet(uri.toString(), widgetIds); in restoreContactUriKey()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/ |
D | PeopleBackupFollowUpJobTest.java | 121 mFollowUpEditor.putStringSet(PEOPLE_TILE_KEY.toString(), WIDGET_IDS); in testProcessFollowUpFile_shouldFollowUp() 138 mFollowUpEditor.putStringSet(PEOPLE_TILE_KEY.toString(), WIDGET_IDS); in testProcessFollowUpFile_shouldRestore() 181 mEditor.putStringSet(URI.toString(), WIDGET_IDS); in testCancelJobAndClearRemainingWidgets()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/plugins/ |
D | PluginPrefs.java | 50 mSharedPrefs.edit().putStringSet(PLUGIN_ACTIONS, mPluginActions).apply(); in addAction()
|
/frameworks/base/core/java/android/preference/ |
D | PreferenceDataStore.java | 74 default void putStringSet(String key, @Nullable Set<String> values) { in putStringSet() method
|
D | Preference.java | 1706 dataStore.putStringSet(mKey, values); in persistStringSet() 1709 editor.putStringSet(mKey, values); in persistStringSet()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | UserBackupPreferences.java | 47 mEditor.putStringSet(packageName, existingKeys); in addExcludedKeys()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | Prefs.java | 158 public static void putStringSet(Context context, @Key String key, Set<String> value) { in putStringSet() method in Prefs 159 get(context).edit().putStringSet(key, value).apply(); in putStringSet()
|
/frameworks/base/services/core/java/com/android/server/biometrics/ |
D | AuthenticationStatsPersister.java | 118 mSharedPreferences.edit().putStringSet(KEY, frrStatsSet).apply(); in removeFrrStats() 154 mSharedPreferences.edit().putStringSet(KEY, frrStatsSet).apply(); in persistFrrStats()
|
/frameworks/base/core/java/android/content/ |
D | SharedPreferences.java | 123 Editor putStringSet(String key, @Nullable Set<String> values); in putStringSet() method
|
/frameworks/base/services/core/java/com/android/server/locales/ |
D | LocaleManagerBackupHelper.java | 338 if (!editor.putStringSet(user, packageNames).commit()) { in onPackageUpdateFinished() 659 if (!sp.edit().putStringSet(user, packageNames).commit()) { in addInArchivedPackagesInfo() 690 if (!editor.putStringSet(user, packageNames).commit()) { in removeFromArchivedPackagesInfo() 747 editor.putStringSet(key, packageNames); in removePackageFromPersistedInfo() 794 editor.putStringSet(user, packageNames); in persistLocalesModificationInfo() 804 editor.putStringSet(user, packageNames); in persistLocalesModificationInfo()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgeSharedPreferences.java | 83 public Editor putStringSet(String key, Set<String> values) { in edit()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSTileRevealController.java | 89 Prefs.putStringSet(mContext, QS_TILE_SPECS_REVEALED, revealedTiles); in addTileSpecsToRevealed()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/ |
D | FakeSharedPreferences.kt | 98 override fun putStringSet( in <lambda>() method in com.android.systemui.util.FakeSharedPreferences.Editor
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | DeviceControlsControllerImpl.kt | 182 prefs.edit().putStringSet(PREFS_CONTROLS_SEEDING_COMPLETED, updatedPkgs).apply() in <lambda>()
|
/frameworks/base/packages/SettingsLib/DataStore/src/com/android/settingslib/datastore/ |
D | SharedPreferencesStorage.kt | 187 @Suppress("UNCHECKED_CAST") editor.putStringSet(key, value as Set<String>) in mergeSharedPreferences()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/instrumentation/ |
D | SharedPreferencesLogger.java | 215 public Editor putStringSet(String key, @Nullable Set<String> values) { in putStringSet() method in SharedPreferencesLogger.EditorLogger
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | DeviceControlsControllerImplTest.kt | 122 .putStringSet(PREFS_CONTROLS_SEEDING_COMPLETED, emptySet()) in capture()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/ |
D | PeopleSpaceUtils.java | 153 editor.putStringSet(storageKey, storedWidgetIdsByKey); in addAppWidgetIdForKey() 162 editor.putStringSet(storageKey, storedWidgetIds); in removeAppWidgetIdForKey()
|