/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/changelogs/ |
D | HealthConnectChangeLogsTests.java | 285 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/ |
D | HealthConnectChangeLogsDeviceTests.java | 107 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/ |
D | ExerciseRouteReadTest.java | 197 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()
|
D | ReadExerciseRoutesPermissionTest.java | 197 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()
|
D | ExerciseRouteBackgroundReadTest.java | 207 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()
|
D | ExerciseRouteReadAllFeatureOffTest.java | 146 response.getUpsertedRecords().stream() in getChangelogs_canNotAccessOtherAppRoute() 169 response.getUpsertedRecords().stream() in getChangelogs_canAccessOwnRoute()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/historicaccess/ |
D | HistoricAccessLimitTest.java | 284 .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/ |
D | TotalCaloriesBurnedRecordTest.java | 394 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()
|
D | MenstruationFlowRecordTest.java | 488 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()
|
D | SexualActivityRecordTest.java | 471 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()
|
D | SleepSessionRecordTest.java | 422 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()
|
D | WheelchairPushesRecordTest.java | 431 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()
|
D | OxygenSaturationRecordTest.java | 496 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()
|
D | IntermenstrualBleedingRecordTest.java | 398 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()
|
D | OvulationTestRecordTest.java | 469 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()
|
D | BodyTemperatureRecordTest.java | 499 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()
|
D | BoneMassRecordTest.java | 461 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()
|
D | RespiratoryRateRecordTest.java | 489 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()
|
D | MenstruationPeriodRecordTest.java | 509 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()
|
D | CervicalMucusRecordTest.java | 473 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()
|
D | BodyFatRecordTest.java | 463 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()
|
D | BodyWaterMassRecordTest.java | 478 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()
|
D | HeartRateVariabilityRmssdRecordTest.java | 519 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()
|
D | LeanBodyMassRecordTest.java | 471 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()
|
D | ActiveCaloriesBurnedRecordTest.java | 505 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()
|