Home
last modified time | relevance | path

Searched refs:permissionCount (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/
DAppPermissionGroup.java309 final int permissionCount = packageInfo.requestedPermissions == null ? 0 in create() local
312 for (int i = 0; i < permissionCount; i++) { in create()
518 final int permissionCount = mPermissions.size();
519 for (int i = 0; i < permissionCount; i++) {
534 final int permissionCount = mPermissions.size();
535 for (int i = 0; i < permissionCount; i++) {
545 final int permissionCount = mPermissions.size();
546 for (int i = 0; i < permissionCount; i++) {
559 final int permissionCount = mPermissions.size();
560 for (int i = 0; i < permissionCount; i++) {
[all …]
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/legacy/
DLegacySafetyNetLogger.java99 int permissionCount = group.getPermissions().size(); in buildChangedPermissionForGroup() local
100 for (int permissionNum = 0; permissionNum < permissionCount; permissionNum++) { in buildChangedPermissionForGroup()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/
DReviewPermissionsViewModel.kt134 val permissionCount = lightPerms.size in <lambda>() constant
135 for (i in 0 until permissionCount) { in <lambda>()
144 permissionCount -> { in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/v31/
DAppPermissionUsage.java120 final int permissionCount = mGroupUsages.size(); in getLastAccessTime() local
121 for (int i = 0; i < permissionCount; i++) { in getLastAccessTime()
265 final int permissionCount = permissions.size(); in getAllOps() local
266 for (int permissionNum = 0; permissionNum < permissionCount; permissionNum++) { in getAllOps()
/packages/modules/Permission/tests/cts/permissionpolicy/src/android/permissionpolicy/cts/
DRestrictedPermissionsTest.java594 final int permissionCount = packageInfo.requestedPermissions.length; in assertAllRestrictedPermissionGranted() local
595 for (int i = 0; i < permissionCount; i++) { in assertAllRestrictedPermissionGranted()
617 final int permissionCount = packageInfo.requestedPermissions.length; in assertRestrictedPermissionGranted() local
618 for (int i = 0; i < permissionCount; i++) { in assertRestrictedPermissionGranted()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/
DAllAppPermissionsFragment.java295 final int permissionCount = appPermissionGroup.getPermissions().size(); in MyMultiTargetSwitchPreference()
296 for (int i = 0; i < permissionCount; i++) { in MyMultiTargetSwitchPreference()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/
DAutoAllAppPermissionsFragment.java335 final int permissionCount = appPermissionGroup.getPermissions().size(); in MyMultiTargetSwitchPreference()
336 for (int i = 0; i < permissionCount; i++) { in MyMultiTargetSwitchPreference()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/
DWearAppPermissionGroupsHelper.kt215 val permissionCount = group.permissions.size in <lambda>() constant
216 for (i in 0 until permissionCount) { in <lambda>()