Home
last modified time | relevance | path

Searched refs:hashSet (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/robotests/src/com/android/server/location/
DGnssPositionModeTest.java30 HashSet<Integer> hashSet = new HashSet<>(); in testHashCode() local
31 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()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DSettingsToPropertiesMapperTest.java115 HashSet<String> hashSet = new HashSet<>(); in validateRegisteredGlobalSettings() local
117 if (hashSet.contains(globalSetting)) { in validateRegisteredGlobalSettings()
123 hashSet.add(globalSetting); in validateRegisteredGlobalSettings()
136 HashSet<String> hashSet = new HashSet<>(); in validateRegisteredDeviceConfigScopes() local
138 if (hashSet.contains(deviceConfigScope)) { in validateRegisteredDeviceConfigScopes()
144 hashSet.add(deviceConfigScope); in validateRegisteredDeviceConfigScopes()
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
DArrayMapTests.java338 HashSet<ControlledHash> hashSet = new HashSet<ControlledHash>(); in run() local
352 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()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest1.java55 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 …]
DBaseShortcutManagerTest.java21 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));
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/
DShortcutManagerTestUtils.java354 public static <T> Set<T> hashSet(Set<T> in) { in hashSet() method in ShortcutManagerTestUtils