Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionsState.java423 int flagMask, int flagValues) { in updatePermissionFlags() argument
426 final boolean mayChangeFlags = flagValues != 0 || flagMask != 0; in updatePermissionFlags()
451 final boolean updated = permissionData.updateFlags(userId, flagMask, flagValues); in updatePermissionFlags()
489 int userId, int flagMask, int flagValues) { in updatePermissionFlagsForAllPermissions() argument
500 changed |= permissionData.updateFlags(userId, flagMask, flagValues); in updatePermissionFlagsForAllPermissions()
804 public boolean updateFlags(int userId, int flagMask, int flagValues) { in updateFlags() argument
813 final int newFlags = flagValues & flagMask; in updateFlags()
818 userState.mFlags = (userState.mFlags & ~flagMask) | newFlags; in updateFlags()
DPermissionManagerServiceInternal.java160 @NonNull String packageName, int flagMask, int flagValues, int callingUid, int userId, in updatePermissionFlags() argument
166 public abstract boolean updatePermissionFlagsForAllApps(int flagMask, int flagValues, in updatePermissionFlagsForAllApps() argument
DPermissionManagerService.java2730 private void updatePermissionFlags(String permName, String packageName, int flagMask, in updatePermissionFlags() argument
2745 if ((flagMask & FLAG_PERMISSION_POLICY_FIXED) != 0 && !overridePolicy) { in updatePermissionFlags()
2752 flagMask &= ~PackageManager.FLAG_PERMISSION_SYSTEM_FIXED; in updatePermissionFlags()
2754 flagMask &= ~PackageManager.FLAG_PERMISSION_GRANTED_BY_DEFAULT; in updatePermissionFlags()
2785 permissionsState.updatePermissionFlags(bp, userId, flagMask, flagValues); in updatePermissionFlags()
2801 private boolean updatePermissionFlagsForAllApps(int flagMask, int flagValues, int callingUid, in updatePermissionFlagsForAllApps() argument
2817 flagMask &= ~PackageManager.FLAG_PERMISSION_SYSTEM_FIXED; in updatePermissionFlagsForAllApps()
2829 userId, flagMask, flagValues); in updatePermissionFlagsForAllApps()
3076 public void updatePermissionFlags(String permName, String packageName, int flagMask, in updatePermissionFlags() argument
3080 permName, packageName, flagMask, flagValues, callingUid, userId, in updatePermissionFlags()
[all …]
/frameworks/base/core/java/android/content/pm/
DIPackageManager.aidl128 void updatePermissionFlags(String permissionName, String packageName, int flagMask, in updatePermissionFlags() argument
131 void updatePermissionFlagsForAllApps(int flagMask, int flagValues, int userId); in updatePermissionFlagsForAllApps() argument
DPackageManagerInternal.java754 @NonNull String packageName, int flagMask, int flagValues, int userId); in updatePermissionFlagsTEMP() argument
DPackageManager.java4080 @NonNull String packageName, @PermissionFlags int flagMask, in updatePermissionFlags() argument
/frameworks/layoutlib/bridge/src/android/graphics/
DPaint_Delegate.java1360 private static void setFlag(long nativePaint, int flagMask, boolean flagValue) { in setFlag() argument
1368 delegate.mFlags |= flagMask; in setFlag()
1370 delegate.mFlags &= ~flagMask; in setFlag()
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/testutils/
DPackageManagerStub.java256 public void updatePermissionFlags(String permissionName, String packageName, int flagMask, in updatePermissionFlags() argument
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePackageManager.java270 public void updatePermissionFlags(String permissionName, String packageName, int flagMask, in updatePermissionFlags() argument
/frameworks/base/test-mock/src/android/test/mock/
DMockPackageManager.java294 int flagMask, int flagValues, UserHandle user) { in updatePermissionFlags() argument
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java711 int flagMask, int flagValues, UserHandle user) { in updatePermissionFlags() argument
713 mPM.updatePermissionFlags(permissionName, packageName, flagMask, in updatePermissionFlags()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java5787 public void updatePermissionFlags(String permName, String packageName, int flagMask,
5795 if ((flagMask & FLAG_PERMISSION_POLICY_FIXED) != 0) {
5817 permName, packageName, flagMask, flagValues, callingUid, userId,
5826 public void updatePermissionFlagsForAllApps(int flagMask, int flagValues, int userId) {
5829 flagMask, flagValues, getCallingUid(), userId, mPackages.values(),
24152 public void updatePermissionFlagsTEMP(String permName, String packageName, int flagMask,
24155 permName, packageName, flagMask, flagValues, true, userId);