Home
last modified time | relevance | path

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

12345678910>>...13

/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/data/
DPickerDbFacadeTest.java80 cr.moveToFirst(); in testAddLocalOnlyMedia()
89 cr.moveToFirst(); in testAddLocalOnlyMedia()
102 cr.moveToFirst(); in testAddCloudPlusLocal()
116 cr.moveToFirst(); in testAddCloudOnly()
125 cr.moveToFirst(); in testAddCloudOnly()
140 cr.moveToFirst(); in testAddLocalAndCloud_Dedupe()
155 cr.moveToFirst(); in testAddCloudAndLocal_Dedupe()
169 cr.moveToFirst(); in testAddLocalAlbumMedia()
179 cr.moveToFirst(); in testAddLocalAlbumMedia()
193 cr.moveToFirst(); in testAddCloudAlbumMedia()
[all …]
DExternalDbFacadeTest.java121 cursor.moveToFirst(); in testDeletedMedia_addAndRemove()
144 cursor.moveToFirst(); in testDeletedMedia_addAndRemove()
448 cursor.moveToFirst(); in testQueryMedia_match()
460 cursor.moveToFirst(); in testQueryMedia_match()
510 cursor.moveToFirst(); in testQueryMedia_withDateModified()
521 cursor.moveToFirst(); in testQueryMedia_withDateModified()
540 cursor.moveToFirst(); in testQueryMedia_withMimeType()
553 cursor.moveToFirst(); in testQueryMedia_withMimeType()
576 cursor.moveToFirst(); in testQueryMedia_withAlbum()
585 cursor.moveToFirst(); in testQueryMedia_withAlbum()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/map/
DBluetoothMapContentTest.java167 when(cursor.moveToFirst()).thenReturn(true); in getTextPartsMms()
197 when(cursor.moveToFirst()).thenReturn(true); in getCanonicalAddressSms()
214 when(cursor.moveToFirst()).thenReturn(true); in getAddressMms()
234 cursor.moveToFirst(); in setAttachment_withTypeMms()
251 cursor.moveToFirst(); in setAttachment_withTypeEmail()
271 cursor.moveToFirst(); in setAttachment_withTypeIm()
329 cursor.moveToFirst(); in setDateTime_withTypeSms()
343 cursor.moveToFirst(); in setDateTime_withTypeMms()
357 cursor.moveToFirst(); in setDateTime_withTypeIM()
372 cursor.moveToFirst(); in setDeliveryStatus()
[all …]
/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/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/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DTelephonyProviderTest.java444 cursor.moveToFirst(); in testBulkInsertCarriers()
570 cursor.moveToFirst(); in testUpdateConflictingCarriers()
619 cursor.moveToFirst(); in doSimpleTestForUri()
675 cursor.moveToFirst(); in testOwnedBy()
747 cursor.moveToFirst(); in testSimTable()
791 cursor.moveToFirst(); in testFullRestoreOnMatchingIccId()
835 cursor.moveToFirst(); in testFullRestoreOnMatchingNumberAndCid()
878 cursor.moveToFirst(); in testFullRestoreOnMatchingCidOnly()
924 cursor.moveToFirst(); in testFullRestoreOnMatchingIccIdWithFranceISO()
1056 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()
DCarrierProviderTest.java164 countCursor.moveToFirst(); in testInsertCertificates()
211 findEntry.moveToFirst(); in testUpdateCertificates()
255 countCursor.moveToFirst(); in testMultipleCertificates()
299 countCursor.moveToFirst(); in testMnoandMvnoCertificates()
346 countCursor.moveToFirst(); in testOldAndNewDBEntries()
/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/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/pbap/
DBluetoothPbapSimVcardManagerTest.java121 when(cursor.moveToFirst()).thenReturn(true); in testInit_success()
200 when(cursor.moveToFirst()).then((Answer<Boolean>) i -> { in testMoveToPosition_byAlphabeticalOrder_success()
253 when(cursor.moveToFirst()).then((Answer<Boolean>) i -> { in testGetSIMPhonebookNameList_orderByIndexed()
293 when(cursor.moveToFirst()).then((Answer<Boolean>) i -> { in testGetSIMPhonebookNameList_orderByAlphabet()
335 when(cursor.moveToFirst()).then((Answer<Boolean>) i -> { in testGetSIMContactNamesByNumber()
400 when(cursor.moveToFirst()).thenReturn(true); in testComposeAndSendSIMPhonebookVcards_success()
431 when(cursor.moveToFirst()).thenReturn(true); in testComposeAndSendSIMPhonebookOneVcard_success()
450 when(cursor.moveToFirst()).thenReturn(true); in initManager()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/
DSpecialFormatDetectorTest.java78 cr.moveToFirst(); in testDetect_gif()
104 cr.moveToFirst(); in testDetect_motionPhoto()
130 cr.moveToFirst(); in testDetect_animatedWebp()
156 cr.moveToFirst(); in testDetect_nonAnimatedWebp()
180 cr.moveToFirst(); in testDetect_notSpecialFormat()
/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/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/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/modules/Bluetooth/android/app/src/com/android/bluetooth/pbap/
DBluetoothPbapSimVcardManager.java121 if (mCursor.getCount() == 0 || !mCursor.moveToFirst()) { in init()
240 for (mCursor.moveToFirst(); !mCursor.isAfterLast(); mCursor in setPositionByAlpha()
256 for (mCursor.moveToFirst(); !mCursor.isAfterLast(); mCursor.moveToNext()) { in setPositionByAlpha()
291 for (contactCursor.moveToFirst(); !contactCursor.isAfterLast(); contactCursor in getSIMPhonebookNameList()
333 for (contactCursor.moveToFirst(); !contactCursor.isAfterLast(); contactCursor in getSIMContactNamesByNumber()
/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/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/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/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DBaseContactsProvider2Test.java616 assertTrue(c.moveToFirst()); in queryContactId()
624 assertTrue(c.moveToFirst()); in queryPhotoId()
638 assertTrue(c.moveToFirst()); in queryRawContactIsStarred()
647 assertTrue(c.moveToFirst()); in queryDisplayName()
655 assertTrue(c.moveToFirst()); in queryLookupKey()
697 assertTrue(c.moveToFirst()); in assertStructuredName()
780 c.moveToFirst(); in assertSuperPrimary()
940 if (c.moveToFirst()) { in getStoredValue()
956 if (c.moveToFirst()) { in getStoredLongValue()
982 c.moveToFirst(); in assertStoredValues()
[all …]
/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/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/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()

12345678910>>...13