/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/data/ |
H A D | ConversationParticipantsDataTest.java | 21 import com.android.messaging.datamodel.FakeCursor; 29 final FakeCursor testCursor = TestDataFactory.getConversationParticipantsCursor();
|
H A D | TestDataFactory.java | 33 import com.android.messaging.datamodel.FakeCursor; 104 public static FakeCursor getConversationListCursor() { 116 return new FakeCursor(ConversationListItemData.PROJECTION, sConversationListCursorColumns, 122 public static FakeCursor getEmptyConversationListCursor() { 123 return new FakeCursor(ConversationListItemData.PROJECTION, sConversationListCursorColumns, 127 public static FakeCursor getConversationMessageCursor() { 146 return new FakeCursor( 152 public static String getMessageText(final FakeCursor messageCursor, final int row) { 182 public static FakeCursor getConversationParticipantsCursor() { 202 return new FakeCursor(ParticipantDat [all...] |
H A D | ConversationMessageDataTest.java | 22 import com.android.messaging.datamodel.FakeCursor; 36 final FakeCursor testCursor = TestDataFactory.getConversationMessageCursor(); 50 final FakeCursor testCursor = TestDataFactory.getConversationMessageCursor(); 77 final FakeCursor testCursor = TestDataFactory.getConversationMessageCursor();
|
/packages/apps/Messaging/tests/src/com/android/messaging/ui/conversation/ |
H A D | ConversationMessageViewTest.java | 26 import com.android.messaging.datamodel.FakeCursor; 72 final FakeCursor cursor = TestDataFactory.getConversationMessageCursor(); 83 final FakeCursor cursor = TestDataFactory.getConversationMessageCursor(); 96 final FakeCursor cursor = TestDataFactory.getConversationMessageCursor();
|
/packages/apps/Messaging/tests/src/com/android/messaging/ui/contact/ |
H A D | ContactListItemViewTest.java | 26 import com.android.messaging.datamodel.FakeCursor; 79 final FakeCursor cursor = TestDataFactory.getAllContactListCursor(); 90 final FakeCursor cursor = TestDataFactory.getAllContactListCursor(); 101 final FakeCursor cursor = TestDataFactory.getAllContactListCursor(); 111 final FakeCursor cursor = TestDataFactory.getAllContactListCursor();
|
/packages/apps/Messaging/tests/src/com/android/messaging/ui/mediapicker/ |
H A D | GalleryGridItemViewTest.java | 25 import com.android.messaging.datamodel.FakeCursor; 78 final FakeCursor cursor = TestDataFactory.getGalleryGridCursor(); 91 final FakeCursor cursor = TestDataFactory.getGalleryGridCursor(); 104 final FakeCursor cursor = TestDataFactory.getGalleryGridCursor(); 117 final FakeCursor cursor = TestDataFactory.getGalleryGridCursor(); 129 final FakeCursor cursor = TestDataFactory.getGalleryGridCursor();
|
/packages/apps/Calendar/tests/src/com/android/calendar/ |
H A D | DbTestUtils.java | 84 static class FakeCursor extends MockCursor { class in class:DbTestUtils 88 FakeCursor(List<String> queryResult) { method in class:DbTestUtils.FakeCursor 159 return new FakeCursor(result);
|
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/ |
H A D | FakeCursor.java | 27 public class FakeCursor extends MockCursor { class in inherits:MockCursor 33 public FakeCursor(final String[] projection, final String[] columnNames, method in class:FakeCursor
|
/packages/apps/Messaging/tests/src/com/android/messaging/ui/conversationlist/ |
H A D | ConversationListItemViewTest.java | 28 import com.android.messaging.datamodel.FakeCursor; 46 private FakeCursor mCursor; 75 final ConversationListItemView view, final FakeCursor cursor, final int index) { 133 protected boolean isRead(final FakeCursor cursor, final int index) {
|
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/ |
H A D | TelephonyBackupAgentTest.java | 75 private FakeCursor mSmsCursor, mMmsCursor; 89 private Map<Uri, FakeCursor> mCursors; 112 mCursors = new HashMap<Uri, FakeCursor>(); 114 mSmsCursor = new FakeCursor(mSmsTable, TelephonyBackupAgent.SMS_PROJECTION); 116 mMmsCursor = new FakeCursor(mMmsTable, TelephonyBackupAgent.MMS_PROJECTION); 223 FakeCursor fakeCursor = mCursors.get(uri); 334 private FakeCursor createBodyCursor(String body, int charset) { 360 return new FakeCursor(table, TelephonyBackupAgent.MMS_TEXT_PROJECTION); 364 private FakeCursor createAddrCursor(String[] addresses) { 374 return new FakeCursor(tabl 832 private static class FakeCursor extends MockCursor { class in class:TelephonyBackupAgentTest 837 public FakeCursor(List<ContentValues> rows, String[] projection) { method in class:TelephonyBackupAgentTest.FakeCursor [all...] |
/packages/apps/Messaging/tests/src/com/android/messaging/ |
H A D | FakeContentProvider.java | 31 import com.android.messaging.datamodel.FakeCursor; 119 return new FakeCursor(projection, content.columns, content.data);
|
/packages/apps/TV/tests/unit/src/com/android/tv/data/ |
H A D | ChannelDataManagerTest.java | 402 return new FakeCursor(projection); 519 private class FakeCursor extends MockCursor { class in class:ChannelDataManagerTest 532 public FakeCursor(String[] columns) { method in class:ChannelDataManagerTest.FakeCursor
|
H A D | ProgramDataManagerTest.java | 324 return new FakeCursor(projection, channelId, startTimeMs, endTimeMs); 366 private class FakeCursor extends MockCursor { class in class:ProgramDataManagerTest 392 public FakeCursor(String[] columns, long channelId, long startTimeMs, long endTimeMs) { method in class:ProgramDataManagerTest.FakeCursor 408 Log.d(TAG, "FakeCursor(columns=" + Arrays.toString(columns)
|