Searched refs:FLAG_PERMISSION_POLICY_FIXED (Results 1 – 11 of 11) sorted by relevance
371 apiFlags = apiFlags or PackageManager.FLAG_PERMISSION_POLICY_FIXED in toApiFlags()448 if (apiFlags.hasBits(PackageManager.FLAG_PERMISSION_POLICY_FIXED)) { in fromApiFlags()
1322 if (flagMask.hasBits(PackageManager.FLAG_PERMISSION_POLICY_FIXED)) { in <lambda>()
19 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()
33 import static android.content.pm.PackageManager.FLAG_PERMISSION_POLICY_FIXED;199 | FLAG_PERMISSION_POLICY_FIXED750 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 …]
1228 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()
243 || (flags & PackageManager.FLAG_PERMISSION_POLICY_FIXED) != 0; in isPermissionFixed()
21 import static android.content.pm.PackageManager.FLAG_PERMISSION_POLICY_FIXED;144 | FLAG_PERMISSION_USER_FIXED | FLAG_PERMISSION_POLICY_FIXED
5139 public static final int FLAG_PERMISSION_POLICY_FIXED = 1 << 2; field in PackageManager5346 | FLAG_PERMISSION_POLICY_FIXED6636 FLAG_PERMISSION_POLICY_FIXED,10602 case FLAG_PERMISSION_POLICY_FIXED: return "POLICY_FIXED"; in permissionFlagToString()
5356 doReturn(PackageManager.FLAG_PERMISSION_POLICY_FIXED).when(getServices().packageManager) in testGetPermissionGrantState()5360 .thenReturn(PackageManager.FLAG_PERMISSION_POLICY_FIXED); in testGetPermissionGrantState()
10376 PackageManager.FLAG_PERMISSION_POLICY_FIXED,16970 if ((permFlags & PackageManager.FLAG_PERMISSION_POLICY_FIXED) in getPermissionGrantStateForUser()16971 != PackageManager.FLAG_PERMISSION_POLICY_FIXED) { in getPermissionGrantStateForUser()
4301 field public static final int FLAG_PERMISSION_POLICY_FIXED = 4; // 0x4