Home
last modified time | relevance | path

Searched refs:getUpsertedRecords (Results 1 – 25 of 55) sorted by relevance

123

/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/changelogs/
DHealthConnectChangeLogsTests.java285 assertThat(response.getUpsertedRecords()).isEmpty(); in testChangeLogs_noOperations_returnsEmptyChangelogs()
299 assertThat(response.getUpsertedRecords()).containsExactlyElementsIn(testRecords); in testChangeLogs_insert_returnsUpsertedLogsOnly()
318 assertThat(response.getUpsertedRecords()).isEmpty(); in testChangeLogs_insert_filterNonExistingDataOrigin_returnsEmptyLogs()
338 assertThat(response.getUpsertedRecords()).isEmpty(); in testChangeLogs_insertAndDelete_filterNonExistingDataOrigin_returnsEmptyLogs()
362 assertThat(response.getUpsertedRecords()).containsExactly(stepsRecord); in testChangeLogs_insert_filterRecordType_returnsUpsertedLogs()
380 assertThat(response.getUpsertedRecords()).isEmpty(); in testChangeLogs_insertAndDeleteDataById_returnsDeletedLogsOnly()
400 assertThat(response.getUpsertedRecords()).isEmpty(); in testChangeLogs_insertAndDeleteByClientId_returnsDeletedLogsOnly()
426 assertThat(response.getUpsertedRecords()).containsExactlyElementsIn(expectedRecords); in testChangeLogs_insertOldRecords_onlyReturnsUpsertedLogsAfterHistoricalAccess()
467 assertThat(response.getUpsertedRecords()).isEmpty(); in testChangeLogs_insertAndDelete_nonExistingDataOriginFilter_returnsEmptyLogs()
493 assertThat(response.getUpsertedRecords()).isEmpty(); in testChangeLogs_insertAndDelete_recordFilter_onlyReturnsDeletedLogsForRecordType()
[all …]
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/device/src/android/healthconnect/cts/device/
DHealthConnectChangeLogsDeviceTests.java107 assertThat(response.getUpsertedRecords()) in testChangeLogs_insert_multipleApps_noFilter_returnsUpsertLogsForAllApps()
139 assertThat(response.getUpsertedRecords()).containsExactly(recordInsertedByAppA); in testChangeLogs_insert_multipleApps_filterDataOrigin_returnsUpsertLogs()
164 assertThat(response.getUpsertedRecords()).isEmpty(); in testChangeLogs_insertAndDelete_multipleApps_noFilter_returnsDeletedLogsForAllApps()
194 assertThat(response.getUpsertedRecords()).isEmpty(); in testChangeLogs_insertAndDelete_multipleApps_filterDataOrigin_returnsDeletedLogs()
/packages/modules/HealthFitness/tests/cts/route/src/android/healthconnect/cts/route/
DExerciseRouteReadTest.java197 response.getUpsertedRecords().stream() in getChangelogs_cannotAccessOtherAppRoute()
219 response.getUpsertedRecords().stream() in getChangelogs_canAccessOwnRoute()
243 response.getUpsertedRecords().stream() in getChangelogs_mixedOwnAndOtherAppSession()
249 assertThat(response.getUpsertedRecords()).isNotNull(); in getChangelogs_mixedOwnAndOtherAppSession()
250 assertThat(response.getUpsertedRecords()).hasSize(2); in getChangelogs_mixedOwnAndOtherAppSession()
DReadExerciseRoutesPermissionTest.java197 response.getUpsertedRecords().stream() in getChangelogs_canAccessOtherAppRoute()
220 response.getUpsertedRecords().stream() in getChangelogs_canAccessOwnRoute()
245 response.getUpsertedRecords().stream() in getChangelogs_mixedOwnAndOtherAppSession()
251 assertThat(response.getUpsertedRecords()).isNotNull(); in getChangelogs_mixedOwnAndOtherAppSession()
252 assertThat(response.getUpsertedRecords()).hasSize(2); in getChangelogs_mixedOwnAndOtherAppSession()
DExerciseRouteBackgroundReadTest.java207 response.getUpsertedRecords().stream() in getChangelogs_cannotAccessOtherAppRoute()
230 response.getUpsertedRecords().stream() in getChangelogs_canAccessOwnRoute()
255 response.getUpsertedRecords().stream() in getChangelogs_mixedOwnAndOtherAppSession()
261 assertThat(response.getUpsertedRecords()).hasSize(2); in getChangelogs_mixedOwnAndOtherAppSession()
DExerciseRouteReadAllFeatureOffTest.java146 response.getUpsertedRecords().stream() in getChangelogs_canNotAccessOtherAppRoute()
169 response.getUpsertedRecords().stream() in getChangelogs_canAccessOwnRoute()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/historicaccess/
DHistoricAccessLimitTest.java284 .getUpsertedRecords()); in testGetChangeLogs_expectCorrectResponse()
417 .getUpsertedRecords()); in testGetAnotherAppsChangeLogs_recordsAreAfterCutOff_expectAllRecordsReturned()
438 .getUpsertedRecords()); in testGetAnotherAppsChangeLogs_recordsAreBeforeCutOff_expectNoRecordsReturned()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DTotalCaloriesBurnedRecordTest.java394 assertThat(response.getUpsertedRecords().size()).isEqualTo(0); in testInsertAndDeleteRecord_changelogs()
401 assertThat(response.getUpsertedRecords().size()).isEqualTo(1); in testInsertAndDeleteRecord_changelogs()
403 response.getUpsertedRecords().stream() in testInsertAndDeleteRecord_changelogs()
DMenstruationFlowRecordTest.java488 assertThat(response.getUpsertedRecords().size()).isEqualTo(0); in testInsertAndDeleteRecord_changelogs()
495 assertThat(response.getUpsertedRecords().size()).isEqualTo(1); in testInsertAndDeleteRecord_changelogs()
497 response.getUpsertedRecords().stream() in testInsertAndDeleteRecord_changelogs()
DSexualActivityRecordTest.java471 assertThat(response.getUpsertedRecords().size()).isEqualTo(0); in testInsertAndDeleteRecord_changelogs()
478 assertThat(response.getUpsertedRecords().size()).isEqualTo(1); in testInsertAndDeleteRecord_changelogs()
480 response.getUpsertedRecords().stream() in testInsertAndDeleteRecord_changelogs()
DSleepSessionRecordTest.java422 assertThat(response.getUpsertedRecords().size()).isEqualTo(0); in testInsertAndDeleteRecord_changelogs()
428 assertThat(response.getUpsertedRecords().size()).isEqualTo(1); in testInsertAndDeleteRecord_changelogs()
430 response.getUpsertedRecords().stream() in testInsertAndDeleteRecord_changelogs()
DWheelchairPushesRecordTest.java431 assertThat(response.getUpsertedRecords().size()).isEqualTo(0); in testInsertAndDeleteRecord_changelogs()
438 assertThat(response.getUpsertedRecords().size()).isEqualTo(1); in testInsertAndDeleteRecord_changelogs()
440 response.getUpsertedRecords().stream() in testInsertAndDeleteRecord_changelogs()
DOxygenSaturationRecordTest.java496 assertThat(response.getUpsertedRecords().size()).isEqualTo(0); in testInsertAndDeleteRecord_changelogs()
501 assertThat(response.getUpsertedRecords().size()).isEqualTo(1); in testInsertAndDeleteRecord_changelogs()
503 response.getUpsertedRecords().stream() in testInsertAndDeleteRecord_changelogs()
DIntermenstrualBleedingRecordTest.java398 assertThat(response.getUpsertedRecords().size()).isEqualTo(0); in testInsertAndDeleteRecord_changelogs()
405 assertThat(response.getUpsertedRecords().size()).isEqualTo(1); in testInsertAndDeleteRecord_changelogs()
407 response.getUpsertedRecords().stream() in testInsertAndDeleteRecord_changelogs()
DOvulationTestRecordTest.java469 assertThat(response.getUpsertedRecords().size()).isEqualTo(0); in testInsertAndDeleteRecord_changelogs()
476 assertThat(response.getUpsertedRecords().size()).isEqualTo(1); in testInsertAndDeleteRecord_changelogs()
478 response.getUpsertedRecords().stream() in testInsertAndDeleteRecord_changelogs()
DBodyTemperatureRecordTest.java499 assertThat(response.getUpsertedRecords().size()).isEqualTo(0); in testInsertAndDeleteRecord_changelogs()
506 assertThat(response.getUpsertedRecords().size()).isEqualTo(1); in testInsertAndDeleteRecord_changelogs()
508 response.getUpsertedRecords().stream() in testInsertAndDeleteRecord_changelogs()
DBoneMassRecordTest.java461 assertThat(response.getUpsertedRecords().size()).isEqualTo(0); in testInsertAndDeleteRecord_changelogs()
467 assertThat(response.getUpsertedRecords().size()).isEqualTo(1); in testInsertAndDeleteRecord_changelogs()
469 response.getUpsertedRecords().stream() in testInsertAndDeleteRecord_changelogs()
DRespiratoryRateRecordTest.java489 assertThat(response.getUpsertedRecords().size()).isEqualTo(0); in testInsertAndDeleteRecord_changelogs()
496 assertThat(response.getUpsertedRecords().size()).isEqualTo(1); in testInsertAndDeleteRecord_changelogs()
498 response.getUpsertedRecords().stream() in testInsertAndDeleteRecord_changelogs()
DMenstruationPeriodRecordTest.java509 assertThat(response.getUpsertedRecords().size()).isEqualTo(0); in testInsertAndDeleteRecord_changelogs()
516 assertThat(response.getUpsertedRecords().size()).isEqualTo(1); in testInsertAndDeleteRecord_changelogs()
518 response.getUpsertedRecords().stream() in testInsertAndDeleteRecord_changelogs()
DCervicalMucusRecordTest.java473 assertThat(response.getUpsertedRecords().size()).isEqualTo(0); in testInsertAndDeleteRecord_changelogs()
480 assertThat(response.getUpsertedRecords().size()).isEqualTo(1); in testInsertAndDeleteRecord_changelogs()
482 response.getUpsertedRecords().stream() in testInsertAndDeleteRecord_changelogs()
DBodyFatRecordTest.java463 assertThat(response.getUpsertedRecords().size()).isEqualTo(0); in testInsertAndDeleteRecord_changelogs()
469 assertThat(response.getUpsertedRecords().size()).isEqualTo(1); in testInsertAndDeleteRecord_changelogs()
471 response.getUpsertedRecords().stream() in testInsertAndDeleteRecord_changelogs()
DBodyWaterMassRecordTest.java478 assertThat(response.getUpsertedRecords().size()).isEqualTo(0); in testInsertAndDeleteRecord_changelogs()
485 assertThat(response.getUpsertedRecords().size()).isEqualTo(1); in testInsertAndDeleteRecord_changelogs()
487 response.getUpsertedRecords().stream() in testInsertAndDeleteRecord_changelogs()
DHeartRateVariabilityRmssdRecordTest.java519 assertThat(response.getUpsertedRecords().size()).isEqualTo(0); in testInsertAndDeleteRecord_changelogs()
527 assertThat(response.getUpsertedRecords().size()).isEqualTo(1); in testInsertAndDeleteRecord_changelogs()
529 response.getUpsertedRecords().stream() in testInsertAndDeleteRecord_changelogs()
DLeanBodyMassRecordTest.java471 assertThat(response.getUpsertedRecords().size()).isEqualTo(0); in testInsertAndDeleteRecord_changelogs()
477 assertThat(response.getUpsertedRecords().size()).isEqualTo(1); in testInsertAndDeleteRecord_changelogs()
479 response.getUpsertedRecords().stream() in testInsertAndDeleteRecord_changelogs()
DActiveCaloriesBurnedRecordTest.java505 assertThat(response.getUpsertedRecords().size()).isEqualTo(0); in testInsertAndDeleteRecord_changelogs()
512 assertThat(response.getUpsertedRecords().size()).isEqualTo(1); in testInsertAndDeleteRecord_changelogs()
514 response.getUpsertedRecords().stream() in testInsertAndDeleteRecord_changelogs()

123