Home
last modified time | relevance | path

Searched refs:FLAG_PERMISSION_POLICY_FIXED (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerService.java24 import static android.content.pm.PackageManager.FLAG_PERMISSION_POLICY_FIXED;
146 | FLAG_PERMISSION_POLICY_FIXED
2053 | PackageManager.FLAG_PERMISSION_POLICY_FIXED; in grantRequestedRuntimePermissionsForUser()
2145 if (!overridePolicy && (flags & PackageManager.FLAG_PERMISSION_POLICY_FIXED) != 0) { in grantRuntimePermission()
2283 if (!overridePolicy && (flags & PackageManager.FLAG_PERMISSION_POLICY_FIXED) != 0) { in revokeRuntimePermission()
2419 if ((oldFlags & PackageManager.FLAG_PERMISSION_POLICY_FIXED) != 0) { in setWhitelistedRestrictedPermissions()
2423 mask |= PackageManager.FLAG_PERMISSION_POLICY_FIXED; in setWhitelistedRestrictedPermissions()
2424 newFlags &= ~PackageManager.FLAG_PERMISSION_POLICY_FIXED; in setWhitelistedRestrictedPermissions()
2812 if ((flagMask & FLAG_PERMISSION_POLICY_FIXED) != 0 && !overridePolicy) { in updatePermissionFlags()
DDefaultPermissionGrantPolicy.java1007 if ((flags & PackageManager.FLAG_PERMISSION_POLICY_FIXED) != 0) { in revokeRuntimePermissions()
1045 | PackageManager.FLAG_PERMISSION_POLICY_FIXED in isFixedOrUserSet()
1195 if ((flags & PackageManager.FLAG_PERMISSION_POLICY_FIXED) != 0) { in grantRuntimePermissions()
/frameworks/base/core/java/android/content/pm/
DPackageManager.java3092 public static final int FLAG_PERMISSION_POLICY_FIXED = 1 << 2; field in PackageManager
3253 | FLAG_PERMISSION_POLICY_FIXED
4027 FLAG_PERMISSION_POLICY_FIXED,
7106 case FLAG_PERMISSION_POLICY_FIXED: return "POLICY_FIXED"; in permissionFlagToString()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java4152 doReturn(PackageManager.FLAG_PERMISSION_POLICY_FIXED).when(getServices().packageManager) in testGetPermissionGrantState()
4156 .thenReturn(PackageManager.FLAG_PERMISSION_POLICY_FIXED); in testGetPermissionGrantState()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java39 import static android.content.pm.PackageManager.FLAG_PERMISSION_POLICY_FIXED;
1432 FLAG_PERMISSION_POLICY_FIXED
5602 return (flags & PackageManager.FLAG_PERMISSION_POLICY_FIXED) != 0;
5720 if ((flagMask & FLAG_PERMISSION_POLICY_FIXED) != 0) {
6014 | PackageManager.FLAG_PERMISSION_POLICY_FIXED
19271 | FLAG_PERMISSION_POLICY_FIXED;
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java8243 PackageManager.FLAG_PERMISSION_POLICY_FIXED, in clearUserPoliciesLocked()
11856 if ((permFlags & PackageManager.FLAG_PERMISSION_POLICY_FIXED) in getPermissionGrantState()
11857 != PackageManager.FLAG_PERMISSION_POLICY_FIXED) { in getPermissionGrantState()
/frameworks/base/api/
Dtest-current.txt729 field public static final int FLAG_PERMISSION_POLICY_FIXED = 4; // 0x4
Dsystem-current.txt1836 field public static final int FLAG_PERMISSION_POLICY_FIXED = 4; // 0x4
1909 …FLAG_PERMISSION_USER_FIXED, android.content.pm.PackageManager.FLAG_PERMISSION_POLICY_FIXED, androi…
/frameworks/base/non-updatable-api/
Dsystem-current.txt1836 field public static final int FLAG_PERMISSION_POLICY_FIXED = 4; // 0x4
1909 …FLAG_PERMISSION_USER_FIXED, android.content.pm.PackageManager.FLAG_PERMISSION_POLICY_FIXED, androi…