/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/additionalaccess/ |
D | AdditionalAccessViewModelTest.kt | 78 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 …]
|
D | LoadExerciseRoutePermissionUseCaseTest.kt | 56 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/ |
D | AppPermissionViewModelTest.kt | 77 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/ |
D | ExerciseRouteViewModel.kt | 48 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/ |
D | LoadExerciseRoutePermissionUseCase.kt | 39 private val getGrantedHealthPermissionsUseCase: IGetGrantedHealthPermissionsUseCase, constant in com.android.healthconnect.controller.permissions.additionalaccess.LoadExerciseRoutePermissionUseCase 44 val grantedPermissions = getGrantedHealthPermissionsUseCase(input) in execute()
|
D | AdditionalAccessViewModel.kt | 61 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/ |
D | LoadPotentialPriorityListUseCaseTest.kt | 63 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/ |
D | UseCaseModule.kt | 129 getGrantedHealthPermissionsUseCase: IGetGrantedHealthPermissionsUseCase, in providesExerciseRoutePermissionUseCase() 135 getGrantedHealthPermissionsUseCase, in providesExerciseRoutePermissionUseCase()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/request/ |
D | RequestPermissionViewModel.kt | 55 private val getGrantedHealthPermissionsUseCase: GetGrantedHealthPermissionsUseCase, in <lambda>() constant in com.android.healthconnect.controller.permissions.request.RequestPermissionViewModel 334 val grantedPermissions = getGrantedHealthPermissionsUseCase.invoke(packageName) in <lambda>()
|