Home
last modified time | relevance | path

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

/packages/apps/PermissionController/src/com/android/packageinstaller/permission/model/
DAppPermissionGroup.java93 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/
DPermissionSet.java39 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()
DRole.java148 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/
DAppStateAppOpsBridge.java57 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()
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/apps/Settings/src/com/android/settings/applications/
DAppStateAppOpsBridge.java57 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()
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/apps/PermissionController/src/com/android/packageinstaller/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/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/PermissionController/src/com/android/packageinstaller/permission/ui/handheld/
DManagePermissionsFragment.java51 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/
DManagePermissionsFragment.java49 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/
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
103 return mConfigs.containsKey(propId) ? mPermissions.getReadPermission(propId) : null; in getReadPermission()
108 return mConfigs.containsKey(propId) ? mPermissions.getWritePermission(propId) : null; in getWritePermission()