/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/data/ |
D | TestDataFactory.java | 33 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 …]
|
D | ConversationMessageDataTest.java | 22 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()
|
D | ConversationParticipantsDataTest.java | 21 import com.android.messaging.datamodel.FakeCursor; 29 final FakeCursor testCursor = TestDataFactory.getConversationParticipantsCursor(); in testBindParticipants()
|
/packages/apps/Messaging/tests/src/com/android/messaging/ui/mediapicker/ |
D | GalleryGridItemViewTest.java | 25 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/providers/TelephonyProvider/tests/src/com/android/providers/telephony/ |
D | TelephonyBackupAgentTest.java | 82 private FakeCursor mSmsCursor, mMmsCursor; 96 private Map<Uri, FakeCursor> mCursors; 119 mCursors = new HashMap<Uri, FakeCursor>(); in setUp() 121 mSmsCursor = new FakeCursor(mSmsTable, TelephonyBackupAgent.SMS_PROJECTION); in setUp() 123 mMmsCursor = new FakeCursor(mMmsTable, TelephonyBackupAgent.MMS_PROJECTION); in setUp() 282 FakeCursor fakeCursor = mCursors.get(uri); in setUp() 401 private FakeCursor createBodyCursor(String body, int charset, String existingSmil, in createBodyCursor() 448 return new FakeCursor(table, TelephonyBackupAgent.MMS_TEXT_PROJECTION); in createBodyCursor() 452 private FakeCursor createAddrCursor(String[] addresses) { in createAddrCursor() 462 return new FakeCursor(table, TelephonyBackupAgent.MMS_ADDR_PROJECTION); in createAddrCursor() [all …]
|
/packages/apps/Messaging/tests/src/com/android/messaging/ui/contact/ |
D | ContactListItemViewTest.java | 26 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/ |
D | ConversationMessageViewTest.java | 26 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/ |
D | ConversationListItemViewTest.java | 28 import com.android.messaging.datamodel.FakeCursor; 46 private FakeCursor mCursor; 70 final ConversationListItemView view, final FakeCursor cursor, final int index) { in verifyContent() 128 protected boolean isRead(final FakeCursor cursor, final int index) { in isRead()
|
/packages/apps/Calendar/tests/src/com/android/calendar/ |
D | DbTestUtils.java | 88 static class FakeCursor extends MockCursor { class in DbTestUtils 92 FakeCursor(List<String> queryResult) { in FakeCursor() method in DbTestUtils.FakeCursor 163 return new FakeCursor(result); in query()
|
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/ |
D | FakeCursor.java | 27 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/ |
D | FakeContentProvider.java | 31 import com.android.messaging.datamodel.FakeCursor; 119 return new FakeCursor(projection, content.columns, content.data); in query()
|
/packages/apps/TV/tests/unit/src/com/android/tv/data/ |
D | ChannelDataManagerTest.java | 456 return new FakeCursor(projection); in query() 572 private class FakeCursor extends MockCursor { class in ChannelDataManagerTest 586 public FakeCursor(String[] columns) { in FakeCursor() method in ChannelDataManagerTest.FakeCursor
|