Searched refs:flagMask (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PermissionsState.java | 367 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()
|
D | PackageManagerService.java | 4278 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/ |
D | IPackageManager.aidl | 109 void updatePermissionFlags(String permissionName, String packageName, int flagMask, in updatePermissionFlags() argument 112 void updatePermissionFlagsForAllApps(int flagMask, int flagValues, int userId); in updatePermissionFlagsForAllApps() argument
|
D | PackageManager.java | 3377 String packageName, @PermissionFlags int flagMask, int flagValues, in updatePermissionFlags() argument
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Paint_Delegate.java | 1333 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/ |
D | BridgePackageManager.java | 240 public void updatePermissionFlags(String permissionName, String packageName, int flagMask, in updatePermissionFlags() argument
|
/frameworks/base/test-runner/src/android/test/mock/ |
D | MockPackageManager.java | 268 int flagMask, int flagValues, UserHandle user) { in updatePermissionFlags() argument
|
/frameworks/base/core/java/android/app/ |
D | ApplicationPackageManager.java | 596 int flagMask, int flagValues, UserHandle user) { in updatePermissionFlags() argument 598 mPM.updatePermissionFlags(permissionName, packageName, flagMask, in updatePermissionFlags()
|