Home
last modified time | relevance | path

Searched refs:getGrantedHealthPermissionsUseCase (Results 1 – 9 of 9) sorted by relevance

/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/additionalaccess/
DAdditionalAccessViewModelTest.kt78 private val getGrantedHealthPermissionsUseCase: GetGrantedHealthPermissionsUseCase = mock() constant in com.android.healthconnect.controller.tests.permissions.additionalaccess.AdditionalAccessViewModelTest
96 getGrantedHealthPermissionsUseCase, in setup()
107 getGrantedHealthPermissionsUseCase, in setup()
157 whenever(getGrantedHealthPermissionsUseCase.invoke(TEST_APP_PACKAGE_NAME)) in <lambda>()
196 whenever(getGrantedHealthPermissionsUseCase.invoke(TEST_APP_PACKAGE_NAME)) in <lambda>()
235 whenever(getGrantedHealthPermissionsUseCase.invoke(TEST_APP_PACKAGE_NAME)) in loadAdditionalAccessPreferences_backgroundReadNotEnabled_doesNotReturnBackgroundRead()
274 whenever(getGrantedHealthPermissionsUseCase.invoke(TEST_APP_PACKAGE_NAME)) in loadAdditionalAccessPreferences_noReadPermissionsGranted_additionalPermissionsDisabled()
315 whenever(getGrantedHealthPermissionsUseCase.invoke(TEST_APP_PACKAGE_NAME)) in <lambda>()
349 whenever(getGrantedHealthPermissionsUseCase.invoke(TEST_APP_PACKAGE_NAME)) in <lambda>()
385 whenever(getGrantedHealthPermissionsUseCase.invoke(TEST_APP_PACKAGE_NAME)) in <lambda>()
[all …]
DLoadExerciseRoutePermissionUseCaseTest.kt56 private val getGrantedHealthPermissionsUseCase = FakeGetGrantedHealthPermissionsUseCase() constant in com.android.healthconnect.controller.tests.permissions.additionalaccess.LoadExerciseRoutePermissionUseCaseTest
67 getGrantedHealthPermissionsUseCase, in setup()
69 getGrantedHealthPermissionsUseCase.updateData(TEST_APP_PACKAGE_NAME, emptyList()) in setup()
82 getGrantedHealthPermissionsUseCase.updateData( in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/connectedapps/
DAppPermissionViewModelTest.kt77 private val getGrantedHealthPermissionsUseCase = FakeGetGrantedHealthPermissionsUseCase() constant in com.android.healthconnect.controller.tests.permissions.connectedapps.AppPermissionViewModelTest
115 getGrantedHealthPermissionsUseCase, healthPermissionReader, Dispatchers.Main) in setup()
125 getGrantedHealthPermissionsUseCase, in setup()
156 getGrantedHealthPermissionsUseCase.updateData( in <lambda>()
191 getGrantedHealthPermissionsUseCase.updateData( in <lambda>()
292 getGrantedHealthPermissionsUseCase.updateData( in <lambda>()
357 getGrantedHealthPermissionsUseCase.updateData( in <lambda>()
566 getGrantedHealthPermissionsUseCase.updateData(TEST_APP_PACKAGE_NAME, listOf()) in <lambda>()
586 getGrantedHealthPermissionsUseCase.updateData( in <lambda>()
608 getGrantedHealthPermissionsUseCase.updateData(TEST_APP_PACKAGE_NAME, listOf()) in shouldNavigateToFragment_whenPackageNotSupported_andNoPermissionsGranted_returnsFalse()
[all …]
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/route/
DExerciseRouteViewModel.kt48 private val getGrantedHealthPermissionsUseCase: GetGrantedHealthPermissionsUseCase, constant in com.android.healthconnect.controller.route.ExerciseRouteViewModel
87 val grantedPermissions = getGrantedHealthPermissionsUseCase(packageName) in isRouteReadOrWritePermissionGranted()
93 val grantedPermissions = getGrantedHealthPermissionsUseCase(packageName) in isReadRoutesPermissionGranted()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/additionalaccess/
DLoadExerciseRoutePermissionUseCase.kt39 private val getGrantedHealthPermissionsUseCase: IGetGrantedHealthPermissionsUseCase, constant in com.android.healthconnect.controller.permissions.additionalaccess.LoadExerciseRoutePermissionUseCase
44 val grantedPermissions = getGrantedHealthPermissionsUseCase(input) in execute()
DAdditionalAccessViewModel.kt61 private val getGrantedHealthPermissionsUseCase: GetGrantedHealthPermissionsUseCase, in <lambda>() constant in com.android.healthconnect.controller.permissions.additionalaccess.AdditionalAccessViewModel
113 val grantedPermissions = getGrantedHealthPermissionsUseCase.invoke(packageName) in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/datasources/api/
DLoadPotentialPriorityListUseCaseTest.kt63 private lateinit var getGrantedHealthPermissionsUseCase: GetGrantedHealthPermissionsUseCase in <lambda>() variable in com.android.healthconnect.controller.tests.datasources.api.LoadPotentialPriorityListUseCaseTest
79 getGrantedHealthPermissionsUseCase = in <lambda>()
88 getGrantedHealthPermissionsUseCase, in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/service/
DUseCaseModule.kt129 getGrantedHealthPermissionsUseCase: IGetGrantedHealthPermissionsUseCase, in providesExerciseRoutePermissionUseCase()
135 getGrantedHealthPermissionsUseCase, in providesExerciseRoutePermissionUseCase()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/request/
DRequestPermissionViewModel.kt55 private val getGrantedHealthPermissionsUseCase: GetGrantedHealthPermissionsUseCase, in <lambda>() constant in com.android.healthconnect.controller.permissions.request.RequestPermissionViewModel
334 val grantedPermissions = getGrantedHealthPermissionsUseCase.invoke(packageName) in <lambda>()