/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; 34 final FakeCursor testCursor = TestDataFactory.getConversationMessageCursor(); in testBindFirstMessage() 48 final FakeCursor testCursor = TestDataFactory.getConversationMessageCursor(); in testBindTwice() 75 final FakeCursor testCursor = TestDataFactory.getConversationMessageCursor(); in testMessageClustering()
|
D | ConversationParticipantsDataTest.java | 22 import com.android.messaging.datamodel.FakeCursor; 27 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/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; 71 final FakeCursor cursor = TestDataFactory.getConversationMessageCursor(); in testBind() 82 final FakeCursor cursor = TestDataFactory.getConversationMessageCursor(); in testBindTwice() 95 final FakeCursor cursor = TestDataFactory.getConversationMessageCursor(); in testBindLast()
|
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/ |
D | TelephonyBackupAgentTest.java | 94 private FakeCursor mSmsCursor, mMmsCursor; 108 private Map<Uri, FakeCursor> mCursors; 159 mCursors = new HashMap<Uri, FakeCursor>(); in setUp() 161 mSmsCursor = new FakeCursor(mSmsTable, TelephonyBackupAgent.SMS_PROJECTION); in setUp() 163 mMmsCursor = new FakeCursor(mMmsTable, TelephonyBackupAgent.MMS_PROJECTION); in setUp() 322 FakeCursor fakeCursor = mCursors.get(uri); in setUp() 451 private FakeCursor createBodyCursor(String body, int charset, String existingSmil, in createBodyCursor() 498 return new FakeCursor(table, TelephonyBackupAgent.MMS_TEXT_PROJECTION); in createBodyCursor() 502 private FakeCursor createAddrCursor(String[] addresses) { in createAddrCursor() 512 return new FakeCursor(table, TelephonyBackupAgent.MMS_ADDR_PROJECTION); in createAddrCursor() [all …]
|
/packages/apps/Messaging/tests/src/com/android/messaging/ui/conversationlist/ |
D | ConversationListItemViewTest.java | 29 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/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/ |
D | DataMigrationTest.java | 299 fakeContentProvider.mCursor = new FakeCursor(FAKE_SAMPLE); in testIncompleteDbMigration() 302 fakeContentProvider.mCursor = new FakeCursor(FAKE_SAMPLE); in testIncompleteDbMigration() 319 Cursor c = new FakeCursor(BLUETOOTH_DATABASE_SAMPLE); in testBluetoothDbMigration() 407 Cursor c = new FakeCursor(OPP_DATABASE_SAMPLE); in testOppDbMigration() 454 private static class FakeCursor extends MockCursor { class in DataMigrationTest 458 FakeCursor(List<Pair<String, Object>> rows) { in FakeCursor() method in DataMigrationTest.FakeCursor
|
/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
|