Home
last modified time | relevance | path

Searched refs:mPermissions (Results 1 – 18 of 18) sorted by relevance

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/
DAppPermissionGroup.java111 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/
DPermissionSet.java39 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()
DRole.java197 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/
DAppStateAppOpsBridge.java57 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()
DAppWithAdminGrantedPermissionsLister.java30 private final String[] mPermissions; field in AppWithAdminGrantedPermissionsLister
38 mPermissions = permissions; in AppWithAdminGrantedPermissionsLister()
45 return AppWithAdminGrantedPermissionsCounter.includeInCount(mPermissions, in includeInCount()
DAppWithAdminGrantedPermissionsCounter.java32 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/
DAutoManagePermissionsFragment.java46 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/
DAdminGrantedPermissionsPreferenceControllerBase.java31 private final String[] mPermissions; field in AdminGrantedPermissionsPreferenceControllerBase
39 mPermissions = permissions; in AdminGrantedPermissionsPreferenceControllerBase()
48 mFeatureProvider.calculateNumberOfAppsWithAdminGrantedPermissions(mPermissions, in updateState()
78 mFeatureProvider.calculateNumberOfAppsWithAdminGrantedPermissions(mPermissions, in isAvailable()
DApplicationListFragment.java61 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/
DAdminGrantedPermissionsPreferenceControllerBase.java31 private final String[] mPermissions; field in AdminGrantedPermissionsPreferenceControllerBase
39 mPermissions = permissions; in AdminGrantedPermissionsPreferenceControllerBase()
48 mFeatureProvider.calculateNumberOfAppsWithAdminGrantedPermissions(mPermissions, in updateState()
78 mFeatureProvider.calculateNumberOfAppsWithAdminGrantedPermissions(mPermissions, in isAvailable()
DApplicationListFragment.java61 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/
DAppWithAdminGrantedPermissionsLister.java32 private final String[] mPermissions; field in AppWithAdminGrantedPermissionsLister
40 mPermissions = permissions; in AppWithAdminGrantedPermissionsLister()
47 return AppWithAdminGrantedPermissionsCounter.includeInCount(mPermissions, in includeInCount()
DAppWithAdminGrantedPermissionsCounter.java37 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/
DAdminGrantedPermissionsPreferenceControllerTestBase.java48 final String[] mPermissions; field in AdminGrantedPermissionsPreferenceControllerTestBase
58 mPermissions = permissions; in AdminGrantedPermissionsPreferenceControllerTestBase()
76 .calculateNumberOfAppsWithAdminGrantedPermissions(eq(mPermissions), in setNumberOfPackagesWithAdminGrantedPermissions()
DAdminGrantedPermissionsPreferenceControllerBaseTest.java40 async, mPermissions); in AdminGrantedPermissionsPreferenceControllerBaseTestable()
/packages/services/Car/car-lib/src/com/android/car/internal/
DPropertyPermissionMapping.java32 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/
DFakeCarPropertyService.java53 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/
DPermissionMonitorTest.java692 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()