Home
last modified time | relevance | path

Searched refs:getValidHealthPermissions (Results 1 – 5 of 5) sorted by relevance

/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/connectedapps/
DAppPermissionViewModelTest.kt149 whenever(healthPermissionReader.getValidHealthPermissions(any())) in <lambda>()
184 whenever(healthPermissionReader.getValidHealthPermissions(any())) in <lambda>()
281 whenever(healthPermissionReader.getValidHealthPermissions(any())) in <lambda>()
346 whenever(healthPermissionReader.getValidHealthPermissions(any())) in <lambda>()
559 whenever(healthPermissionReader.getValidHealthPermissions(any())) in <lambda>()
579 whenever(healthPermissionReader.getValidHealthPermissions(any())) in <lambda>()
601 whenever(healthPermissionReader.getValidHealthPermissions(any())) in shouldNavigateToFragment_whenPackageNotSupported_andNoPermissionsGranted_returnsFalse()
626 whenever(healthPermissionReader.getValidHealthPermissions(any())) in setupDeclaredAndGrantedPermissions()
DLoadAppPermissionsStatusUseCaseTest.kt62 whenever(healthPermissionReader.getValidHealthPermissions(TEST_APP_PACKAGE_NAME)) in <lambda>()
83 whenever(healthPermissionReader.getValidHealthPermissions(TEST_APP_PACKAGE_NAME)) in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/shared/
DHealthPermissionReader.kt88 appsWithDeclaredIntent.filter { getValidHealthPermissions(it).isNotEmpty() } in <lambda>()
104 getValidHealthPermissions(it) in <lambda>()
138 fun getValidHealthPermissions(packageName: String): List<HealthPermission> { in <lambda>() method
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/shared/
DHealthPermissionReaderTest.kt48 assertThat(permissionReader.getValidHealthPermissions(TEST_APP_PACKAGE_NAME)) in <lambda>()
61 assertThat(permissionReader.getValidHealthPermissions(TEST_APP_PACKAGE_NAME)) in getValidHealthPermissions_returnsDataTypeAndAdditionalPermissions()
77 assertThat(permissionReader.getValidHealthPermissions(TEST_APP_PACKAGE_NAME)) in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/app/
DLoadAppPermissionsStatusUseCase.kt39 val permissions = healthPermissionReader.getValidHealthPermissions(packageName) in <lambda>()