Home
last modified time | relevance | path

Searched refs:expectedSet (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/hal2/
DProgramInfoCacheTest.java251 HashSet<RadioManager.ProgramInfo> expectedSet = new HashSet<>(); in verifyChunkListModified() local
253 expectedSet.add(programInfo); in verifyChunkListModified()
264 assertEquals(expectedSet, actualSet); in verifyChunkListModified()
277 HashSet<ProgramSelector.Identifier> expectedSet = new HashSet<>(); in verifyChunkListRemoved() local
279 expectedSet.add(identifier); in verifyChunkListRemoved()
290 assertEquals(expectedSet, actualSet); in verifyChunkListRemoved()
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DConnectedClientsTrackerTest.kt147 val expectedSet = HashSet(expected) in assertSameClients() constant
148 assertEquals(expected.size, expectedSet.size) in assertSameClients()
149 assertEquals(expectedSet, HashSet(actual)) in assertSameClients()
DUpstreamNetworkMonitorTest.java787 final Set<String> expectedSet = new HashSet<>(); in assertPrefixSet() local
788 Collections.addAll(expectedSet, expected); in assertPrefixSet()
789 assertPrefixSet(prefixes, expectation, expectedSet); in assertPrefixSet()
/frameworks/libs/net/common/tests/unit/src/android/net/util/
DLinkPropertiesUtilsTest.java196 HashSet<String> expectedSet = new HashSet(expected); in assertSameElements() local
197 assertEquals("expected list contains duplicates", expectedSet.size(), expected.size()); in assertSameElements()
200 assertEquals(expectedSet, actualSet); in assertSameElements()
/frameworks/base/services/tests/servicestests/src/com/android/server/power/
DThermalManagerServiceTest.java197 HashSet<?> expectedSet = new HashSet<>(expected); in assertListEqualsIgnoringOrder() local
198 assertEquals(expectedSet, actualSet); in assertListEqualsIgnoringOrder()
/frameworks/base/core/tests/coretests/src/android/os/
DFileUtilsTest.java601 final HashSet<String> expectedSet = Sets.newHashSet(expected); in assertDirContents() local
609 assertTrue("Unexpected actual file " + actualFile, expectedSet.contains(actualFile)); in assertDirContents()
/frameworks/base/tests/net/common/java/android/net/
DLinkPropertiesTest.java982 Set<RouteInfo> expectedSet = new ArraySet<>(expected); in assertEqualRoutes() local
987 assertEquals(expectedSet, actualSet); in assertEqualRoutes()