/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/changelogs/ |
D | HealthConnectChangeLogsTests.java | 33 import static android.healthconnect.cts.utils.TestUtils.getChangeLogs; 266 () -> getChangeLogs(new ChangeLogsRequest.Builder("abc").build())); in testChangeLogs_invalidToken_throwsException() 272 () -> getChangeLogs(new ChangeLogsRequest.Builder("").build())); in testChangeLogs_invalidToken_throwsException() 283 ChangeLogsResponse response = getChangeLogs(changeLogsRequest); in testChangeLogs_noOperations_returnsEmptyChangelogs() 297 ChangeLogsResponse response = getChangeLogs(changeLogsRequest); in testChangeLogs_insert_returnsUpsertedLogsOnly() 316 ChangeLogsResponse response = getChangeLogs(changeLogsRequest); in testChangeLogs_insert_filterNonExistingDataOrigin_returnsEmptyLogs() 336 ChangeLogsResponse response = getChangeLogs(changeLogsRequest); in testChangeLogs_insertAndDelete_filterNonExistingDataOrigin_returnsEmptyLogs() 361 ChangeLogsResponse response = getChangeLogs(changeLogsRequest); in testChangeLogs_insert_filterRecordType_returnsUpsertedLogs() 375 ChangeLogsResponse response = getChangeLogs(changeLogsRequest); in testChangeLogs_insertAndDeleteDataById_returnsDeletedLogsOnly() 395 ChangeLogsResponse response = getChangeLogs(changeLogsRequest); in testChangeLogs_insertAndDeleteByClientId_returnsDeletedLogsOnly() [all …]
|
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/device/src/android/healthconnect/cts/device/ |
D | HealthConnectChangeLogsDeviceTests.java | 105 ChangeLogsResponse response = APP_A_WITH_READ_WRITE_PERMS.getChangeLogs(changeLogsRequest); in testChangeLogs_insert_multipleApps_noFilter_returnsUpsertLogsForAllApps() 137 ChangeLogsResponse response = APP_A_WITH_READ_WRITE_PERMS.getChangeLogs(changeLogsRequest); in testChangeLogs_insert_multipleApps_filterDataOrigin_returnsUpsertLogs() 159 ChangeLogsResponse response = APP_A_WITH_READ_WRITE_PERMS.getChangeLogs(changeLogsRequest); in testChangeLogs_insertAndDelete_multipleApps_noFilter_returnsDeletedLogsForAllApps() 189 ChangeLogsResponse response = APP_A_WITH_READ_WRITE_PERMS.getChangeLogs(changeLogsRequest); in testChangeLogs_insertAndDelete_multipleApps_filterDataOrigin_returnsDeletedLogs()
|
/packages/modules/HealthFitness/tests/cts/route/src/android/healthconnect/cts/route/ |
D | ExerciseRouteReadTest.java | 26 import static android.healthconnect.cts.utils.TestUtils.getChangeLogs; 194 ChangeLogsResponse response = getChangeLogs(new ChangeLogsRequest.Builder(token).build()); in getChangelogs_cannotAccessOtherAppRoute() 216 ChangeLogsResponse response = getChangeLogs(new ChangeLogsRequest.Builder(token).build()); in getChangelogs_canAccessOwnRoute() 240 ChangeLogsResponse response = getChangeLogs(new ChangeLogsRequest.Builder(token).build()); in getChangelogs_mixedOwnAndOtherAppSession()
|
D | ExerciseRouteManageHealthDataTest.java | 26 import static android.healthconnect.cts.utils.TestUtils.getChangeLogs; 118 () -> getChangeLogs(new ChangeLogsRequest.Builder(token).build()), in getChangelogs_canNotAccessOtherAppRoute()
|
D | ReadExerciseRoutePermissionTest.java | 26 import static android.healthconnect.cts.utils.TestUtils.getChangeLogs; 118 () -> getChangeLogs(new ChangeLogsRequest.Builder(token).build()), in getChangelogs_canAccessOtherAppRoute()
|
D | ExerciseRouteBackgroundReadTest.java | 203 ROUTES_READER_WRITER_BACKGROUND_APP.getChangeLogs( in getChangelogs_cannotAccessOtherAppRoute() 226 ROUTES_READER_WRITER_BACKGROUND_APP.getChangeLogs( in getChangelogs_canAccessOwnRoute() 251 ROUTES_READER_WRITER_BACKGROUND_APP.getChangeLogs( in getChangelogs_mixedOwnAndOtherAppSession()
|
D | ReadExerciseRoutesPermissionTest.java | 193 ROUTES_READER_WRITER_APP.getChangeLogs( in getChangelogs_canAccessOtherAppRoute() 216 ROUTES_READER_WRITER_APP.getChangeLogs( in getChangelogs_canAccessOwnRoute() 241 ROUTES_READER_WRITER_APP.getChangeLogs( in getChangelogs_mixedOwnAndOtherAppSession()
|
D | ExerciseRouteReadAllFeatureOffTest.java | 142 ROUTES_READER_WRITER_APP.getChangeLogs( in getChangelogs_canNotAccessOtherAppRoute() 165 ROUTES_READER_WRITER_APP.getChangeLogs( in getChangelogs_canAccessOwnRoute()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/historicaccess/ |
D | HistoricAccessLimitTest.java | 25 import static android.healthconnect.cts.utils.TestUtils.getChangeLogs; 283 getChangeLogs(new ChangeLogsRequest.Builder(token).build()) in testGetChangeLogs_expectCorrectResponse() 416 getChangeLogs(new ChangeLogsRequest.Builder(token).build()) in testGetAnotherAppsChangeLogs_recordsAreAfterCutOff_expectAllRecordsReturned() 437 getChangeLogs(new ChangeLogsRequest.Builder(token).build()) in testGetAnotherAppsChangeLogs_recordsAreBeforeCutOff_expectNoRecordsReturned()
|
D | HistoricAccessLimitWithPermissionTest.java | 26 import static android.healthconnect.cts.utils.TestUtils.getChangeLogs; 266 getChangeLogs(new ChangeLogsRequest.Builder(token).build()) in testGetChangeLogs_expectCorrectResponse()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/ |
D | TotalCaloriesBurnedRecordTest.java | 393 ChangeLogsResponse response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs() 400 response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs() 415 response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs()
|
D | MenstruationFlowRecordTest.java | 487 ChangeLogsResponse response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs() 494 response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs() 509 response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs()
|
D | SexualActivityRecordTest.java | 470 ChangeLogsResponse response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs() 477 response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs() 492 response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs()
|
D | SleepSessionRecordTest.java | 421 ChangeLogsResponse response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs() 427 response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs() 442 response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs()
|
D | WheelchairPushesRecordTest.java | 430 ChangeLogsResponse response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs() 437 response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs() 452 response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs()
|
D | OxygenSaturationRecordTest.java | 495 ChangeLogsResponse response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs() 500 response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs() 518 response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs()
|
D | IntermenstrualBleedingRecordTest.java | 397 ChangeLogsResponse response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs() 404 response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs() 419 response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs()
|
D | OvulationTestRecordTest.java | 468 ChangeLogsResponse response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs() 475 response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs() 490 response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs()
|
D | BodyTemperatureRecordTest.java | 498 ChangeLogsResponse response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs() 505 response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs() 520 response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs()
|
D | BoneMassRecordTest.java | 460 ChangeLogsResponse response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs() 466 response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs() 481 response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs()
|
D | RespiratoryRateRecordTest.java | 488 ChangeLogsResponse response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs() 495 response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs() 510 response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs()
|
D | MenstruationPeriodRecordTest.java | 508 ChangeLogsResponse response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs() 515 response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs() 530 response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs()
|
D | CervicalMucusRecordTest.java | 472 ChangeLogsResponse response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs() 479 response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs() 494 response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs()
|
D | BodyFatRecordTest.java | 462 ChangeLogsResponse response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs() 468 response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs() 481 response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs()
|
/packages/modules/HealthFitness/tests/integrationtests/TestApp/src/android/healthconnect/test/app/ |
D | TestAppReceiver.java | 135 getChangeLogs(context, intent); in onReceive() 244 private void getChangeLogs(Context context, Intent intent) { in getChangeLogs() method in TestAppReceiver 249 .getChangeLogs( in getChangeLogs()
|