Home
last modified time | relevance | path

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

/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/content/src/android/content/cts/
DClipboardManagerListenerTest.java60 private void assertClipChangedCount(final int expectedCount) { in assertClipChangedCount() argument
64 return expectedCount == mListener.getCount(); in assertClipChangedCount()
69 private void assertNoClipChange(int expectedCount) throws InterruptedException { in assertNoClipChange() argument
71 assertEquals(expectedCount, mListener.getCount()); in assertNoClipChange()
/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/autofillservice/src/android/autofillservice/cts/
DDuplicateIdActivityTest.java74 int expectedCount) { in findViews() argument
80 assertThat(rootNode.getChildCount()).isEqualTo(expectedCount); in findViews()
81 final ViewNode[] viewNodes = new AssistStructure.ViewNode[expectedCount]; in findViews()
82 for (int i = 0; i < expectedCount; i++) { in findViews()
/cts/tests/tests/view/jni/
Dandroid_view_cts_ChoreographerNativeTest.cpp83 static void verifyCallback(JNIEnv* env, Callback* cb, int expectedCount, in verifyCallback() argument
86 ASSERT(cb->count == expectedCount, "Choreographer failed to invoke '%s' %d times - actual: %d", in verifyCallback()
87 cb->name, expectedCount, cb->count); in verifyCallback()
91 cb->name, expectedCount); in verifyCallback()
/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.java205 protected void assertRestrictBackgroundChangedReceived(int expectedCount) throws Exception { in assertRestrictBackgroundChangedReceived() argument
206 assertRestrictBackgroundChangedReceived(DYNAMIC_RECEIVER, expectedCount); in assertRestrictBackgroundChangedReceived()
210 protected void assertRestrictBackgroundChangedReceived(String receiverName, int expectedCount) in assertRestrictBackgroundChangedReceived() argument
218 if (count >= expectedCount) { in assertRestrictBackgroundChangedReceived()
221 Log.d(TAG, "Expecting count " + expectedCount + " but actual is " + count + " after " in assertRestrictBackgroundChangedReceived()
227 + 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/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.java211 int start, int end, boolean measureForwards, float maxWidth, int expectedCount, in verifyBreakText() argument
229 assertEquals(expectedCount, p.breakText(textSlice, measureForwards, maxWidth, measured[0])); in verifyBreakText()
230 assertEquals(expectedCount, p.breakText(textChars, start, count, maxWidth, measured[1])); in verifyBreakText()
231 assertEquals(expectedCount, p.breakText(textSpan, start, end, measureForwards, maxWidth, in verifyBreakText()
/cts/tests/tests/appwidget/src/android/appwidget/cts/
DAppWidgetTest.java1315 private void waitForCallCount(AtomicInteger counter, int expectedCount) { in waitForCallCount() argument
1318 while (counter.get() < expectedCount) { in waitForCallCount()
/cts/tests/app/src/android/app/cts/
DNotificationManagerTest.java444 private void assertNotificationCount(int expectedCount) { in assertNotificationCount() argument
452 if (expectedCount == lastCount) return; in assertNotificationCount()
459 fail("Expected " + expectedCount + " posted notifications, were " + lastCount); in assertNotificationCount()