Home
last modified time | relevance | path

Searched refs:PermissionGroup (Results 1 – 5 of 5) sorted by relevance

/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/model/legacy/
DPermissionGroups.java56 public final class PermissionGroups implements LoaderCallbacks<List<PermissionGroup>> {
57 private final ArrayList<PermissionGroup> mGroups = new ArrayList<>();
81 public Loader<List<PermissionGroup>> onCreateLoader(int id, Bundle args) { in onCreateLoader()
86 public void onLoadFinished(Loader<List<PermissionGroup>> loader, in onLoadFinished()
87 List<PermissionGroup> groups) { in onLoadFinished()
97 public void onLoaderReset(Loader<List<PermissionGroup>> loader) { in onLoaderReset()
102 public List<PermissionGroup> getGroups() { in getGroups()
106 public PermissionGroup getGroup(String name) { in getGroup()
107 for (PermissionGroup group : mGroups) { in getGroup()
148 public static @NonNull List<PermissionGroup> getAllPermissionGroups(@NonNull Context context, in getAllPermissionGroups()
[all …]
DPermissionGroup.java31 public final class PermissionGroup implements Comparable<PermissionGroup> { class
40 PermissionGroup(String name, String declaringPackage, CharSequence label, Drawable icon, in PermissionGroup() method in PermissionGroup
82 public int compareTo(PermissionGroup another) { in compareTo()
100 PermissionGroup other = (PermissionGroup) obj; in equals()
/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/
DAutoManagePermissionsFragment.java31 import com.android.permissioncontroller.permission.model.legacy.PermissionGroup;
73 PermissionGroup group = mPermissions.getGroup(key); in onPreferenceClick()
115 ArrayList<PermissionGroup> groups = new ArrayList<>(mPermissions.getGroups()); in updatePermissionsUi()
123 PermissionGroup group = groups.get(i); in updatePermissionsUi()
DAutoManageStandardPermissionsFragment.java23 import com.android.permissioncontroller.permission.model.legacy.PermissionGroup;
48 List<PermissionGroup> groups = getPermissions().getGroups(); in updatePermissionsUi()
50 for (PermissionGroup group : groups) { in updatePermissionsUi()
/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/ui/television/
DManagePermissionsFragment.java36 import com.android.permissioncontroller.permission.model.legacy.PermissionGroup;
84 PermissionGroup group = mPermissions.getGroup(key); in onPreferenceClick()
125 List<PermissionGroup> groups = mPermissions.getGroups(); in updatePermissionsUi()
131 for (PermissionGroup group : groups) { in updatePermissionsUi()