Searched refs:DataFactory (Results 1 – 25 of 55) sorted by relevance
123
23 import static android.healthconnect.cts.utils.DataFactory.NOW;24 import static android.healthconnect.cts.utils.DataFactory.buildExerciseSessionWithEmptyMetadata;25 import static android.healthconnect.cts.utils.DataFactory.buildSleepSessionWithEmptyMetadata;26 import static android.healthconnect.cts.utils.DataFactory.getDistanceRecordWithEmptyMetadata;27 import static android.healthconnect.cts.utils.DataFactory.getHeartRateRecordWithEmptyMetadata;28 import static android.healthconnect.cts.utils.DataFactory.getStepsRecordWithEmptyMetaData;29 import static android.healthconnect.cts.utils.DataFactory.getTotalCaloriesBurnedRecordWithEmptyMeta…
20 import static android.healthconnect.cts.aggregation.DataFactory.getActiveCaloriesBurnedRecord;21 import static android.healthconnect.cts.aggregation.DataFactory.getBasalMetabolicRateRecord;22 import static android.healthconnect.cts.aggregation.DataFactory.getBaseHeightRecord;23 import static android.healthconnect.cts.aggregation.DataFactory.getBaseLeanBodyMassRecord;24 import static android.healthconnect.cts.aggregation.DataFactory.getBaseWeightRecord;25 import static android.healthconnect.cts.aggregation.DataFactory.getTimeFilter;27 import static android.healthconnect.cts.utils.DataFactory.getDataOrigin;28 import static android.healthconnect.cts.utils.DataFactory.getEmptyMetadata;
20 import static android.healthconnect.cts.utils.DataFactory.SESSION_END_TIME;21 import static android.healthconnect.cts.utils.DataFactory.SESSION_START_TIME;22 import static android.healthconnect.cts.utils.DataFactory.generateMetadata;
28 import static android.healthconnect.cts.aggregation.DataFactory.getOpenEndTimeFilter;29 import static android.healthconnect.cts.aggregation.DataFactory.getOpenStartTimeFilter;30 import static android.healthconnect.cts.aggregation.DataFactory.getTimeFilter;31 import static android.healthconnect.cts.utils.DataFactory.getDataOrigin;32 import static android.healthconnect.cts.utils.DataFactory.getDistanceRecord;33 import static android.healthconnect.cts.utils.DataFactory.getHeartRateRecord;34 import static android.healthconnect.cts.utils.DataFactory.getStepsRecord;35 import static android.healthconnect.cts.utils.DataFactory.getWeightRecord;
19 import static android.healthconnect.cts.utils.DataFactory.getEmptyMetadata;39 public final class DataFactory { class
26 import static android.healthconnect.cts.aggregation.DataFactory.getActiveCaloriesBurnedRecord;27 import static android.healthconnect.cts.aggregation.DataFactory.getTimeFilter;32 import static android.healthconnect.cts.utils.DataFactory.getDistanceRecord;33 import static android.healthconnect.cts.utils.DataFactory.getEmptyMetadata;34 import static android.healthconnect.cts.utils.DataFactory.getStepsRecord;35 import static android.healthconnect.cts.utils.DataFactory.getWeightRecord;
25 import static android.healthconnect.cts.utils.DataFactory.buildExerciseSession;26 import static android.healthconnect.cts.utils.DataFactory.buildSleepSession;27 import static android.healthconnect.cts.utils.DataFactory.getDistanceRecordWithNonEmptyId;28 import static android.healthconnect.cts.utils.DataFactory.getHeartRateRecord;29 import static android.healthconnect.cts.utils.DataFactory.getStepsRecord;30 import static android.healthconnect.cts.utils.DataFactory.getTotalCaloriesBurnedRecord;
31 import static android.healthconnect.cts.utils.DataFactory.NOW;32 import static android.healthconnect.cts.utils.DataFactory.buildExerciseSession;33 import static android.healthconnect.cts.utils.DataFactory.buildSleepSession;34 import static android.healthconnect.cts.utils.DataFactory.getDistanceRecord;35 import static android.healthconnect.cts.utils.DataFactory.getDistanceRecordWithNonEmptyId;36 import static android.healthconnect.cts.utils.DataFactory.getHeartRateRecord;37 import static android.healthconnect.cts.utils.DataFactory.getStepsRecord;38 import static android.healthconnect.cts.utils.DataFactory.getTotalCaloriesBurnedRecord;39 import static android.healthconnect.cts.utils.DataFactory.getTotalCaloriesBurnedRecordWithEmptyMeta…
21 import static android.healthconnect.cts.utils.DataFactory.DEFAULT_LONG;22 import static android.healthconnect.cts.utils.DataFactory.DEFAULT_PAGE_SIZE;23 import static android.healthconnect.cts.utils.DataFactory.MAXIMUM_PAGE_SIZE;24 import static android.healthconnect.cts.utils.DataFactory.MINIMUM_PAGE_SIZE;
19 import static android.healthconnect.cts.utils.DataFactory.getHeartRateRecord;20 import static android.healthconnect.cts.utils.DataFactory.getStepsRecord;21 import static android.healthconnect.cts.utils.DataFactory.getTestRecords;22 import static android.healthconnect.cts.utils.DataFactory.getUpdatedStepsRecord;
19 import static android.healthconnect.cts.utils.DataFactory.buildExerciseSession;20 import static android.healthconnect.cts.utils.DataFactory.buildSleepSession;
19 import static android.healthconnect.cts.utils.DataFactory.getDataOrigin;20 import static android.healthconnect.cts.utils.DataFactory.getDistanceRecord;21 import static android.healthconnect.cts.utils.DataFactory.getHeartRateRecord;22 import static android.healthconnect.cts.utils.DataFactory.getStepsRecord;23 import static android.healthconnect.cts.utils.DataFactory.getTotalCaloriesBurnedRecord;
19 import static android.healthconnect.cts.utils.DataFactory.getDistanceRecord;20 import static android.healthconnect.cts.utils.DataFactory.getHeartRateRecord;21 import static android.healthconnect.cts.utils.DataFactory.getStepsRecord;22 import static android.healthconnect.cts.utils.DataFactory.getTotalCaloriesBurnedRecord;
19 import static android.healthconnect.cts.utils.DataFactory.getDistanceRecord;20 import static android.healthconnect.cts.utils.DataFactory.getTotalCaloriesBurnedRecord;
19 import static android.healthconnect.cts.utils.DataFactory.SESSION_END_TIME;20 import static android.healthconnect.cts.utils.DataFactory.SESSION_START_TIME;21 import static android.healthconnect.cts.utils.DataFactory.generateMetadata;
19 import static android.healthconnect.cts.utils.DataFactory.SESSION_END_TIME;20 import static android.healthconnect.cts.utils.DataFactory.SESSION_START_TIME;21 import static android.healthconnect.cts.utils.DataFactory.buildSleepSession;22 import static android.healthconnect.cts.utils.DataFactory.generateMetadata;
19 import static android.healthconnect.cts.utils.DataFactory.buildExerciseSession;20 import static android.healthconnect.cts.utils.DataFactory.generateMetadata;21 import static android.healthconnect.cts.utils.DataFactory.getBasalMetabolicRateRecord;22 import static android.healthconnect.cts.utils.DataFactory.getChangeLogTokenRequestForTestRecordType…23 import static android.healthconnect.cts.utils.DataFactory.getDataOrigin;24 import static android.healthconnect.cts.utils.DataFactory.getDistanceRecord;25 import static android.healthconnect.cts.utils.DataFactory.getHeartRateRecord;26 import static android.healthconnect.cts.utils.DataFactory.getMetadataForId;27 import static android.healthconnect.cts.utils.DataFactory.getStepsRecord;28 import static android.healthconnect.cts.utils.DataFactory.getTestRecords;
23 import static android.healthconnect.cts.utils.DataFactory.buildExerciseSessionWithEmptyMetadata;24 import static android.healthconnect.cts.utils.DataFactory.buildSleepSessionWithEmptyMetadata;25 import static android.healthconnect.cts.utils.DataFactory.getDataOrigin;26 import static android.healthconnect.cts.utils.DataFactory.getDataOrigins;27 import static android.healthconnect.cts.utils.DataFactory.getDistanceRecordWithEmptyMetadata;28 import static android.healthconnect.cts.utils.DataFactory.getEmptyMetadata;29 import static android.healthconnect.cts.utils.DataFactory.getHeartRateRecordWithEmptyMetadata;30 import static android.healthconnect.cts.utils.DataFactory.getMetadata;31 import static android.healthconnect.cts.utils.DataFactory.getMetadataForClientId;32 import static android.healthconnect.cts.utils.DataFactory.getMetadataForId;[all …]
27 import static android.healthconnect.cts.utils.DataFactory.getEmptyMetadata;28 import static android.healthconnect.cts.utils.DataFactory.getMetadataForClientId;29 import static android.healthconnect.cts.utils.DataFactory.getMetadataForClientIdAndVersion;30 import static android.healthconnect.cts.utils.DataFactory.getMetadataForId;
27 import static android.healthconnect.cts.utils.DataFactory.getEmptyMetadata;28 import static android.healthconnect.cts.utils.DataFactory.getMetadataForClientId;29 import static android.healthconnect.cts.utils.DataFactory.getMetadataForId;
22 import static android.healthconnect.cts.utils.DataFactory.NOW;23 import static android.healthconnect.cts.utils.DataFactory.getStepsRecord;24 import static android.healthconnect.cts.utils.DataFactory.getStepsRecordWithEmptyMetaData;
52 import android.healthconnect.cts.utils.DataFactory;156 DataOrigin dataOrigin = DataFactory.getDataOrigin(mContext.getPackageName()); in testBackupThenRestore_trainingPlans_expectDataIsRestoredCorrectly()162 DataFactory.plannedExerciseSession(metadataBuilder.build()); in testBackupThenRestore_trainingPlans_expectDataIsRestoredCorrectly()322 DataOrigin dataOrigin = DataFactory.getDataOrigin(mContext.getPackageName()); in getCompleteActiveCaloriesBurnedRecord()
20 import static android.healthconnect.cts.utils.DataFactory.buildDevice;21 import static android.healthconnect.cts.utils.DataFactory.getCompleteStepsRecord;22 import static android.healthconnect.cts.utils.DataFactory.getUpdatedStepsRecord;