Home
last modified time | relevance | path

Searched refs:flagValues (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionState.java100 public boolean updateFlags(int flagMask, int flagValues) { in updateFlags() argument
102 final int newFlags = flagValues & flagMask; in updateFlags()
DUidPermissionState.java280 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()
DPermissionManagerServiceLoggingDecorator.java133 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()
DPermissionManagerServiceTestingShim.java170 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()
DPermissionManagerServiceInterface.java162 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
DPermissionManagerServiceTracingDecorator.java174 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()
DPermissionManagerServiceImpl.java745 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 …]
DDefaultPermissionGrantPolicy.java276 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()
DPermissionManagerService.java540 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/
DIPermissionManager.aidl50 int flagValues, boolean checkAdjustPolicyFlagPermission, String persistentDeviceId, in updatePermissionFlags() argument
53 void updatePermissionFlagsForAllApps(int flagMask, int flagValues, int userId); in updatePermissionFlagsForAllApps() argument
DPermissionManager.java845 @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/
DDisplayWindowPolicyControllerHelper.java119 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/
DAconfigFlags.java241 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/
DPermissionService.kt1266 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>()
DDevicePermissionPolicy.kt261 flagValues: Int in <lambda>()
275 val newFlags = (oldFlags andInv flagMask) or (flagValues and flagMask) in <lambda>()
DAppIdPermissionPolicy.kt1727 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/
DPackageParserTest.java825 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/
DPackageManagerStub.java257 int flagValues, UserHandle user) { in updatePermissionFlags() argument
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePackageManager.java310 int flagValues, UserHandle user) { in updatePermissionFlags() argument
/frameworks/base/test-mock/src/android/test/mock/
DMockPackageManager.java294 int flagMask, int flagValues, UserHandle user) { in updatePermissionFlags() argument
/frameworks/base/services/tests/servicestests/src/com/android/server/app/
DMockPackageManager.java287 int flagMask, int flagValues, @NonNull UserHandle user) { in updatePermissionFlags() argument
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java921 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/
DPackageManager.java6785 @PermissionFlags int flagValues, @NonNull UserHandle user); in updatePermissionFlags() argument