/cts/tests/tests/widget/src/android/widget/cts/ |
D | ArrayAdapterTest.java | 91 assertEquals(1, mArrayAdapter.getCount()); in testDataChangeEvent() 94 assertEquals(2, mArrayAdapter.getCount()); in testDataChangeEvent() 101 assertEquals(0, mArrayAdapter.getCount()); in testDataChangeEvent() 112 assertEquals(1, mArrayAdapter.getCount()); in testDataChangeEvent() 132 assertEquals(0, mArrayAdapter.getCount()); in testAccessView() 138 assertEquals(3, mArrayAdapter.getCount()); in testAccessView() 163 mArrayAdapter.getView(mArrayAdapter.getCount(), textView, null)); in testAccessView() 170 mArrayAdapter.getDropDownView(mArrayAdapter.getCount(), textView, null)); in testAccessView() 224 assertEquals(1, mArrayAdapter.getCount()); in testInsert() 229 assertEquals(2, mArrayAdapter.getCount()); in testInsert() [all …]
|
D | AbsSpinnerTest.java | 89 absSpinner.setSelection(absSpinner.getCount() - 1, false); in testSetSelectionIntBoolean() 90 assertEquals(absSpinner.getCount() - 1, absSpinner.getSelectedItemPosition()); in testSetSelectionIntBoolean() 112 absSpinner.setSelection(absSpinner.getCount() - 1); in testSetSelectionInt() 113 assertEquals(absSpinner.getCount() - 1, absSpinner.getSelectedItemPosition()); in testSetSelectionInt() 131 assertEquals(adapter.getCount(), absSpinner.getCount()); in testAccessAdapter() 165 assertEquals(adapter1.getCount(), absSpinner.getCount()); in testGetCount() 172 assertEquals(anotherStringArray.length, absSpinner.getCount()); in testGetCount() 281 public int getCount() { in getCount() method in AbsSpinnerTest.MockSpinnerAdapter
|
/cts/tests/tests/os/src/android/os/health/cts/ |
D | TimerStatTest.java | 37 Assert.assertEquals(0, timer.getCount()); in testEmptyConstructor() 48 Assert.assertEquals(Integer.MAX_VALUE, timer.getCount()); in testSetCount() 52 Assert.assertEquals(12, timer.getCount()); in testSetCount() 63 Assert.assertEquals(Integer.MAX_VALUE, timer.getCount()); in testSetTime() 67 Assert.assertEquals(Integer.MAX_VALUE, timer.getCount()); in testSetTime() 78 Assert.assertEquals(Integer.MAX_VALUE, timer.getCount()); in testParceling() 89 Assert.assertEquals(Integer.MAX_VALUE, readback.getCount()); in testParceling()
|
/cts/tests/tests/transition/src/android/transition/cts/ |
D | TransitionManagerTest.java | 45 assertEquals(1, mListener.resumeLatch.getCount()); in testBeginDelayedTransition() 46 assertEquals(1, mListener.pauseLatch.getCount()); in testBeginDelayedTransition() 47 assertEquals(1, mListener.cancelLatch.getCount()); in testBeginDelayedTransition() 65 assertEquals(1, mListener.resumeLatch.getCount()); in testGo() 66 assertEquals(1, mListener.pauseLatch.getCount()); in testGo() 67 assertEquals(1, mListener.cancelLatch.getCount()); in testGo() 94 assertEquals(1, mListener.resumeLatch.getCount()); in testSetTransition1() 95 assertEquals(1, mListener.pauseLatch.getCount()); in testSetTransition1() 96 assertEquals(1, mListener.cancelLatch.getCount()); in testSetTransition1() 140 assertEquals(1, mListener.resumeLatch.getCount()); in testSetTransition2() [all …]
|
D | FadeTest.java | 44 assertEquals(1, mListener.endLatch.getCount()); in testMode() 49 assertEquals(1, mListener.endLatch.getCount()); in testMode() 57 assertEquals(1, mListener.endLatch.getCount()); in testMode() 75 assertEquals(1, mListener.endLatch.getCount()); in testMode()
|
D | ChangeTransformTest.java | 53 assertEquals(1, mListener.endLatch.getCount()); // still running in testTranslation() 75 assertEquals(1, mListener.endLatch.getCount()); // still running in testRotation() 97 assertEquals(1, mListener.endLatch.getCount()); // still running in testScale() 109 assertEquals(1, mListener.endLatch.getCount()); // still running in testReparent() 123 assertEquals(1, mListener.endLatch.getCount()); // still running in testReparentWithOverlay() 143 assertEquals(1, mListener.endLatch.getCount()); // still running in testReparentWithOverlay()
|
D | TransitionSetTest.java | 45 assertEquals(0, fadeListener.startLatch.getCount()); in testTransitionTogether() 46 assertEquals(0, changeBoundsListener.startLatch.getCount()); in testTransitionTogether() 73 assertEquals(0, fadeListener.startLatch.getCount()); in testTransitionSequentially() 74 assertEquals(1, changeBoundsListener.startLatch.getCount()); in testTransitionSequentially() 81 assertEquals(0, changeBoundsListener.startLatch.getCount()); in testTransitionSequentially()
|
D | VisibilityTest.java | 40 assertEquals(1, mListener.endLatch.getCount()); in testMode() 45 assertEquals(1, mListener.endLatch.getCount()); in testMode() 52 assertEquals(1, mListener.endLatch.getCount()); in testMode() 69 assertEquals(1, mListener.endLatch.getCount()); in testMode()
|
D | TransitionTest.java | 69 assertEquals(0, mListener.pauseLatch.getCount()); in testAddListener() 70 assertEquals(0, mListener.resumeLatch.getCount()); in testAddListener() 71 assertEquals(1, mListener.cancelLatch.getCount()); in testAddListener() 72 assertEquals(1, mListener.endLatch.getCount()); in testAddListener() 73 assertEquals(0, mListener.startLatch.getCount()); in testAddListener() 75 assertEquals(1, listener2.pauseLatch.getCount()); in testAddListener() 76 assertEquals(1, listener2.resumeLatch.getCount()); in testAddListener() 77 assertEquals(1, listener2.cancelLatch.getCount()); in testAddListener() 78 assertEquals(1, listener2.endLatch.getCount()); in testAddListener() 79 assertEquals(0, listener2.startLatch.getCount()); in testAddListener() [all …]
|
/cts/tests/tests/database/src/android/database/cts/ |
D | DatabaseCursorTest.java | 174 assertSame(3, testCursor.getCount()); in testCursor1() 232 assertEquals(0, testCursor.getCount()); in testCursor2() 275 assertEquals(1, testCursor.getCount()); in testLargeField() 297 int count = c.getCount(); in onChanged() 340 assertEquals(count, testCursor.getCount()); in testManyRowsLong() 375 assertEquals(count, testCursor.getCount()); in testManyRowsTxt() 412 assertEquals(count, testCursor.getCount()); in testManyRowsTxtLong() 422 assertEquals(3, testCursor.getCount()); in testRequery() 425 assertEquals(3, testCursor.getCount()); in testRequery() 437 assertEquals(1, testCursor.getCount()); in testRequeryWithSelection() [all …]
|
D | MergeCursorTest.java | 79 assertEquals(0, mergeCursor.getCount()); in testConstructor() 85 assertEquals(mCursors[0].getCount() + mCursors[1].getCount(), mergeCursor.getCount()); in testConstructor() 107 assertEquals(1, cursors[0].getCount()); in testCursorSwiching() 110 assertTrue(cursors[1].getCount() > 0); in testCursorSwiching() 150 assertEquals(4, mergeCursor.getCount()); in testGetValues() 288 int cursor1Count = mCursors[0].getCount(); in testRequery() 289 int cursor2Count = mCursors[0].getCount(); in testRequery() 293 assertEquals(cursor1Count + cursor2Count, mergeCursor.getCount()); in testRequery() 296 assertEquals(cursor1Count + cursor2Count, mergeCursor.getCount()); in testRequery() 301 assertEquals(cursor1Count + cursor2Count, mergeCursor.getCount()); in testRequery()
|
D | MatrixCursor_RowBuilderTest.java | 35 assertEquals(0, cursor.getCount()); in testAdd() 38 assertEquals(1, cursor.getCount()); in testAdd() 73 assertEquals(2, cursor.getCount()); in testAdd()
|
D | CursorJoinerTest.java | 88 assertEquals(TEST_ITEM_COUNT, cursor1.getCount()); in testCursorJoinerAndIterator() 89 assertEquals(TEST_ITEM_COUNT, cursor2.getCount()); in testCursorJoinerAndIterator() 116 assertEquals(UNIQUE_COUNT * 2, cursor1.getCount()); in testCursorJoinerAndIterator() 117 assertEquals(UNIQUE_COUNT * 2, cursor2.getCount()); in testCursorJoinerAndIterator() 140 assertEquals(TEST_ITEM_COUNT, cursor1.getCount()); in testNext() 142 assertEquals(TEST_ITEM_COUNT, cursor2.getCount()); in testNext()
|
D | DatabaseUtils_InsertHelperTest.java | 102 assertEquals(0, cursor.getCount()); in testInsert() 127 assertEquals(1, cursor.getCount()); in testInsert() 204 assertEquals(0, cursor.getCount()); in testReplace() 223 assertEquals(1, cursor.getCount()); in testReplace() 242 assertEquals(1, cursor.getCount()); in testReplace() 268 assertEquals(1, cursor.getCount()); in testReplace()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ClipboardManagerListenerTest.java | 63 return expectedCount == mListener.getCount(); in assertClipChangedCount() 70 assertEquals(expectedCount, mListener.getCount()); in assertNoClipChange() 84 public synchronized int getCount() { in getCount() method in ClipboardManagerListenerTest.CountingClipChangedListener
|
D | SearchRecentSuggestionsProviderTest.java | 61 assertEquals(0, c.getCount()); in testSearchRecentSuggestionsProvider() 65 assertEquals(1, c.getCount()); in testSearchRecentSuggestionsProvider() 69 assertEquals(2, c.getCount()); in testSearchRecentSuggestionsProvider() 73 assertEquals(0, c.getCount()); in testSearchRecentSuggestionsProvider()
|
/cts/tests/tests/database/src/android/database/sqlite/cts/ |
D | SQLiteDatabaseTest.java | 336 assertEquals(0, cursor.getCount()); in testCompileStatement() 349 assertEquals(1, cursor.getCount()); in testCompileStatement() 360 assertEquals(0, cursor.getCount()); in testCompileStatement() 381 assertEquals(2, cursor.getCount()); in testDelete() 400 assertEquals(1, cursor.getCount()); in testDelete() 416 assertEquals(0, cursor.getCount()); in testDelete() 430 assertEquals(1, cursor.getCount()); in testExecSQL() 442 assertEquals(2, cursor.getCount()); in testExecSQL() 458 assertEquals(1, cursor.getCount()); in testExecSQL() 470 assertEquals(1, cursor.getCount()); in testExecSQL() [all …]
|
D | SQLiteCursorTest.java | 152 assertEquals(TEST_COUNT - 1, cursor.getCount()); in testRequery() 157 assertEquals(TEST_COUNT - 1, cursor.getCount()); in testRequery() 161 assertEquals(TEST_COUNT - 2, cursor.getCount()); in testRequery() 171 assertEquals(2, c.getCount()); in testRequery2() 179 assertEquals(3, c.getCount()); in testRequery2() 207 assertEquals(TEST_COUNT - TEST_ARG1, cursor.getCount()); in testSetSelectionArguments() 210 assertEquals(TEST_COUNT - TEST_ARG2, cursor.getCount()); in testSetSelectionArguments()
|
D | SQLiteFtsTest.java | 66 assertEquals(2, cursor.getCount()); in testFts3Porter() 82 assertEquals(1, cursor.getCount()); in testFts3Simple() 96 assertEquals(1, cursor.getCount()); in testFts4Simple()
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | Settings_NameValueTableTest.java | 38 int origCount = c.getCount(); in testPutString() 44 assertEquals(origCount + 1, c.getCount()); in testPutString() 51 assertEquals(1, c.getCount()); in testPutString() 61 assertEquals(origCount, c.getCount()); in testPutString()
|
D | ContactsContract_AggregationSuggestionsTest.java | 71 assertEquals(1, cursor.getCount()); in testAggregationSuggestionsByNameReversed() 93 assertEquals(1, cursor.getCount()); in testAggregationSuggestionsByName() 115 assertEquals(0, cursor.getCount()); in testAggregationSuggestionsByName_noMatch() 131 assertEquals(1, cursor.getCount()); in testAggregationSuggestionsByName_matchSecondNameParameter() 152 assertEquals(1, cursor.getCount()); in testAggregationSuggestionsByName_matchFirstNameParameter()
|
D | MediaStore_Audio_ArtistsTest.java | 81 assertEquals(1, c.getCount()); in testStoreAudioArtists() 114 assertEquals(1, c.getCount()); in testStoreAudioArtists() 122 assertEquals(0, c.getCount()); in testStoreAudioArtists() 129 assertEquals(0, c.getCount()); in testStoreAudioArtists()
|
D | MediaStore_Images_ThumbnailsTest.java | 79 int previousMicroKindCount = c.getCount(); in testQueryInternalThumbnails() 95 assertEquals(1, c.getCount()); in testQueryInternalThumbnails() 102 assertEquals(previousMicroKindCount, c.getCount()); in testQueryInternalThumbnails() 107 assertEquals(1, c.getCount()); in testQueryInternalThumbnails() 142 assertEquals(1, c.getCount()); in testQueryExternalMiniThumbnails() 149 assertEquals(1, c.getCount()); in testQueryExternalMiniThumbnails() 174 assertEquals(0, c2.getCount()); in testQueryExternalMiniThumbnails() 251 assertEquals(1, c.getCount()); in testStoreImagesMediaExternal() 300 assertEquals(1, c.getCount()); in testThumbnailOrderedQuery() 313 assertTrue(c.getCount() > 0); // one or more thumbnail kinds in testThumbnailOrderedQuery()
|
/cts/tests/tests/rscpp/librscpptest/ |
D | rs_jni_type.cpp | 123 passed &= (t->getCount() == x * y * faceMultiplier); in Java_android_cts_rscpp_RSTypeTest_testGetCount() 136 passed &= (t->getCount() == expectedCount); in Java_android_cts_rscpp_RSTypeTest_testGetCount() 142 passed &= (t->getCount() == expectedCount); 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() 159 passed &= (t->getCount() == expectedCount); in Java_android_cts_rscpp_RSTypeTest_testGetCount() 165 passed &= (t->getCount() == expectedCount); in Java_android_cts_rscpp_RSTypeTest_testGetCount()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | TypeTest.java | 94 assertTrue(t.getCount() == x * y * faceMultiplier); in testGetCount() 104 assertTrue(t.getCount() == expectedCount); in testGetCount() 108 assertTrue(t.getCount() == expectedCount); in testGetCount() 112 assertTrue(t.getCount() == expectedCount); in testGetCount() 115 assertTrue(t.getCount() == expectedCount); in testGetCount() 119 assertTrue(t.getCount() == expectedCount); in testGetCount() 123 assertTrue(t.getCount() == expectedCount); in testGetCount()
|