Home
last modified time | relevance | path

Searched refs:DataFactory (Results 1 – 25 of 55) sorted by relevance

123

/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/aggregation/
DAggregateOtherAppsDataTest.java23 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…
DTotalCaloriesAggregationTest.java20 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;
DSleepDurationAggregationTest.java20 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;
DAggregateWithFiltersTest.java28 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;
DDataFactory.java19 import static android.healthconnect.cts.utils.DataFactory.getEmptyMetadata;
39 public final class DataFactory { class
DAggregationApisTest.java26 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;
DExerciseDurationAggregationTest.java20 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;
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/nopermission/
DHealthConnectManagerNotAllPermissionsAreGrantedTest.java25 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;
DHealthConnectManagerNoPermissionsGrantedTest.java31 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…
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/
DReadMedicalResourcesRequestTest.java21 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;
DHealthConnectAccessLogsTest.java19 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;
DSessionDatatypeDisabledFeatureTest.java19 import static android.healthconnect.cts.utils.DataFactory.buildExerciseSession;
20 import static android.healthconnect.cts.utils.DataFactory.buildSleepSession;
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/readdata/
DReadByFilterTests.java19 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;
DPaginationTests.java19 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;
DReadByIdTests.java19 import static android.healthconnect.cts.utils.DataFactory.getDistanceRecord;
20 import static android.healthconnect.cts.utils.DataFactory.getTotalCaloriesBurnedRecord;
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DExerciseLapTest.java19 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;
DExerciseSegmentTest.java19 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;
DSleepSessionRecordTest.java19 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;
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/changelogs/
DHealthConnectChangeLogsTests.java19 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;
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/device/src/android/healthconnect/cts/device/
DHealthConnectDeviceTest.java23 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 …]
/packages/modules/HealthFitness/tests/cts/route/src/android/healthconnect/cts/route/
DExerciseRouteWriteTest.java27 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;
DExerciseRouteNoReadWritePermissionTest.java27 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;
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/backgroundread/
DBackgroundReadTest.java22 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;
/packages/modules/HealthFitness/tests/integrationtests/src/android/healthconnect/tests/backuprestore/
DBackupRestoreE2ETest.java52 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()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/ratelimiter/
DRateLimiterTest.java20 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;

123