Home
last modified time | relevance | path

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

/frameworks/base/services/permission/java/com/android/server/permission/access/permission/
DPermissionFlags.kt377 apiFlags = apiFlags or PackageManager.FLAG_PERMISSION_GRANTED_BY_DEFAULT in toApiFlags()
454 if (apiFlags.hasBits(PackageManager.FLAG_PERMISSION_GRANTED_BY_DEFAULT)) { in fromApiFlags()
DPermissionService.kt1490 PackageManager.FLAG_PERMISSION_GRANTED_BY_DEFAULT or in <lambda>()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DPermissionHelperTest.java18 import static android.content.pm.PackageManager.FLAG_PERMISSION_GRANTED_BY_DEFAULT;
264 anyString(), anyInt())).thenReturn(FLAG_PERMISSION_GRANTED_BY_DEFAULT); in testSetNotificationPermission_pkgPerm_grantedByDefaultPermSet_allUserSet()
/frameworks/base/services/core/java/com/android/server/notification/
DPermissionHelper.java276 return (flags & (PackageManager.FLAG_PERMISSION_GRANTED_BY_DEFAULT in isPermissionGrantedByDefaultOrRole()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DDefaultPermissionGrantPolicy.java1224 if ((flags & PackageManager.FLAG_PERMISSION_GRANTED_BY_DEFAULT) == 0) { in revokeRuntimePermissions()
1248 PackageManager.FLAG_PERMISSION_GRANTED_BY_DEFAULT, 0, user); in revokeRuntimePermissions()
1298 int newFlags = PackageManager.FLAG_PERMISSION_GRANTED_BY_DEFAULT; in grantRuntimePermissions()
1423 if ((flags & PackageManager.FLAG_PERMISSION_GRANTED_BY_DEFAULT) != 0 in grantRuntimePermissions()
DPermissionManagerServiceImpl.java30 import static android.content.pm.PackageManager.FLAG_PERMISSION_GRANTED_BY_DEFAULT;
200 | FLAG_PERMISSION_GRANTED_BY_DEFAULT;
810 flagMask &= ~PackageManager.FLAG_PERMISSION_GRANTED_BY_DEFAULT; in updatePermissionFlagsInternal()
811 flagValues &= ~PackageManager.FLAG_PERMISSION_GRANTED_BY_DEFAULT; in updatePermissionFlagsInternal()
1849 if ((oldFlags & FLAG_PERMISSION_GRANTED_BY_DEFAULT) != 0 in resetRuntimePermissionsInternal()
2270 | FLAG_PERMISSION_GRANTED_BY_DEFAULT
4768 final int defaultGrantMask = FLAG_PERMISSION_GRANTED_BY_DEFAULT
/frameworks/base/core/java/android/permission/
DPermissionManager.java19 import static android.content.pm.PackageManager.FLAG_PERMISSION_GRANTED_BY_DEFAULT;
145 | FLAG_PERMISSION_SYSTEM_FIXED | FLAG_PERMISSION_GRANTED_BY_DEFAULT
/frameworks/base/core/java/android/content/pm/
DPackageManager.java5175 public static final int FLAG_PERMISSION_GRANTED_BY_DEFAULT = 1 << 5; field in PackageManager
5349 | FLAG_PERMISSION_GRANTED_BY_DEFAULT
6639 FLAG_PERMISSION_GRANTED_BY_DEFAULT,
10601 case FLAG_PERMISSION_GRANTED_BY_DEFAULT: return "GRANTED_BY_DEFAULT"; in permissionFlagToString()
/frameworks/base/core/api/
Dsystem-current.txt4298 field public static final int FLAG_PERMISSION_GRANTED_BY_DEFAULT = 32; // 0x20