Home
last modified time | relevance | path

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

/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/viewmodel/
DPickerViewModelTest.java219 try (final Cursor fakeCursor = generateCursorForFakeCategories(categoryCount)) { in testGetCategories() argument
220 fakeCursor.moveToFirst(); in testGetCategories()
221 final Category fakeFirstCategory = Category.fromCursor(fakeCursor, UserId.CURRENT_USER); in testGetCategories()
222 fakeCursor.moveToNext(); in testGetCategories()
223 final Category fakeSecondCategory = Category.fromCursor(fakeCursor, in testGetCategories()
225 mItemsProvider.setCategoriesCursor(fakeCursor); in testGetCategories()
227 fakeCursor.moveToPosition(-1); in testGetCategories()
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DTelephonyBackupAgentTest.java322 FakeCursor fakeCursor = mCursors.get(uri); in setUp()
324 fakeCursor.setProjection(projection); in setUp()
326 fakeCursor.nextRow = 0; in setUp()
327 return fakeCursor; in setUp()