Home
last modified time | relevance | path

Searched refs:expectedCount (Results 1 – 11 of 11) sorted by relevance

/cts/tests/tests/content/src/android/content/cts/
DClipboardManagerListenerTest.java59 private void assertClipChangedCount(final int expectedCount) { in assertClipChangedCount() argument
63 return expectedCount == mListener.getCount(); in assertClipChangedCount()
68 private void assertNoClipChange(int expectedCount) throws InterruptedException { in assertNoClipChange() argument
70 assertEquals(expectedCount, mListener.getCount()); in assertNoClipChange()
/cts/tests/tests/rscpp/librscpptest/
Drs_jni_type.cpp135 size_t expectedCount = 8 + 4 + 2 + 1; in Java_android_cts_rscpp_RSTypeTest_testGetCount() local
136 passed &= (t->getCount() == expectedCount); in Java_android_cts_rscpp_RSTypeTest_testGetCount()
141 expectedCount = 8*8 + 4*4 + 2*2 + 1; in Java_android_cts_rscpp_RSTypeTest_testGetCount()
142 passed &= (t->getCount() == expectedCount); in Java_android_cts_rscpp_RSTypeTest_testGetCount()
147 expectedCount = 8*4 + 4*2 + 2*1 + 1; in Java_android_cts_rscpp_RSTypeTest_testGetCount()
148 passed &= (t->getCount() == expectedCount); in Java_android_cts_rscpp_RSTypeTest_testGetCount()
153 passed &= (t->getCount() == expectedCount); in Java_android_cts_rscpp_RSTypeTest_testGetCount()
158 expectedCount = 7 + 3 + 1; in Java_android_cts_rscpp_RSTypeTest_testGetCount()
159 passed &= (t->getCount() == expectedCount); in Java_android_cts_rscpp_RSTypeTest_testGetCount()
164 expectedCount = 7*3 + 3*1 + 1; in Java_android_cts_rscpp_RSTypeTest_testGetCount()
[all …]
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DTypeTest.java103 int expectedCount = 8 + 4 + 2 + 1; in testGetCount() local
104 assertTrue(t.getCount() == expectedCount); in testGetCount()
107 expectedCount = 8*8 + 4*4 + 2*2 + 1; in testGetCount()
108 assertTrue(t.getCount() == expectedCount); in testGetCount()
111 expectedCount = 8*4 + 4*2 + 2*1 + 1; in testGetCount()
112 assertTrue(t.getCount() == expectedCount); in testGetCount()
115 assertTrue(t.getCount() == expectedCount); in testGetCount()
118 expectedCount = 7 + 3 + 1; in testGetCount()
119 assertTrue(t.getCount() == expectedCount); in testGetCount()
122 expectedCount = 7*3 + 3*1 + 1; in testGetCount()
[all …]
/cts/tests/tests/provider/src/android/provider/cts/
DSearchRecentSuggestionsTest.java198 final int expectedCount) { in waitForCursorCount() argument
205 return cursor != null && cursor.getCount() == expectedCount; in waitForCursorCount()
DCalendarTest.java3693 private void verifyCalendar(String account, ContentValues values, long id, int expectedCount) { in verifyCalendar() argument
3696 assertEquals(expectedCount, c.getCount()); in verifyCalendar()
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DAbstractRestrictBackgroundNetworkTestCase.java191 protected void assertRestrictBackgroundChangedReceived(int expectedCount) throws Exception { in assertRestrictBackgroundChangedReceived() argument
192 assertRestrictBackgroundChangedReceived(DYNAMIC_RECEIVER, expectedCount); in assertRestrictBackgroundChangedReceived()
196 protected void assertRestrictBackgroundChangedReceived(String receiverName, int expectedCount) in assertRestrictBackgroundChangedReceived() argument
204 if (count == expectedCount) { in assertRestrictBackgroundChangedReceived()
207 Log.d(TAG, "Expecting count " + expectedCount + " but actual is " + count + " after " in assertRestrictBackgroundChangedReceived()
213 + maxAttempts * SLEEP_TIME_SEC + " seconds", expectedCount, count); in assertRestrictBackgroundChangedReceived()
/cts/tests/tests/keystore/src/android/keystore/cts/
DTestUtils.java291 Integer expectedCount = expectedFreq.get(actualEntry.getKey()); in assertContentsInAnyOrder() local
292 int diff = actualCount - ((expectedCount != null) ? expectedCount : 0); in assertContentsInAnyOrder()
300 int expectedCount = expectedEntry.getValue(); in assertContentsInAnyOrder() local
302 int diff = expectedCount - ((actualCount != null) ? actualCount : 0); in assertContentsInAnyOrder()
/cts/tests/app/src/android/app/cts/
DNotificationManagerTest.java1011 private void assertNotificationCount(int expectedCount) { in assertNotificationCount() argument
1019 if (expectedCount == lastCount) return; in assertNotificationCount()
1026 fail("Expected " + expectedCount + " posted notifications, were " + lastCount); in assertNotificationCount()
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvContractTest.java947 private void verifyOverlap(long startMillis, long endMillis, int expectedCount, in verifyOverlap() argument
951 assertEquals(expectedCount, cursor.getCount()); in verifyOverlap()
955 assertEquals(expectedCount, cursor.getCount()); in verifyOverlap()
1378 private void verifyChannelCountWithCanonicalGenre(String canonicalGenre, int expectedCount) { in verifyChannelCountWithCanonicalGenre() argument
1384 assertEquals("Query:{Uri=" + channelUri + "}", expectedCount, c.getCount()); in verifyChannelCountWithCanonicalGenre()
/cts/tests/tests/graphics/src/android/graphics/cts/
DPaintTest.java157 int start, int end, boolean measureForwards, float maxWidth, int expectedCount, in verifyBreakText() argument
175 assertEquals(expectedCount, p.breakText(textSlice, measureForwards, maxWidth, measured[0])); in verifyBreakText()
176 assertEquals(expectedCount, p.breakText(textChars, start, count, maxWidth, measured[1])); in verifyBreakText()
177 assertEquals(expectedCount, p.breakText(textSpan, start, end, measureForwards, maxWidth, in verifyBreakText()
/cts/tests/libcore/javautilcollections/libs/
Dguava-20.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...