Home
last modified time | relevance | path

Searched refs:revokedCount (Results 1 – 3 of 3) sorted by relevance

/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/handheld/
DPermissionPreference.java294 int revokedCount = 0; in updateSummaryForIndividuallyControlledPermissionGroup() local
300 revokedCount++; in updateSummaryForIndividuallyControlledPermissionGroup()
305 if (revokedCount == 0) { in updateSummaryForIndividuallyControlledPermissionGroup()
307 } else if (revokedCount == permissionCount) { in updateSummaryForIndividuallyControlledPermissionGroup()
313 String summary = getContext().getString(resId, revokedCount); in updateSummaryForIndividuallyControlledPermissionGroup()
DAppPermissionFragment.java627 int revokedCount = 0; in updateDetailForIndividuallyControlledPermissionGroup() local
633 revokedCount++; in updateDetailForIndividuallyControlledPermissionGroup()
638 if (revokedCount == 0) { in updateDetailForIndividuallyControlledPermissionGroup()
640 } else if (revokedCount == permissionCount) { in updateDetailForIndividuallyControlledPermissionGroup()
646 mPermissionDetails.setText(getContext().getString(resId, revokedCount)); in updateDetailForIndividuallyControlledPermissionGroup()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/auto/
DAutoAppPermissionFragment.java453 int revokedCount = 0; in updateDetailForIndividuallyControlledPermissionGroup() local
459 revokedCount++; in updateDetailForIndividuallyControlledPermissionGroup()
464 if (revokedCount == 0) { in updateDetailForIndividuallyControlledPermissionGroup()
466 } else if (revokedCount == permissionCount) { in updateDetailForIndividuallyControlledPermissionGroup()
472 mDetailsPreference.setSummary(getContext().getString(resId, revokedCount)); in updateDetailForIndividuallyControlledPermissionGroup()