Home
last modified time | relevance | path

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

/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/model/
DPermissionGroups.java41 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 …]
DPermissionGroup.java21 public final class PermissionGroup implements Comparable<PermissionGroup> { class
27 PermissionGroup(String name, String declaringPackage, in PermissionGroup() method in PermissionGroup
52 public int compareTo(PermissionGroup another) { in compareTo()
70 PermissionGroup other = (PermissionGroup) obj; in equals()
/packages/apps/Settings/src/com/android/settings/applications/
DAppPermissions.java40 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
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/television/
DManagePermissionsFragment.java36 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()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/handheld/
DManagePermissionsFragment.java37 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()