Home
last modified time | relevance | path

Searched refs:getMetadataForId (Results 1 – 5 of 5) sorted by relevance

/packages/modules/HealthFitness/tests/cts/route/src/android/healthconnect/cts/route/
DExerciseRouteWriteTest.java30 import static android.healthconnect.cts.utils.DataFactory.getMetadataForId;
188 getExerciseSessionWithoutRoute(getMetadataForId(exerciseRecordId)); in updateRecords_withoutRoute_routeGetsDeleted()
205 getExerciseSessionWithRoute(getMetadataForId(exerciseRecordId)); in updateRecords_withRoute_routeGetsInserted()
221 getExerciseSessionWithAnotherRoute(getMetadataForId(exerciseRecordId)); in updateRecords_withUpdatedRoute_routeGetsUpdated()
DExerciseRouteNoReadWritePermissionTest.java29 import static android.healthconnect.cts.utils.DataFactory.getMetadataForId;
167 getExerciseSessionWithoutRoute(getMetadataForId(sessionId)); in updateRecords_withoutRoute_routeDoesNotGetDeleted()
185 getExerciseSessionWithAnotherRoute(getMetadataForId(sessionId)); in updateRecords_withUpdatedRoute_throws_routeDoesNotGetUpdated()
211 getExerciseSessionWithRoute(getMetadataForId(sessionId)); in updateRecords_withAddedRoute_throws_routeDoesNotGetAdded()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/changelogs/
DHealthConnectChangeLogsTests.java26 import static android.healthconnect.cts.utils.DataFactory.getMetadataForId;
699 getMetadataForId(preExistingStepsId, getDataOrigin(mPackageName)), in testChangeLogs_operationCombinations_expectCorrectChangeLogs()
732 getMetadataForId( in testChangeLogs_operationCombinations_expectCorrectChangeLogs()
742 getMetadataForId( in testChangeLogs_operationCombinations_expectCorrectChangeLogs()
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/device/src/android/healthconnect/cts/device/
DHealthConnectDeviceTest.java32 import static android.healthconnect.cts.utils.DataFactory.getMetadataForId;
213 StepsRecord updatedRecord = getStepsRecord(getMetadataForId(recordId)); in testAnAppCantUpdateAnotherAppEntry()
260 getMetadataForId( in testAppWithWritePermsOnly_readOwnData_success()
582 StepsRecord updatedRecord = getStepsRecord(getMetadataForId(recordId)); in testAppWithManageHealthDataPermsOnlyCantUpdateRecords()
/packages/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/
DDataFactory.java116 public static Metadata getMetadataForId(String id) { in getMetadataForId() method in DataFactory
121 public static Metadata getMetadataForId(String id, DataOrigin dataOrigin) { in getMetadataForId() method in DataFactory