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.java366 int flagMask, int flagValues) { in updatePermissionFlags() argument
369 final boolean mayChangeFlags = flagValues != 0 || flagMask != 0; in updatePermissionFlags()
388 final boolean updated = permissionData.updateFlags(userId, flagMask, flagValues); in updatePermissionFlags()
411 int userId, int flagMask, int flagValues) { in updatePermissionFlagsForAllPermissions() argument
421 changed |= permissionData.updateFlags(userId, flagMask, flagValues); in updatePermissionFlagsForAllPermissions()
699 public boolean updateFlags(int userId, int flagMask, int flagValues) { in updateFlags() argument
708 final int newFlags = flagValues & flagMask; in updateFlags()
713 userState.mFlags = (userState.mFlags & ~flagMask) | newFlags; in updateFlags()
DPackageManagerService.java4356 public void updatePermissionFlags(String name, String packageName, int flagMask,
4370 flagMask &= ~PackageManager.FLAG_PERMISSION_SYSTEM_FIXED;
4372 flagMask &= ~PackageManager.FLAG_PERMISSION_GRANTED_BY_DEFAULT;
4397 if (permissionsState.updatePermissionFlags(bp, userId, flagMask, flagValues)) {
4415 public void updatePermissionFlagsForAllApps(int flagMask, int flagValues, int userId) {
4428 flagMask &= ~PackageManager.FLAG_PERMISSION_SYSTEM_FIXED;
4443 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.java3354 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.java235 public void updatePermissionFlags(String permissionName, String packageName, int flagMask, in updatePermissionFlags() argument
/frameworks/base/test-runner/src/android/test/mock/
DMockPackageManager.java262 int flagMask, int flagValues, UserHandle user) { in updatePermissionFlags() argument
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java590 int flagMask, int flagValues, UserHandle user) { in updatePermissionFlags() argument
592 mPM.updatePermissionFlags(permissionName, packageName, flagMask, in updatePermissionFlags()