Searched refs:grantHealthPermissionUseCase (Results 1 – 5 of 5) sorted by relevance
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/additionalaccess/ |
D | AdditionalAccessViewModel.kt | 56 private val grantHealthPermissionUseCase: GrantHealthPermissionUseCase, in <lambda>() constant in com.android.healthconnect.controller.permissions.additionalaccess.AdditionalAccessViewModel 164 grantHealthPermissionUseCase(packageName, READ_EXERCISE_ROUTES) in <lambda>() 193 grantHealthPermissionUseCase(packageName, READ_EXERCISE_ROUTES) in <lambda>() 194 grantHealthPermissionUseCase(packageName, READ_EXERCISE) in <lambda>() 203 grantHealthPermissionUseCase.invoke(packageName, permission) in <lambda>()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/additionalaccess/ |
D | AdditionalAccessViewModelTest.kt | 72 private val grantHealthPermissionUseCase: GrantHealthPermissionUseCase = mock() constant in com.android.healthconnect.controller.tests.permissions.additionalaccess.AdditionalAccessViewModelTest 103 grantHealthPermissionUseCase, in setup() 380 verify(grantHealthPermissionUseCase).invoke(TEST_APP_PACKAGE_NAME, READ_EXERCISE_ROUTES) in <lambda>() 504 verify(grantHealthPermissionUseCase).invoke(TEST_APP_PACKAGE_NAME, READ_EXERCISE_ROUTES) in enableExercisePermission_invokesGrantUseCase_forExerciseAndExerciseRoutes() 505 verify(grantHealthPermissionUseCase).invoke(TEST_APP_PACKAGE_NAME, READ_EXERCISE) in enableExercisePermission_invokesGrantUseCase_forExerciseAndExerciseRoutes() 524 verify(grantHealthPermissionUseCase).invoke(TEST_APP_PACKAGE_NAME, READ_EXERCISE) in updatePermission_grants()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/route/ |
D | ExerciseRouteViewModel.kt | 50 private val grantHealthPermissionUseCase: GrantHealthPermissionUseCase, constant in com.android.healthconnect.controller.route.ExerciseRouteViewModel 124 grantHealthPermissionUseCase.invoke(packageName, READ_EXERCISE_ROUTES) in grantReadRoutesPermission()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/request/ |
D | RequestPermissionViewModel.kt | 53 private val grantHealthPermissionUseCase: GrantHealthPermissionUseCase, in <lambda>() constant in com.android.healthconnect.controller.permissions.request.RequestPermissionViewModel 456 grantHealthPermissionUseCase.invoke(packageName, permission.toString()) in <lambda>()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/request/ |
D | RequestPermissionViewModelTest.kt | 92 @Inject lateinit var grantHealthPermissionUseCase: GrantHealthPermissionUseCase variable in com.android.healthconnect.controller.tests.permissions.request.RequestPermissionViewModelTest 111 grantHealthPermissionUseCase, in setup()
|