Home
last modified time | relevance | path

Searched refs:flagMask (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DPermissionsState.java367 int flagMask, int flagValues) { in updatePermissionFlags() argument
370 final boolean mayChangeFlags = flagValues != 0 || flagMask != 0; in updatePermissionFlags()
389 final boolean updated = permissionData.updateFlags(userId, flagMask, flagValues); in updatePermissionFlags()
412 int userId, int flagMask, int flagValues) { in updatePermissionFlagsForAllPermissions() argument
422 changed |= permissionData.updateFlags(userId, flagMask, flagValues); in updatePermissionFlagsForAllPermissions()
700 public boolean updateFlags(int userId, int flagMask, int flagValues) { in updateFlags() argument
709 final int newFlags = flagValues & flagMask; in updateFlags()
714 userState.mFlags = (userState.mFlags & ~flagMask) | newFlags; in updateFlags()
DPackageManagerService.java4278 public void updatePermissionFlags(String name, String packageName, int flagMask,
4292 flagMask &= ~PackageManager.FLAG_PERMISSION_SYSTEM_FIXED;
4294 flagMask &= ~PackageManager.FLAG_PERMISSION_GRANTED_BY_DEFAULT;
4319 if (permissionsState.updatePermissionFlags(bp, userId, flagMask, flagValues)) {
4337 public void updatePermissionFlagsForAllApps(int flagMask, int flagValues, int userId) {
4350 flagMask &= ~PackageManager.FLAG_PERMISSION_SYSTEM_FIXED;
4365 userId, flagMask, flagValues);
/frameworks/base/core/java/android/content/pm/
DIPackageManager.aidl109 void updatePermissionFlags(String permissionName, String packageName, int flagMask, in updatePermissionFlags() argument
112 void updatePermissionFlagsForAllApps(int flagMask, int flagValues, int userId); in updatePermissionFlagsForAllApps() argument
DPackageManager.java3377 String packageName, @PermissionFlags int flagMask, int flagValues, in updatePermissionFlags() argument
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DPaint_Delegate.java1333 private static void setFlag(long nativePaint, int flagMask, boolean flagValue) { in setFlag() argument
1341 delegate.mFlags |= flagMask; in setFlag()
1343 delegate.mFlags &= ~flagMask; in setFlag()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePackageManager.java240 public void updatePermissionFlags(String permissionName, String packageName, int flagMask, in updatePermissionFlags() argument
/frameworks/base/test-runner/src/android/test/mock/
DMockPackageManager.java268 int flagMask, int flagValues, UserHandle user) { in updatePermissionFlags() argument
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java596 int flagMask, int flagValues, UserHandle user) { in updatePermissionFlags() argument
598 mPM.updatePermissionFlags(permissionName, packageName, flagMask, in updatePermissionFlags()