Home
last modified time | relevance | path

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

12345678910>>...12

/packages/apps/UniversalMediaPlayer/java/com/android/pump/db/
DAudioStore.java92 for (cursor.moveToFirst(); !cursor.isAfterLast(); cursor.moveToNext()) { in load()
119 for (cursor.moveToFirst(); !cursor.isAfterLast(); cursor.moveToNext()) { in load()
157 for (cursor.moveToFirst(); !cursor.isAfterLast(); cursor.moveToNext()) { in load()
197 for (cursor.moveToFirst(); !cursor.isAfterLast(); cursor.moveToNext()) { in load()
221 for (cursor.moveToFirst(); !cursor.isAfterLast(); cursor.moveToNext()) { in load()
259 if (cursor.moveToFirst()) { in loadData()
298 if (cursor.moveToFirst()) { in loadData()
331 if (cursor.moveToFirst()) { in loadData()
372 if (cursor.moveToFirst()) { in loadData()
401 if (cursor.moveToFirst()) { in loadData()
[all …]
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DTelephonyProviderTest.java430 cursor.moveToFirst(); in testBulkInsertCarriers()
556 cursor.moveToFirst(); in testUpdateConflictingCarriers()
605 cursor.moveToFirst(); in doSimpleTestForUri()
661 cursor.moveToFirst(); in testOwnedBy()
730 cursor.moveToFirst(); in testSimTable()
773 cursor.moveToFirst(); in testFullRestoreOnMatchingIccId()
814 cursor.moveToFirst(); in testFullRestoreOnMatchingNumberAndCid()
854 cursor.moveToFirst(); in testFullRestoreOnMatchingCidOnly()
897 cursor.moveToFirst(); in testFullRestoreOnMatchingIccIdWithFranceISO()
1026 enforceCursor.moveToFirst(); in testEnforceManagedUri()
[all …]
DCarrierIdProviderTest.java175 countCursor.moveToFirst(); in testInsertCarrierInfo()
267 findEntry.moveToFirst(); in testUpdateCarrierInfo()
314 findEntry.moveToFirst(); in testMultiRowInsertionQuery()
327 cursor.moveToFirst(); in testGetVersion()
356 c.moveToFirst(); in testUpdateCurrentSubscription()
381 c.moveToFirst(); in testUpdateCurrentSubscription()
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/archives/
DReadableArchiveTest.java102 assertTrue(cursor.moveToFirst()); in assertRowExist()
153 assertTrue(childCursor.moveToFirst()); in testQueryChildDocument()
175 assertTrue(cursor.moveToFirst()); in testQueryChildDocument_NoDirs()
190 assertTrue(childCursor.moveToFirst()); in testQueryChildDocument_NoDirs()
209 assertTrue(childCursor2.moveToFirst()); in testQueryChildDocument_NoDirs()
224 assertTrue(cursor.moveToFirst()); in testQueryChildDocument_EmptyDirs()
266 assertFalse(childCursor2.moveToFirst()); in testQueryChildDocument_EmptyDirs()
271 assertFalse(childCursor3.moveToFirst()); in testQueryChildDocument_EmptyDirs()
305 assertTrue(cursor.moveToFirst()); in testQueryDocument()
DWriteableArchiveTest.java154 assertTrue(cursor.moveToFirst()); in testAddDirectory()
169 assertTrue(cursor.moveToFirst()); in testAddDirectory()
204 assertTrue(cursor.moveToFirst()); in testAddFile()
242 assertTrue(cursor.moveToFirst()); in testAddFile()
/packages/apps/Messaging/tests/src/com/android/messaging/ui/mediapicker/
DGalleryGridItemViewTest.java79 cursor.moveToFirst(); in testBind()
92 cursor.moveToFirst(); in testBindMultiSelectUnSelected()
105 cursor.moveToFirst(); in testBindMultiSelectSelected()
118 cursor.moveToFirst(); in testClick()
131 cursor.moveToFirst(); in testBindTwice()
/packages/providers/ContactsProvider/tests2/src/com/android/providers/contacts/tests2/
DAllUriTest.java311 c.moveToFirst(); in checkQueryExecutable()
320 c.moveToFirst(); in checkQueryExecutable()
331 c.moveToFirst(); in checkQueryExecutable()
346 c.moveToFirst(); in checkQueryExecutable()
359 c.moveToFirst(); in checkQueryNotExecutable()
564 c.moveToFirst(); in checkColumnAccessible()
587 c.moveToFirst(); in checkColumnNotAccessibleInner()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DBugleDatabaseOperations.java268 if (cursor.moveToFirst()) { in getExistingConversation()
302 if (cursor.moveToFirst()) { in getThreadId()
339 if (cursor.moveToFirst()) { in isBlockedParticipant()
547 if (cursor.moveToFirst()) { in getConversationMaxTimestamp()
731 if (cursor.moveToFirst()) { in updateConversationDraftSnippetAndPreviewInTransaction()
884 if (cursor.moveToFirst()) { in getConversationSelfId()
933 if (cursor.moveToFirst()) { in getSmsServiceCenterForConversation()
956 if (cursor.moveToFirst()) { in getExistingParticipant()
1029 if (cursor.moveToFirst()) { in readMessagePartData()
1051 if (cursor.moveToFirst()) { in readMessageData()
[all …]
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DAbstractPublicApiTest.java66 cursor.moveToFirst(); in getStatusIfExists()
82 cursor.moveToFirst(); in getStringField()
93 cursor.moveToFirst(); in getLongField()
182 cursor.moveToFirst(); in runUntilProgress()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DMetadataDbHelper.java365 if (!cursor.moveToFirst()) return null; in getMetadataUriAsString()
392 if (!cursor.moveToFirst()) return; in saveLastUpdateTimeOfUri()
425 if (!cursor.moveToFirst()) return 0; in getLastUpdateDateForClient()
450 if (!cursor.moveToFirst()) return null; in getMetadataDownloadIdAndStartDateForURI()
463 if (!cursor.moveToFirst()) return 0; in getOldestUpdateTime()
574 if (cursor.moveToFirst()) { in getFirstLineAsContentValues()
680 if (!cursor.moveToFirst()) return results; in getDownloadRecordsForDownloadId()
935 if (!cursor.moveToFirst()) return; in registerMetadataDownloadId()
980 if (c.moveToFirst()) { in markEntryAsFinishedDownloadingAndInstalled()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/search/
DCarSettingsSearchIndexablesProviderTest.java111 c.moveToFirst(); in queryXmlResources_fillsColumns()
155 c.moveToFirst(); in queryXmlResources_onPartiallyFilledFields_returnsPartialRows()
183 c.moveToFirst(); in queryRawData_fillsColumns()
225 c.moveToFirst(); in queryRawData_onPartiallyFilledFields_returnsPartialRows()
258 c.moveToFirst(); in queryNonIndexableKeys_fillsColumns()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/data/
DFilterStackSource.java116 if (c != null && c.moveToFirst() && !c.isNull(0)) { in getStack()
142 boolean loopCheck = c.moveToFirst(); in getAllUserPresets()
177 boolean loopCheck = c.moveToFirst(); in getAllStacks()
/packages/apps/Car/Messenger/src/com/android/car/messenger/impl/datamodels/util/
DContactUtils.java96 threadCursor.moveToFirst(); in getRecipientIds()
122 if (cursor != null && cursor.moveToFirst()) { in getPerson()
169 if (cursor.moveToFirst()) { in getCanonicalAddressesFromRecipientIds()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DBaseContactsProvider2Test.java605 assertTrue(c.moveToFirst()); in queryContactId()
613 assertTrue(c.moveToFirst()); in queryPhotoId()
627 assertTrue(c.moveToFirst()); in queryRawContactIsStarred()
636 assertTrue(c.moveToFirst()); in queryDisplayName()
644 assertTrue(c.moveToFirst()); in queryLookupKey()
686 assertTrue(c.moveToFirst()); in assertStructuredName()
769 c.moveToFirst(); in assertSuperPrimary()
929 if (c.moveToFirst()) { in getStoredValue()
945 if (c.moveToFirst()) { in getStoredLongValue()
971 c.moveToFirst(); in assertStoredValues()
[all …]
/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DResolvePlaylistTest.java119 assertTrue(cursor.moveToFirst()); in doPlaylist()
198 assertTrue(cursor.moveToFirst()); in testBrokenPlaylistM3u()
228 assertTrue(cursor.moveToFirst()); in testPlaylistDeletion()
262 assertTrue(cursor.moveToFirst()); in testPlaylistMembersDeletion()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaDocumentsProvider.java522 if (!cursor.moveToFirst()) { in getDocumentMetadataFromIndex()
622 if (cursor.moveToFirst()) { in queryDocument()
631 if (cursor.moveToFirst()) { in queryDocument()
643 if (cursor.moveToFirst()) { in queryDocument()
652 if (cursor.moveToFirst()) { in queryDocument()
664 if (cursor.moveToFirst()) { in queryDocument()
673 if (cursor.moveToFirst()) { in queryDocument()
682 if (cursor.moveToFirst()) { in queryDocument()
695 if (cursor.moveToFirst()) { in queryDocument()
703 if (cursor.moveToFirst()) { in queryDocument()
[all …]
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DOpenHelper.java77 if (cursor.moveToFirst()) { in buildViewIntentForMediaStoreDownload()
117 if (!cursor.moveToFirst()) { in buildViewIntent()
172 if (cursor.moveToFirst()) { in getOriginatingUid()
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/datamanager/
DChannelDataManager.java221 if (cursor != null && cursor.moveToFirst()) { in getChannel()
268 if (cursor != null && cursor.moveToFirst()) { in notifyScanStarted()
657 if (cursor != null && cursor.moveToFirst()) { in checkVersion()
695 if (cursor != null && cursor.moveToFirst()) { in getChannelId()
724 if (cursor != null && cursor.moveToFirst()) { in getAllProgramsForChannel()
765 if (cursor != null && cursor.moveToFirst()) { in buildChannelMap()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/scan/
DModernMediaScannerTest.java592 cursor.moveToFirst(); in testScan_Common()
613 cursor.moveToFirst(); in testScan_Common()
799 cursor.moveToFirst(); in testScan_audio_empty_title()
818 cursor.moveToFirst(); in testScan_audio_recording()
837 cursor.moveToFirst(); in testScan_148316354()
861 cursor.moveToFirst(); in testScan_audioMp4_notRescanIfUnchanged()
937 cursor.moveToFirst(); in testScan_BitmapFile()
1185 cursor.moveToFirst(); in testScan_largeXmpData()
1246 cursor.moveToFirst(); in testScan_TrackNumber()
1257 cursor.moveToFirst(); in testScan_TrackNumber()
/packages/modules/NetworkStack/src/com/android/server/connectivity/ipmemorystore/
DIpMemoryStoreDatabase.java354 cursor.moveToFirst(); in getExpiry()
416 cursor.moveToFirst(); in retrieveNetworkAttributes()
440 cursor.moveToFirst(); in retrieveBlob()
584 cursor.moveToFirst(); in findClosestAttributes()
743 cursor.moveToFirst(); in getTotalRecordNumber()
/packages/apps/Dialer/java/com/android/dialer/speeddial/loader/
DSpeedDialUiItemMutator.java209 Assert.checkArgument(cursor.moveToFirst(), "Cursor should never be empty"); in insertNewContactEntry()
392 cursor.moveToFirst(); in updateContactIdsAndLookupKeys()
434 for (cursor.moveToFirst(); !cursor.isAfterLast(); /* Iterate in the loop */ ) { in getSpeedDialUiItemsFromEntries()
524 for (cursor.moveToFirst(); !cursor.isAfterLast(); cursor.moveToNext()) { in getStarredContacts()
550 for (cursor.moveToFirst(); !cursor.isAfterLast(); /* Iterate in the loop */ ) { in getStarredContacts()
/packages/apps/Contacts/tests/src/com/android/contacts/
DGroupsDaoIntegrationTests.java82 cursor.moveToFirst(); in test_deleteEmptyGroup_marksRowDeleted()
119 cursor.moveToFirst(); in test_deleteNonEmptyGroup_removesGroupAndMembers()
210 cursor.getCount() == 1 && cursor.moveToFirst() && in assertGroupHasTitle()
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/
DSlicesIndexerTest.java86 cursor.moveToFirst(); in testAlreadyIndexed_doesNotIndexAgain()
118 cursor.moveToFirst(); in testInsertSliceData_nonPublicSlice_mockDataInserted()
163 cursor.moveToFirst(); in insertSliceData_publicSlice_mockDataInserted()
/packages/apps/Messaging/tests/src/com/android/messaging/ui/conversation/
DConversationMessageViewTest.java73 cursor.moveToFirst(); in testBind()
84 cursor.moveToFirst(); in testBindTwice()
/packages/apps/Dialer/java/com/android/dialer/blocking/
DFilteredNumberAsyncQueryHandler.java172 cursor.moveToFirst(); in isBlockedNumber()
248 cursor.moveToFirst(); in getBlockedIdSynchronous()
357 cursor.moveToFirst(); in unblock()

12345678910>>...12