Home
last modified time | relevance | path

Searched defs:grantedPermissions (Results 1 – 21 of 21) sorted by relevance

/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/app/
DAppPermissionViewModel.kt79 val grantedPermissions: LiveData<Set<FitnessPermission>> in <lambda>() constant in com.android.healthconnect.controller.permissions.app.AppPermissionViewModel
94 addSource(_grantedPermissions) { grantedPermissions -> in <lambda>() method
178 val grantedPermissions = in <lambda>() constant
225 val grantedPermissions = _grantedPermissions.value.orEmpty().toMutableSet() in <lambda>() constant
232 val grantedPermissions = _grantedPermissions.value.orEmpty().toMutableSet() in <lambda>() constant
280 val grantedPermissions = _grantedPermissions.value.orEmpty().toMutableSet() in <lambda>() constant
355 val grantedPermissions = grantedPermissionsLiveData.value.orEmpty() in <lambda>() constant
DLoadAppPermissionsStatusUseCase.kt40 val grantedPermissions = loadGrantedHealthPermissionsUseCase(packageName) in <lambda>() constant
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/route/
DExerciseRouteViewModel.kt87 val grantedPermissions = getGrantedHealthPermissionsUseCase(packageName) in isRouteReadOrWritePermissionGranted() constant
93 val grantedPermissions = getGrantedHealthPermissionsUseCase(packageName) in isReadRoutesPermissionGranted() constant
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/utils/di/
DFakeHealthPermissionManager.kt25 private val grantedPermissions = mutableMapOf<String, MutableList<String>>() constant in com.android.healthconnect.controller.tests.utils.di.FakeHealthPermissionManager
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/livedatatypes/
DLightPackageInfo.kt89 val grantedPermissions: List<String> in <lambda>() constant in com.android.permissioncontroller.permission.model.livedatatypes.LightPackageInfo
91 val grantedPermissions = mutableListOf<String>() in <lambda>() constant in com.android.permissioncontroller.permission.model.livedatatypes.LightPackageInfo
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/additionalaccess/
DLoadExerciseRoutePermissionUseCase.kt44 val grantedPermissions = getGrantedHealthPermissionsUseCase(input) in execute() constant
DAdditionalAccessViewModel.kt113 val grantedPermissions = getGrantedHealthPermissionsUseCase.invoke(packageName) in <lambda>() constant
/packages/modules/Permission/tests/cts/permissionpolicy/src/android/permissionpolicy/cts/
DRestrictedPermissionsTest.java273 final Set<String> grantedPermissions = new ArraySet<>(1); in testSomeRestrictedPermissionsGrantedAtInstall() local
291 final Set<String> grantedPermissions = new ArraySet<>(); in testCanGrantSoftRestrictedNotWhitelistedPermissions() local
643 @Nullable Set<String> grantedPermissions) throws Exception { in installRestrictedPermissionUserApp()
666 @Nullable Set<String> grantedPermissions) throws Exception { in installApp()
/packages/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/
DRevokedHealthPermissionRule.java39 var grantedPermissions = getGrantedHealthPermissions(mPackageName); in before() local
DPermissionHelper.java250 var grantedPermissions = in runWithRevokedPermissions() local
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/connectedapps/
DLoadHealthPermissionApps.kt56 val grantedPermissions = loadGrantedHealthPermissionsUseCase(packageName) in <lambda>() constant
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/permission/
DMedicalDataPermissionEnforcer.java88 Set<String> grantedPermissions = new ArraySet<>(); in getGrantedMedicalPermissionsForPreflight() local
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/request/
DRequestPermissionViewModel.kt315 val grantedPermissions = grantedPermissionsLiveData.value.orEmpty() in <lambda>() constant
334 val grantedPermissions = getGrantedHealthPermissionsUseCase.invoke(packageName) in <lambda>() constant
DAdditionalPermissionsFragment.kt104 grantedPermissions -> in <lambda>() method
DMedicalPermissionsFragment.kt148 viewModel.grantedMedicalPermissions.observe(viewLifecycleOwner) { grantedPermissions -> in <lambda>() method
DFitnessPermissionsFragment.kt144 viewModel.grantedFitnessPermissions.observe(viewLifecycleOwner) { grantedPermissions -> in <lambda>() method
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/
DHealthDataCategoryPriorityHelper.java159 final List<String> grantedPermissions = in maybeRemoveAppFromPriorityList() local
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsActor.java550 ContentResolver resolver, Set<String> grantedPermissions, in RestrictionMockContext()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/migration/
DDataMigrationTest.java598 final List<String> grantedPermissions = getGrantedAppPermissions(); in migratePermissions_hasValidPermissions_validPermissionsGranted() local
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/
DHealthConnectServiceImpl.java301 List<String> grantedPermissions = in getGrantedHealthPermissions() local
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/
DUtils.java1103 List<String> grantedPermissions = packageInfo.getGrantedPermissions(); in shouldShowHealthPermission() local