Home
last modified time | relevance | path

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

/frameworks/base/services/permission/java/com/android/server/permission/access/permission/
DPermissionFlags.kt371 apiFlags = apiFlags or PackageManager.FLAG_PERMISSION_POLICY_FIXED in toApiFlags()
448 if (apiFlags.hasBits(PackageManager.FLAG_PERMISSION_POLICY_FIXED)) { in fromApiFlags()
DPermissionService.kt1322 if (flagMask.hasBits(PackageManager.FLAG_PERMISSION_POLICY_FIXED)) { in <lambda>()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DPermissionHelperTest.java19 import static android.content.pm.PackageManager.FLAG_PERMISSION_POLICY_FIXED;
337 anyString(), anyInt())).thenReturn(FLAG_PERMISSION_POLICY_FIXED); in testSetNotificationPermission_PolicyFixedPermNotSet()
398 anyInt())).thenReturn(FLAG_PERMISSION_USER_SET | FLAG_PERMISSION_POLICY_FIXED); in testIsPermissionFixed()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerServiceImpl.java33 import static android.content.pm.PackageManager.FLAG_PERMISSION_POLICY_FIXED;
199 | FLAG_PERMISSION_POLICY_FIXED
750 if ((flagMask & FLAG_PERMISSION_POLICY_FIXED) != 0) { in updatePermissionFlags()
801 if ((flagMask & FLAG_PERMISSION_POLICY_FIXED) != 0 && !overridePolicy) { in updatePermissionFlagsInternal()
1443 if (!overridePolicy && (flags & PackageManager.FLAG_PERMISSION_POLICY_FIXED) != 0) { in grantRuntimePermissionInternal()
1631 if (!overridePolicy && (flags & PackageManager.FLAG_PERMISSION_POLICY_FIXED) != 0) { in revokeRuntimePermissionInternal()
1782 | FLAG_PERMISSION_POLICY_FIXED; in resetRuntimePermissionsInternal()
1926 | PackageManager.FLAG_PERMISSION_POLICY_FIXED in shouldShowRequestPermissionRationale()
1982 return (flags & PackageManager.FLAG_PERMISSION_POLICY_FIXED) != 0; in isPermissionRevokedByPolicy()
2100 & (FLAG_PERMISSION_SYSTEM_FIXED | FLAG_PERMISSION_POLICY_FIXED)) != 0; in revokeStoragePermissionsIfScopeExpandedInternal()
[all …]
DDefaultPermissionGrantPolicy.java1228 if ((flags & PackageManager.FLAG_PERMISSION_POLICY_FIXED) != 0) { in revokeRuntimePermissions()
1266 | PackageManager.FLAG_PERMISSION_POLICY_FIXED in isFixedOrUserSet()
1391 if ((flags & PackageManager.FLAG_PERMISSION_POLICY_FIXED) != 0) { in grantRuntimePermissions()
/frameworks/base/services/core/java/com/android/server/notification/
DPermissionHelper.java243 || (flags & PackageManager.FLAG_PERMISSION_POLICY_FIXED) != 0; in isPermissionFixed()
/frameworks/base/core/java/android/permission/
DPermissionManager.java21 import static android.content.pm.PackageManager.FLAG_PERMISSION_POLICY_FIXED;
144 | FLAG_PERMISSION_USER_FIXED | FLAG_PERMISSION_POLICY_FIXED
/frameworks/base/core/java/android/content/pm/
DPackageManager.java5139 public static final int FLAG_PERMISSION_POLICY_FIXED = 1 << 2; field in PackageManager
5346 | FLAG_PERMISSION_POLICY_FIXED
6636 FLAG_PERMISSION_POLICY_FIXED,
10602 case FLAG_PERMISSION_POLICY_FIXED: return "POLICY_FIXED"; in permissionFlagToString()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java5356 doReturn(PackageManager.FLAG_PERMISSION_POLICY_FIXED).when(getServices().packageManager) in testGetPermissionGrantState()
5360 .thenReturn(PackageManager.FLAG_PERMISSION_POLICY_FIXED); in testGetPermissionGrantState()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java10376 PackageManager.FLAG_PERMISSION_POLICY_FIXED,
16970 if ((permFlags & PackageManager.FLAG_PERMISSION_POLICY_FIXED) in getPermissionGrantStateForUser()
16971 != PackageManager.FLAG_PERMISSION_POLICY_FIXED) { in getPermissionGrantStateForUser()
/frameworks/base/core/api/
Dsystem-current.txt4301 field public static final int FLAG_PERMISSION_POLICY_FIXED = 4; // 0x4