Home
last modified time | relevance | path

Searched refs:allPermissions (Results 1 – 17 of 17) sorted by relevance

/packages/modules/HealthFitness/testapps/toolbox/tests/src/com/android/healthconnect/testapps/toolbox/
DPermissionIntegrationTest.kt20 val allPermissions = in toolboxAppShouldRequestAllMedicalPermissions() constant
24 Truth.assertThat(allPermissions.sorted()) in toolboxAppShouldRequestAllMedicalPermissions()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/request/
DMedicalPermissionsFragment.kt127 viewModel.healthPermissionsList.observe(viewLifecycleOwner) { allPermissions -> in <lambda>() method
129 allPermissions.filterIsInstance<HealthPermission.MedicalPermission>() in <lambda>()
131 allPermissions.filterIsInstance<HealthPermission.FitnessPermission>() in <lambda>()
133 allPermissions.filterIsInstance<HealthPermission.AdditionalPermission>() in <lambda>()
DPermissionsActivity.kt125 requestPermissionsViewModel.healthPermissionsList.observe(this) { allPermissions -> in <lambda>() method
127 allPermissions.filterIsInstance<HealthPermission.MedicalPermission>() in <lambda>()
129 allPermissions.filterIsInstance<HealthPermission.FitnessPermission>() in <lambda>()
131 allPermissions.filterIsInstance<HealthPermission.AdditionalPermission>() in <lambda>()
DFitnessPermissionsFragment.kt126 viewModel.healthPermissionsList.observe(viewLifecycleOwner) { allPermissions -> in <lambda>() method
128 allPermissions.filterIsInstance<HealthPermission.FitnessPermission>() in <lambda>()
130 allPermissions.filterIsInstance<HealthPermission.AdditionalPermission>() in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/data/
DFitnessPermissionStringsTest.kt49 val allPermissions = in <lambda>() constant
54 for (permission in allPermissions) { in <lambda>()
DHealthPermissionTest.kt63 val allPermissions = in <lambda>() constant
68 for (permissionString in allPermissions) { in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/grantPermissions/
DLocationGrantBehavior.kt114 val coarseLocationPerm = group.allPermissions[ACCESS_COARSE_LOCATION] in isFineLocationHighlighted()
115 val fineLocationPerm = group.allPermissions[ACCESS_FINE_LOCATION] in isFineLocationHighlighted()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/shared/
DHealthDataCategoryExtensionsTest.kt59 val allPermissions = in <lambda>() constant
64 for (permissionString in allPermissions) { in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/livedatatypes/
DLightAppPermGroup.kt41 val allPermissions: Map<String, LightPermission>, in <lambda>() constant in com.android.permissioncontroller.permission.model.livedatatypes.LightAppPermGroup
53 allPermissions.filter { (_, permission) -> !permission.isRestricted } in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/
DAppPermissionGroup.java308 ArrayMap<String, Permission> allPermissions = new ArrayMap<>(); in create() local
373 allPermissions.put(requestedPermission, permission); in create()
376 int numPermissions = allPermissions.size(); in create()
382 for (int i = 0; i < allPermissions.size(); i++) { in create()
383 Permission permission = allPermissions.valueAt(i); in create()
386 Permission backgroundPermission = allPermissions.get( in create()
408 Permission permission = allPermissions.valueAt(i); in create()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/
DRuntimePermissionsUpgradeController.kt488 val perm = bgApp.allPermissions[permission.ACCESS_BACKGROUND_LOCATION] ?: continue in <lambda>()
490 val allPermissionsWithxemption = bgApp.allPermissions.toMutableMap() in <lambda>()
652 bgSensorsGroup.allPermissions[permission.BODY_SENSORS_BACKGROUND] in <lambda>()
668 val allPermissionsWithExemption = bgSensorsGroup.allPermissions.toMutableMap() in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/
DManagePermissionsActivity.java382 final boolean allPermissions = getIntent().getBooleanExtra( in onCreate()
387 if (allPermissions) { in onCreate()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/
DReviewPermissionsViewModel.kt133 val lightPerms = permGroup.allPermissions.values.toList() in <lambda>()
DGrantPermissionsViewModel.kt708 appPermGroupLiveDatas[storageGroupName]?.value?.allPermissions?.keys?.toList() in <lambda>()
/packages/modules/Connectivity/thread/tests/cts/src/android/net/thread/cts/
DThreadNetworkControllerTest.java838 String[] allPermissions = new String[mGrantedPermissions.size()];
839 mGrantedPermissions.toArray(allPermissions);
840 getInstrumentation().getUiAutomation().adoptShellPermissionIdentity(allPermissions);
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/permission/ui/model/
DReviewPermissionsViewModelTest.kt106 whenever(permGroup.allPermissions).thenReturn(permissionsMap) in getSummary_individuallyControllerGroup()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/
DKotlinUtils.kt877 for (groupPerm in group.allPermissions.values) { in <lambda>()