/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/changelogs/ |
D | HealthConnectChangeLogsTests.java | 32 import static android.healthconnect.cts.utils.TestUtils.getChangeLogToken; 149 () -> getChangeLogToken(new ChangeLogTokenRequest.Builder().build())); in testGetChangeLogToken_emptyRecordTypes_throwsException() 160 getChangeLogToken( in testGetChangeLogToken_superRecordTypes_throwsException() 172 getChangeLogToken( in testGetChangeLogToken_superRecordTypes_throwsException() 199 getChangeLogToken(getChangeLogTokenRequestForTestRecordTypes().build()); in testGetChangeLogs_hasFieldsSet() 211 getChangeLogToken(getChangeLogTokenRequestForTestRecordTypes().build()); in testGetChangeLogsRequest_pageSizeOutOfBounds_throwsException() 245 getChangeLogToken(getChangeLogTokenRequestForTestRecordTypes().build()); in testGetChangeLogsRequest_pageSizeWithinBounds_succeeds() 279 getChangeLogToken(getChangeLogTokenRequestForTestRecordTypes().build()); in testChangeLogs_noOperations_returnsEmptyChangelogs() 292 getChangeLogToken(getChangeLogTokenRequestForTestRecordTypes().build()); in testChangeLogs_insert_returnsUpsertedLogsOnly() 307 getChangeLogToken( in testChangeLogs_insert_filterNonExistingDataOrigin_returnsEmptyLogs() [all …]
|
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/device/src/android/healthconnect/cts/device/ |
D | HealthConnectChangeLogsDeviceTests.java | 83 APP_A_WITH_READ_WRITE_PERMS.getChangeLogToken( in testChangeLogs_insert_multipleApps_noFilter_returnsUpsertLogsForAllApps() 116 APP_A_WITH_READ_WRITE_PERMS.getChangeLogToken( in testChangeLogs_insert_multipleApps_filterDataOrigin_returnsUpsertLogs() 147 APP_A_WITH_READ_WRITE_PERMS.getChangeLogToken( in testChangeLogs_insertAndDelete_multipleApps_noFilter_returnsDeletedLogsForAllApps() 171 APP_A_WITH_READ_WRITE_PERMS.getChangeLogToken( in testChangeLogs_insertAndDelete_multipleApps_filterDataOrigin_returnsDeletedLogs()
|
D | HealthConnectDeviceTest.java | 630 APP_B_WITH_READ_WRITE_PERMS.getChangeLogToken( in testAppWithReadPerms_getChangeTokensAndLogsOfOtherApps_expectSuccess() 646 APP_A_WITH_READ_WRITE_PERMS.getChangeLogToken( in testAppWithReadPerms_getChangeTokensAndLogsOfOtherApps_expectSuccess() 1131 APP_B_WITH_READ_WRITE_PERMS.getChangeLogToken( in testToVerifyNoPermissionChangeLog() 1159 APP_B_WITH_READ_WRITE_PERMS.getChangeLogToken( in testToVerifyNoPermissionChangeLog()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/ |
D | PlannedExerciseSessionRecordTest.java | 599 String token = TestUtils.getChangeLogToken(tokenRequest).getToken(); in insertTrainingPlan_changelogCreated() 620 String changeToken = TestUtils.getChangeLogToken(tokenRequest).getToken(); in insertExerciseSession_completesTrainingPlan_changelogGeneratedForTrainingPlan() 641 changeToken = TestUtils.getChangeLogToken(tokenRequest).getToken(); in insertExerciseSession_completesTrainingPlan_changelogGeneratedForTrainingPlan() 663 String changeToken = TestUtils.getChangeLogToken(tokenRequest).getToken(); in updateExerciseSession_completesTrainingPlan_changelogGeneratedForTrainingPlan() 687 changeToken = TestUtils.getChangeLogToken(tokenRequest).getToken(); in updateExerciseSession_completesTrainingPlan_changelogGeneratedForTrainingPlan() 713 String changeToken = TestUtils.getChangeLogToken(tokenRequest).getToken(); in updateExerciseSession_removesReferenceToTrainingPlan_changelogGeneratedForTrainingPlan() 739 changeToken = TestUtils.getChangeLogToken(tokenRequest).getToken(); in updateExerciseSession_removesReferenceToTrainingPlan_changelogGeneratedForTrainingPlan() 760 String changeToken = TestUtils.getChangeLogToken(tokenRequest).getToken(); in updateExerciseSession_changesTrainingPlan_changelogGeneratedForPreviousAndCurrentPlan() 790 changeToken = TestUtils.getChangeLogToken(tokenRequest).getToken(); in updateExerciseSession_changesTrainingPlan_changelogGeneratedForPreviousAndCurrentPlan() 837 String changeToken = TestUtils.getChangeLogToken(tokenRequest).getToken(); in referenceToTrainingPlanNullified_changelogsBelongToOwnersOfRespectiveRecords() [all …]
|
D | TotalCaloriesBurnedRecordTest.java | 383 TestUtils.getChangeLogToken( in testInsertAndDeleteRecord_changelogs()
|
D | MenstruationFlowRecordTest.java | 477 TestUtils.getChangeLogToken( in testInsertAndDeleteRecord_changelogs()
|
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/HealthConnectTestHelper/src/android/healthconnect/cts/testhelper/ |
D | HealthConnectServiceLogsTests.java | 216 getChangeLogToken(); in testHealthConnectGetChangeLogToken() 224 mHealthConnectManager.getChangeLogToken( in testHealthConnectGetChangeLogTokenError() 246 String token = getChangeLogToken(); in testHealthConnectGetChangeLogs() 359 private String getChangeLogToken() throws Exception { in getChangeLogToken() method in HealthConnectServiceLogsTests 363 mHealthConnectManager.getChangeLogToken( in getChangeLogToken()
|
D | TestAppHelper.java | 118 ChangeLogTokenResponse response = TestUtils.getChangeLogToken(request, context); in handleGetChangeLogToken()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/nopermission/ |
D | HealthConnectManagerNotAllPermissionsAreGrantedTest.java | 35 import static android.healthconnect.cts.utils.TestUtils.getChangeLogToken; 124 getChangeLogToken(request.build()); in testGetChangeLogToken_somePermissionsAreNotGranted_expectError() 148 testApp.getChangeLogToken( in testGetChangeLogs_somePermissionsAreNotGranted_expectError()
|
D | HealthConnectManagerNoPermissionsGrantedTest.java | 46 import static android.healthconnect.cts.utils.TestUtils.getChangeLogToken; 168 getChangeLogToken( in testChangeLogsToken_noPermissions_expectError() 200 testApp.getChangeLogToken( in testGetChangeLogs_noPermissions_expectError()
|
/packages/modules/HealthFitness/tests/cts/route/src/android/healthconnect/cts/route/ |
D | ExerciseRouteReadTest.java | 25 import static android.healthconnect.cts.utils.TestUtils.getChangeLogToken; 186 getChangeLogToken( in getChangelogs_cannotAccessOtherAppRoute() 208 getChangeLogToken( in getChangelogs_canAccessOwnRoute() 230 getChangeLogToken( in getChangelogs_mixedOwnAndOtherAppSession()
|
D | ExerciseRouteManageHealthDataTest.java | 25 import static android.healthconnect.cts.utils.TestUtils.getChangeLogToken; 108 getChangeLogToken( in getChangelogs_canNotAccessOtherAppRoute()
|
D | ReadExerciseRoutePermissionTest.java | 25 import static android.healthconnect.cts.utils.TestUtils.getChangeLogToken; 108 getChangeLogToken( in getChangelogs_canAccessOtherAppRoute()
|
D | ExerciseRouteBackgroundReadTest.java | 195 ROUTES_READER_WRITER_BACKGROUND_APP.getChangeLogToken( in getChangelogs_cannotAccessOtherAppRoute() 218 ROUTES_READER_WRITER_BACKGROUND_APP.getChangeLogToken( in getChangelogs_canAccessOwnRoute() 241 ROUTES_READER_WRITER_BACKGROUND_APP.getChangeLogToken( in getChangelogs_mixedOwnAndOtherAppSession()
|
D | ReadExerciseRoutesPermissionTest.java | 185 ROUTES_READER_WRITER_APP.getChangeLogToken( in getChangelogs_canAccessOtherAppRoute() 208 ROUTES_READER_WRITER_APP.getChangeLogToken( in getChangelogs_canAccessOwnRoute() 231 ROUTES_READER_WRITER_APP.getChangeLogToken( in getChangelogs_mixedOwnAndOtherAppSession()
|
D | ExerciseRouteReadAllFeatureOffTest.java | 134 ROUTES_READER_WRITER_APP.getChangeLogToken( in getChangelogs_canNotAccessOtherAppRoute() 157 ROUTES_READER_WRITER_APP.getChangeLogToken( in getChangelogs_canAccessOwnRoute()
|
D | ExerciseRouteNoReadWritePermissionTest.java | 277 ROUTES_READER_WRITER_APP.getChangeLogToken( in getChangelogs_canAccessOwnRoute()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/historicaccess/ |
D | HistoricAccessLimitTest.java | 24 import static android.healthconnect.cts.utils.TestUtils.getChangeLogToken; 268 getChangeLogToken( in testGetChangeLogs_expectCorrectResponse() 405 getChangeLogToken( in testGetAnotherAppsChangeLogs_recordsAreAfterCutOff_expectAllRecordsReturned() 426 getChangeLogToken( in testGetAnotherAppsChangeLogs_recordsAreBeforeCutOff_expectNoRecordsReturned()
|
D | HistoricAccessLimitWithPermissionTest.java | 25 import static android.healthconnect.cts.utils.TestUtils.getChangeLogToken; 250 getChangeLogToken( in testGetChangeLogs_expectCorrectResponse()
|
/packages/modules/HealthFitness/tests/integrationtests/TestApp/src/android/healthconnect/test/app/ |
D | TestAppReceiver.java | 132 getChangeLogToken(context, intent); in onReceive() 223 private void getChangeLogToken(Context context, Intent intent) { in getChangeLogToken() method in TestAppReceiver 227 .getChangeLogToken( in getChangeLogToken()
|
/packages/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/ |
D | TestUtils.java | 195 public static ChangeLogTokenResponse getChangeLogToken(ChangeLogTokenRequest request) in getChangeLogToken() method in TestUtils 197 return getChangeLogToken(request, ApplicationProvider.getApplicationContext()); in getChangeLogToken() 200 public static ChangeLogTokenResponse getChangeLogToken( in getChangeLogToken() method in TestUtils 204 .getChangeLogToken(request, Executors.newSingleThreadExecutor(), receiver); in getChangeLogToken()
|
/packages/modules/HealthFitness/framework/java/android/health/connect/aidl/ |
D | IHealthConnectService.aidl | 124 void getChangeLogToken( in getChangeLogToken() method
|
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/libs/HealthConnectTestLib/src/android/healthconnect/cts/lib/ |
D | TestAppProxy.java | 153 public String getChangeLogToken(ChangeLogTokenRequest request) throws Exception { in getChangeLogToken() method in TestAppProxy
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/ratelimiter/ |
D | RateLimiterTest.java | 282 TestUtils.getChangeLogToken( in getChangeLog()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/ |
D | SharedMemoryTest.java | 237 TestUtils.getChangeLogToken( in getChangeLogs_viaSharedMemory_recordsMatch()
|