/packages/apps/PermissionController/src/com/android/packageinstaller/permission/model/ |
D | AppPermissionGroup.java | 93 private final ArrayMap<String, Permission> mPermissions = new ArrayMap<>(); field in AppPermissionGroup 440 final int permissionCount = mPermissions.size(); in isReviewRequired() 442 Permission permission = mPermissions.valueAt(i); in isReviewRequired() 456 final int permissionCount = mPermissions.size(); in isUserSensitive() 458 Permission permission = mPermissions.valueAt(i); in isUserSensitive() 467 final int permissionCount = mPermissions.size(); in unsetReviewRequired() 469 Permission permission = mPermissions.valueAt(i); in unsetReviewRequired() 481 final int permissionCount = mPermissions.size(); in hasGrantedByDefaultPermission() 483 Permission permission = mPermissions.valueAt(i); in hasGrantedByDefaultPermission() 619 return mPermissions.get(permission) != null; in hasPermission() [all …]
|
/packages/apps/PermissionController/src/com/android/packageinstaller/role/model/ |
D | PermissionSet.java | 39 private final List<String> mPermissions; field in PermissionSet 43 mPermissions = permissions; in PermissionSet() 53 return mPermissions; in getPermissions() 60 + ", mPermissions=" + mPermissions in toString() 74 && Objects.equals(mPermissions, that.mPermissions); in equals() 79 return Objects.hash(mName, mPermissions); in hashCode()
|
D | Role.java | 148 private final List<String> mPermissions; field in Role 181 mPermissions = permissions; in Role() 243 return mPermissions; in getPermissions() 584 boolean permissionOrAppOpChanged = Permissions.grant(packageName, mPermissions, true, in grant() 623 List<String> permissionsToRevoke = new ArrayList<>(mPermissions); in revoke() 751 + ", mPermissions=" + mPermissions in toString() 773 && mPermissions.equals(that.mPermissions) in equals() 781 mRequiredComponents, mPermissions, mAppOps, mPreferredActivities); in hashCode()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/ |
D | AppStateAppOpsBridge.java | 57 private final String[] mPermissions; field in AppStateAppOpsBridge 75 mPermissions = permissions; in AppStateAppOpsBridge() 112 if (doesAnyPermissionMatch(requestedPermissions[i], mPermissions)) { in getPermissionInfo() 160 for (String permission : mPermissions) { in getEntries() 192 + mPermissions[0], e); in getEntries() 216 .getPackagesHoldingPermissions(mPermissions, 0, in loadPermissionsStates() 230 + mPermissions, e); in loadPermissionsStates() 260 + mPermissions + " access"); in loadAppOpsStates()
|
D | AppWithAdminGrantedPermissionsLister.java | 30 private final String[] mPermissions; field in AppWithAdminGrantedPermissionsLister 38 mPermissions = permissions; in AppWithAdminGrantedPermissionsLister() 45 return AppWithAdminGrantedPermissionsCounter.includeInCount(mPermissions, in includeInCount()
|
D | AppWithAdminGrantedPermissionsCounter.java | 32 private final String[] mPermissions; field in AppWithAdminGrantedPermissionsCounter 40 mPermissions = permissions; in AppWithAdminGrantedPermissionsCounter() 47 return includeInCount(mPermissions, mDevicePolicyManager, mPm, mPackageManagerService, in includeInCount()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | AppStateAppOpsBridge.java | 57 private final String[] mPermissions; field in AppStateAppOpsBridge 75 mPermissions = permissions; in AppStateAppOpsBridge() 112 if (doesAnyPermissionMatch(requestedPermissions[i], mPermissions)) { in getPermissionInfo() 160 for (String permission : mPermissions) { in getEntries() 192 + mPermissions[0], e); in getEntries() 216 .getPackagesHoldingPermissions(mPermissions, 0, in loadPermissionsStates() 230 + mPermissions, e); in loadPermissionsStates() 260 + mPermissions + " access"); in loadAppOpsStates()
|
D | AppWithAdminGrantedPermissionsLister.java | 30 private final String[] mPermissions; field in AppWithAdminGrantedPermissionsLister 38 mPermissions = permissions; in AppWithAdminGrantedPermissionsLister() 45 return AppWithAdminGrantedPermissionsCounter.includeInCount(mPermissions, in includeInCount()
|
D | AppWithAdminGrantedPermissionsCounter.java | 32 private final String[] mPermissions; field in AppWithAdminGrantedPermissionsCounter 40 mPermissions = permissions; in AppWithAdminGrantedPermissionsCounter() 47 return includeInCount(mPermissions, mDevicePolicyManager, mPm, mPackageManagerService, in includeInCount()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/auto/ |
D | AutoManagePermissionsFragment.java | 46 private PermissionGroups mPermissions; field in AutoManagePermissionsFragment 55 mPermissions = new PermissionGroups(getContext(), requireActivity().getLoaderManager(), in onCreate() 73 PermissionGroup group = mPermissions.getGroup(key); in onPreferenceClick() 95 return mPermissions; in getPermissions() 115 ArrayList<PermissionGroup> groups = new ArrayList<>(mPermissions.getGroups()); in updatePermissionsUi()
|
/packages/apps/Settings/src/com/android/settings/enterprise/ |
D | AdminGrantedPermissionsPreferenceControllerBase.java | 31 private final String[] mPermissions; field in AdminGrantedPermissionsPreferenceControllerBase 39 mPermissions = permissions; in AdminGrantedPermissionsPreferenceControllerBase() 48 mFeatureProvider.calculateNumberOfAppsWithAdminGrantedPermissions(mPermissions, in updateState() 78 mFeatureProvider.calculateNumberOfAppsWithAdminGrantedPermissions(mPermissions, in isAvailable()
|
D | ApplicationListFragment.java | 61 private final String[] mPermissions; field in ApplicationListFragment.AdminGrantedPermission 64 mPermissions = permissions; in AdminGrantedPermission() 71 .listAppsWithAdminGrantedPermissions(mPermissions, callback); in buildApplicationList()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/enterprise/ |
D | AdminGrantedPermissionsPreferenceControllerBase.java | 31 private final String[] mPermissions; field in AdminGrantedPermissionsPreferenceControllerBase 39 mPermissions = permissions; in AdminGrantedPermissionsPreferenceControllerBase() 48 mFeatureProvider.calculateNumberOfAppsWithAdminGrantedPermissions(mPermissions, in updateState() 78 mFeatureProvider.calculateNumberOfAppsWithAdminGrantedPermissions(mPermissions, in isAvailable()
|
D | ApplicationListFragment.java | 61 private final String[] mPermissions; field in ApplicationListFragment.AdminGrantedPermission 64 mPermissions = permissions; in AdminGrantedPermission() 71 .listAppsWithAdminGrantedPermissions(mPermissions, callback); in buildApplicationList()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/handheld/ |
D | ManagePermissionsFragment.java | 51 private PermissionGroups mPermissions; field in ManagePermissionsFragment 65 mPermissions = new PermissionGroups(getContext(), getActivity().getLoaderManager(), this, in onCreate() 75 PermissionGroup group = mPermissions.getGroup(key); in onPreferenceClick() 97 return mPermissions; in getPermissions() 123 ArrayList<PermissionGroup> groups = new ArrayList<>(mPermissions.getGroups()); in updatePermissionsUi()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/television/ |
D | ManagePermissionsFragment.java | 49 private PermissionGroups mPermissions; field in ManagePermissionsFragment 66 mPermissions = new PermissionGroups(getContext(), getLoaderManager(), this, false, true); in onCreate() 82 PermissionGroup group = mPermissions.getGroup(key); in onPreferenceClick() 123 List<PermissionGroup> groups = mPermissions.getGroups(); in updatePermissionsUi()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/ |
D | AdminGrantedPermissionsPreferenceControllerTestBase.java | 48 final String[] mPermissions; field in AdminGrantedPermissionsPreferenceControllerTestBase 58 mPermissions = permissions; in AdminGrantedPermissionsPreferenceControllerTestBase() 76 .calculateNumberOfAppsWithAdminGrantedPermissions(eq(mPermissions), in setNumberOfPackagesWithAdminGrantedPermissions()
|
D | AdminGrantedPermissionsPreferenceControllerBaseTest.java | 40 async, mPermissions); in AdminGrantedPermissionsPreferenceControllerBaseTestable()
|
/packages/services/Car/car-lib/src/com/android/car/internal/ |
D | PropertyPermissionMapping.java | 32 private final SparseArray<Permission> mPermissions = new SparseArray<>(); field in PropertyPermissionMapping 185 return isVendorExtension(propId) ? VENDOR_PERMISION : mPermissions.get(propId); in getPermission() 203 mPermissions.put(propId, p); in map()
|
/packages/services/Car/car-test-lib/src/android/car/testapi/ |
D | FakeCarPropertyService.java | 53 private final PropertyPermissionMapping mPermissions = new PropertyPermissionMapping(); field in FakeCarPropertyService 103 return mConfigs.containsKey(propId) ? mPermissions.getReadPermission(propId) : null; in getReadPermission() 108 return mConfigs.containsKey(propId) ? mPermissions.getWritePermission(propId) : null; in getWritePermission()
|