Home
last modified time | relevance | path

Searched refs:getCursor (Results 1 – 11 of 11) sorted by relevance

/cts/tests/tests/database/src/android/database/cts/
DCursorWrapperTest.java67 CursorWrapper cursorWrapper = new CursorWrapper(getCursor()); in testConstrucotorAndClose()
81 private Cursor getCursor() { in getCursor() method in CursorWrapperTest
87 CursorWrapper cursorWrapper = new CursorWrapper(getCursor()); in testGetCount()
121 CursorWrapper cursorWrapper = new CursorWrapper(getCursor()); in testDeactivate()
177 CursorWrapper cursorWrapper = new CursorWrapper(getCursor()); in testGettingColumnInfos()
207 CursorWrapper cursorWrapper = new CursorWrapper(getCursor()); in testPositioning()
318 CursorWrapper cursorWrapper = new CursorWrapper(getCursor()); in testGettingValues()
360 CursorWrapper cursor = new CursorWrapper(getCursor()); in testGetExtras()
367 Cursor cursor = getCursor(); in testCopyStringToBuffer()
393 CursorWrapper cursorWrapper = new CursorWrapper(getCursor()); in testRespond()
[all …]
DCursorJoinerTest.java61 Cursor cursor1 = getCursor(TABLE_NAME_1, null, null); in testCursorJoinerAndIterator()
62 Cursor cursor2 = getCursor(TABLE_NAME_2, null, null); in testCursorJoinerAndIterator()
74 cursor1 = getCursor(TABLE_NAME_1, null, columnNames); in testCursorJoinerAndIterator()
75 cursor2 = getCursor(TABLE_NAME_2, null, columnNames); in testCursorJoinerAndIterator()
136 Cursor cursor1 = getCursor(TABLE_NAME_1, null, columnNames); in testNext()
137 Cursor cursor2 = getCursor(TABLE_NAME_2, null, columnNames); in testNext()
247 private Cursor getCursor(String tableName, String selection, String[] columnNames) { in getCursor() method in CursorJoinerTest
DMergeCursorTest.java353 private Cursor getCursor(String tableName, String selection, String[] columnNames) { in getCursor() method in MergeCursorTest
358 mCursors[0] = getCursor(TABLE1_NAME, null, null); in createCursors()
359 mCursors[1] = getCursor(TABLE2_NAME, null, null); in createCursors()
/cts/tests/tests/database/src/android/database/sqlite/cts/
DSQLiteCursorTest.java75 SQLiteCursor cursor = getCursor(); in testConstructor()
80 SQLiteCursor cursor = getCursor(); in testClose()
95 SQLiteCursor cursor = getCursor(); in testRegisterDataSetObserver()
152 SQLiteCursor cursor = getCursor(); in testRequery()
195 SQLiteCursor cursor = getCursor(); in testGetColumnIndex()
274 private SQLiteCursor getCursor() { in getCursor() method in SQLiteCursorTest
/cts/tests/tests/widget/src/android/widget/cts/
DCursorTreeAdapterTest.java176 assertSame(mGroupCursor, adapter.getCursor()); in testGetCursor()
179 assertNull(adapter.getCursor()); in testGetCursor()
182 assertSame(mGroupCursor, adapter.getCursor()); in testGetCursor()
189 assertSame(mGroupCursor, adapter.getCursor()); in testSetGroupCursor()
192 assertNull(adapter.getCursor()); in testSetGroupCursor()
195 assertSame(mGroupCursor, adapter.getCursor()); in testSetGroupCursor()
213 assertNull(adapter.getCursor()); in testChangeCursor()
216 assertSame(mGroupCursor, adapter.getCursor()); in testChangeCursor()
219 assertNull(adapter.getCursor()); in testChangeCursor()
485 assertNull(adapter.getCursor()); in testGetGroupView()
[all …]
DCursorAdapterTest.java129 assertNull(cursorAdapter.getCursor()); in testInit()
137 assertNull(cursorAdapter.getCursor()); in testInit()
145 assertNull(cursorAdapter.getCursor()); in testInit()
153 assertSame(mCursor, cursorAdapter.getCursor()); in testInit()
183 assertNull(cursorAdapter.getCursor()); in testAccessCursor()
186 assertSame(mCursor, cursorAdapter.getCursor()); in testAccessCursor()
189 assertNull(cursorAdapter.getCursor()); in testAccessCursor()
DResourceCursorAdapterTest.java73 assertNull(adapter.getCursor()); in testConstructor()
78 assertSame(mCursor, adapter.getCursor()); in testConstructor()
83 assertSame(mCursor, adapter.getCursor()); in testConstructor()
DResourceCursorTreeAdapterTest.java88 assertNull(mResourceCursorTreeAdapter.getCursor()); in testConstructor()
93 assertEquals(cursor, mResourceCursorTreeAdapter.getCursor()); in testConstructor()
DSimpleCursorAdapterTest.java298 assertSame(curWith3Columns, simpleCursorAdapter.getCursor()); in testChangeCursor()
387 assertSame(mCursor, simpleCursorAdapter.getCursor()); in testChangeCursorAndColumns()
402 assertSame(newCursor, simpleCursorAdapter.getCursor()); in testChangeCursorAndColumns()
412 assertNull(simpleCursorAdapter.getCursor()); in testChangeCursorAndColumns()
DSearchView_CursorTest.java131 final Cursor cursor = mSuggestionsAdapter.getCursor(); in onSuggestionClick()
/cts/tests/tests/media/src/android/media/cts/
DRingtoneManagerTest.java126 Cursor c = mRingtoneManager.getCursor(); in testAccessMethods()
177 Cursor c = mRingtoneManager.getCursor(); in testSetType()
186 Cursor c = mRingtoneManager.getCursor(); in testStopPreviousRingtone()
208 final Cursor c = mRingtoneManager.getCursor(); in testQuery()