Home
last modified time | relevance | path

Searched refs:permissionNames (Results 1 – 9 of 9) sorted by relevance

/packages/modules/Permission/tests/cts/permissionpolicy/src/android/permissionpolicy/cts/
DSignaturePermissionAllowlistConfigTest.kt44 val permissionNames = allowlist[packageInfo.packageName] in <lambda>() constant
47 if (permissionNames?.contains(permissionName) != true) { in <lambda>()
73 lateinit var permissionNames: MutableSet<String> in <lambda>() variable
79 permissionNames = allowlist.getOrPut(packageName) { mutableSetOf() } in <lambda>()
83 permissionNames += permissionName in <lambda>()
137 for ((packageName, permissionNames) in packagesAndPermissions) { in <lambda>() method
139 for (permissionName in permissionNames) { in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/
DPermissionControllerServiceModel.kt130 permissionNames: List<String>, in <lambda>()
136 onPackagesLoadedForCountPermissionApps(permissionNames, flags, callback, packageInfos) in <lambda>()
153 permissionNames: List<String>, in <lambda>()
168 for (permName in permissionNames) { in <lambda>()
DPermissionControllerServiceImpl.java490 public void onCountPermissionApps(@NonNull List<String> permissionNames, int flags, in onCountPermissionApps() argument
493 mServiceModel.onCountPermissionAppsLiveData(permissionNames, flags, in onCountPermissionApps()
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/
DPlatformPermissionGroupMappingTest.kt55 val permissionNames = future.get(TIMEOUT_MILLIS, TimeUnit.MILLISECONDS) in platformPermissionGroupHasPermission() constant
56 assertThat(permissionNames).contains(android.Manifest.permission.READ_CALENDAR) in platformPermissionGroupHasPermission()
/packages/apps/Car/Settings/src/com/android/car/settings/privacy/
DPermissionUtils.java118 List<String> permissionNames = PERMISSION_GROUP_TO_PERMISSIONS.get(permissionGroup); in getPackagesWithPermissionGroup() local
119 for (String permissionName: permissionNames) { in getPackagesWithPermissionGroup()
211 List<String> permissionNames = PERMISSION_GROUP_TO_PERMISSIONS.get(permissionGroup); in getPermissionGroupGrantStatus() local
212 for (String permissionName : permissionNames) { in getPermissionGroupGrantStatus()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/appops/data/repository/v31/
DAppOpRepository.kt192 val permissionNames = in getPrivacyDashboardAppOpNames() constant
194 for (permissionName in permissionNames) { in getPrivacyDashboardAppOpNames()
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/permission/service/
DRuntimePermissionsUpgradeControllerTest.kt273 private fun verifyWhitelisted(packageName: String, vararg permissionNames: String) { in <lambda>()
274 for (permissionName in permissionNames) { in <lambda>()
284 private fun verifyNotWhitelisted(packageName: String, vararg permissionNames: String) { in <lambda>()
285 for (permissionName in permissionNames) { in <lambda>()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowPermissionControllerManager.java50 protected void countPermissionApps(List<String> permissionNames, boolean countOnlyGranted, in countPermissionApps() argument
/packages/modules/Permission/PermissionController/role-controller/java/com/android/role/controller/model/
DPermissions.java72 List<String> permissionNames = new ArrayList<>(); in filterBySdkVersionAsUser() local
79 permissionNames.add(permission.getName()); in filterBySdkVersionAsUser()
81 return permissionNames; in filterBySdkVersionAsUser()