Home
last modified time | relevance | path

Searched refs:PermissionsAccessType (Results 1 – 21 of 21) sorted by relevance

/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/connectedapps/settings/
DSettingsManageAppPermissionsFragmentTest.kt52 import com.android.healthconnect.controller.permissions.data.PermissionsAccessType in <lambda>()
161 FitnessPermission(HealthPermissionType.EXERCISE, PermissionsAccessType.WRITE) in <lambda>()
163 FitnessPermission(HealthPermissionType.DISTANCE, PermissionsAccessType.READ) in <lambda>()
188 FitnessPermission(HealthPermissionType.DISTANCE, PermissionsAccessType.READ) in <lambda>()
207 FitnessPermission(HealthPermissionType.EXERCISE, PermissionsAccessType.WRITE) in <lambda>()
226 FitnessPermission(HealthPermissionType.STEPS, PermissionsAccessType.READ) in <lambda>()
228 FitnessPermission(HealthPermissionType.SLEEP, PermissionsAccessType.WRITE) in <lambda>()
264 FitnessPermission(HealthPermissionType.STEPS, PermissionsAccessType.READ) in <lambda>()
266 FitnessPermission(HealthPermissionType.SLEEP, PermissionsAccessType.WRITE) in <lambda>()
297 FitnessPermission(HealthPermissionType.EXERCISE, PermissionsAccessType.WRITE) in <lambda>()
[all …]
DSettingsActivityTest.kt36 import com.android.healthconnect.controller.permissions.data.PermissionsAccessType in <lambda>()
105 FitnessPermission(HealthPermissionType.EXERCISE, PermissionsAccessType.WRITE) in <lambda>()
107 FitnessPermission(HealthPermissionType.DISTANCE, PermissionsAccessType.READ) in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/connectedapps/
DLoadAppPermissionsStatusUseCaseTest.kt22 import com.android.healthconnect.controller.permissions.data.PermissionsAccessType
56 FitnessPermission(HealthPermissionType.EXERCISE, PermissionsAccessType.READ) in <lambda>()
58 FitnessPermission(HealthPermissionType.EXERCISE, PermissionsAccessType.WRITE) in <lambda>()
76 FitnessPermission(HealthPermissionType.EXERCISE, PermissionsAccessType.READ) in <lambda>()
78 FitnessPermission(HealthPermissionType.EXERCISE, PermissionsAccessType.WRITE) in <lambda>()
DAppPermissionViewModelTest.kt32 import com.android.healthconnect.controller.permissions.data.PermissionsAccessType
91 FitnessPermission(HealthPermissionType.EXERCISE, PermissionsAccessType.READ)
93 FitnessPermission(HealthPermissionType.NUTRITION, PermissionsAccessType.READ)
101 FitnessPermission(HealthPermissionType.SLEEP, PermissionsAccessType.WRITE)
103 FitnessPermission(HealthPermissionType.DISTANCE, PermissionsAccessType.WRITE)
214 FitnessPermission(HealthPermissionType.EXERCISE, PermissionsAccessType.READ) in <lambda>()
231 FitnessPermission(HealthPermissionType.EXERCISE, PermissionsAccessType.READ) in <lambda>()
DConnectedAppFragmentTest.kt49 import com.android.healthconnect.controller.permissions.data.PermissionsAccessType.READ in <lambda>()
50 import com.android.healthconnect.controller.permissions.data.PermissionsAccessType.WRITE in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/data/
DHealthPermission.kt50 val permissionsAccessType: PermissionsAccessType
60 FitnessPermission(type, PermissionsAccessType.READ) in fromPermissionString()
65 FitnessPermission(type, PermissionsAccessType.WRITE) in fromPermissionString()
77 return if (permissionsAccessType == PermissionsAccessType.READ) { in toString()
DPermissionsAccessType.kt17 enum class PermissionsAccessType { class
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/datasources/api/
DLoadPotentialPriorityListUseCaseTest.kt33 import com.android.healthconnect.controller.permissions.data.PermissionsAccessType in <lambda>()
128 FitnessPermission(HealthPermissionType.DISTANCE, PermissionsAccessType.WRITE) in <lambda>()
134 FitnessPermission(HealthPermissionType.SLEEP, PermissionsAccessType.WRITE) in <lambda>()
140 FitnessPermission(HealthPermissionType.HEART_RATE, PermissionsAccessType.READ) in <lambda>()
159 FitnessPermission(HealthPermissionType.SLEEP, PermissionsAccessType.READ) in <lambda>()
165 FitnessPermission(HealthPermissionType.SLEEP, PermissionsAccessType.WRITE) in <lambda>()
171 FitnessPermission(HealthPermissionType.HEART_RATE, PermissionsAccessType.READ) in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/data/
DHealthPermissionTest.kt26 import com.android.healthconnect.controller.permissions.data.PermissionsAccessType in <lambda>()
52 .isEqualTo(FitnessPermission(ACTIVE_CALORIES_BURNED, PermissionsAccessType.READ)) in <lambda>()
58 .isEqualTo(FitnessPermission(BLOOD_GLUCOSE, PermissionsAccessType.WRITE)) in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/access/
DLoadAccessUseCase.kt21 import com.android.healthconnect.controller.permissions.data.PermissionsAccessType in <lambda>()
63 FitnessPermission(permissionType, PermissionsAccessType.READ).toString())) { in <lambda>()
68 FitnessPermission(permissionType, PermissionsAccessType.WRITE) in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/api/
DRevokeHealthPermissionUseCaseTest.kt25 import com.android.healthconnect.controller.permissions.data.PermissionsAccessType
47 FitnessPermission(HealthPermissionType.HEIGHT, PermissionsAccessType.WRITE).toString()) in invoke_withFitnessPermission_callsHealthPermissionManager()
DGrantHealthPermissionUseCaseTest.kt25 import com.android.healthconnect.controller.permissions.data.PermissionsAccessType.WRITE
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/request/
DFitnessPermissionsFragment.kt30 import com.android.healthconnect.controller.permissions.data.PermissionsAccessType in <lambda>()
210 if (PermissionsAccessType.READ == permission.permissionsAccessType) { in <lambda>()
213 } else if (PermissionsAccessType.WRITE == permission.permissionsAccessType) { in <lambda>()
DRequestPermissionViewModel.kt39 import com.android.healthconnect.controller.permissions.data.PermissionsAccessType in <lambda>()
326 healthPermission.permissionsAccessType == PermissionsAccessType.READ) in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/access/
DLoadAccessUseCaseTest.kt8 import com.android.healthconnect.controller.permissions.data.PermissionsAccessType
72 FitnessPermission(HealthPermissionType.STEPS, PermissionsAccessType.WRITE).toString() in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/datasources/api/
DLoadPotentialPriorityListUseCase.kt26 import com.android.healthconnect.controller.permissions.data.PermissionsAccessType in <lambda>()
131 FitnessPermission(healthPermissionType, PermissionsAccessType.WRITE) in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/app/
DAppPermissionViewModel.kt37 import com.android.healthconnect.controller.permissions.data.PermissionsAccessType in <lambda>()
235 permission.permissionsAccessType == PermissionsAccessType.READ in <lambda>()
240 permission.permissionsAccessType == PermissionsAccessType.READ in <lambda>()
DSettingsManageAppPermissionsFragment.kt55 import com.android.healthconnect.controller.permissions.data.PermissionsAccessType in <lambda>()
288 if (permission.permissionsAccessType == PermissionsAccessType.READ) { in <lambda>()
DConnectedAppFragment.kt56 import com.android.healthconnect.controller.permissions.data.PermissionsAccessType in <lambda>()
314 if (permission.permissionsAccessType == PermissionsAccessType.READ) { in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/navigation/
DTrampolineActivityTest.kt62 import com.android.healthconnect.controller.permissions.data.PermissionsAccessType
137 FitnessPermission(HealthPermissionType.EXERCISE, PermissionsAccessType.WRITE) in setup()
139 FitnessPermission(HealthPermissionType.DISTANCE, PermissionsAccessType.READ) in setup()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/additionalaccess/
DAdditionalAccessViewModel.kt39 import com.android.healthconnect.controller.permissions.data.PermissionsAccessType in <lambda>()
148 healthPermission.permissionsAccessType == PermissionsAccessType.READ) in <lambda>()