/packages/apps/UniversalMediaPlayer/java/com/android/pump/db/ |
D | AudioStore.java | 93 for (cursor.moveToFirst(); !cursor.isAfterLast(); cursor.moveToNext()) { in load() 120 for (cursor.moveToFirst(); !cursor.isAfterLast(); cursor.moveToNext()) { in load() 158 for (cursor.moveToFirst(); !cursor.isAfterLast(); cursor.moveToNext()) { in load() 198 for (cursor.moveToFirst(); !cursor.isAfterLast(); cursor.moveToNext()) { in load() 222 for (cursor.moveToFirst(); !cursor.isAfterLast(); cursor.moveToNext()) { in load() 260 if (cursor.moveToFirst()) { in loadData() 299 if (cursor.moveToFirst()) { in loadData() 335 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/ |
D | TelephonyProviderTest.java | 301 cursor.moveToFirst(); in testBulkInsertCarriers() 427 cursor.moveToFirst(); in testUpdateConflictingCarriers() 476 cursor.moveToFirst(); in doSimpleTestForUri() 532 cursor.moveToFirst(); in testOwnedBy() 601 cursor.moveToFirst(); in testSimTable() 681 enforceCursor.moveToFirst(); in testEnforceManagedUri() 696 cursorNotEnforced.moveToFirst(); in testEnforceManagedUri() 722 enforceCursor.moveToFirst(); in testEnforceManagedUri() 730 cursorEnforced.moveToFirst(); in testEnforceManagedUri() 799 cursorTelephony.moveToFirst(); in testTelephonyUriDpcRecordAccessControl() [all …]
|
D | CarrierIdProviderTest.java | 177 countCursor.moveToFirst(); in testInsertCarrierInfo() 269 findEntry.moveToFirst(); in testUpdateCarrierInfo() 316 findEntry.moveToFirst(); in testMultiRowInsertionQuery() 329 cursor.moveToFirst(); in testGetVersion() 360 c.moveToFirst(); in testUpdateCurrentSubscription() 385 c.moveToFirst(); in testUpdateCurrentSubscription()
|
D | CarrierProviderTest.java | 167 countCursor.moveToFirst(); in testInsertCertificates() 213 findEntry.moveToFirst(); in testUpdateCertificates() 259 countCursor.moveToFirst(); in testMultipleCertificates()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/archives/ |
D | ReadableArchiveTest.java | 101 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()
|
D | WriteableArchiveTest.java | 155 assertTrue(cursor.moveToFirst()); in testAddDirectory() 170 assertTrue(cursor.moveToFirst()); in testAddDirectory() 205 assertTrue(cursor.moveToFirst()); in testAddFile() 243 assertTrue(cursor.moveToFirst()); in testAddFile()
|
/packages/providers/ContactsProvider/tests2/src/com/android/providers/contacts/tests2/ |
D | AllUriTest.java | 311 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/tests/src/com/android/messaging/ui/mediapicker/ |
D | GalleryGridItemViewTest.java | 79 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/apps/Messaging/src/com/android/messaging/datamodel/ |
D | BugleDatabaseOperations.java | 268 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/ |
D | MetadataDbHelper.java | 365 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/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
D | AbstractPublicApiTest.java | 66 cursor.moveToFirst(); in getStatusIfExists() 82 cursor.moveToFirst(); in getStringField() 93 cursor.moveToFirst(); in getLongField() 182 cursor.moveToFirst(); in runUntilProgress()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/ |
D | DatabaseHelperTest.java | 193 assertTrue(c.moveToFirst()); in assertUpgrade() 203 assertTrue(c.moveToFirst()); in assertUpgrade() 213 assertTrue(c.moveToFirst()); in assertUpgrade() 225 assertTrue(c.moveToFirst()); in assertUpgrade() 238 assertTrue(c.moveToFirst()); in assertUpgrade() 249 assertTrue(c.moveToFirst()); in assertUpgrade()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | BaseContactsProvider2Test.java | 605 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/apps/Gallery2/src/com/android/gallery3d/filtershow/data/ |
D | FilterStackSource.java | 116 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/src/com/android/providers/media/ |
D | MediaDocumentsProvider.java | 481 if (!cursor.moveToFirst()) { in getDocumentMetadataFromIndex() 572 if (cursor.moveToFirst()) { in queryDocument() 581 if (cursor.moveToFirst()) { in queryDocument() 593 if (cursor.moveToFirst()) { in queryDocument() 602 if (cursor.moveToFirst()) { in queryDocument() 614 if (cursor.moveToFirst()) { in queryDocument() 623 if (cursor.moveToFirst()) { in queryDocument() 632 if (cursor.moveToFirst()) { in queryDocument() 1227 if (cursor.moveToFirst()) { in getImageForBucketCleared() 1301 if (cursor.moveToFirst()) { in getVideoForBucketCleared() [all …]
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/datamanager/ |
D | ChannelDataManager.java | 221 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/DownloadProvider/src/com/android/providers/downloads/ |
D | OpenHelper.java | 77 if (cursor.moveToFirst()) { in buildViewIntentForMediaStoreDownload() 117 if (!cursor.moveToFirst()) { in buildViewIntent() 172 if (cursor.moveToFirst()) { in getOriginatingUid()
|
/packages/modules/NetworkStack/src/com/android/server/connectivity/ipmemorystore/ |
D | IpMemoryStoreDatabase.java | 348 cursor.moveToFirst(); in getExpiry() 410 cursor.moveToFirst(); in retrieveNetworkAttributes() 434 cursor.moveToFirst(); in retrieveBlob() 578 cursor.moveToFirst(); in findClosestAttributes() 737 cursor.moveToFirst(); in getTotalRecordNumber()
|
/packages/apps/Dialer/java/com/android/dialer/speeddial/loader/ |
D | SpeedDialUiItemMutator.java | 209 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/ |
D | GroupsDaoIntegrationTests.java | 82 cursor.moveToFirst(); in test_deleteEmptyGroup_marksRowDeleted() 119 cursor.moveToFirst(); in test_deleteNonEmptyGroup_removesGroupAndMembers() 210 cursor.getCount() == 1 && cursor.moveToFirst() && in assertGroupHasTitle()
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | TelephonyBackupAgent.java | 373 smsCursor.moveToFirst(); in onFullBackup() 376 mmsCursor.moveToFirst(); in onFullBackup() 692 if (cursor != null && cursor.moveToFirst()) { 772 if (cursor != null && cursor.moveToFirst()) { 1014 if (cursor != null && cursor.moveToFirst()) { 1035 if (cursor != null && cursor.moveToFirst()) { 1354 if (thread.moveToFirst()) { 1406 if (c.moveToFirst()) {
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapContentObserver.java | 1262 if (c != null && c.moveToFirst()) { in initMsgList() 1288 if (c != null && c.moveToFirst()) { in initMsgList() 1317 if (c != null && c.moveToFirst()) { in initMsgList() 1357 if (c != null && c.moveToFirst()) { in initContactsList() 1411 if (c != null && c.moveToFirst()) { in handleMsgListChangesSms() 1571 if (c != null && c.moveToFirst()) { in handleMsgListChangesMms() 1741 if (c != null && c.moveToFirst()) { in handleMsgListChangesMsg() 1965 if (c != null && c.moveToFirst()) { in handleContactListChanges() 2246 if (c != null && c.moveToFirst()) { in deleteMessageMms() 2282 if (c != null && c.moveToFirst()) { in unDeleteMessageMms() [all …]
|
/packages/apps/Dialer/java/com/android/dialer/blocking/ |
D | FilteredNumberAsyncQueryHandler.java | 172 cursor.moveToFirst(); in isBlockedNumber() 248 cursor.moveToFirst(); in getBlockedIdSynchronous() 357 cursor.moveToFirst(); in unblock()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppNotification.java | 277 for (cursor.moveToFirst(); !cursor.isAfterLast(); cursor.moveToNext()) { in updateActiveNotification() 418 for (cursor.moveToFirst(); !cursor.isAfterLast(); cursor.moveToNext()) { in updateCompletedNotification() 484 for (cursor.moveToFirst(); !cursor.isAfterLast(); cursor.moveToNext()) { in updateCompletedNotification() 553 for (cursor.moveToFirst(); !cursor.isAfterLast(); cursor.moveToNext()) { in updateIncomingFileConfirmNotification()
|
/packages/apps/Car/libs/car-settings-lib/src/com/android/car/settingslib/util/ |
D | ProfileNameSaver.java | 88 if (cursor.moveToFirst()) { in updateMeContactWith() 147 return cursor.moveToFirst() ? cursor.getLong(0) : INVALID_ID; in getProfileItem()
|