/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/datatypehelpers/aggregation/ |
D | ValuePriorityAggregationTest.java | 74 when(mCursor.moveToNext()).thenReturn(true, false); in testOneStepsRecord_equalToWindow() 84 when(mCursor.moveToNext()).thenReturn(true, false); in testOneStepsRecord_doesNotHavePriority_noneAccountedForAggregation() 92 when(mCursor.moveToNext()).thenReturn(true, false); in testOneStepsRecord_startAndEndEqualToWindowStart_accountedForAggregation() 100 when(mCursor.moveToNext()).thenReturn(true, false); in testOneStepsRecord_startAndEndEqualToWindowEnd_notAccountedForAggregation() 118 when(mCursor.moveToNext()).thenReturn(true, false); in testOneStepsRecordMultigroup_recordInOneGroup_otherResultsAreNull() 146 when(mCursor.moveToNext()).thenReturn(true, false); in testOneStepsRecordMultigroup_instantRecordInOneGroup_otherResultsAreNull() 166 when(mCursor.moveToNext()).thenReturn(true, true, false); in testTwoStepsRecords_allTimesEqual_highestPriorityAccounted() 176 when(mCursor.moveToNext()).thenReturn(true, true, false); in testTwoStepsRecordMultigroup_overlapInTheMiddleGroup() 189 when(mCursor.moveToNext()).thenReturn(true, true, false); in testTwoStepsRecordMultigroup_overlapBetweenGroups() 202 when(mCursor.moveToNext()).thenReturn(true, true, false); in testTwoStepsRecordMultigroup_overlapBetweenGroups_firstHigherPriority() [all …]
|
D | SessionPriorityAggregationTest.java | 72 when(mCursor.moveToNext()).thenReturn(true, false); in testOneSession_startedEarlierThanWindow() 80 when(mCursor.moveToNext()).thenReturn(true, false); in testOneSession_biggerThanWindow() 88 when(mCursor.moveToNext()).thenReturn(true, false); in testOneSession_equalToWindow() 98 when(mCursor.moveToNext()).thenReturn(true, false); in testOneSession_oneExcludeInterval() 108 when(mCursor.moveToNext()).thenReturn(true, false); in testOneSession_severalExcludeIntervals() 118 when(mCursor.moveToNext()).thenReturn(true, false); in testOneSession_severalExcludeIntervalsInMultiGroup() 130 when(mCursor.moveToNext()).thenReturn(true, false); in testOneSession_emptyBucketResultIsNull() 142 when(mCursor.moveToNext()).thenReturn(true, false); in testOneSession_newAggregation_noPriority_returnsNothing() 154 when(mCursor.moveToNext()).thenReturn(true, true, false); in testTwoSessions_newAggregation_sessionWithoutPriority_isNotCounted() 167 when(mCursor.moveToNext()).thenReturn(true, true, false); in testTwoSessions_newAggregation_sessionsWithoutPriority_returnsNull() [all …]
|
/packages/services/Mtp/tests/src/com/android/mtp/ |
D | MtpDatabaseTest.java | 94 cursor.moveToNext(); in testPutSingleStorageDocuments() 127 cursor.moveToNext(); in testPutSingleStorageDocuments() 157 cursor.moveToNext(); in testPutStorageDocuments() 172 cursor.moveToNext(); in testPutStorageDocuments() 176 cursor.moveToNext(); in testPutStorageDocuments() 207 cursor.moveToNext(); in testPutChildDocuments() 226 cursor.moveToNext(); in testPutChildDocuments() 246 cursor.moveToNext(); in testPutChildDocuments() 282 cursor.moveToNext(); in testPutChildDocuments_operationsSupported() 299 cursor.moveToNext(); in testPutChildDocuments_operationsSupported() [all …]
|
D | MtpDocumentsProviderTest.java | 156 assertTrue(cursor.moveToNext()); in testOpenDeviceOnDemand() 214 cursor.moveToNext(); in testQueryRoots() 232 cursor.moveToNext(); in testQueryRoots() 233 cursor.moveToNext(); in testQueryRoots() 280 cursor.moveToNext(); in testQueryRoots_error() 290 cursor.moveToNext(); in testQueryRoots_error() 324 cursor.moveToNext(); in testQueryDocument() 361 cursor.moveToNext(); in testQueryDocument_directory() 388 cursor.moveToNext(); in testQueryDocument_forStorage() 412 cursor.moveToNext(); in testQueryDocument_forDeviceWithSingleStorage() [all …]
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/util/cursor/ |
D | Cursors.kt | 39 override fun moveToNext(): Boolean = super.moveToNext() && position < getCount() in limit() method 54 override fun moveToNext(): Boolean = super.moveToNext() && position < count in Cursor() method 84 override fun moveToNext(): Boolean = unsupported in immobilized() method
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/ |
D | ResolvePlaylistTest.java | 127 cursor.moveToNext(); in doPlaylist() 129 cursor.moveToNext(); in doPlaylist() 131 cursor.moveToNext(); in doPlaylist() 133 cursor.moveToNext(); in doPlaylist() 135 cursor.moveToNext(); in doPlaylist() 148 cursor.moveToNext(); in doPlaylist() 150 cursor.moveToNext(); in doPlaylist() 168 cursor.moveToNext(); in doPlaylist() 170 cursor.moveToNext(); in doPlaylist() 172 cursor.moveToNext(); in doPlaylist()
|
/packages/modules/AdServices/adservices/tests/test-util/java/com/android/adservices/common/ |
D | DbTestUtil.java | 128 while (cursor.moveToNext()) { in getTableColumns() 181 while (columnsCursorExpected.moveToNext() && columnsCursorActual.moveToNext()) { in assertTableSchemaEqual() 218 while (cursor.moveToNext()) { in getTables() 240 while (indexListCursorExpected.moveToNext() && indexListCursorActual.moveToNext()) { in assertIndexesEqual() 269 while (indexInfoCursorExpected.moveToNext() && indexInfoCursorActual.moveToNext()) { in assertIndexInfoEqual()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/ |
D | DeriveBasalCaloriesBurnedHelper.java | 99 while (mCursor.moveToNext()) { in getBasalCaloriesBurned() 166 cursor.moveToNext(); in derivedBasalCaloriesViaReadBack() 185 while (lbmCursor.moveToNext()) { in derivedBasalCaloriesBurnedFromLeanBodyMass() 234 boolean hasHeight = heightCursor.moveToNext(); in derivedBasalCaloriesBurnedFromProfile() 235 boolean hasWeight = weightCursor.moveToNext(); in derivedBasalCaloriesBurnedFromProfile() 268 hasHeight = heightCursor.moveToNext(); in derivedBasalCaloriesBurnedFromProfile() 271 hasWeight = weightCursor.moveToNext(); in derivedBasalCaloriesBurnedFromProfile() 275 hasWeight = weightCursor.moveToNext(); in derivedBasalCaloriesBurnedFromProfile() 280 hasHeight = heightCursor.moveToNext(); in derivedBasalCaloriesBurnedFromProfile()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/v2/ |
D | PickerDataLayerV2Test.java | 380 availableProviders.moveToNext(); in testAvailableProvidersWithCloudProvider() 499 cr.moveToNext(); in testQueryLocalMediaSortOrder() 504 cr.moveToNext(); in testQueryLocalMediaSortOrder() 555 cr.moveToNext(); in testQueryLocalMediaWithGrants() 593 cr.moveToNext(); in testPreGrantsForOwnedPhotos() 654 cr.moveToNext(); in testPreviewForOwnedPhotos() 811 cr.moveToNext(); in testQueryLocalMediaForPreview() 872 mediaSets.moveToNext(); in testQueryMediaSets() 926 cr.moveToNext(); in queryMediaOnlyLocalWithPreSelection() 1028 cr.moveToNext(); in queryMediaWithCloudQueryEnabledWithPreSelection() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/measurement/src/com/android/adservices/service/measurement/registration/ |
D | EnqueueAsyncRegistrationTest.java | 174 Assert.assertFalse(cursor.moveToNext()); in appSourceOrTriggerRegistrationRequest_sourceInvalidRegistrationUri_doesNotInsert() 212 Assert.assertTrue(cursor.moveToNext()); in testAppSourceRegistrationRequest_event_isValid() 271 Assert.assertTrue(cursor.moveToNext()); in testAppSourceRegistrationRequest_navigation_isValid() 329 Assert.assertFalse(cursor.moveToNext()); in appSourceOrTriggerRegistrationRequest_triggerInvalidRegistrationUri_doesNotInsert() 367 Assert.assertTrue(cursor.moveToNext()); in testAppTriggerRegistrationRequest_isValid() 423 Assert.assertTrue(cursor.moveToNext()); in testAppRegistrationRequestWithAdId_isValid() 468 Assert.assertTrue(cursor.moveToNext()); in testAppRegistrationRequestWithPostBody_isValid() 508 Assert.assertTrue(cursor.moveToNext()); in testWebSourceRegistrationRequest_event_isValid() 520 Assert.assertTrue(cursor.moveToNext()); in testWebSourceRegistrationRequest_event_isValid() 580 Assert.assertTrue(cursor.moveToNext()); in testWebSourceRegistrationRequest_navigation_isValid() [all …]
|
/packages/services/Mtp/src/com/android/mtp/ |
D | MtpDatabase.java | 140 while (deviceCursor.moveToNext()) { in queryRoots() 166 deviceRoot.moveToNext(); in queryRoots() 177 while (storageCursor.moveToNext()) { in queryRoots() 278 for (int i = 0; cursor.moveToNext(); i++) { in getStorageDocumentIds() 314 if (cursor.moveToNext()) { in getDocumentIdForDevice() 341 if (cursor.moveToNext()) { in getParentIdentifier() 363 cursor.moveToNext(); in getDeviceDocumentId() 429 cursor.moveToNext(); in createIdentifier() 461 while (cursor.moveToNext()) { in deleteDocumentsAndRootsRecursively() 499 while (cursor.moveToNext()) { in disconnectDocumentsRecursively() [all …]
|
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/model/ |
D | LoaderCursorTest.java | 156 assertTrue(mLoaderCursor.moveToNext()); in getAppShortcutInfo_dontAllowMissing_invalidComponent() 166 assertTrue(mLoaderCursor.moveToNext()); in getAppShortcutInfo_dontAllowMissing_validComponent() 179 assertTrue(mLoaderCursor.moveToNext()); in getAppShortcutInfo_allowMissing_invalidComponent() 198 assertTrue(mLoaderCursor.moveToNext()); in loadSimpleShortcut() 265 assertTrue(mLoaderCursor.moveToNext()); in ifArchivedWithFlagAndRestore_whenloadWorkspaceTitleAndIcon_thenLoadIconFromDb() 285 assertTrue(mLoaderCursor.moveToNext()); in ifArchivedWithFlagAndNotRestore_whenloadWorkspaceTitleAndIcon_thenLoadIconFromDb() 301 assertTrue(mLoaderCursor.moveToNext()); in ifArchivedWithFlag_whenLoadIconFromDb_thenLoadIconFromBlob() 313 assertTrue(mLoaderCursor.moveToNext()); in ifArchivedWithoutFlag_whenLoadWorkspaceTitleAndIcon_thenDoNotLoadFromDb() 331 assertTrue(mLoaderCursor.moveToNext()); in ifArchivedWithoutFlag_whenLoadIconFromDb_thenDoNotLoadFromBlob()
|
D | GridSizeMigrationTest.kt | 180 c.moveToNext() in <lambda>() 183 c.moveToNext() in <lambda>() 186 c.moveToNext() in <lambda>() 189 c.moveToNext() in <lambda>() 210 while (c.moveToNext()) { in <lambda>() 710 c.moveToNext() in <lambda>() 724 while (c.moveToNext()) { in <lambda>() 819 c.moveToNext() in <lambda>() 823 c.moveToNext() in <lambda>() 827 c.moveToNext() in <lambda>() [all …]
|
/packages/providers/TvProvider/tests/src/com/android/providers/tv/ |
D | ColumnFilterTest.java | 90 cursor.moveToNext(); in testQueryChannel() 103 cursor.moveToNext(); in testQueryChannel_count() 122 cursor.moveToNext(); in testQueryChannelWithNoValidColumn() 136 cursor.moveToNext(); in testInsertAndQueryChannel() 154 cursor.moveToNext(); in testUpdateChannel()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/measurement/src/com/android/adservices/data/measurement/migration/ |
D | MeasurementDbMigratorV2Test.java | 161 while (cursor.moveToNext()) { in verifyAsyncRegistrationAllFieldsV1() 188 while (cursor.moveToNext()) { in verifySourceAllFieldsV1() 214 while (cursor.moveToNext()) { in verifyTriggerAllFieldsV1() 240 while (cursor.moveToNext()) { in verifyAttributionAllFieldsV1() 266 while (cursor.moveToNext()) { in verifyEventReportAllFieldsV1() 309 while (cursor.moveToNext()) { in verifyAggregateReportAllFieldsV1() 351 while (cursor.moveToNext()) { in verifyAggregateEncryptionKeyAllFieldsV1()
|
D | MeasurementDbMigratorV6Test.java | 336 while (cursor.moveToNext()) { in assertAsyncRegistrationMigration() 363 while (cursor.moveToNext()) { in assertSourceMigration() 388 while (cursor.moveToNext()) { in assertTriggerMigration() 485 while (cursor.moveToNext()) { in verifyAsyncRegistrationAllFieldsV3() 520 while (cursor.moveToNext()) { in verifySourceAllFieldsV3() 590 while (cursor.moveToNext()) { in verifyTriggerAllFieldsV3() 632 while (cursor.moveToNext()) { in verifyAttributionAllFieldsV3() 658 while (cursor.moveToNext()) { in verifyEventReportAllFieldsV3() 684 while (cursor.moveToNext()) { in verifyAggregateReportAllFieldsV3() 711 while (cursor.moveToNext()) { in verifyAggregateEncryptionKeyAllFieldsV3() [all …]
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/v2/sqlite/ |
D | MediaInMediaSetsDatabaseUtilTest.java | 152 mediaCursor.moveToNext(); in testQueryLocalMediaInMediaSet() 158 mediaCursor.moveToNext(); in testQueryLocalMediaInMediaSet() 201 mediaCursor.moveToNext(); in testQueryCloudMediaInMediaSet() 207 mediaCursor.moveToNext(); in testQueryCloudMediaInMediaSet() 257 mediaCursor.moveToNext(); in testQueryMediaInMediaSetForSpecificMediaSetPickerId() 319 mediaCursor.moveToNext(); in testQueryMediaInMediaSetsSortOrder() 325 mediaCursor.moveToNext(); in testQueryMediaInMediaSetsSortOrder() 331 mediaCursor.moveToNext(); in testQueryMediaInMediaSetsSortOrder() 379 mediaCursor.moveToNext(); in testQueryMediaInMediaSetsPagination() 385 mediaCursor.moveToNext(); in testQueryMediaInMediaSetsPagination() [all …]
|
D | SearchResultsDatabaseUtilTest.java | 165 cursor.moveToNext(); in testQuerySearchResultsLocalItems() 221 cursor.moveToNext(); in testQuerySearchResultsCloudItems() 227 cursor.moveToNext(); in testQuerySearchResultsCloudItems() 348 cursor.moveToNext(); in testQuerySearchResultsSortOrder() 354 cursor.moveToNext(); in testQuerySearchResultsSortOrder() 360 cursor.moveToNext(); in testQuerySearchResultsSortOrder() 431 cursor.moveToNext(); in testQuerySearchResultsPagination() 507 cursor.moveToNext(); in testQuerySearchResultsMimeTypeFilter() 627 cursor.moveToNext(); in testQuerySearchResultsCloudProvidersFilter() 633 cursor.moveToNext(); in testQuerySearchResultsCloudProvidersFilter() [all …]
|
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/contentpreview/ |
D | CursorReadSizeTest.kt | 51 while (cursor.moveToNext()) { in <lambda>() 65 cursor.moveToNext() in <lambda>() 68 cursor.moveToNext() in <lambda>()
|
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
D | CalendarDatabaseHelperTest.java | 479 while (goodCursor.moveToNext()) { in testSchemasEqualForAllTables() 489 assertTrue("Should have same number of tables", badCursor.moveToNext()); in testSchemasEqualForAllTables() 522 assertFalse("Should have same number of tables", badCursor.moveToNext()); in testSchemasEqualForAllTables() 550 while(c1.moveToNext() && c2.moveToNext()) { in compareCursors()
|
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/v2/sqlite/ |
D | MediaGroupCursorUtils.java | 105 } while (cursor.moveToNext()); in getMediaGroupCursorForMediaSets() 138 } while (cursor.moveToNext()); in getMediaGroupCursorForMediaSets() 168 } while (cursor.moveToNext()); in getMediaGroupCursorForAlbums() 207 } while (cursor.moveToNext()); in getMediaGroupCursorForAlbums() 248 } while (cursor.moveToNext()); in getMediaGroupCursorForCategories() 373 } while (cursor.moveToNext()); in getLocalIds() 398 } while (cursor.moveToNext()); in getLocalIds()
|
/packages/providers/MediaProvider/legacy/src/com/android/providers/media/ |
D | LegacyDatabaseHelper.java | 384 while (c.moveToNext()) { in makePristineSchema() 393 while (c.moveToNext()) { in makePristineSchema() 402 while (c.moveToNext()) { in makePristineSchema() 411 while (c.moveToNext()) { in makePristineSchema() 501 while (c.moveToNext()) { in makePristineViews() 515 while (c.moveToNext()) { in makePristineIndexes() 572 while (c.moveToNext()) { in updateAddOwnerPackageName() 734 while (c.moveToNext()) { in updateMigrateLogs() 785 while (c.moveToNext()) { in recomputeDataValues() 810 while (c.moveToNext()) { in recomputeMediaTypeValues()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/measurement/src/com/android/adservices/data/measurement/ |
D | DbState.java | 192 while (sourceCursor.moveToNext()) { in DbState() 200 while (destCursor.moveToNext()) { in DbState() 208 while (triggerCursor.moveToNext()) { in DbState() 223 while (eventReportCursor.moveToNext()) { in DbState() 232 while (attrCursor.moveToNext()) { in DbState() 247 while (aggregateReportCursor.moveToNext()) { in DbState() 256 while (keyCursor.moveToNext()) { in DbState() 272 while (debugReportCursor.moveToNext()) { in DbState() 288 while (asyncRegistrationCursor.moveToNext()) { in DbState() 308 while (keyValueDataCursor.moveToNext()) { in DbState()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | EnterpriseContactsCursorWrapperTest.java | 208 rewritten.moveToNext(); in testWrappedResults() 234 rewritten.moveToNext(); in testWrappedResults() 241 rewritten.moveToNext(); in testWrappedResults() 249 rewritten.moveToNext(); in testWrappedResults()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/storage/ |
D | DatabaseManagerTest.java | 812 while (cursor.moveToNext()) { in testDatabaseMigration_101_102() 909 while (cursor.moveToNext()) { in testDatabaseMigration_102_103() 981 while (cursor.moveToNext()) { in testDatabaseMigration_103_104() 1012 while (cursor.moveToNext()) { in testDatabaseMigration_104_105() 1045 while (cursor.moveToNext()) { in testDatabaseMigration_105_106() 1069 while (cursor.moveToNext()) { in testDatabaseMigration_106_107() 1093 while (cursor.moveToNext()) { in testDatabaseMigration_107_108() 1117 while (cursor.moveToNext()) { in testDatabaseMigration_108_109() 1141 while (cursor.moveToNext()) { in testDatabaseMigration_109_110() 1165 while (cursor.moveToNext()) { in testDatabaseMigration_110_111() [all …]
|