/cts/tests/tests/widget/src/android/widget/cts/ |
D | ArrayAdapterTest.java | 225 assertEquals(0, mArrayAdapter.getPosition(STR1)); in testInsert() 230 assertEquals(1, mArrayAdapter.getPosition(STR1)); in testInsert() 231 assertEquals(0, mArrayAdapter.getPosition(STR2)); in testInsert() 234 assertEquals(mArrayAdapter.getCount() - 1, mArrayAdapter.getPosition(STR3)); in testInsert() 237 assertEquals(0, mArrayAdapter.getPosition(null)); in testInsert() 309 assertEquals(0, mArrayAdapter.getPosition(STR1)); in testGetPosition() 310 assertEquals(1, mArrayAdapter.getPosition(STR2)); in testGetPosition() 312 assertEquals(0, mArrayAdapter.getPosition(STR1)); in testGetPosition() 314 assertEquals(-1, mArrayAdapter.getPosition(STR3)); in testGetPosition() 317 assertEquals(-1, mArrayAdapter.getPosition(null)); in testGetPosition() [all …]
|
D | CursorAdapterTest.java | 278 assertEquals(0, c.getPosition()); in testGetItem() 283 assertEquals(1, c.getPosition()); in testGetItem()
|
D | AbsListViewTest.java | 585 assertEquals(0, listener.getPosition()); in testGetContextMenuInfo() 599 assertEquals(2, listener.getPosition()); in testGetContextMenuInfo() 867 public int getPosition() { in getPosition() method in AbsListViewTest.MockOnItemLongClickListener
|
D | CursorTreeAdapterTest.java | 656 if (0 == groupCursor.getPosition()) { in getChildrenCursor() 662 } else if (1 == groupCursor.getPosition()) { in getChildrenCursor()
|
/cts/tests/tests/database/src/android/database/cts/ |
D | CursorWrapperTest.java | 213 assertEquals(-1, cursorWrapper.getPosition()); in testPositioning() 218 assertEquals(0, cursorWrapper.getPosition()); in testPositioning() 224 assertEquals(1, cursorWrapper.getPosition()); in testPositioning() 232 assertEquals(2, cursorWrapper.getPosition()); in testPositioning() 236 assertEquals(1, cursorWrapper.getPosition()); in testPositioning() 238 assertEquals(0, cursorWrapper.getPosition()); in testPositioning() 241 assertEquals(-1, cursorWrapper.getPosition()); in testPositioning() 243 assertEquals(1, cursorWrapper.getPosition()); in testPositioning() 249 assertEquals(2, cursorWrapper.getPosition()); in testPositioning() 251 assertEquals(1, cursorWrapper.getPosition()); in testPositioning() [all …]
|
D | AbstractCursorTest.java | 79 assertEquals(-1, abstractCursor.getPosition()); in testConstructor() 200 assertEquals(0, mDatabaseCursor.getPosition()); in testMoveToPrevious() 202 assertEquals(1, mDatabaseCursor.getPosition()); in testMoveToPrevious() 205 assertEquals(2, mDatabaseCursor.getPosition()); in testMoveToPrevious() 209 assertEquals(mDatabaseCursor.getCount(), mDatabaseCursor.getPosition()); in testMoveToPrevious() 212 assertEquals(-1, mDatabaseCursor.getPosition()); in testMoveToPrevious() 216 assertEquals(5, mDatabaseCursor.getPosition()); in testMoveToPrevious() 220 assertEquals(4, mDatabaseCursor.getPosition()); in testMoveToPrevious() 222 assertEquals(3, mDatabaseCursor.getPosition()); in testMoveToPrevious() 224 assertEquals(2, mDatabaseCursor.getPosition()); in testMoveToPrevious() [all …]
|
D | DatabaseUtilsTest.java | 372 int pos = cursor.getPosition(); in testDumpCursor() 395 assertEquals(pos, cursor.getPosition()); // dumpCursor should not change status of cursor in testDumpCursor() 400 assertEquals(pos, cursor.getPosition()); // dumpCursor should not change status of cursor in testDumpCursor() 404 assertEquals(pos, cursor.getPosition()); // dumpCursor should not change status of cursor in testDumpCursor()
|
D | DatabaseCursorTest.java | 278 assertEquals(0, testCursor.getPosition()); in testLargeField()
|
/cts/hostsidetests/services/windowmanager/dndsourceapp/src/android/wm/cts/dndsourceapp/ |
D | DragSourceCursor.java | 42 if (getPosition() != 0) { in getString() 43 throw new IllegalArgumentException("Incorrect position: " + getPosition()); in getString()
|
/cts/tests/tests/text/src/android/text/cts/ |
D | SpannableStringBuilderSpanTest.java | 73 positionSet.getPosition(s), positionSet.getPosition(e), in replace() 75 replPositionSet.getPosition(rs), replPositionSet.getPosition(re)); in replace() 134 int originalStart = mSpanSet.mPositionSet.getPosition(s); in checkSpanPositions() 135 int originalEnd = mSpanSet.mPositionSet.getPosition(e); in checkSpanPositions() 248 int originalStart = mReplacementSpanSet.mPositionSet.getPosition(s); in checkReplacementSpanPositions() 249 int originalEnd = mReplacementSpanSet.mPositionSet.getPosition(e); in checkReplacementSpanPositions() 316 int getPosition(int index) { in getPosition() method in SpannableStringBuilderSpanTest.PositionSet 371 int start = mPositionSet.getPosition(s); in initSpans() 372 int end = mPositionSet.getPosition(e); in initSpans()
|
/cts/tests/tests/view/src/android/view/inputmethod/cts/ |
D | CompletionInfoTest.java | 48 assertEquals(POSITION, info.getPosition()); in assertCompletionInfo()
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
D | DatabaseAsserts.java | 203 final int pos = cursor.getPosition(); in assertCursorValuesMatchExactly()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | AudioRecordTest.java | 1159 int position = getPosition(); in onMarkerReached() 1174 int position = getPosition(); in onPeriodicNotification() 1211 private int getPosition() { in getPosition() method in AudioRecordTest.MockOnRecordPositionUpdateListener
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | MediaStore_Audio_Playlists_MembersTest.java | 172 int pos = c.getPosition(); in verifyPlaylist()
|
D | CalendarTest.java | 3437 int posn = instances.getPosition(); in dumpInstances()
|
/cts/tools/dex-tools/dex/ |
D | classes.out.dex | 18245 public abstract int getPosition() 18400 public int getPosition() 26799 public final int getPosition() 95732 public int getPosition(
|