Searched refs:FLAG_PERMISSION_USER_SET (Results 1 – 14 of 14) sorted by relevance
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | PermissionHelperTest.java | 22 import static android.content.pm.PackageManager.FLAG_PERMISSION_USER_SET; 79 private static final int USER_FLAG_MASK = FLAG_PERMISSION_USER_SET | FLAG_PERMISSION_USER_FIXED; 253 USER_FLAG_MASK, FLAG_PERMISSION_USER_SET, true, in testSetNotificationPermission_grantUserSet() 273 USER_FLAG_MASK, FLAG_PERMISSION_USER_SET, true, in testSetNotificationPermission_pkgPerm_grantedByDefaultPermSet_allUserSet() 288 USER_FLAG_MASK, FLAG_PERMISSION_USER_SET, true, in testSetNotificationPermission_revokeUserSet() 392 anyString(), anyInt())).thenReturn(FLAG_PERMISSION_USER_SET); in testIsPermissionFixed() 398 anyInt())).thenReturn(FLAG_PERMISSION_USER_SET | FLAG_PERMISSION_POLICY_FIXED); in testIsPermissionFixed() 450 .thenReturn(FLAG_PERMISSION_USER_SET); in testGetNotificationPermissionValues() 453 .thenReturn(FLAG_PERMISSION_USER_SET); in testGetNotificationPermissionValues()
|
D | PreferencesHelperTest.java | 270 .thenReturn(PackageManager.FLAG_PERMISSION_USER_SET); in setUp() 5997 /* currentPermissionFlags= */ PackageManager.FLAG_PERMISSION_USER_SET); in testIsFsiPermissionUserSet_appDidNotRequest_false() 6006 /* currentPermissionFlags= */ PackageManager.FLAG_PERMISSION_USER_SET); in testIsFsiPermissionUserSet_userSet_true() 6015 /* currentPermissionFlags= */ ~PackageManager.FLAG_PERMISSION_USER_SET); in testIsFsiPermissionUserSet_notUserSet_false()
|
/frameworks/base/packages/SettingsLib/SpaPrivileged/src/com/android/settingslib/spaprivileged/model/app/ |
D | AppOpsController.kt | 74 PackageManager.FLAG_PERMISSION_USER_SET, in setAllowed() 75 PackageManager.FLAG_PERMISSION_USER_SET, in setAllowed()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | PermissionHelper.java | 20 import static android.content.pm.PackageManager.FLAG_PERMISSION_USER_SET; 205 int flagMask = FLAG_PERMISSION_USER_SET | FLAG_PERMISSION_USER_FIXED; in setNotificationPermission() 208 FLAG_PERMISSION_USER_SET, true, in setNotificationPermission() 259 return (flags & (PackageManager.FLAG_PERMISSION_USER_SET in isPermissionUserSet()
|
D | PreferencesHelper.java | 2243 return (currentPermissionFlags & PackageManager.FLAG_PERMISSION_USER_SET) != 0; in isFsiPermissionUserSet()
|
/frameworks/base/services/permission/java/com/android/server/permission/access/permission/ |
D | PermissionFlags.kt | 365 apiFlags = apiFlags or PackageManager.FLAG_PERMISSION_USER_SET in toApiFlags() 442 if (apiFlags.hasBits(PackageManager.FLAG_PERMISSION_USER_SET)) { in fromApiFlags()
|
/frameworks/base/core/java/android/permission/ |
D | PermissionManager.java | 24 import static android.content.pm.PackageManager.FLAG_PERMISSION_USER_SET; 143 public static final int EXPLICIT_SET_FLAGS = FLAG_PERMISSION_USER_SET
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | AppOpsCheckingServiceImpl.java | 652 if ((flags & PackageManager.FLAG_PERMISSION_USER_SET) == 0) { in resetUseFullScreenIntentLocked()
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | PermissionManagerServiceImpl.java | 43 import static android.content.pm.PackageManager.FLAG_PERMISSION_USER_SET; 203 private static final int USER_PERMISSION_FLAGS = FLAG_PERMISSION_USER_SET 1774 final int userSettableMask = FLAG_PERMISSION_USER_SET in resetRuntimePermissionsInternal() 1957 return (flags & PackageManager.FLAG_PERMISSION_USER_SET) != 0; in shouldShowRequestPermissionRationale() 3653 if ((flags & PackageManager.FLAG_PERMISSION_USER_SET) != 0) { 4764 final int userSettableMask = FLAG_PERMISSION_USER_SET
|
D | DefaultPermissionGrantPolicy.java | 1264 return (flags & (PackageManager.FLAG_PERMISSION_USER_SET in isFixedOrUserSet()
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageManager.java | 5119 public static final int FLAG_PERMISSION_USER_SET = 1 << 0; field in PackageManager 5344 public static final int MASK_PERMISSION_FLAGS_ALL = FLAG_PERMISSION_USER_SET 6634 FLAG_PERMISSION_USER_SET, 10604 case FLAG_PERMISSION_USER_SET: return "USER_SET"; in permissionFlagToString()
|
/frameworks/base/services/core/java/com/android/server/vr/ |
D | VrManagerService.java | 1103 return (flags & (PackageManager.FLAG_PERMISSION_USER_SET in isPermissionUserUpdated()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerShellCommand.java | 25 import static android.content.pm.PackageManager.FLAG_PERMISSION_USER_SET; 176 SUPPORTED_PERMISSION_FLAGS.put("user-set", FLAG_PERMISSION_USER_SET);
|
/frameworks/base/core/api/ |
D | system-current.txt | 4314 field public static final int FLAG_PERMISSION_USER_SET = 1; // 0x1
|