Home
last modified time | relevance | path

Searched refs:getHealthPermissionsFlagsUseCase (Results 1 – 7 of 7) sorted by relevance

/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/additionalaccess/
DLoadExerciseRoutePermissionUseCaseTest.kt55 private val getHealthPermissionsFlagsUseCase: GetHealthPermissionsFlagsUseCase = mock() constant in com.android.healthconnect.controller.tests.permissions.additionalaccess.LoadExerciseRoutePermissionUseCaseTest
66 getHealthPermissionsFlagsUseCase, in setup()
73 whenever(getHealthPermissionsFlagsUseCase.invoke(any(), any())).then { in setup()
112 whenever(getHealthPermissionsFlagsUseCase.invoke(any(), any())).then { flags } in <lambda>()
123 whenever(getHealthPermissionsFlagsUseCase.invoke(any(), any())).then { in <lambda>()
137 whenever(getHealthPermissionsFlagsUseCase.invoke(any(), any())).then { in <lambda>()
DAdditionalAccessViewModelTest.kt81 private val getHealthPermissionsFlagsUseCase: GetHealthPermissionsFlagsUseCase = mock() constant in com.android.healthconnect.controller.tests.permissions.additionalaccess.AdditionalAccessViewModelTest
95 getHealthPermissionsFlagsUseCase, in setup()
124 whenever(getHealthPermissionsFlagsUseCase.invoke(any(), any())).then { in setup()
428 whenever(getHealthPermissionsFlagsUseCase.invoke(any(), any())).then { in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/additionalaccess/
DLoadExerciseRoutePermissionUseCase.kt38 private val getHealthPermissionsFlagsUseCase: GetHealthPermissionsFlagsUseCase, constant in com.android.healthconnect.controller.permissions.additionalaccess.LoadExerciseRoutePermissionUseCase
47 getHealthPermissionsFlagsUseCase(input, listOf(READ_EXERCISE_ROUTES, READ_EXERCISE)) in execute()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/route/
DExerciseRouteViewModel.kt49 private val getHealthPermissionsFlagsUseCase: GetHealthPermissionsFlagsUseCase, constant in com.android.healthconnect.controller.route.ExerciseRouteViewModel
99 val flags = getHealthPermissionsFlagsUseCase(packageName, listOf(READ_EXERCISE_ROUTES)) in isReadRoutesPermissionUserFixed()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/service/
DUseCaseModule.kt128 getHealthPermissionsFlagsUseCase: GetHealthPermissionsFlagsUseCase, in providesExerciseRoutePermissionUseCase()
134 getHealthPermissionsFlagsUseCase, in providesExerciseRoutePermissionUseCase()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/request/
DRequestPermissionViewModel.kt56 private val getHealthPermissionsFlagsUseCase: GetHealthPermissionsFlagsUseCase, in <lambda>() constant in com.android.healthconnect.controller.permissions.request.RequestPermissionViewModel
219 return getHealthPermissionsFlagsUseCase.invoke(packageName, permissions.toList()).any { in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/request/
DRequestPermissionViewModelTest.kt95 @Inject lateinit var getHealthPermissionsFlagsUseCase: GetHealthPermissionsFlagsUseCase variable in com.android.healthconnect.controller.tests.permissions.request.RequestPermissionViewModelTest
114 getHealthPermissionsFlagsUseCase, in setup()