/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | PermissionState.java | 100 public boolean updateFlags(int flagMask, int flagValues) { in updateFlags() argument 102 final int newFlags = flagValues & flagMask; in updateFlags()
|
D | UidPermissionState.java | 280 int flagValues) { in updatePermissionFlags() argument 285 final boolean changed = permissionState.updateFlags(flagMask, flagValues); in updatePermissionFlags() 292 public boolean updatePermissionFlagsForAllPermissions(int flagMask, int flagValues) { in updatePermissionFlagsForAllPermissions() argument 302 final boolean changed = permissionState.updateFlags(flagMask, flagValues); in updatePermissionFlagsForAllPermissions()
|
D | PermissionManagerServiceLoggingDecorator.java | 133 int flagValues, boolean checkAdjustPolicyFlagPermission, String deviceId, int userId) { in updatePermissionFlags() argument 135 + permName + ", flagMask = " + flagMask + ", flagValues = " + flagValues in updatePermissionFlags() 138 mService.updatePermissionFlags(packageName, permName, flagMask, flagValues, in updatePermissionFlags() 143 public void updatePermissionFlagsForAllApps(int flagMask, int flagValues, int userId) { in updatePermissionFlagsForAllApps() argument 145 + flagValues + ", userId = " + userId + ")"); in updatePermissionFlagsForAllApps() 146 mService.updatePermissionFlagsForAllApps(flagMask, flagValues, userId); in updatePermissionFlagsForAllApps()
|
D | PermissionManagerServiceTestingShim.java | 170 int flagValues, boolean checkAdjustPolicyFlagPermission, String deviceId, in updatePermissionFlags() argument 172 mOldImplementation.updatePermissionFlags(packageName, permName, flagMask, flagValues, in updatePermissionFlags() 174 mNewImplementation.updatePermissionFlags(packageName, permName, flagMask, flagValues, in updatePermissionFlags() 179 public void updatePermissionFlagsForAllApps(int flagMask, int flagValues, int userId) { in updatePermissionFlagsForAllApps() argument 180 mOldImplementation.updatePermissionFlagsForAllApps(flagMask, flagValues, userId); in updatePermissionFlagsForAllApps() 181 mNewImplementation.updatePermissionFlagsForAllApps(flagMask, flagValues, userId); in updatePermissionFlagsForAllApps()
|
D | PermissionManagerServiceInterface.java | 162 void updatePermissionFlags(String packageName, String permName, int flagMask, int flagValues, in updatePermissionFlags() argument 170 void updatePermissionFlagsForAllApps(int flagMask, int flagValues, int userId); in updatePermissionFlagsForAllApps() argument
|
D | PermissionManagerServiceTracingDecorator.java | 174 int flagValues, boolean checkAdjustPolicyFlagPermission, String deviceId, int userId) { in updatePermissionFlags() argument 178 mService.updatePermissionFlags(packageName, permName, flagMask, flagValues, in updatePermissionFlags() 186 public void updatePermissionFlagsForAllApps(int flagMask, int flagValues, int userId) { in updatePermissionFlagsForAllApps() argument 190 mService.updatePermissionFlagsForAllApps(flagMask, flagValues, userId); in updatePermissionFlagsForAllApps()
|
D | PermissionManagerServiceImpl.java | 745 int flagValues, boolean checkAdjustPolicyFlagPermission, String deviceId, int userId) { in updatePermissionFlags() argument 769 packageName, permName, flagMask, flagValues, callingUid, userId, in updatePermissionFlags() 774 int flagValues, int callingUid, int userId, boolean overridePolicy, in updatePermissionFlagsInternal() argument 784 PackageManager.class, "FLAG_PERMISSION_", flagValues) in updatePermissionFlagsInternal() 809 flagValues &= ~PackageManager.FLAG_PERMISSION_SYSTEM_FIXED; in updatePermissionFlagsInternal() 811 flagValues &= ~PackageManager.FLAG_PERMISSION_GRANTED_BY_DEFAULT; in updatePermissionFlagsInternal() 812 flagValues &= ~FLAG_PERMISSION_RESTRICTION_SYSTEM_EXEMPT; in updatePermissionFlagsInternal() 813 flagValues &= ~FLAG_PERMISSION_RESTRICTION_INSTALLER_EXEMPT; in updatePermissionFlagsInternal() 814 flagValues &= ~FLAG_PERMISSION_RESTRICTION_UPGRADE_EXEMPT; in updatePermissionFlagsInternal() 815 flagValues &= ~PackageManager.FLAG_PERMISSION_APPLY_RESTRICTION; in updatePermissionFlagsInternal() [all …]
|
D | DefaultPermissionGrantPolicy.java | 276 int flagMask, int flagValues, @NonNull UserHandle user) { 278 flagMask, flagValues, user); 1660 int flagMask, int flagValues, @NonNull UserHandle user); in updatePermissionFlags() argument 1850 int flagMask, int flagValues, @NonNull UserHandle user) { in updatePermissionFlags() argument 1853 state.newFlags = (state.newFlags & ~flagMask) | (flagValues & flagMask); in updatePermissionFlags()
|
D | PermissionManagerService.java | 540 int flagValues, boolean checkAdjustPolicyFlagPermission, String persistentDeviceId, in updatePermissionFlags() argument 543 flagValues, checkAdjustPolicyFlagPermission, persistentDeviceId, userId); in updatePermissionFlags() 547 public void updatePermissionFlagsForAllApps(int flagMask, int flagValues, int userId) { in updatePermissionFlagsForAllApps() argument 548 mPermissionManagerServiceImpl.updatePermissionFlagsForAllApps(flagMask, flagValues, userId); in updatePermissionFlagsForAllApps()
|
/frameworks/base/core/java/android/permission/ |
D | IPermissionManager.aidl | 50 int flagValues, boolean checkAdjustPolicyFlagPermission, String persistentDeviceId, in updatePermissionFlags() argument 53 void updatePermissionFlagsForAllApps(int flagMask, int flagValues, int userId); in updatePermissionFlagsForAllApps() argument
|
D | PermissionManager.java | 845 @PackageManager.PermissionFlags int flagValues, @NonNull UserHandle user) { in updatePermissionFlags() argument 851 updatePermissionFlagsInternal(packageName, permissionName, flagMask, flagValues, in updatePermissionFlags() 876 @PackageManager.PermissionFlags int flagValues in updatePermissionFlags() argument 878 updatePermissionFlagsInternal(packageName, permissionName, flagMask, flagValues, in updatePermissionFlags() 885 @PackageManager.PermissionFlags int flagValues, @NonNull String persistentDeviceId, in updatePermissionFlagsInternal() argument 895 flagValues), new RuntimeException()); in updatePermissionFlagsInternal() 901 flagValues, checkAdjustPolicyFlagPermission, in updatePermissionFlagsInternal()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DisplayWindowPolicyControllerHelper.java | 119 int privateFlagChanges, int flagValues, int privateFlagValues) { in keepActivityOnWindowFlagsChanged() argument 130 aInfo, flagValues, privateFlagValues); in keepActivityOnWindowFlagsChanged()
|
/frameworks/base/core/java/com/android/internal/pm/pkg/component/ |
D | AconfigFlags.java | 241 public void addFlagValuesForTesting(@NonNull Map<String, Boolean> flagValues) { in addFlagValuesForTesting() argument 242 mFlagValues.putAll(flagValues); in addFlagValuesForTesting()
|
/frameworks/base/services/permission/java/com/android/server/permission/access/permission/ |
D | PermissionService.kt | 1266 flagValues: Int, in <lambda>() 1286 flagValues.toLong() in <lambda>() 1386 flagValues, in <lambda>() 1396 override fun updatePermissionFlagsForAllApps(flagMask: Int, flagValues: Int, userId: Int) { in <lambda>() 1409 flagValues.toLong() in <lambda>() 1456 flagValues, in <lambda>() 1475 flagValues: Int, in <lambda>() 1483 @Suppress("NAME_SHADOWING") var flagValues = flagValues in <lambda>() variable 1496 flagValues = flagValues andInv ignoredMask in <lambda>() 1517 val newFlags = PermissionFlags.updateFlags(permission, oldFlags, flagMask, flagValues) in <lambda>()
|
D | DevicePermissionPolicy.kt | 261 flagValues: Int in <lambda>() 275 val newFlags = (oldFlags andInv flagMask) or (flagValues and flagMask) in <lambda>()
|
D | AppIdPermissionPolicy.kt | 1727 flagValues: Int in <lambda>() 1740 val newFlags = (oldFlags andInv flagMask) or (flagValues and flagMask) in <lambda>()
|
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/ |
D | PackageParserTest.java | 825 Map<String, Boolean> flagValues = new HashMap<>(); in testParseWithFeatureFlagAttributes() local 826 flagValues.put("my.flag1", true); in testParseWithFeatureFlagAttributes() 827 flagValues.put("my.flag2", false); in testParseWithFeatureFlagAttributes() 828 flagValues.put("my.flag3", false); in testParseWithFeatureFlagAttributes() 829 flagValues.put("my.flag4", true); in testParseWithFeatureFlagAttributes() 830 ParsingPackageUtils.getAconfigFlags().addFlagValuesForTesting(flagValues); in testParseWithFeatureFlagAttributes()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/testutils/ |
D | PackageManagerStub.java | 257 int flagValues, UserHandle user) { in updatePermissionFlags() argument
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgePackageManager.java | 310 int flagValues, UserHandle user) { 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/services/tests/servicestests/src/com/android/server/app/ |
D | MockPackageManager.java | 287 int flagMask, int flagValues, @NonNull UserHandle user) { in updatePermissionFlags() argument
|
/frameworks/base/core/java/android/app/ |
D | ApplicationPackageManager.java | 921 int flagMask, int flagValues, UserHandle user) { in updatePermissionFlags() argument 922 getPermissionManager().updatePermissionFlags(packageName, permName, flagMask, flagValues, in updatePermissionFlags()
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageManager.java | 6785 @PermissionFlags int flagValues, @NonNull UserHandle user); in updatePermissionFlags() argument
|