Searched refs:getMetadataForId (Results 1 – 5 of 5) sorted by relevance
30 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()
29 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()
26 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()
32 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()
116 public static Metadata getMetadataForId(String id) { in getMetadataForId() method in DataFactory121 public static Metadata getMetadataForId(String id, DataOrigin dataOrigin) { in getMetadataForId() method in DataFactory