Home
last modified time | relevance | path

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

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/
DAllAppPermissionsFragment.java154 private void updateUi(Map<String, List<String>> groupMap) { in updateUi() argument
155 if (groupMap == null && mViewModel.getAllPackagePermissionsLiveData().isInitialized()) { in updateUi()
186 if (groupMap != null) { in updateUi()
187 for (String groupName : groupMap.keySet()) { in updateUi()
188 List<String> permissions = groupMap.get(groupName); in updateUi()
DAppPermissionGroupsFragment.java295 private void updatePreferences(Map<Category, List<GroupUiInfo>> groupMap) { in updatePreferences() argument
296 if (groupMap == null && !mViewModel.getPackagePermGroupsLiveData().isStale()) { in updatePreferences()
305 } else if (groupMap == null) { in updatePreferences()
329 for (Category grantCategory : groupMap.keySet()) { in updatePreferences()
341 if (groupMap.get(grantCategory).size() == 0) { in updatePreferences()
348 for (GroupUiInfo groupInfo : groupMap.get(grantCategory)) { in updatePreferences()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/
DAutoAppPermissionsFragment.java214 Map<Category, List<AppPermissionGroupsViewModel.GroupUiInfo>> groupMap) { in updatePreferences() argument
215 if (groupMap == null && mViewModel.getPackagePermGroupsLiveData().isInitialized()) { in updatePreferences()
223 } else if (groupMap == null) { in updatePreferences()
237 for (Category grantCategory : groupMap.keySet()) { in updatePreferences()
252 for (AppPermissionGroupsViewModel.GroupUiInfo groupInfo : groupMap.get(grantCategory)) { in updatePreferences()