Home
last modified time | relevance | path

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

/frameworks/base/services/permission/java/com/android/server/permission/access/permission/
DPermissionFlags.kt374 apiFlags = apiFlags or PackageManager.FLAG_PERMISSION_SYSTEM_FIXED in toApiFlags()
451 if (apiFlags.hasBits(PackageManager.FLAG_PERMISSION_SYSTEM_FIXED)) { in fromApiFlags()
DPermissionService.kt1489 PackageManager.FLAG_PERMISSION_SYSTEM_FIXED or in <lambda>()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DPermissionHelperTest.java20 import static android.content.pm.PackageManager.FLAG_PERMISSION_SYSTEM_FIXED;
324 anyString(), anyInt())).thenReturn(FLAG_PERMISSION_SYSTEM_FIXED); in testSetNotificationPermission_SystemFixedPermNotSet()
404 anyString(), anyInt())).thenReturn(FLAG_PERMISSION_SYSTEM_FIXED); in testIsPermissionFixed()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DDefaultPermissionGrantPolicy.java495 PackageManager.FLAG_PERMISSION_SYSTEM_FIXED, in grantPermissionsToSysComponentsAndPrivApps()
1234 if ((flags & PackageManager.FLAG_PERMISSION_SYSTEM_FIXED) != 0 && !systemFixed) { in revokeRuntimePermissions()
1267 | PackageManager.FLAG_PERMISSION_SYSTEM_FIXED)) != 0; in isFixedOrUserSet()
1300 newFlags |= PackageManager.FLAG_PERMISSION_SYSTEM_FIXED; in grantRuntimePermissions()
1377 && (flags & PackageManager.FLAG_PERMISSION_SYSTEM_FIXED) != 0; in grantRuntimePermissions()
1409 flags & ~PackageManager.FLAG_PERMISSION_SYSTEM_FIXED, user); in grantRuntimePermissions()
1424 && (flags & PackageManager.FLAG_PERMISSION_SYSTEM_FIXED) != 0 in grantRuntimePermissions()
1431 PackageManager.FLAG_PERMISSION_SYSTEM_FIXED, 0, user); in grantRuntimePermissions()
DPermissionManagerServiceImpl.java41 import static android.content.pm.PackageManager.FLAG_PERMISSION_SYSTEM_FIXED;
198 private static final int BLOCKING_PERMISSION_FLAGS = FLAG_PERMISSION_SYSTEM_FIXED
808 flagMask &= ~PackageManager.FLAG_PERMISSION_SYSTEM_FIXED; in updatePermissionFlagsInternal()
809 flagValues &= ~PackageManager.FLAG_PERMISSION_SYSTEM_FIXED; in updatePermissionFlagsInternal()
904 ? flagMask : flagMask & ~PackageManager.FLAG_PERMISSION_SYSTEM_FIXED; in updatePermissionFlagsForAllApps()
906 ? flagValues : flagValues & ~PackageManager.FLAG_PERMISSION_SYSTEM_FIXED; in updatePermissionFlagsForAllApps()
1438 if ((flags & PackageManager.FLAG_PERMISSION_SYSTEM_FIXED) != 0) { in grantRuntimePermissionInternal()
1626 if ((flags & PackageManager.FLAG_PERMISSION_SYSTEM_FIXED) != 0 in revokeRuntimePermissionInternal()
1781 final int policyOrSystemFlags = FLAG_PERMISSION_SYSTEM_FIXED in resetRuntimePermissionsInternal()
1925 final int fixedFlags = PackageManager.FLAG_PERMISSION_SYSTEM_FIXED in shouldShowRequestPermissionRationale()
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DPermissionHelper.java242 return (flags & PackageManager.FLAG_PERMISSION_SYSTEM_FIXED) != 0 in isPermissionFixed()
/frameworks/base/core/java/android/permission/
DPermissionManager.java22 import static android.content.pm.PackageManager.FLAG_PERMISSION_SYSTEM_FIXED;
145 | FLAG_PERMISSION_SYSTEM_FIXED | FLAG_PERMISSION_GRANTED_BY_DEFAULT
/frameworks/base/core/java/android/content/pm/
DPackageManager.java5164 public static final int FLAG_PERMISSION_SYSTEM_FIXED = 1 << 4; field in PackageManager
5348 | FLAG_PERMISSION_SYSTEM_FIXED
6638 FLAG_PERMISSION_SYSTEM_FIXED,
10603 case FLAG_PERMISSION_SYSTEM_FIXED: return "SYSTEM_FIXED"; in permissionFlagToString()
/frameworks/base/core/api/
Dsystem-current.txt4310 field public static final int FLAG_PERMISSION_SYSTEM_FIXED = 16; // 0x10