/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | PermissionsState.java | 423 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()
|
D | PermissionManagerServiceInternal.java | 160 @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
|
D | PermissionManagerService.java | 2730 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/ |
D | IPackageManager.aidl | 128 void updatePermissionFlags(String permissionName, String packageName, int flagMask, in updatePermissionFlags() argument 131 void updatePermissionFlagsForAllApps(int flagMask, int flagValues, int userId); in updatePermissionFlagsForAllApps() argument
|
D | PackageManagerInternal.java | 754 @NonNull String packageName, int flagMask, int flagValues, int userId); in updatePermissionFlagsTEMP() argument
|
D | PackageManager.java | 4080 @NonNull String packageName, @PermissionFlags int flagMask, in updatePermissionFlags() argument
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | Paint_Delegate.java | 1360 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/ |
D | PackageManagerStub.java | 256 public void updatePermissionFlags(String permissionName, String packageName, int flagMask, in updatePermissionFlags() argument
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgePackageManager.java | 270 public void updatePermissionFlags(String permissionName, String packageName, int flagMask, in updatePermissionFlags() argument
|
/frameworks/base/test-mock/src/android/test/mock/ |
D | MockPackageManager.java | 294 int flagMask, int flagValues, UserHandle user) { in updatePermissionFlags() argument
|
/frameworks/base/core/java/android/app/ |
D | ApplicationPackageManager.java | 711 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/ |
D | PackageManagerService.java | 5787 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);
|