Home
last modified time | relevance | path

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

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/
DPermissionAppsFragment.java413 for (Category grantCategory : categories.keySet()) { in onPackagesLoaded()
414 List<Pair<String, UserHandle>> packages = categories.get(grantCategory); in onPackagesLoaded()
415 PreferenceCategory category = findPreference(grantCategory.getCategoryName()); in onPackagesLoaded()
421 && (!isStorageAndLessThanT || !grantCategory.equals(ALLOWED))) { in onPackagesLoaded()
425 if (grantCategory.equals(ALLOWED)) { in onPackagesLoaded()
427 } else if (grantCategory.equals(ALLOWED_FOREGROUND)) { in onPackagesLoaded()
429 } else if (grantCategory.equals(ASK)) { in onPackagesLoaded()
436 } else if (grantCategory.equals(ALLOWED_FOREGROUND)) { in onPackagesLoaded()
438 } else if (grantCategory.equals(ASK)) { in onPackagesLoaded()
456 if (isStorageAndLessThanT && grantCategory.equals(ALLOWED)) { in onPackagesLoaded()
[all …]
DAppPermissionGroupsFragment.java329 for (Category grantCategory : groupMap.keySet()) { in updatePreferences()
330 PreferenceCategory category = findPreference(grantCategory.getCategoryName()); in updatePreferences()
335 if (grantCategory.equals(Category.ALLOWED_FOREGROUND)) { in updatePreferences()
340 if (grantCategory.equals(Category.ASK)) { in updatePreferences()
341 if (groupMap.get(grantCategory).size() == 0) { in updatePreferences()
348 for (GroupUiInfo groupInfo : groupMap.get(grantCategory)) { in updatePreferences()
353 sessionId, grantCategory.getCategoryName(), true); in updatePreferences()
408 int noPermsStringRes = grantCategory.equals(Category.DENIED) in updatePreferences()
413 grantCategory.getCategoryName()); in updatePreferences()
DAppPermissionFragment.java165 String grantCategory) { in createArgs() argument
176 arguments.putString(GRANT_CATEGORY, grantCategory); in createArgs()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/
DAutoPermissionAppsFragment.java215 for (Category grantCategory : categories.keySet()) { in onPackagesLoaded()
216 List<Pair<String, UserHandle>> packages = categories.get(grantCategory); in onPackagesLoaded()
217 PreferenceCategory category = findPreference(grantCategory.getCategoryName()); in onPackagesLoaded()
224 if (grantCategory.equals(ALLOWED)) { in onPackagesLoaded()
226 } else if (grantCategory.equals(ALLOWED_FOREGROUND)) { in onPackagesLoaded()
228 } else if (grantCategory.equals(ASK)) { in onPackagesLoaded()
235 } else if (grantCategory.equals(ALLOWED_FOREGROUND)) { in onPackagesLoaded()
237 } else if (grantCategory.equals(ASK)) { in onPackagesLoaded()
283 grantCategory.equals(ALLOWED), grantCategory.equals(ALLOWED_FOREGROUND), in onPackagesLoaded()
284 grantCategory.equals(DENIED)); in onPackagesLoaded()
DAutoAppPermissionsFragment.java237 for (Category grantCategory : groupMap.keySet()) { in updatePreferences()
238 if (Category.ASK.equals(grantCategory)) { in updatePreferences()
243 grantCategory.getCategoryName()); in updatePreferences()
244 if (grantCategory.equals(Category.ALLOWED_FOREGROUND)) { in updatePreferences()
252 for (AppPermissionGroupsViewModel.GroupUiInfo groupInfo : groupMap.get(grantCategory)) { in updatePreferences()
268 setNoPermissionPreference(category, grantCategory, context); in updatePreferences()
328 private void setNoPermissionPreference(PreferenceCategory category, Category grantCategory, in setNoPermissionPreference() argument
331 empty.setKey(getString(grantCategory.equals(Category.DENIED) in setNoPermissionPreference()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/
DWearAppPermissionFragment.kt99 grantCategory: String? in <lambda>()
111 arguments.putString(GRANT_CATEGORY, grantCategory) in <lambda>()
DWearAppPermissionGroupsHelper.kt305 private fun onPermissionGroupClicked(group: AppPermissionGroup, grantCategory: String) { in <lambda>()
334 grantCategory in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/
DAppPermissionFragment.java129 String grantCategory) { in createArgs() argument
140 arguments.putString(GRANT_CATEGORY, grantCategory); in createArgs()