Searched refs:PermissionGroup (Results 1 – 5 of 5) sorted by relevance
56 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 …]
31 public final class PermissionGroup implements Comparable<PermissionGroup> { class40 PermissionGroup(String name, String declaringPackage, CharSequence label, Drawable icon, in PermissionGroup() method in PermissionGroup82 public int compareTo(PermissionGroup another) { in compareTo()100 PermissionGroup other = (PermissionGroup) obj; in equals()
31 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()
23 import com.android.permissioncontroller.permission.model.legacy.PermissionGroup;48 List<PermissionGroup> groups = getPermissions().getGroups(); in updatePermissionsUi()50 for (PermissionGroup group : groups) { in updatePermissionsUi()
36 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()