Home
last modified time | relevance | path

Searched refs:healthPermissionType (Results 1 – 25 of 28) sorted by relevance

12

/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/datasources/api/
DLoadLastDateWithPriorityDataUseCaseTest.kt116 healthPermissionType = HealthPermissionType.STEPS, in <lambda>()
135 healthPermissionType = HealthPermissionType.STEPS, in <lambda>()
155 healthPermissionType = HealthPermissionType.STEPS, in <lambda>()
173 healthPermissionType = HealthPermissionType.STEPS, in <lambda>()
178 healthPermissionType = HealthPermissionType.STEPS, in <lambda>()
216 healthPermissionType = HealthPermissionType.STEPS, in <lambda>()
222 healthPermissionType = HealthPermissionType.STEPS, in <lambda>()
228 healthPermissionType = HealthPermissionType.STEPS, in <lambda>()
234 healthPermissionType = HealthPermissionType.STEPS, in <lambda>()
263 healthPermissionType = HealthPermissionType.STEPS, in <lambda>()
[all …]
DLoadPriorityEntriesUseCaseTest.kt101 healthPermissionType = HealthPermissionType.SLEEP, in <lambda>()
111 healthPermissionType = HealthPermissionType.SLEEP, in <lambda>()
161 healthPermissionType = HealthPermissionType.SLEEP, in <lambda>()
169 healthPermissionType = HealthPermissionType.SLEEP, in <lambda>()
177 healthPermissionType = HealthPermissionType.SLEEP, in <lambda>()
185 healthPermissionType = HealthPermissionType.SLEEP, in <lambda>()
195 healthPermissionType = HealthPermissionType.SLEEP, in <lambda>()
246 healthPermissionType = HealthPermissionType.SLEEP, in <lambda>()
252 healthPermissionType = HealthPermissionType.SLEEP, in <lambda>()
258 healthPermissionType = HealthPermissionType.SLEEP, in <lambda>()
[all …]
DLoadMostRecentAggregationsUseCaseTest.kt239 healthPermissionType = HealthPermissionType.SLEEP, in loadMostRecentAggregations_forSleep_sessionsSpanOneDay_returnsAggregationInfoForOneDay()
265 healthPermissionType = HealthPermissionType.SLEEP, in loadMostRecentAggregations_forSleep_sessionsSpanTwoDays_returnsAggregationInfoWithStartAndEndTime()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/selectabledeletion/
DDeletionPermissionTypesPreference.kt40 private lateinit var healthPermissionType: HealthPermissionType variable
59 FitnessPermissionStrings.fromPermissionType(healthPermissionType).uppercaseLabel) in onBindViewHolder()
96 fun setHealthPermissionType(healthPermissionType: HealthPermissionType) { in setHealthPermissionType()
97 this.healthPermissionType = healthPermissionType in setHealthPermissionType()
101 return healthPermissionType in getHealthPermissionType()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/datasources/api/
DLoadLastDateWithPriorityDataUseCase.kt54 healthPermissionType: HealthPermissionType in <lambda>()
61 fromHealthPermissionType(healthPermissionType))) { in <lambda>()
68 healthPermissionType, priorityApp.packageName) in <lambda>()
94 healthPermissionType: HealthPermissionType, in <lambda>()
98 val recordTypes = HealthPermissionToDatatypeMapper.getDataTypes(healthPermissionType) in <lambda>()
125 permissionType = healthPermissionType, in <lambda>()
151 suspend fun invoke(healthPermissionType: HealthPermissionType): UseCaseResults<LocalDate?>
DLoadPriorityEntriesUseCase.kt33 healthPermissionType: HealthPermissionType, in <lambda>()
44 healthPermissionType))) { in <lambda>()
77 healthPermissionType: HealthPermissionType,
DLoadMostRecentAggregationsUseCase.kt105 healthPermissionType: HealthPermissionType in <lambda>()
117 permissionType = healthPermissionType, in <lambda>()
126 AggregationCardInfo(healthPermissionType, useCaseResult.data, lastDateInstant) in <lambda>()
DLoadPotentialPriorityListUseCase.kt130 category.healthPermissionTypes().map { healthPermissionType -> in <lambda>() method
131 FitnessPermission(healthPermissionType, PermissionsAccessType.WRITE) in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/deletion/
DDeletionParameters.kt79 val healthPermissionType = in getPermissionTypeLabel() constant
82 .healthPermissionType in getPermissionTypeLabel()
85 .healthPermissionType in getPermissionTypeLabel()
87 return FitnessPermissionStrings.fromPermissionType(healthPermissionType).lowercaseLabel in getPermissionTypeLabel()
DDeletionType.kt48 val healthPermissionType: HealthPermissionType constant in com.android.healthconnect.controller.deletion.DeletionType.DeletionTypeHealthPermissionTypeData
57 parcel.writeString(healthPermissionType.toString()) in writeToParcel()
121 val healthPermissionType: HealthPermissionType, constant in com.android.healthconnect.controller.deletion.DeletionType.DeletionTypeHealthPermissionTypeFromApp
134 parcel.writeString(healthPermissionType.toString()) in writeToParcel()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/
DLoadDataAggregationsUseCase.kt107 healthPermissionType: HealthPermissionType in <lambda>()
121 return formatAggregation(aggregationResult, apps, healthPermissionType) in <lambda>()
127 healthPermissionType: HealthPermissionType in <lambda>()
130 return when (healthPermissionType) { in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/entries/api/
DLoadDataAggregationsUseCase.kt131 healthPermissionType: HealthPermissionType in <lambda>()
146 return formatAggregation(aggregationResult, apps, showDataOrigin, healthPermissionType) in <lambda>()
153 healthPermissionType: HealthPermissionType in <lambda>()
158 when (healthPermissionType) { in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/deletion/api/
DDeleteCategoryUseCase.kt48 .map { healthPermissionType -> in <lambda>() method
49 HealthPermissionToDatatypeMapper.getDataTypes(healthPermissionType) in <lambda>()
DDeletePermissionTypeUseCase.kt44 HealthPermissionToDatatypeMapper.getDataTypes(deletePermissionType.healthPermissionType) in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/utils/di/
DFakeComponents.kt232 healthPermissionType: HealthPermissionType, in invoke()
384 healthPermissionType: HealthPermissionType, in setLastDateWithPriorityDataForHealthPermissionType()
387 lastDateWithPriorityDataMap[healthPermissionType] = localDate in setLastDateWithPriorityDataForHealthPermissionType()
396 healthPermissionType: HealthPermissionType in invoke()
399 return if (lastDateWithPriorityDataMap.containsKey(healthPermissionType)) in invoke()
400 UseCaseResults.Success(lastDateWithPriorityDataMap[healthPermissionType]) in invoke()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/request/
DFitnessPermissionsFragment.kt205 FitnessPermissionStrings.fromPermissionType(it.healthPermissionType) in <lambda>()
230 permission.healthPermissionType) in <lambda>()
234 FitnessPermissionStrings.fromPermissionType(permission.healthPermissionType) in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/data/
DFitnessPermissionStrings.kt30 healthPermissionType: HealthPermissionType in fromPermissionType()
32 return PERMISSION_TYPE_STRINGS[healthPermissionType] in fromPermissionType()
34 "No strings for permission group " + healthPermissionType.name) in fromPermissionType()
DHealthPermission.kt49 val healthPermissionType: HealthPermissionType, constant in com.android.healthconnect.controller.permissions.data.HealthPermission.FitnessPermission
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/datasources/
DAggregationCardInfo.kt22 val healthPermissionType: HealthPermissionType, constant in com.android.healthconnect.controller.datasources.AggregationCardInfo
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/app/
DSettingsManageAppPermissionsFragment.kt284 .getString(fromPermissionType(it.healthPermissionType).uppercaseLabel) in <lambda>()
296 fromHealthPermissionType(permission.healthPermissionType) in <lambda>()
299 fromPermissionType(permission.healthPermissionType).uppercaseLabel) in <lambda>()
DConnectedAppFragment.kt310 .getString(fromPermissionType(it.healthPermissionType).uppercaseLabel) in <lambda>()
323 fromHealthPermissionType(permission.healthPermissionType) in <lambda>()
326 fromPermissionType(permission.healthPermissionType).uppercaseLabel) in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/deletion/
DDeletionParametersTest.kt67 deletionType.healthPermissionType == in deletionTypeHealthPermissionTypeData_toParcel()
69 .healthPermissionType) in deletionTypeHealthPermissionTypeData_toParcel()
DDeletionFragmentTest.kt133 healthPermissionType = HealthPermissionType.BLOOD_GLUCOSE) in deletePermissionTypeData_timeRangeDialog_showsCorrectText()
464 healthPermissionType = HealthPermissionType.BLOOD_GLUCOSE) in deletePermissionTypeData_confirmationDialogForOneDay_showsCorrectText()
500 healthPermissionType = HealthPermissionType.BLOOD_GLUCOSE) in deletePermissionTypeData_confirmationDialogForOneWeek_showsCorrectText()
535 healthPermissionType = HealthPermissionType.BLOOD_GLUCOSE) in deletePermissionTypeData_confirmationDialogForOneMonth_showsCorrectText()
571 healthPermissionType = HealthPermissionType.BLOOD_GLUCOSE) in deletePermissionTypeData_confirmationDialogForAllTime_showsCorrectText()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/data/
DFitnessPermissionStringsTest.kt55 val type = FitnessPermission.fromPermissionString(permission).healthPermissionType in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/utils/
DTestConstants.kt134 fun getRandomRecord(healthPermissionType: HealthPermissionType, date: LocalDate): Record { in getRandomRecord()
135 return when (healthPermissionType) { in getRandomRecord()
146 "HealthPermissionType $healthPermissionType not supported") in getRandomRecord()

12