/packages/modules/HealthFitness/tests/integrationtests/src/android/healthconnect/tests/permissions/ |
D | HealthConnectWithManagePermissionsTest.java | 120 getHealthPermissionsFlags(DEFAULT_APP_PACKAGE, List.of(DEFAULT_PERM)); in testGrantHealthPermission_appHasPermissionDeclared_flagUserSetEnabled() 134 getHealthPermissionsFlags(DEFAULT_APP_PACKAGE, List.of(DEFAULT_PERM)); in testGrantHealthPermission_revokeTwiceThenGrant_flagUserSetEnabled() 141 permissionsFlags = getHealthPermissionsFlags(DEFAULT_APP_PACKAGE, List.of(DEFAULT_PERM)); in testGrantHealthPermission_revokeTwiceThenGrant_flagUserSetEnabled() 228 getHealthPermissionsFlags(DEFAULT_APP_PACKAGE, List.of(DEFAULT_PERM)); in testRevokeHealthPermission_firstRevoke_flagUserSetEnabled() 241 getHealthPermissionsFlags(DEFAULT_APP_PACKAGE, List.of(DEFAULT_PERM)); in testRevokeHealthPermission_grantThenRevoke_flagUserSetEnabled() 254 getHealthPermissionsFlags(DEFAULT_APP_PACKAGE, List.of(DEFAULT_PERM)); in testRevokeHealthPermission_secondRevoke_flagUserFixedEnabled() 346 getHealthPermissionsFlags( in testGetHealthPermissionsFlags_returnsFlags() 359 getHealthPermissionsFlags( in testGetHealthPermissionsFlags_invalidPermission_throwsException() 369 getHealthPermissionsFlags( in testGetHealthPermissionsFlags_nonHealthPermission_throwsException() 379 getHealthPermissionsFlags( in testGetHealthPermissionsFlags_undeclaredPermissions_throwsException() [all …]
|
D | HealthConnectWithoutManagePermissionsTest.java | 109 mHealthConnectManager.getHealthPermissionsFlags( in testGetHealthPermissionsFlags_noManageHealthPermissions_throwsSecurityException()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/api/ |
D | HealthPermissionManagerImpl.kt | 29 override fun getHealthPermissionsFlags( in getHealthPermissionsFlags() method in com.android.healthconnect.controller.permissions.api.HealthPermissionManagerImpl 33 return manager.getHealthPermissionsFlags(packageName, permissions) in getHealthPermissionsFlags()
|
D | GetHealthPermissionsFlagsUseCase.kt | 35 healthPermissionManager.getHealthPermissionsFlags(packageName, permissions) in invoke()
|
D | HealthPermissionManager.kt | 25 fun getHealthPermissionsFlags(packageName: String, permissions: List<String>): Map<String, Int> method
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/api/ |
D | GetHealthPermissionsFlagsUseCaseTest.kt | 48 .getHealthPermissionsFlags( in invoke_callsHealthPermissionManager() 54 whenever(healthPermissionManager.getHealthPermissionsFlags(any(), any())) in invoke_whenHealthPermissionManagerFails_returnsEmptyMap()
|
D | HealthPermissionManagerImplTest.kt | 56 healthPermissionManager.getHealthPermissionsFlags(packageName, permissions) in getHealthPermissionsFlags_callsHealthConnectManager() 58 verify(healthConnectManager, times(1)).getHealthPermissionsFlags(packageName, permissions) in getHealthPermissionsFlags_callsHealthConnectManager()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/utils/di/ |
D | FakeHealthPermissionManager.kt | 40 override fun getHealthPermissionsFlags( in getHealthPermissionsFlags() method in com.android.healthconnect.controller.tests.utils.di.FakeHealthPermissionManager
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/connectedapps/ |
D | MockedConnectedAppFragmentTest.kt | 177 healthPermissionManager.getHealthPermissionsFlags( in exerciseRoutesAskEveryTime_revokeExercise_lastReadPermission_doesNotShowDialog()
|
/packages/modules/HealthFitness/framework/java/android/health/connect/aidl/ |
D | IHealthConnectService.aidl | 60 …Map getHealthPermissionsFlags(String packageName, in UserHandle user, in List<String> permissions); in getHealthPermissionsFlags() method
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/permission/ |
D | HealthConnectPermissionHelper.java | 200 public Map<String, Integer> getHealthPermissionsFlags( in getHealthPermissionsFlags() method in HealthConnectPermissionHelper
|
/packages/modules/HealthFitness/framework/java/android/health/connect/ |
D | HealthConnectManager.java | 478 public Map<String, Integer> getHealthPermissionsFlags( in getHealthPermissionsFlags() method in HealthConnectManager 481 return mService.getHealthPermissionsFlags(packageName, mContext.getUser(), permissions); in getHealthPermissionsFlags()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/ |
D | HealthConnectServiceImpl.java | 307 public Map<String, Integer> getHealthPermissionsFlags( in getHealthPermissionsFlags() method in HealthConnectServiceImpl 313 mPermissionHelper.getHealthPermissionsFlags(packageName, user, permissions); in getHealthPermissionsFlags()
|