Home
last modified time | relevance | path

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

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/legacy/
DPermissionGroups.java57 public final class PermissionGroups implements LoaderCallbacks<List<PermissionGroup>> {
58 private final ArrayList<PermissionGroup> mGroups = new ArrayList<>();
82 public Loader<List<PermissionGroup>> onCreateLoader(int id, Bundle args) { in onCreateLoader()
87 public void onLoadFinished(Loader<List<PermissionGroup>> loader, in onLoadFinished()
88 List<PermissionGroup> groups) { in onLoadFinished()
98 public void onLoaderReset(Loader<List<PermissionGroup>> loader) { in onLoaderReset()
103 public List<PermissionGroup> getGroups() { in getGroups()
107 public PermissionGroup getGroup(String name) { in getGroup()
108 for (PermissionGroup group : mGroups) { in getGroup()
149 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
89 public int compareTo(PermissionGroup another) { in compareTo()
107 PermissionGroup other = (PermissionGroup) obj; in equals()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/v31/
DPermissionUsages.java58 import com.android.permissioncontroller.permission.model.legacy.PermissionGroup;
221 final List<PermissionGroup> groups = PermissionGroups.getPermissionGroups( in loadInBackground()
236 final PermissionGroup group = groups.get(groupIdx); in loadInBackground()