Home
last modified time | relevance | path

Searched refs:getChangeLogToken (Results 1 – 25 of 66) sorted by relevance

123

/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/changelogs/
DHealthConnectChangeLogsTests.java32 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/
DHealthConnectChangeLogsDeviceTests.java83 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()
DHealthConnectDeviceTest.java630 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/
DPlannedExerciseSessionRecordTest.java599 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 …]
DTotalCaloriesBurnedRecordTest.java383 TestUtils.getChangeLogToken( in testInsertAndDeleteRecord_changelogs()
DMenstruationFlowRecordTest.java477 TestUtils.getChangeLogToken( in testInsertAndDeleteRecord_changelogs()
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/HealthConnectTestHelper/src/android/healthconnect/cts/testhelper/
DHealthConnectServiceLogsTests.java216 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()
DTestAppHelper.java118 ChangeLogTokenResponse response = TestUtils.getChangeLogToken(request, context); in handleGetChangeLogToken()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/nopermission/
DHealthConnectManagerNotAllPermissionsAreGrantedTest.java35 import static android.healthconnect.cts.utils.TestUtils.getChangeLogToken;
124 getChangeLogToken(request.build()); in testGetChangeLogToken_somePermissionsAreNotGranted_expectError()
148 testApp.getChangeLogToken( in testGetChangeLogs_somePermissionsAreNotGranted_expectError()
DHealthConnectManagerNoPermissionsGrantedTest.java46 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/
DExerciseRouteReadTest.java25 import static android.healthconnect.cts.utils.TestUtils.getChangeLogToken;
186 getChangeLogToken( in getChangelogs_cannotAccessOtherAppRoute()
208 getChangeLogToken( in getChangelogs_canAccessOwnRoute()
230 getChangeLogToken( in getChangelogs_mixedOwnAndOtherAppSession()
DExerciseRouteManageHealthDataTest.java25 import static android.healthconnect.cts.utils.TestUtils.getChangeLogToken;
108 getChangeLogToken( in getChangelogs_canNotAccessOtherAppRoute()
DReadExerciseRoutePermissionTest.java25 import static android.healthconnect.cts.utils.TestUtils.getChangeLogToken;
108 getChangeLogToken( in getChangelogs_canAccessOtherAppRoute()
DExerciseRouteBackgroundReadTest.java195 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()
DReadExerciseRoutesPermissionTest.java185 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()
DExerciseRouteReadAllFeatureOffTest.java134 ROUTES_READER_WRITER_APP.getChangeLogToken( in getChangelogs_canNotAccessOtherAppRoute()
157 ROUTES_READER_WRITER_APP.getChangeLogToken( in getChangelogs_canAccessOwnRoute()
DExerciseRouteNoReadWritePermissionTest.java277 ROUTES_READER_WRITER_APP.getChangeLogToken( in getChangelogs_canAccessOwnRoute()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/historicaccess/
DHistoricAccessLimitTest.java24 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()
DHistoricAccessLimitWithPermissionTest.java25 import static android.healthconnect.cts.utils.TestUtils.getChangeLogToken;
250 getChangeLogToken( in testGetChangeLogs_expectCorrectResponse()
/packages/modules/HealthFitness/tests/integrationtests/TestApp/src/android/healthconnect/test/app/
DTestAppReceiver.java132 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/
DTestUtils.java195 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/
DIHealthConnectService.aidl124 void getChangeLogToken( in getChangeLogToken() method
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/libs/HealthConnectTestLib/src/android/healthconnect/cts/lib/
DTestAppProxy.java153 public String getChangeLogToken(ChangeLogTokenRequest request) throws Exception { in getChangeLogToken() method in TestAppProxy
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/ratelimiter/
DRateLimiterTest.java282 TestUtils.getChangeLogToken( in getChangeLog()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/
DSharedMemoryTest.java237 TestUtils.getChangeLogToken( in getChangeLogs_viaSharedMemory_recordsMatch()

123