Home
last modified time | relevance | path

Searched refs:HealthPermissionCategory (Results 1 – 14 of 14) sorted by relevance

/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/data/
DHealthPermissionType.kt18 import android.health.connect.HealthPermissionCategory
23 ACTIVE_CALORIES_BURNED(HealthPermissionCategory.ACTIVE_CALORIES_BURNED),
24 DISTANCE(HealthPermissionCategory.DISTANCE),
25 ELEVATION_GAINED(HealthPermissionCategory.ELEVATION_GAINED),
26 EXERCISE(HealthPermissionCategory.EXERCISE),
27 PLANNED_EXERCISE(HealthPermissionCategory.PLANNED_EXERCISE),
28 FLOORS_CLIMBED(HealthPermissionCategory.FLOORS_CLIMBED),
29 STEPS(HealthPermissionCategory.STEPS),
30 TOTAL_CALORIES_BURNED(HealthPermissionCategory.TOTAL_CALORIES_BURNED),
31 VO2_MAX(HealthPermissionCategory.VO2_MAX),
[all …]
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/utils/
DRecordTypePermissionCategoryMapper.java62 import android.health.connect.HealthPermissionCategory;
80 put(RECORD_TYPE_STEPS, HealthPermissionCategory.STEPS); in populateDataTypeHealthPermissionCategoryMap()
81 put(RECORD_TYPE_HEART_RATE, HealthPermissionCategory.HEART_RATE); in populateDataTypeHealthPermissionCategoryMap()
84 HealthPermissionCategory.BASAL_METABOLIC_RATE); in populateDataTypeHealthPermissionCategoryMap()
87 HealthPermissionCategory.EXERCISE); in populateDataTypeHealthPermissionCategoryMap()
88 put(RECORD_TYPE_POWER, HealthPermissionCategory.POWER); in populateDataTypeHealthPermissionCategoryMap()
89 put(RECORD_TYPE_SPEED, HealthPermissionCategory.SPEED); in populateDataTypeHealthPermissionCategoryMap()
90 put(RECORD_TYPE_STEPS_CADENCE, HealthPermissionCategory.STEPS); in populateDataTypeHealthPermissionCategoryMap()
91 put(RECORD_TYPE_DISTANCE, HealthPermissionCategory.DISTANCE); in populateDataTypeHealthPermissionCategoryMap()
94 HealthPermissionCategory.WHEELCHAIR_PUSHES); in populateDataTypeHealthPermissionCategoryMap()
[all …]
/packages/modules/HealthFitness/framework/java/android/health/connect/
DHealthPermissions.java20 import static android.health.connect.HealthPermissionCategory.ACTIVE_CALORIES_BURNED;
21 import static android.health.connect.HealthPermissionCategory.BASAL_BODY_TEMPERATURE;
22 import static android.health.connect.HealthPermissionCategory.BASAL_METABOLIC_RATE;
23 import static android.health.connect.HealthPermissionCategory.BLOOD_GLUCOSE;
24 import static android.health.connect.HealthPermissionCategory.BLOOD_PRESSURE;
25 import static android.health.connect.HealthPermissionCategory.BODY_FAT;
26 import static android.health.connect.HealthPermissionCategory.BODY_TEMPERATURE;
27 import static android.health.connect.HealthPermissionCategory.BODY_WATER_MASS;
28 import static android.health.connect.HealthPermissionCategory.BONE_MASS;
29 import static android.health.connect.HealthPermissionCategory.CERVICAL_MUCUS;
[all …]
DRecordTypeInfoResponse.java39 @HealthPermissionCategory.Type private final int mPermissionCategory;
45 @NonNull @HealthPermissionCategory.Type int permissionCategory, in RecordTypeInfoResponse()
54 @HealthPermissionCategory.Type
DHealthPermissionCategory.java45 public class HealthPermissionCategory { class
175 private HealthPermissionCategory() {} in HealthPermissionCategory() method in HealthPermissionCategory
/packages/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/
DTestUtils.java27 import static android.health.connect.HealthPermissionCategory.BASAL_METABOLIC_RATE;
28 import static android.health.connect.HealthPermissionCategory.EXERCISE;
29 import static android.health.connect.HealthPermissionCategory.HEART_RATE;
30 import static android.health.connect.HealthPermissionCategory.PLANNED_EXERCISE;
31 import static android.health.connect.HealthPermissionCategory.STEPS;
75 import android.health.connect.HealthPermissionCategory;
635 ACTIVITY, HealthPermissionCategory.ELEVATION_GAINED, new ArrayList<>())); in populateAndResetExpectedResponseMap()
640 HealthPermissionCategory.OVULATION_TEST, in populateAndResetExpectedResponseMap()
645 ACTIVITY, HealthPermissionCategory.DISTANCE, new ArrayList<>())); in populateAndResetExpectedResponseMap()
649 ACTIVITY, HealthPermissionCategory.SPEED, new ArrayList<>())); in populateAndResetExpectedResponseMap()
[all …]
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/alldata/
DAllDataFragmentTest.kt21 import android.health.connect.HealthPermissionCategory in <lambda>()
108 HealthPermissionCategory.DISTANCE, in <lambda>()
113 HealthPermissionCategory.STEPS, in <lambda>()
118 HealthPermissionCategory.EXERCISE, in <lambda>()
123 HealthPermissionCategory.HEART_RATE, in <lambda>()
148 HealthPermissionCategory.DISTANCE, in <lambda>()
153 HealthPermissionCategory.MENSTRUATION, in <lambda>()
209 HealthPermissionCategory.DISTANCE, in <lambda>()
214 HealthPermissionCategory.HEART_RATE, in <lambda>()
242 HealthPermissionCategory.DISTANCE, in <lambda>()
[all …]
DAllDataViewModelTest.kt21 import android.health.connect.HealthPermissionCategory in <lambda>()
117 HealthPermissionCategory.STEPS, in <lambda>()
124 HealthPermissionCategory.WEIGHT, in <lambda>()
129 HealthPermissionCategory.HEART_RATE, in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissiontypes/api/
DFilterPermissionTypesUseCaseTest.kt6 import android.health.connect.HealthPermissionCategory in <lambda>()
60 HealthPermissionCategory.STEPS, in <lambda>()
65 HealthPermissionCategory.EXERCISE, in <lambda>()
94 HealthPermissionCategory.STEPS, in <lambda>()
99 HealthPermissionCategory.STEPS, in <lambda>()
104 HealthPermissionCategory.EXERCISE, in <lambda>()
109 HealthPermissionCategory.EXERCISE, in <lambda>()
DLoadPermissionTypesUseCaseTest.kt6 import android.health.connect.HealthPermissionCategory in <lambda>()
60 HealthPermissionCategory.STEPS, in <lambda>()
65 HealthPermissionCategory.EXERCISE, in <lambda>()
DLoadContributingAppsUseCaseTest.kt6 import android.health.connect.HealthPermissionCategory in <lambda>()
62 HealthPermissionCategory.STEPS, in <lambda>()
67 HealthPermissionCategory.EXERCISE, in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/access/
DLoadPermissionTypeContributorAppsUseCaseTest.kt6 import android.health.connect.HealthPermissionCategory in <lambda>()
76 HealthPermissionCategory.STEPS, in <lambda>()
83 HealthPermissionCategory.WEIGHT, in <lambda>()
88 HealthPermissionCategory.HEART_RATE, in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/appdata/
DAppDataViewModelTest.kt21 import android.health.connect.HealthPermissionCategory in <lambda>()
121 HealthPermissionCategory.STEPS, in <lambda>()
128 HealthPermissionCategory.WEIGHT, in <lambda>()
133 HealthPermissionCategory.HEART_RATE, in <lambda>()
/packages/modules/HealthFitness/framework/api/
Dsystem-current.txt92 public class HealthPermissionCategory {