/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/ |
D | AppPermissionGroup.java | 111 private final ArrayMap<String, Permission> mPermissions = new ArrayMap<>(); field in AppPermissionGroup 491 final int permissionCount = mPermissions.size(); 493 Permission permission = mPermissions.valueAt(i); 507 final int permissionCount = mPermissions.size(); 509 Permission permission = mPermissions.valueAt(i); 518 final int permissionCount = mPermissions.size(); 520 Permission permission = mPermissions.valueAt(i); 532 final int permissionCount = mPermissions.size(); 534 Permission permission = mPermissions.valueAt(i); 704 return mPermissions.get(permission) != null; [all …]
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/model/ |
D | PermissionSet.java | 39 private final List<Permission> 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 | 197 private final List<Permission> mPermissions; field in Role 247 mPermissions = permissions; in Role() 333 return mPermissions; in getPermissions() 774 Permissions.filterBySdkVersion(mPermissions), in grant() 820 List<String> permissionsToRevoke = Permissions.filterBySdkVersion(mPermissions); in revoke() 826 permissionsToRevoke.removeAll(Permissions.filterBySdkVersion(role.mPermissions)); in revoke() 974 + ", mPermissions=" + mPermissions in toString()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | AppStateAppOpsBridge.java | 57 private final String[] mPermissions; field in AppStateAppOpsBridge 87 mPermissions = permissions; in AppStateAppOpsBridge() 124 if (doesAnyPermissionMatch(requestedPermissions[i], mPermissions)) { in getPermissionInfo() 176 for (String permission : mPermissions) { in getEntries() 208 + mPermissions[0], e); in getEntries() 232 .getPackagesHoldingPermissions(mPermissions, 0, in loadPermissionsStates() 246 + mPermissions, e); in loadPermissionsStates() 280 + Arrays.toString(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/modules/Permission/PermissionController/src/com/android/permissioncontroller/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/apps/TvSettings/Settings/src/com/android/tv/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/apps/TvSettings/Settings/src/com/android/tv/settings/enterprise/apps/ |
D | AppWithAdminGrantedPermissionsLister.java | 32 private final String[] mPermissions; field in AppWithAdminGrantedPermissionsLister 40 mPermissions = permissions; in AppWithAdminGrantedPermissionsLister() 47 return AppWithAdminGrantedPermissionsCounter.includeInCount(mPermissions, in includeInCount()
|
D | AppWithAdminGrantedPermissionsCounter.java | 37 private final String[] mPermissions; field in AppWithAdminGrantedPermissionsCounter 45 mPermissions = permissions; in AppWithAdminGrantedPermissionsCounter() 52 return includeInCount(mPermissions, mDevicePolicyManager, mPm, mPackageManagerService, in includeInCount()
|
/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 116 return mConfigs.containsKey(propId) ? mPermissions.getReadPermission(propId) : null; in getReadPermission() 121 return mConfigs.containsKey(propId) ? mPermissions.getWritePermission(propId) : null; in getWritePermission()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/ |
D | PermissionMonitorTest.java | 692 private final HashMap<Integer, Integer> mPermissions = new HashMap<>(); field in PermissionMonitorTest.NetdServiceMonitor 700 mPermissions.put(uid, permission); in NetdServiceMonitor() 708 if (!mPermissions.containsKey(app)) { in expectPermission() 711 if (mPermissions.get(app) != permission) { in expectPermission() 712 fail("uid " + app + " has wrong permission: " + mPermissions.get(app)); in expectPermission()
|