Searched refs:getDeclaredHealthPermissions (Results 1 – 7 of 7) sorted by relevance
48 whenever(healthPermissionReader.getDeclaredHealthPermissions(TEST_APP_PACKAGE_NAME)).then { in setup()57 verify(healthPermissionReader).getDeclaredHealthPermissions(safeEq(TEST_APP_PACKAGE_NAME)) in execute_callsGetHealthPermissions()
140 val permissions = getDeclaredHealthPermissions(packageName) in <lambda>()148 fun getDeclaredHealthPermissions(packageName: String): List<String> { in <lambda>() method in com.android.healthconnect.controller.shared.HealthPermissionReader161 return getDeclaredHealthPermissions(packageName).filter { perm -> in <lambda>()
30 return healthPermissionReader.getDeclaredHealthPermissions(packageName) in invoke()
92 assertThat(permissionReader.getDeclaredHealthPermissions(TEST_APP_PACKAGE_NAME)) in getDeclaredHealthPermissions_returnsAllPermissions()109 assertThat(permissionReader.getDeclaredHealthPermissions(TEST_APP_PACKAGE_NAME)) in getDeclaredHealthPermissions_medicalFlagOn_returnsAllPermissions()
35 import android.healthconnect.cts.utils.PermissionHelper.getDeclaredHealthPermissions341 assertThat(getDeclaredHealthPermissions(context.packageName)) in requestRoute_readRoutesPermissionNotDeclared_doesNotShowDialog_returnsNull()358 assertThat(getDeclaredHealthPermissions(context.packageName)) in requestRoute_ownSession_readRoutesPermissionNotDeclared_doesNotShowDialog_returnsNull()
62 public static List<String> getDeclaredHealthPermissions(String pkgName) { in getDeclaredHealthPermissions() method in PermissionHelper
341 val declaredPermissions = healthPermissionReader.getDeclaredHealthPermissions(packageName) in <lambda>()