Home
last modified time | relevance | path

Searched refs:moveToFirst (Results 1 – 25 of 79) sorted by relevance

1234

/frameworks/base/core/tests/coretests/src/android/database/
DDatabaseStatementTest.java141 c.moveToFirst(); in testStatementLongBinding()
163 c.moveToFirst(); in testStatementStringBinding()
186 assertTrue(c.moveToFirst()); in testStatementClearBindings()
209 c.moveToFirst(); in testSimpleStringBinding()
234 assertTrue(c.moveToFirst()); in testStatementMultipleBindings()
269 assertTrue(c.moveToFirst()); in run()
317 c.moveToFirst(); in testStatementConstraint()
DDatabaseCursorTest.java137 assertTrue(c.moveToFirst()); in testRealColumns()
191 for (c.moveToFirst(), i = 0; !c.isAfterLast(); c.moveToNext(), i++) { in testCursor1()
222 for (c.moveToFirst(), i = 0; !c.isAfterLast(); c.moveToNext(), i++) { in testCursor2()
254 assertTrue(c.moveToFirst()); in testLargeField()
410 assertTrue(c.moveToFirst()); in testRequeryWithSelection()
415 assertTrue(c.moveToFirst()); in testRequeryWithSelection()
428 assertTrue(c.moveToFirst()); in testRequeryWithSelectionArgs()
433 assertTrue(c.moveToFirst()); in testRequeryWithSelectionArgs()
463 assertTrue(c.moveToFirst()); in testRequeryWithAlteredSelectionArgs()
470 assertTrue(c.moveToFirst()); in testRequeryWithAlteredSelectionArgs()
DDatabaseGeneralTest.java109 c.moveToFirst(); in testUpdate()
133 c.moveToFirst(); in testPhoneNumbersEqual()
142 c.moveToFirst(); in testPhoneNumbersEqual()
156 c.moveToFirst(); in testPhoneNumbersEqual()
165 c.moveToFirst(); in testPhoneNumbersEqual()
174 c.moveToFirst(); in testPhoneNumbersEqual()
194 c.moveToFirst(); in testPhoneNumbersEqual()
203 c.moveToFirst(); in testPhoneNumbersEqual()
223 assertTrue(cursor.moveToFirst()); in phoneNumberCompare()
334 c.moveToFirst(); in testCopyString()
[all …]
DDatabaseLocaleTest.java118 assertTrue(cursor.moveToFirst()); in testHoge()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DHbpcdUtils.java64 c2.moveToFirst(); in getMcc()
92 c3.moveToFirst(); in getMcc()
117 c5.moveToFirst(); in getMcc()
149 cur.moveToFirst(); in getIddByMcc()
/frameworks/base/core/java/android/content/
DCursorEntityIterator.java39 mCursor.moveToFirst(); in CursorEntityIterator()
98 mCursor.moveToFirst(); in reset()
/frameworks/base/core/java/android/database/
DCursorWrapper.java64 public boolean moveToFirst() { in moveToFirst() method in CursorWrapper
65 return mCursor.moveToFirst(); in moveToFirst()
DCursorJoiner.java87 mCursorLeft.moveToFirst(); in CursorJoiner()
88 mCursorRight.moveToFirst(); in CursorJoiner()
DCursor.java109 boolean moveToFirst(); in moveToFirst() method
/frameworks/support/tests/java/android/support/v4/content/
DFileProviderTest.java179 cursor.moveToFirst(); in testQueryProjectionNull()
196 cursor.moveToFirst(); in testQueryProjectionOrder()
207 cursor.moveToFirst(); in testQueryProjectionOrder()
224 cursor.moveToFirst(); in testQueryExtraColumn()
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
DBordeauxSessionStorage.java127 cursor.moveToFirst(); in getSession()
136 cursor.moveToFirst(); in getAllSessions()
DAggregatorRecordStorage.java99 cursor.moveToFirst(); in getAllData()
/frameworks/support/v4/kitkat/android/support/v4/provider/
DDocumentsContractApi19.java149 if (c.moveToFirst() && !c.isNull(0)) { in queryForString()
174 if (c.moveToFirst() && !c.isNull(0)) { in queryForLong()
/frameworks/base/core/tests/coretests/src/android/app/
DDownloadManagerBaseTest.java153 if (cursor.moveToFirst()) { in onReceive()
490 assertTrue(cursor.moveToFirst()); in verifyAndCleanupSingleFileDownload()
812 assertTrue(cursor.moveToFirst()); in waitForDownloadToStart()
891 if (cursor.moveToFirst()) { in removeAllCurrentDownloads()
1006 while (!cursor.moveToFirst()) { in getCursor()
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/
DDownloadManagerBaseTest.java453 assertTrue(cursor.moveToFirst()); in waitForDownloadToStart()
520 if (cursor.moveToFirst()) { in removeAllCurrentDownloads()
549 while (!cursor.moveToFirst()) { in getCursor()
/frameworks/base/core/java/com/android/internal/database/
DSortCursor.java67 mCursors[i].moveToFirst(); in SortCursor()
144 mCursors[i].moveToFirst(); in onMove()
/frameworks/base/core/java/android/provider/
DBrowser.java319 if (c.moveToFirst()) { in updateVisitedHistory()
407 if (cursor.moveToFirst() && cursor.getCount() >= MAX_HISTORY_COUNT) { in truncateHistory()
470 if (cursor.moveToFirst()) { in deleteHistoryWhere()
DCallLog.java507 if (cursor.getCount() > 0 && cursor.moveToFirst()) { in addCall()
569 if (c == null || !c.moveToFirst()) { in getLastOutgoingCall()
/frameworks/base/test-runner/src/android/test/mock/
DMockCursor.java122 public boolean moveToFirst() { in moveToFirst() method in MockCursor
/frameworks/base/core/java/android/widget/
DQuickContactBadge.java348 if (cursor != null && cursor.moveToFirst()) { in onQueryComplete()
363 if (cursor != null && cursor.moveToFirst()) { in onQueryComplete()
/frameworks/opt/chips/src/com/android/ex/chips/
DDefaultPhotoManager.java96 if (photoCursor.moveToFirst()) { in fetchPhotoAsync()
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/core/
DShellUiAutomatorBridge.java76 if (cursor.moveToFirst()) { in getSystemLongPressTime()
/frameworks/base/media/java/android/media/
DRingtoneManager.java421 if (!cursor.moveToFirst()) { in getRingtonePosition()
470 if (cursor.moveToFirst()) { in getValidRingtoneUriFromCursorAndClose()
/frameworks/base/core/tests/coretests/src/android/database/sqlite/
DSQLiteCursorTest.java135 c.moveToFirst(); in testFillWindow()
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
DExportTestProvider.java131 public boolean moveToFirst() {

1234