Searched refs:hashSet (Results 1 – 6 of 6) sorted by relevance
30 HashSet<Integer> hashSet = new HashSet<>(); in testHashCode() local31 hashSet.add(positionMode1.hashCode()); in testHashCode()32 hashSet.add(positionMode2.hashCode()); in testHashCode()33 assertThat(hashSet.size()).isEqualTo(1); in testHashCode()34 hashSet.add(positionMode3.hashCode()); in testHashCode()35 assertThat(hashSet.size()).isEqualTo(2); in testHashCode()
115 HashSet<String> hashSet = new HashSet<>(); in validateRegisteredGlobalSettings() local117 if (hashSet.contains(globalSetting)) { in validateRegisteredGlobalSettings()123 hashSet.add(globalSetting); in validateRegisteredGlobalSettings()136 HashSet<String> hashSet = new HashSet<>(); in validateRegisteredDeviceConfigScopes() local138 if (hashSet.contains(deviceConfigScope)) { in validateRegisteredDeviceConfigScopes()144 hashSet.add(deviceConfigScope); in validateRegisteredDeviceConfigScopes()
338 HashSet<ControlledHash> hashSet = new HashSet<ControlledHash>(); in run() local352 hashChanged = hashSet.add(key); in run()359 hashChanged = hashSet.remove(key); in run()373 dump(hashSet, arraySet); in run()384 if (!compareSets(hashSet, arraySet)) { in run()385 dump(hashSet, arraySet); in run()412 dump(hashSet, arraySet); in run()453 dump(hashSet, arraySet); in run()
55 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.hashSet;3464 hashSet(user0.getAllPackagesForTest().keySet())); in testCleanupPackage()3466 hashSet(user10.getAllPackagesForTest().keySet())); in testCleanupPackage()3470 hashSet(user0.getAllLaunchersForTest().keySet())); in testCleanupPackage()3474 hashSet(user10.getAllLaunchersForTest().keySet())); in testCleanupPackage()3496 hashSet(user0.getAllPackagesForTest().keySet())); in testCleanupPackage()3498 hashSet(user10.getAllPackagesForTest().keySet())); in testCleanupPackage()3502 hashSet(user0.getAllLaunchersForTest().keySet())); in testCleanupPackage()3506 hashSet(user10.getAllLaunchersForTest().keySet())); in testCleanupPackage()3528 hashSet(user0.getAllPackagesForTest().keySet())); in testCleanupPackage()[all …]
21 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.hashSet;1763 final Set<String> expected = hashSet(set(expectedDirectories));1780 final Set<String> expected = hashSet(set(expectedFiles));
354 public static <T> Set<T> hashSet(Set<T> in) { in hashSet() method in ShortcutManagerTestUtils