Home
last modified time | relevance | path

Searched refs:moveToFirst (Results 1 – 25 of 90) 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.java135 assertTrue(c.moveToFirst()); in testRealColumns()
189 for (c.moveToFirst(), i = 0; !c.isAfterLast(); c.moveToNext(), i++) { in testCursor1()
220 for (c.moveToFirst(), i = 0; !c.isAfterLast(); c.moveToNext(), i++) { in testCursor2()
252 assertTrue(c.moveToFirst()); in testLargeField()
408 assertTrue(c.moveToFirst()); in testRequeryWithSelection()
413 assertTrue(c.moveToFirst()); in testRequeryWithSelection()
426 assertTrue(c.moveToFirst()); in testRequeryWithSelectionArgs()
431 assertTrue(c.moveToFirst()); in testRequeryWithSelectionArgs()
461 assertTrue(c.moveToFirst()); in testRequeryWithAlteredSelectionArgs()
468 assertTrue(c.moveToFirst()); in testRequeryWithAlteredSelectionArgs()
DDatabaseGeneralTest.java116 c.moveToFirst(); in testUpdate()
140 c.moveToFirst(); in testPhoneNumbersEqual()
149 c.moveToFirst(); in testPhoneNumbersEqual()
163 c.moveToFirst(); in testPhoneNumbersEqual()
172 c.moveToFirst(); in testPhoneNumbersEqual()
181 c.moveToFirst(); in testPhoneNumbersEqual()
201 c.moveToFirst(); in testPhoneNumbersEqual()
210 c.moveToFirst(); in testPhoneNumbersEqual()
230 assertTrue(cursor.moveToFirst()); in phoneNumberCompare()
364 c.moveToFirst(); in testCopyString()
[all …]
DDatabaseLocaleTest.java118 assertTrue(cursor.moveToFirst()); in testHoge()
/frameworks/base/telephony/common/com/android/internal/telephony/
DHbpcdUtils.java63 c2.moveToFirst(); in getMcc()
91 c3.moveToFirst(); in getMcc()
119 c5.moveToFirst(); in getMcc()
151 cur.moveToFirst(); in getIddByMcc()
/frameworks/base/core/java/android/content/
DCursorEntityIterator.java41 mCursor.moveToFirst(); in CursorEntityIterator()
100 mCursor.moveToFirst(); in reset()
/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/search/
DSpaSearchProviderTest.kt59 immutableStatus.moveToFirst() in testQuerySearchStatusData()
76 mutableStatus.moveToFirst() in testQuerySearchStatusData()
113 staticData.moveToFirst() in testQuerySearchIndexData()
170 dynamicData.moveToFirst() in testQuerySearchIndexData()
206 staticRow.moveToFirst() in testQuerySearchIndexRow()
259 dynamicRow.moveToFirst() in testQuerySearchIndexRow()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/analytics/
DServiceStateAnalyticsProviderTest.java190 when(mCursor.moveToFirst()).thenReturn(false); in testUpdateIfEntryExistsOtherwiseInsertWhenEntryNotExist()
201 when(mCursor.moveToFirst()).thenReturn(true); in testUpdateEntryIfExistsOrInsertWhenCursorValidAndUpdateSuccess()
226 when(mCursor.moveToFirst()).thenReturn(true); in testUpdateEntryIfExistsOrInsertWhenUpdateFailedDueToInvalidIdIndex()
238 when(mCursor.moveToFirst()).thenReturn(true); in testUpdateEntryIfExistsOrInsertWhenUpdateFailedDueToInvalidDurationIndex()
250 when(mCursor.moveToFirst()).thenReturn(true); in testUpdateEntryIfExistsOrInsertWhenUpdateFailedDueToAllInvalidIndex()
305 when(mCursor.moveToFirst()).thenReturn(true); in testTotalUpTimeThroughAggregate()
334 when(mCursor.moveToFirst()).thenReturn(false); in testTotalUpTimeWhenCursorInvalidThroughAggregate()
354 when(mCursor.moveToFirst()).thenReturn(true, true); in testOutOfServiceDurationThroughAggregate()
402 when(mCursor.moveToFirst()).thenReturn(false); in testOutOfServiceDurationWhenCursorInvalidThroughAggregate()
442 when(mCursor.moveToFirst()).thenReturn(true); in setUpTotalTime()
DCallAnalyticsProviderTest.java180 when(mCursor.moveToFirst()).thenReturn(true); in testGetMaxFailureVersion()
345 when(mCursor.moveToFirst()).thenReturn(false); in testUpdateEntryIfExistsOrInsertWhenCursorInvalid()
361 when(mCursor.moveToFirst()).thenReturn(true); in testUpdateEntryIfExistsOrInsertWhenCursorValidUpdateSuccess()
392 when(mCursor.moveToFirst()).thenReturn(true); in testUpdateEntryIfExistsOrInsertWhenUpdateFailedDueToInvalidIdIndex()
410 when(mCursor.moveToFirst()).thenReturn(true); in testUpdateEntryIfExistsOrInsertWhenUpdateFailedDueToInvalidCountIndex()
429 when(mCursor.moveToFirst()).thenReturn(true); in testUpdateEntryIfExistsOrInsertWhenUpdateFailedDueToInvalidColumnIndex()
DSmsMmsAnalyticsProviderTest.java201 when(mCursor.moveToFirst()).thenReturn(false); in testUpdateIfEntryExistsOtherwiseInsertWhenEntryNotExist()
221 when(mCursor.moveToFirst()).thenReturn(true); in testUpdateIfEntryExistsOtherwiseInsertWhenEntryExists()
247 when(mCursor.moveToFirst()).thenReturn(true); in testUpdateIfEntryExistsOtherwiseInsertWithInvalidIdColumnIndex()
261 when(mCursor.moveToFirst()).thenReturn(true); in testUpdateIfEntryExistsOtherwiseInsertWithInvalidCountColumnIndex()
274 when(mCursor.moveToFirst()).thenReturn(true); in testUpdateIfEntryExistsOtherwiseInsertWithInvalidColumnIndex()
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/eab/
DEabUtil.java57 if (cursor != null && cursor.moveToFirst()) { in getContactFromEab()
94 if (cursor != null && cursor.moveToFirst()) { in getCapabilityFromEab()
150 if (cursor != null && cursor.moveToFirst()) { in getEabContactId()
172 if (cursor != null && cursor.moveToFirst()) { in getEabCommonId()
/frameworks/libs/systemui/weathereffects/tests/src/com/google/android/wallpaper/weathereffects/provider/
DWeatherEffectsContentProviderTest.kt71 cursor.moveToFirst() in query_updateWallpaper_returnsCorrectData()
100 cursor.moveToFirst() in query_updateWallpaper_withNoParams_returnsCorrectData()
/frameworks/base/core/java/android/database/
DCursorJoiner.java88 mCursorLeft.moveToFirst(); in CursorJoiner()
89 mCursorRight.moveToFirst(); in CursorJoiner()
DCursorWrapper.java75 public boolean moveToFirst() { in moveToFirst() method in CursorWrapper
76 return mCursor.moveToFirst(); in moveToFirst()
/frameworks/base/core/java/com/android/internal/net/
DConnectivityBlobStore.java112 if (cursor.moveToFirst()) { in get()
165 if (cursor.moveToFirst()) { in list()
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
DSoundTriggerDbHelper.java115 if (c.moveToFirst()) { in getGenericSoundModel()
160 if (c.moveToFirst()) { in dump()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/
DRecoverableKeyStoreDb.java157 cursor.moveToFirst(); in getKey()
436 cursor.moveToFirst(); in getBadRemoteGuessCounter()
494 cursor.moveToFirst(); in getPlatformKeyGenerationId()
726 cursor.moveToFirst(); in getRecoverySecretTypes()
814 cursor.moveToFirst(); in getActiveRootOfTrust()
1003 cursor.moveToFirst(); in getLong()
1083 cursor.moveToFirst(); in getBytes()
1166 cursor.moveToFirst(); in getBytes()
1252 cursor.moveToFirst(); in getLong()
/frameworks/base/core/tests/coretests/src/android/app/
DDownloadManagerBaseTest.java152 if (cursor.moveToFirst()) { in onReceive()
496 assertTrue(cursor.moveToFirst()); in verifyAndCleanupSingleFileDownload()
818 assertTrue(cursor.moveToFirst()); in waitForDownloadToStart()
897 if (cursor.moveToFirst()) { in removeAllCurrentDownloads()
1008 while (!cursor.moveToFirst()) { in getCursor()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/analytics/
DServiceStateAnalyticsProvider.java161 if (cursor != null && cursor.moveToFirst()) { in updateIfEntryExistsOtherwiseInsert()
204 if (cursor != null && cursor.moveToFirst()) { in getTotalUpTime()
238 if (cursor != null && cursor.moveToFirst()) { in outOfServiceDuration()
/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.java71 mCursors[i].moveToFirst(); in SortCursor()
148 mCursors[i].moveToFirst(); in onMove()
/frameworks/opt/chips/src/com/android/ex/chips/
DDefaultPhotoManager.java96 if (photoCursor.moveToFirst()) { in fetchPhotoAsync()
/frameworks/base/core/java/android/widget/
DQuickContactBadge.java359 if (cursor != null && cursor.moveToFirst()) { in onQueryComplete()
374 if (cursor != null && cursor.moveToFirst()) { in onQueryComplete()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DDatabaseHelper.java118 if (c.moveToFirst()) { in onUpgrade()
252 if (c.moveToFirst()) { in getValidKeyphraseSoundModelForUser()
468 if (c.moveToFirst()) { in dump()
/frameworks/base/test-mock/src/android/test/mock/
DMockCursor.java154 public boolean moveToFirst() { in moveToFirst() method in MockCursor

1234