Searched refs:flagMask (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PermissionsState.java | 366 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()
|
D | PackageManagerService.java | 4356 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/ |
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 | 3354 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 | 235 public void updatePermissionFlags(String permissionName, String packageName, int flagMask, in updatePermissionFlags() argument
|
/frameworks/base/test-runner/src/android/test/mock/ |
D | MockPackageManager.java | 262 int flagMask, int flagValues, UserHandle user) { in updatePermissionFlags() argument
|
/frameworks/base/core/java/android/app/ |
D | ApplicationPackageManager.java | 590 int flagMask, int flagValues, UserHandle user) { in updatePermissionFlags() argument 592 mPM.updatePermissionFlags(permissionName, packageName, flagMask, in updatePermissionFlags()
|