Home
last modified time | relevance | path

Searched refs:getChangeLogs (Results 1 – 25 of 67) sorted by relevance

123

/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/changelogs/
DHealthConnectChangeLogsTests.java33 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/
DHealthConnectChangeLogsDeviceTests.java105 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/
DExerciseRouteReadTest.java26 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()
DExerciseRouteManageHealthDataTest.java26 import static android.healthconnect.cts.utils.TestUtils.getChangeLogs;
118 () -> getChangeLogs(new ChangeLogsRequest.Builder(token).build()), in getChangelogs_canNotAccessOtherAppRoute()
DReadExerciseRoutePermissionTest.java26 import static android.healthconnect.cts.utils.TestUtils.getChangeLogs;
118 () -> getChangeLogs(new ChangeLogsRequest.Builder(token).build()), in getChangelogs_canAccessOtherAppRoute()
DExerciseRouteBackgroundReadTest.java203 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()
DReadExerciseRoutesPermissionTest.java193 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()
DExerciseRouteReadAllFeatureOffTest.java142 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/
DHistoricAccessLimitTest.java25 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()
DHistoricAccessLimitWithPermissionTest.java26 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/
DTotalCaloriesBurnedRecordTest.java393 ChangeLogsResponse response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs()
400 response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs()
415 response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs()
DMenstruationFlowRecordTest.java487 ChangeLogsResponse response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs()
494 response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs()
509 response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs()
DSexualActivityRecordTest.java470 ChangeLogsResponse response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs()
477 response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs()
492 response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs()
DSleepSessionRecordTest.java421 ChangeLogsResponse response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs()
427 response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs()
442 response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs()
DWheelchairPushesRecordTest.java430 ChangeLogsResponse response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs()
437 response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs()
452 response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs()
DOxygenSaturationRecordTest.java495 ChangeLogsResponse response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs()
500 response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs()
518 response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs()
DIntermenstrualBleedingRecordTest.java397 ChangeLogsResponse response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs()
404 response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs()
419 response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs()
DOvulationTestRecordTest.java468 ChangeLogsResponse response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs()
475 response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs()
490 response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs()
DBodyTemperatureRecordTest.java498 ChangeLogsResponse response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs()
505 response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs()
520 response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs()
DBoneMassRecordTest.java460 ChangeLogsResponse response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs()
466 response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs()
481 response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs()
DRespiratoryRateRecordTest.java488 ChangeLogsResponse response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs()
495 response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs()
510 response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs()
DMenstruationPeriodRecordTest.java508 ChangeLogsResponse response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs()
515 response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs()
530 response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs()
DCervicalMucusRecordTest.java472 ChangeLogsResponse response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs()
479 response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs()
494 response = TestUtils.getChangeLogs(changeLogsRequest); in testInsertAndDeleteRecord_changelogs()
DBodyFatRecordTest.java462 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/
DTestAppReceiver.java135 getChangeLogs(context, intent); in onReceive()
244 private void getChangeLogs(Context context, Intent intent) { in getChangeLogs() method in TestAppReceiver
249 .getChangeLogs( in getChangeLogs()

123