/cts/tests/tests/database/src/android/database/cts/ |
D | CursorWrapperTest.java | 67 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 …]
|
D | CursorJoinerTest.java | 61 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
|
D | MergeCursorTest.java | 353 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/ |
D | SQLiteCursorTest.java | 75 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/ |
D | CursorTreeAdapterTest.java | 176 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 …]
|
D | CursorAdapterTest.java | 129 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()
|
D | ResourceCursorAdapterTest.java | 73 assertNull(adapter.getCursor()); in testConstructor() 78 assertSame(mCursor, adapter.getCursor()); in testConstructor() 83 assertSame(mCursor, adapter.getCursor()); in testConstructor()
|
D | ResourceCursorTreeAdapterTest.java | 88 assertNull(mResourceCursorTreeAdapter.getCursor()); in testConstructor() 93 assertEquals(cursor, mResourceCursorTreeAdapter.getCursor()); in testConstructor()
|
D | SimpleCursorAdapterTest.java | 298 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()
|
D | SearchView_CursorTest.java | 131 final Cursor cursor = mSuggestionsAdapter.getCursor(); in onSuggestionClick()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | RingtoneManagerTest.java | 126 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()
|