Home
last modified time | relevance | path

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

/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/presence/publish/
DPublishServiceDescTrackerTest.java91 Set<ServiceDescription> expectedSet = Collections.singleton( in testDefaultConfigMatch() local
95 assertEquals(expectedSet, t1.copyRegistrationCapabilities()); in testDefaultConfigMatch()
97 expectedSet = new ArraySet<>(Arrays.asList( in testDefaultConfigMatch()
103 assertEquals(expectedSet, t1.copyRegistrationCapabilities()); in testDefaultConfigMatch()
106 expectedSet = new ArraySet<>(Arrays.asList( in testDefaultConfigMatch()
113 assertEquals(expectedSet, t1.copyRegistrationCapabilities()); in testDefaultConfigMatch()
115 expectedSet = Collections.singleton( in testDefaultConfigMatch()
119 assertEquals(expectedSet, t1.copyRegistrationCapabilities()); in testDefaultConfigMatch()
121 expectedSet = Collections.singleton( in testDefaultConfigMatch()
127 assertEquals(expectedSet, t1.copyRegistrationCapabilities()); in testDefaultConfigMatch()
[all …]
/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/libs/net/common/testutils/hostdevice/com/android/testutils/
DMiscAsserts.kt116 val expectedSet: HashSet<T> = HashSet(expected) in assertSameElements() constant
117 assertEquals(expectedSet.size, expected.size, "expected list contains duplicates") in assertSameElements()
120 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.java669 final HashSet<String> expectedSet = Sets.newHashSet(expected); in assertDirContents() local
677 assertTrue("Unexpected actual file " + actualFile, expectedSet.contains(actualFile)); in assertDirContents()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/alarm/
DAlarmManagerServiceTest.java717 final ArraySet<String> expectedSet = new ArraySet<>(); in exactAlarmDenyListMaxSize() local
719 expectedSet.add("package1"); in exactAlarmDenyListMaxSize()
724 expectedSet.add("package" + i); in exactAlarmDenyListMaxSize()
727 assertEquals(MAX_EXACT_ALARM_DENY_LIST_SIZE, expectedSet.size()); in exactAlarmDenyListMaxSize()
729 assertEquals(expectedSet, mService.mConstants.EXACT_ALARM_DENY_LIST); in exactAlarmDenyListMaxSize()