Searched refs:PermissionGroup (Results 1 – 5 of 5) sorted by relevance
41 public final class PermissionGroups implements LoaderCallbacks<List<PermissionGroup>> {42 private final ArrayList<PermissionGroup> mGroups = new ArrayList<>();59 public Loader<List<PermissionGroup>> onCreateLoader(int id, Bundle args) { in onCreateLoader()64 public void onLoadFinished(Loader<List<PermissionGroup>> loader, in onLoadFinished()65 List<PermissionGroup> groups) { in onLoadFinished()75 public void onLoaderReset(Loader<List<PermissionGroup>> loader) { in onLoaderReset()85 public List<PermissionGroup> getGroups() { in getGroups()89 public PermissionGroup getGroup(String name) { in getGroup()90 for (PermissionGroup group : mGroups) { in getGroup()98 private static final class PermissionsLoader extends AsyncTaskLoader<List<PermissionGroup>> {[all …]
21 public final class PermissionGroup implements Comparable<PermissionGroup> { class27 PermissionGroup(String name, String declaringPackage, in PermissionGroup() method in PermissionGroup52 public int compareTo(PermissionGroup another) { in compareTo()70 PermissionGroup other = (PermissionGroup) obj; in equals()
40 private final ArrayMap<String, PermissionGroup> mGroups = new ArrayMap<>();103 PermissionGroup group = mGroups.get(groupName); in loadPermissionGroups()105 group = new PermissionGroup(); in loadPermissionGroups()129 private static final class PermissionGroup { class in AppPermissions
36 import com.android.packageinstaller.permission.model.PermissionGroup;93 PermissionGroup group = mPermissions.getGroup(key); in onPreferenceClick()134 List<PermissionGroup> groups = mPermissions.getGroups(); in updatePermissionsUi()140 for (PermissionGroup group : groups) { in updatePermissionsUi()
37 import com.android.packageinstaller.permission.model.PermissionGroup;95 PermissionGroup group = mPermissions.getGroup(key); in onPreferenceClick()134 List<PermissionGroup> groups = mPermissions.getGroups(); in updatePermissionsUi()144 for (PermissionGroup group : groups) { in updatePermissionsUi()