Searched refs:revokeHealthPermissionUseCase (Results 1 – 4 of 4) sorted by relevance
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/additionalaccess/ |
D | AdditionalAccessViewModel.kt | 57 private val revokeHealthPermissionUseCase: RevokeHealthPermissionUseCase, in <lambda>() constant in com.android.healthconnect.controller.permissions.additionalaccess.AdditionalAccessViewModel 169 revokeHealthPermissionUseCase(packageName, READ_EXERCISE_ROUTES) in <lambda>() 177 revokeHealthPermissionUseCase(packageName, READ_EXERCISE_ROUTES) in <lambda>() 205 revokeHealthPermissionUseCase.invoke(packageName, permission) in <lambda>()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/additionalaccess/ |
D | AdditionalAccessViewModelTest.kt | 73 private val revokeHealthPermissionUseCase: RevokeHealthPermissionUseCase = mock() constant in com.android.healthconnect.controller.tests.permissions.additionalaccess.AdditionalAccessViewModelTest 104 revokeHealthPermissionUseCase, in setup() 417 verify(revokeHealthPermissionUseCase).invoke(TEST_APP_PACKAGE_NAME, READ_EXERCISE_ROUTES) in <lambda>() 496 verify(revokeHealthPermissionUseCase).invoke(TEST_APP_PACKAGE_NAME, READ_EXERCISE_ROUTES) in <lambda>() 530 verify(revokeHealthPermissionUseCase).invoke(TEST_APP_PACKAGE_NAME, WRITE_DISTANCE) in updatePermission_revokes()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/request/ |
D | RequestPermissionViewModel.kt | 54 private val revokeHealthPermissionUseCase: RevokeHealthPermissionUseCase, in <lambda>() constant in com.android.healthconnect.controller.permissions.request.RequestPermissionViewModel 459 revokeHealthPermissionUseCase.invoke(packageName, permission.toString()) in <lambda>()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/request/ |
D | RequestPermissionViewModelTest.kt | 93 @Inject lateinit var revokeHealthPermissionUseCase: RevokeHealthPermissionUseCase variable in com.android.healthconnect.controller.tests.permissions.request.RequestPermissionViewModelTest 112 revokeHealthPermissionUseCase, in setup()
|