Searched refs:usageInfos (Results 1 – 1 of 1) sorted by relevance
134 public void onPermissionUsageResult(@NonNull List<RuntimePermissionUsageInfo> usageInfos) { in onPermissionUsageResult() argument135 usageInfos.sort((x, y) -> { in onPermissionUsageResult()159 if (!areSamePermissionGroups(usageInfos)) { in onPermissionUsageResult()160 mBarChartPreference.setBarViewInfos(createBarViews(usageInfos)); in onPermissionUsageResult()161 mOldUsageInfos = usageInfos; in onPermissionUsageResult()174 private BarViewInfo[] createBarViews(List<RuntimePermissionUsageInfo> usageInfos) { in createBarViews() argument175 if (usageInfos.isEmpty()) { in createBarViews()180 usageInfos.removeIf(usage -> usage.getName().equals("android.permission-group.STORAGE")); in createBarViews()183 Math.min(BarChartPreference.MAXIMUM_BAR_VIEWS, usageInfos.size())]; in createBarViews()186 final RuntimePermissionUsageInfo permissionGroupInfo = usageInfos.get(index); in createBarViews()