/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/widget/ |
D | PeopleBackupHelperTest.java | 259 assertThat(mBackupSp.getStringSet(URI_STRING, new HashSet<>())) in testBackupKey_contactUriKey_ignoresExistingWidgets() 270 assertThat(mBackupSp.getStringSet(URI_STRING, new HashSet<>())) in testBackupKey_contactUriKey_ignoresExistingWidgets_otherWidget() 281 assertThat(mBackupSp.getStringSet(URI_STRING, new HashSet<>())).isEmpty(); in testBackupKey_contactUriKey_noUserId_otherUser_doesntBackup() 291 assertThat(mBackupSp.getStringSet(URI_STRING, new HashSet<>())) in testBackupKey_contactUriKey_sameUserId() 304 assertThat(mBackupSp.getStringSet(URI_STRING, new HashSet<>())).isEmpty(); in testBackupKey_contactUriKey_differentUserId_runningAsUser0() 316 assertThat(mBackupSp.getStringSet(URI_STRING, new HashSet<>())).isEmpty(); in testBackupKey_contactUriKey_differentUserId_runningAsUser10() 329 assertThat(mBackupSp.getStringSet( in testBackupKey_peopleTileKey_containsWidget() 344 mBackupSp.getStringSet(INVALID_USER_ID_PEOPLE_TILE_KEY.toString(), new HashSet<>())) in testBackupKey_peopleTileKey_containsBothWidgets() 356 assertThat(mBackupSp.getStringSet( in testBackupKey_peopleTileKey_doesNotContainWidget() 368 assertThat(mBackupSp.getStringSet( in testBackupKey_peopleTileKey_differentUserId() [all …]
|
D | PeopleSpaceWidgetManagerTest.java | 1063 assertThat(sp.getStringSet(KEY.toString(), new HashSet<>())).containsExactly( in testDeleteAllWidgetsForConversationsUncachesShortcutAndRemovesListeners() 1082 assertThat(sp.getStringSet(KEY.toString(), new HashSet<>())).isEmpty(); in testDeleteAllWidgetsForConversationsUncachesShortcutAndRemovesListeners() 1118 assertThat(sp.getStringSet(KEY.toString(), new HashSet<>())) in testOnAppWidgetOptionsChangedNoWidgetAdded() 1543 assertThat(sp.getStringSet(URI.toString(), new HashSet<>())).containsExactly( in testRemapSharedFile() 1548 assertThat(sp.getStringSet(key8.toString(), new HashSet<>())).containsExactly( in testRemapSharedFile() 1552 assertThat(sp.getStringSet(key11.toString(), new HashSet<>())).containsExactly( in testRemapSharedFile() 1572 assertThat(followUp.getStringSet(key8.toString(), new HashSet<>())).containsExactly( in testRemapFollowupFile() 1574 assertThat(followUp.getStringSet(key11.toString(), new HashSet<>())).containsExactly( in testRemapFollowupFile() 1775 Set<String> storedWidgetIds = new HashSet<>(sp.getStringSet(key, new HashSet<>())); in setStorageForTile() 1780 sp.getStringSet(contactUri.toString(), new HashSet<>())); in setStorageForTile()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/ |
D | AuthenticationStatsPersisterTest.java | 102 when(mSharedPreferences.getStringSet(eq(KEY), anySet())).thenReturn( in getAllFrrStats_face_shouldListAllFrrStats() 126 when(mSharedPreferences.getStringSet(eq(KEY), anySet())).thenReturn( in getAllFrrStats_fingerprint_shouldListAllFrrStats() 183 when(mSharedPreferences.getStringSet(eq(KEY), anySet())).thenReturn( in persistFrrStats_existingUser_shouldUpdateRecord() 208 when(mSharedPreferences.getStringSet(eq(KEY), anySet())).thenReturn( in persistFrrStats_existingUserWithFingerprint_faceAuthenticate_shouldUpdateRecord() 235 when(mSharedPreferences.getStringSet(eq(KEY), anySet())).thenReturn( in persistFrrStats_multiUser_newUser_shouldUpdateRecord() 255 when(mSharedPreferences.getStringSet(eq(KEY), anySet())).thenReturn( in removeFrrStats_existingUser_shouldUpdateRecord()
|
D | AuthenticationStatsBroadcastReceiverTest.java | 84 when(mSharedPreferences.getStringSet(anyString(), anySet())).thenReturn(emptySet()); in setUp()
|
D | AuthenticationStatsCollectorTest.java | 106 when(mSharedPreferences.getStringSet(anyString(), anySet())).thenReturn(emptySet()); in setUp()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | UserBackupPreferences.java | 45 new HashSet<>(mPreferences.getStringSet(packageName, Collections.emptySet())); in addExcludedKeys() 52 return mPreferences.getStringSet(packageName, Collections.emptySet()); in getExcludedRestoreKeysForPackage()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/panels/ |
D | AuthorizedPanelsRepositoryImplTest.kt | 68 assertThat(sharedPrefs.getStringSet(KEY, null)).containsExactly(TEST_PACKAGE) in testPreApprovedPackagesAreSeededIfNoSavedPreferences() 82 assertThat(sharedPrefs.getStringSet(KEY, null)).isEmpty() in testPreApprovedPackagesNotSeededIfEmptySavedPreferences() 119 assertThat(sharedPrefs.getStringSet(KEY, null)).containsExactly(TEST_PACKAGE) in testSetAuthorizedPackage() 131 assertThat(sharedPrefs.getStringSet(KEY, null)).isEmpty() in testRemoveAuthorizedPackageRemovesIt()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/ |
D | PeopleBackupFollowUpJobTest.java | 132 assertThat(mFollowUpSp.getStringSet(PEOPLE_TILE_KEY.toString(), new HashSet<>())) in testProcessFollowUpFile_shouldFollowUp() 147 assertThat(mFollowUpSp.getStringSet(PEOPLE_TILE_KEY.toString(), new HashSet<>())).isEmpty(); in testProcessFollowUpFile_shouldRestore() 197 assertThat(mSp.getStringSet(PEOPLE_TILE_KEY.toString(), new HashSet<>())).isEmpty(); in testCancelJobAndClearRemainingWidgets() 198 assertThat(mSp.getStringSet(URI.toString(), new HashSet<>())).isEmpty(); in testCancelJobAndClearRemainingWidgets()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/panels/ |
D | AuthorizedPanelsRepositoryImpl.kt | 65 return sharedPreferences.getStringSet(KEY, emptySet())!! in getAuthorizedPanelsInternal() 85 val needToSetup = sharedPref.getStringSet(KEY, null) == null in instantiateSharedPrefs()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/ |
D | ApprovedPrintServices.java | 57 return mPreferences.getStringSet(APPROVED_SERVICES_PREFERENCE, null); in getApprovedServices() 92 mPreferences.getStringSet(APPROVED_SERVICES_PREFERENCE, null); in addApprovedService()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSTileRevealController.java | 72 final Set<String> revealedTiles = Prefs.getStringSet( in updateRevealedTiles() 87 Prefs.getStringSet(mContext, QS_TILE_SPECS_REVEALED, Collections.EMPTY_SET)); in addTileSpecsToRevealed()
|
/frameworks/base/services/core/java/com/android/server/locales/ |
D | LocaleManagerBackupHelper.java | 172 localeSetFromDelegate = mDelegateAppLocalePackages.getStringSet( in getBackupPayload() 326 Set<String> packageNames = new ArraySet<>(sp.getStringSet(user, new ArraySet<>())); in onPackageUpdateFinished() 652 Set<String> packageNames = new ArraySet<>(sp.getStringSet(user, new ArraySet<>())); in addInArchivedPackagesInfo() 674 Set<String> packageNames = new ArraySet<>(sp.getStringSet(user, new ArraySet<>())); in removeFromArchivedPackagesInfo() 740 mDelegateAppLocalePackages.getStringSet(key, new ArraySet<>())); in removePackageFromPersistedInfo() 787 mDelegateAppLocalePackages.getStringSet(user, new ArraySet<>())); in persistLocalesModificationInfo() 822 mDelegateAppLocalePackages.getStringSet(user, new ArraySet<>())); in areLocalesSetFromDelegate() 841 mDelegateAppLocalePackages.getStringSet(user, new ArraySet<>())); in cleanApplicationLocalesIfNeeded()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/ |
D | FakeSharedPreferencesTest.kt | 61 val result = sharedPreferences.getStringSet("key", default) in <lambda>() 107 { getStringSet(it, emptySet()) } in <lambda>() 172 assertThat(sharedPreferences.getStringSet("key", emptySet())).isEqualTo(setOf("two")) in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | DeviceControlsControllerImpl.kt | 132 prefs.getStringSet(PREFS_CONTROLS_SEEDING_COMPLETED, emptySet()) ?: emptySet() in <lambda>() 179 prefs.getStringSet(PREFS_CONTROLS_SEEDING_COMPLETED, emptySet()) ?: emptySet() in <lambda>()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/plugins/ |
D | PluginPrefs.java | 41 mPluginActions = new ArraySet<>(mSharedPrefs.getStringSet(PLUGIN_ACTIONS, null)); in PluginPrefs()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | Prefs.java | 162 public static Set<String> getStringSet( in getStringSet() method in Prefs 164 return get(context).getStringSet(key, defaultValue); in getStringSet()
|
/frameworks/base/core/java/android/preference/ |
D | PreferenceDataStore.java | 150 default Set<String> getStringSet(String key, @Nullable Set<String> defValues) { in getStringSet() method
|
D | Preference.java | 1731 return dataStore.getStringSet(mKey, defaultReturnValue); in getPersistedStringSet() 1734 return mPreferenceManager.getSharedPreferences().getStringSet(mKey, defaultReturnValue); in getPersistedStringSet()
|
/frameworks/base/core/java/android/content/ |
D | SharedPreferences.java | 306 Set<String> getStringSet(String key, @Nullable Set<String> defValues); in getStringSet() method
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgeSharedPreferences.java | 42 public Set<String> getStringSet(String key, Set<String> defValues) { in getStringSet() method in BridgeSharedPreferences
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/ |
D | FakeSharedPreferences.kt | 43 override fun getStringSet(key: String, defValues: MutableSet<String>?): MutableSet<String>? { in <lambda>() method in com.android.systemui.util.FakeSharedPreferences
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/ |
D | PeopleSpaceUtils.java | 97 return new HashSet<>(sp.getStringSet(key.toString(), new HashSet<>())); in getStoredWidgetIds() 151 sp.getStringSet(storageKey, new HashSet<>())); in addAppWidgetIdForKey() 160 sp.getStringSet(storageKey, new HashSet<>())); in removeAppWidgetIdForKey()
|
/frameworks/base/services/core/java/com/android/server/biometrics/ |
D | AuthenticationStatsPersister.java | 169 return mSharedPreferences.getStringSet(KEY, Set.of()); in readFrrStats()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/instrumentation/ |
D | SharedPreferencesLogger.java | 68 public Set<String> getStringSet(String key, @Nullable Set<String> defValues) { in getStringSet() method in SharedPreferencesLogger
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/ |
D | PeopleSpaceWidgetManager.java | 644 return new HashSet<>(mSharedPrefs.getStringSet(key.toString(), new HashSet<>())); in getMatchingKeyWidgetIds() 694 new HashSet<>(mSharedPrefs.getStringSet(contactUri, new HashSet<>())); in fetchMatchingUriWidgetIds() 952 mSharedPrefs.getStringSet(key.toString(), new HashSet<>())); in deleteWidgets()
|