/cts/tests/tests/os/src/android/os/health/cts/ |
D | TimerStatTest.java | 40 Assert.assertEquals(0, timer.getCount()); in testEmptyConstructor() 51 Assert.assertEquals(Integer.MAX_VALUE, timer.getCount()); in testSetCount() 55 Assert.assertEquals(12, timer.getCount()); in testSetCount() 66 Assert.assertEquals(Integer.MAX_VALUE, timer.getCount()); in testSetTime() 70 Assert.assertEquals(Integer.MAX_VALUE, timer.getCount()); in testSetTime() 81 Assert.assertEquals(Integer.MAX_VALUE, timer.getCount()); in testParceling() 92 Assert.assertEquals(Integer.MAX_VALUE, readback.getCount()); in testParceling()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | ArrayAdapterTest.java | 117 assertEquals(1, mArrayAdapter.getCount()); in testDataChangeEvent() 120 assertEquals(2, mArrayAdapter.getCount()); in testDataChangeEvent() 127 assertEquals(0, mArrayAdapter.getCount()); in testDataChangeEvent() 138 assertEquals(1, mArrayAdapter.getCount()); in testDataChangeEvent() 160 assertEquals(0, mArrayAdapter.getCount()); in testAccessView() 166 assertEquals(3, mArrayAdapter.getCount()); in testAccessView() 196 mArrayAdapter.getView(mArrayAdapter.getCount(), textView, null); in testGetViewOutOfBoundsHigh() 203 mArrayAdapter.getDropDownView(mArrayAdapter.getCount(), textView, null); in testDropDownGetViewOutOfBoundsHigh() 261 assertEquals(1, mArrayAdapter.getCount()); in testInsert() 266 assertEquals(2, mArrayAdapter.getCount()); in testInsert() [all …]
|
D | AbsSpinnerTest.java | 111 mAbsSpinner.setSelection(mAbsSpinner.getCount() - 1, false); in testSetSelectionIntBoolean() 112 assertEquals(mAbsSpinner.getCount() - 1, mAbsSpinner.getSelectedItemPosition()); in testSetSelectionIntBoolean() 134 mAbsSpinner.setSelection(mAbsSpinner.getCount() - 1); in testSetSelectionInt() 135 assertEquals(mAbsSpinner.getCount() - 1, mAbsSpinner.getSelectedItemPosition()); in testSetSelectionInt() 153 assertEquals(adapter.getCount(), mAbsSpinner.getCount()); in testAccessAdapter() 183 assertEquals(adapter1.getCount(), mAbsSpinner.getCount()); in testGetCount() 190 assertEquals(anotherStringArray.length, mAbsSpinner.getCount()); in testGetCount() 287 public int getCount() { in getCount() method in AbsSpinnerTest.MockSpinnerAdapter
|
/cts/tests/tests/media/audio/src/android/media/audio/cts/ |
D | AudioVolumeGroupCallbackHelper.java | 50 if (mVolumeGroupChanged.getCount() <= 0) { in onAudioVolumeGroupChanged() 61 while (elapsedTimeMs < ASYNC_TIMEOUT_MS && mVolumeGroupChanged.getCount() > 0) { in waitForExpectedVolumeGroupChanged() 69 return mVolumeGroupChanged.getCount() <= 0; in waitForExpectedVolumeGroupChanged()
|
/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 | 106 assertEquals(0, mergeCursor.getCount()); in testConstructor() 112 assertEquals(mCursors[0].getCount() + mCursors[1].getCount(), mergeCursor.getCount()); in testConstructor() 137 assertEquals(1, cursors[0].getCount()); in testCursorSwiching() 140 assertTrue(cursors[1].getCount() > 0); in testCursorSwiching() 182 assertEquals(4, mergeCursor.getCount()); in testGetValues() 325 int cursor1Count = mCursors[0].getCount(); in testRequery() 326 int cursor2Count = mCursors[0].getCount(); in testRequery() 330 assertEquals(cursor1Count + cursor2Count, mergeCursor.getCount()); in testRequery() 333 assertEquals(cursor1Count + cursor2Count, mergeCursor.getCount()); in testRequery() 338 assertEquals(cursor1Count + cursor2Count, mergeCursor.getCount()); in testRequery()
|
D | MatrixCursor_RowBuilderTest.java | 45 assertEquals(0, cursor.getCount()); in testAdd() 48 assertEquals(1, cursor.getCount()); in testAdd() 83 assertEquals(2, cursor.getCount()); in testAdd()
|
D | CursorJoinerTest.java | 112 assertEquals(TEST_ITEM_COUNT, cursor1.getCount()); in testCursorJoinerAndIterator() 113 assertEquals(TEST_ITEM_COUNT, cursor2.getCount()); in testCursorJoinerAndIterator() 140 assertEquals(UNIQUE_COUNT * 2, cursor1.getCount()); in testCursorJoinerAndIterator() 141 assertEquals(UNIQUE_COUNT * 2, cursor2.getCount()); in testCursorJoinerAndIterator() 166 assertEquals(TEST_ITEM_COUNT, cursor1.getCount()); in testNext() 168 assertEquals(TEST_ITEM_COUNT, cursor2.getCount()); in testNext()
|
/cts/tests/tests/telephonyprovider/src/android/telephonyprovider/cts/ |
D | LockedMessageTest.java | 86 assertThat(cursor.getCount()).isEqualTo(1); in testLockedMessage_atMostOneLockedMessage() 105 assertThat(mmsCursor.getCount()).isEqualTo(1); in testLockedMessage_getNoLockedMessage() 110 assertThat(smCursor.getCount()).isEqualTo(1); in testLockedMessage_getNoLockedMessage() 114 assertThat(cursor.getCount()).isEqualTo(0); in testLockedMessage_getNoLockedMessage() 123 assertThat(cursor.getCount()).isEqualTo(1); in insertMmsWithLockedMessage() 133 assertThat(cursorAfterReadUpdate.getCount()).isEqualTo(1); in insertMmsWithLockedMessage() 149 assertThat(cursor.getCount()).isEqualTo(1); in insertSmsWithLockedMessage() 159 assertThat(cursorAfterReadUpdate.getCount()).isEqualTo(1); in insertSmsWithLockedMessage()
|
D | SmsConversationTest.java | 82 assertThat(cursor.getCount()).isEqualTo(2); in testQueryConversation_snippetEqualsMostRecentMessageBody() 86 assertThat(conversationCursor.getCount()).isEqualTo(1); in testQueryConversation_snippetEqualsMostRecentMessageBody() 107 assertThat(cursor.getCount()).isEqualTo(2); in testQueryConversation_returnsCorrectMessageCount() 111 assertThat(conversationCursor.getCount()).isEqualTo(1); in testQueryConversation_returnsCorrectMessageCount()
|
D | MmsTest.java | 91 assertThat(cursor.getCount()).isEqualTo(1); in testMmsInsert_insertSendReqSucceeds() 112 assertThat(cursor.getCount()).isEqualTo(0); in testMmsDelete() 141 assertThat(mmsCursor.getCount()).isEqualTo(1); in testMmsInsert_canInsertTextMms() 147 assertThat(partCursor.getCount()).isEqualTo(1); in testMmsInsert_canInsertTextMms() 172 assertThat(msgCursor.getCount()).isEqualTo(2); in testInsertMessageBoxUri_canSaveAndQueryMmsSent() 191 assertThat(msgCursor.getCount()).isEqualTo(2); in testInsertMessageBoxUri_canSaveAndQueryMmsDraft() 210 assertThat(msgCursor.getCount()).isEqualTo(2); in testInsertMessageBoxUri_canSaveAndQueryMmsInbox() 229 assertThat(msgCursor.getCount()).isEqualTo(2); in testInsertMessageBoxUri_canSaveAndQueryMmsOutbox() 246 assertThat(cursor.getCount() >= 5).isEqualTo(true); in testMmsQuery_retrieveAllWhenSelectorNotSpecified() 283 assertThat(cursor.getCount()).isEqualTo(1); in testMmsQuery_retrieveAllFailedMmsWhenSelectorSpecified() [all …]
|
D | SmsTestHelper.java | 65 assertThat(cursor.getCount()).isEqualTo(1); in assertSmsColumnEquals() 75 assertThat(cursor.getCount()).isEqualTo(smsContentValues.length); in assertBulkSmsContentEqual() 94 assertThat(cursorStatus.getCount()).isEqualTo(1); in assertUpdateSmsStatus() 109 assertThat(cursorStatus.getCount()).isEqualTo(1); in assertUpdateSmsType()
|
/cts/tests/tests/content/src/android/content/cts/ |
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()
|
D | ClipboardManagerListenerTest.java | 82 return expectedCount == mListener.getCount(); in assertClipChangedCount() 89 assertEquals(expectedCount, mListener.getCount()); in assertNoClipChange() 113 public synchronized int getCount() { in getCount() method in ClipboardManagerListenerTest.CountingClipChangedListener
|
/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/ |
D | ContactsContract_Subquery.java | 57 allCount = cursor.getCount(); in testProviderStatus_addedContacts() 63 assertEquals(allCount, cursor.getCount()); in testProviderStatus_addedContacts() 69 assertEquals(0, cursor.getCount()); in testProviderStatus_addedContacts()
|
D | ContactsContract_AggregationSuggestionsTest.java | 70 assertEquals(1, cursor.getCount()); in testAggregationSuggestionsByNameReversed() 92 assertEquals(1, cursor.getCount()); in testAggregationSuggestionsByName() 114 assertEquals(0, cursor.getCount()); in testAggregationSuggestionsByName_noMatch() 130 assertEquals(1, cursor.getCount()); in testAggregationSuggestionsByName_matchSecondNameParameter() 151 assertEquals(1, cursor.getCount()); in testAggregationSuggestionsByName_matchFirstNameParameter()
|
/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/hostsidetests/scopedstorage/device/src/android/scopedstorage/cts/device/ |
D | StorageOtherAndOwnedFilesTest.java | 107 .that(c.getCount()).isEqualTo(0); in test_latestSelectionOnly_noGrantsPresent() 119 .that(c.getCount()).isEqualTo(TOTAL_OWNED_ITEMS); in test_latestSelectionOnly_withOwnedAndGrantedItems() 135 .that(c.getCount()).isEqualTo(TOTAL_OWNED_ITEMS + 1); in test_latestSelectionOnly_withOwnedAndGrantedItems() 145 .that(c.getCount()).isEqualTo(TOTAL_OWNED_ITEMS + 2); in test_latestSelectionOnly_withOwnedAndGrantedItems() 156 .that(c.getCount()).isEqualTo(1); in test_latestSelectionOnly_withOwnedAndGrantedItems()
|
/cts/tests/tests/database/src/android/database/sqlite/cts/ |
D | SQLiteFtsTest.java | 66 assertEquals(2, cursor.getCount()); in testFts3Porter() 82 assertEquals(1, cursor.getCount()); in testFts3Simple() 96 assertEquals(1, cursor.getCount()); in testFts4Simple()
|
D | SQLiteDatabaseTest.java | 470 assertEquals(0, cursor.getCount()); in testCompileStatement() 483 assertEquals(1, cursor.getCount()); in testCompileStatement() 494 assertEquals(0, cursor.getCount()); in testCompileStatement() 516 assertEquals(2, cursor.getCount()); in testDelete() 535 assertEquals(1, cursor.getCount()); in testDelete() 551 assertEquals(0, cursor.getCount()); in testDelete() 566 assertEquals(1, cursor.getCount()); in testExecSQL() 578 assertEquals(2, cursor.getCount()); in testExecSQL() 594 assertEquals(1, cursor.getCount()); in testExecSQL() 606 assertEquals(1, cursor.getCount()); in testExecSQL() [all …]
|
D | SQLiteCursorTest.java | 155 assertEquals(TEST_COUNT - 1, cursor.getCount()); in testRequery() 160 assertEquals(TEST_COUNT - 1, cursor.getCount()); in testRequery() 164 assertEquals(TEST_COUNT - 2, cursor.getCount()); in testRequery() 174 assertEquals(2, c.getCount()); in testRequery2() 182 assertEquals(3, c.getCount()); in testRequery2() 210 assertEquals(TEST_COUNT - TEST_ARG1, cursor.getCount()); in testSetSelectionArguments() 213 assertEquals(TEST_COUNT - TEST_ARG2, cursor.getCount()); in testSetSelectionArguments()
|
/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()
|
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/ |
D | ApnDatabaseTest.java | 135 .that(cursor.getCount()) in testValidCase() 156 .that(cursor.getCount()) in testValidCase() 181 .that(cursor.getCount()) in testValidCase() 244 .that(cursor.getCount()) in testQueryConflictCase() 285 .that(cursor.getCount()) in testUpdateConflictCase() 317 .that(cursor.getCount()) in testUpdateConflictCase() 359 .that(cursor.getCount()) in testDeleteConflictCase() 385 .that(cursor.getCount()) in testDeleteConflictCase() 406 .that(cursor.getCount()) in testDeleteConflictCase()
|
/cts/tests/mediaprovider/src/android/provider/cts/media/ |
D | MediaStore_Audio_ArtistsTest.java | 96 assertEquals(1, c.getCount()); in testStoreAudioArtists() 129 assertEquals(1, c.getCount()); in testStoreAudioArtists() 137 assertEquals(0, c.getCount()); in testStoreAudioArtists() 144 assertEquals(0, c.getCount()); in testStoreAudioArtists()
|
/cts/hostsidetests/appcloning/test-apps/AppCloningContactsSharingApps/CloneProfileAppWithLaunchableActivity/src/com/android/cts/launchable/cloneprofile/contacts/app/ |
D | CloneContactsSharingTest.java | 116 assertThat(actualCursor.getCount()).isEqualTo(expectedCursor.getCount()); in assertContactsCursorEquals() 346 assertThat(resultsBeforeDelete.getCount()).isNotEqualTo(0); in testCloneContactsProviderDeletes_rawContactsDelete_doesNotDeleteActually() 362 assertThat(resultsAfterDelete.getCount()).isNotEqualTo(0); in testCloneContactsProviderDeletes_rawContactsDelete_doesNotDeleteActually() 363 assertThat(resultsAfterDelete.getCount()).isEqualTo(resultsBeforeDelete.getCount()); in testCloneContactsProviderDeletes_rawContactsDelete_doesNotDeleteActually() 388 assertThat(rawContactsForTestAccount.getCount()).isEqualTo(1); in testCloneContactsProviderReads_rawContactsReads_redirectsToPrimary() 447 assertThat(cursor.getCount()).isEqualTo(1); in testAccessManagedProfileContacts_contactReadSuccessfully() 479 assertThat(cursor.getCount()).isEqualTo(0); in testAccessManagedProfileContacts_contactsReadBlocked()
|