Home
last modified time | relevance | path

Searched refs:cursor1 (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Email/tests/src/com/android/email/provider/
DContentCacheTests.java211 Cursor cursor1 = getOneRowCursor(); in testContentCacheRemoveEldestEntry() local
215 cache.putCursor(cursor1, "1", SIMPLE_PROJECTION, token); in testContentCacheRemoveEldestEntry()
223 cache.putCursor(cursor1, "2", SIMPLE_PROJECTION, token); in testContentCacheRemoveEldestEntry()
235 assertFalse(cursor1.isClosed()); in testContentCacheRemoveEldestEntry()
243 cache.putCursor(cursor1, "3", SIMPLE_PROJECTION, token); in testContentCacheRemoveEldestEntry()
259 assertFalse(cursor1.isClosed()); in testContentCacheRemoveEldestEntry()
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarSyncTestingBase.java364 protected void compareCursors(Cursor cursor1, Cursor cursor2, in compareCursors() argument
366 String[] cols = cursor1.getColumnNames(); in compareCursors()
369 assertEquals(tableName + " count failed to match", cursor1.getCount(), in compareCursors()
372 while (cursor1.moveToNext() && cursor2.moveToNext()) { in compareCursors()
378 row.put(col, cursor1.getString(i)); in compareCursors()
381 " failed to match", cursor1.getString(i), in compareCursors()