Searched refs:PermissionGroup (Results 1 – 3 of 3) sorted by relevance
57 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 …]
31 public final class PermissionGroup implements Comparable<PermissionGroup> { class40 PermissionGroup(String name, String declaringPackage, CharSequence label, Drawable icon, in PermissionGroup() method in PermissionGroup89 public int compareTo(PermissionGroup another) { in compareTo()107 PermissionGroup other = (PermissionGroup) obj; in equals()
58 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()