Home
last modified time | relevance | path

Searched refs:FakeCursor (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/data/
DTestDataFactory.java33 import com.android.messaging.datamodel.FakeCursor;
104 public static FakeCursor getConversationListCursor() { in getConversationListCursor()
116 return new FakeCursor(ConversationListItemData.PROJECTION, sConversationListCursorColumns, in getConversationListCursor()
122 public static FakeCursor getEmptyConversationListCursor() { in getEmptyConversationListCursor()
123 return new FakeCursor(ConversationListItemData.PROJECTION, sConversationListCursorColumns, in getEmptyConversationListCursor()
127 public static FakeCursor getConversationMessageCursor() { in getConversationMessageCursor()
146 return new FakeCursor( in getConversationMessageCursor()
152 public static String getMessageText(final FakeCursor messageCursor, final int row) { in getMessageText()
182 public static FakeCursor getConversationParticipantsCursor() { in getConversationParticipantsCursor()
202 return new FakeCursor(ParticipantData.ParticipantsQuery.PROJECTION, in getConversationParticipantsCursor()
[all …]
DConversationMessageDataTest.java22 import com.android.messaging.datamodel.FakeCursor;
36 final FakeCursor testCursor = TestDataFactory.getConversationMessageCursor(); in testBindFirstMessage()
50 final FakeCursor testCursor = TestDataFactory.getConversationMessageCursor(); in testBindTwice()
77 final FakeCursor testCursor = TestDataFactory.getConversationMessageCursor(); in testMessageClustering()
DConversationParticipantsDataTest.java21 import com.android.messaging.datamodel.FakeCursor;
29 final FakeCursor testCursor = TestDataFactory.getConversationParticipantsCursor(); in testBindParticipants()
/packages/apps/Messaging/tests/src/com/android/messaging/ui/mediapicker/
DGalleryGridItemViewTest.java25 import com.android.messaging.datamodel.FakeCursor;
78 final FakeCursor cursor = TestDataFactory.getGalleryGridCursor(); in testBind()
91 final FakeCursor cursor = TestDataFactory.getGalleryGridCursor(); in testBindMultiSelectUnSelected()
104 final FakeCursor cursor = TestDataFactory.getGalleryGridCursor(); in testBindMultiSelectSelected()
117 final FakeCursor cursor = TestDataFactory.getGalleryGridCursor(); in testClick()
129 final FakeCursor cursor = TestDataFactory.getGalleryGridCursor(); in testBindTwice()
/packages/apps/Messaging/tests/src/com/android/messaging/ui/contact/
DContactListItemViewTest.java26 import com.android.messaging.datamodel.FakeCursor;
79 final FakeCursor cursor = TestDataFactory.getAllContactListCursor(); in testBindFirstLevel()
90 final FakeCursor cursor = TestDataFactory.getAllContactListCursor(); in testBindSecondLevel()
101 final FakeCursor cursor = TestDataFactory.getAllContactListCursor(); in testClickAddedContact()
111 final FakeCursor cursor = TestDataFactory.getAllContactListCursor(); in testBindTwice()
/packages/apps/Messaging/tests/src/com/android/messaging/ui/conversation/
DConversationMessageViewTest.java26 import com.android.messaging.datamodel.FakeCursor;
72 final FakeCursor cursor = TestDataFactory.getConversationMessageCursor(); in testBind()
83 final FakeCursor cursor = TestDataFactory.getConversationMessageCursor(); in testBindTwice()
96 final FakeCursor cursor = TestDataFactory.getConversationMessageCursor(); in testBindLast()
/packages/apps/Messaging/tests/src/com/android/messaging/ui/conversationlist/
DConversationListItemViewTest.java28 import com.android.messaging.datamodel.FakeCursor;
46 private FakeCursor mCursor;
75 final ConversationListItemView view, final FakeCursor cursor, final int index) { in verifyContent()
133 protected boolean isRead(final FakeCursor cursor, final int index) { in isRead()
/packages/apps/Calendar/tests/src/com/android/calendar/
DDbTestUtils.java84 static class FakeCursor extends MockCursor { class in DbTestUtils
88 FakeCursor(List<String> queryResult) { in FakeCursor() method in DbTestUtils.FakeCursor
159 return new FakeCursor(result); in query()
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/
DFakeCursor.java27 public class FakeCursor extends MockCursor { class
33 public FakeCursor(final String[] projection, final String[] columnNames, in FakeCursor() method in FakeCursor
/packages/apps/Messaging/tests/src/com/android/messaging/
DFakeContentProvider.java31 import com.android.messaging.datamodel.FakeCursor;
119 return new FakeCursor(projection, content.columns, content.data); in query()