Home
last modified time | relevance | path

Searched refs:FLAG_PERMISSION_USER_SET (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DPermissionHelperTest.java22 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()
DPreferencesHelperTest.java270 .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/
DAppOpsController.kt74 PackageManager.FLAG_PERMISSION_USER_SET, in setAllowed()
75 PackageManager.FLAG_PERMISSION_USER_SET, in setAllowed()
/frameworks/base/services/core/java/com/android/server/notification/
DPermissionHelper.java20 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()
DPreferencesHelper.java2243 return (currentPermissionFlags & PackageManager.FLAG_PERMISSION_USER_SET) != 0; in isFsiPermissionUserSet()
/frameworks/base/services/permission/java/com/android/server/permission/access/permission/
DPermissionFlags.kt365 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/
DPermissionManager.java24 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/
DAppOpsCheckingServiceImpl.java652 if ((flags & PackageManager.FLAG_PERMISSION_USER_SET) == 0) { in resetUseFullScreenIntentLocked()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerServiceImpl.java43 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
DDefaultPermissionGrantPolicy.java1264 return (flags & (PackageManager.FLAG_PERMISSION_USER_SET in isFixedOrUserSet()
/frameworks/base/core/java/android/content/pm/
DPackageManager.java5119 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/
DVrManagerService.java1103 return (flags & (PackageManager.FLAG_PERMISSION_USER_SET in isPermissionUserUpdated()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerShellCommand.java25 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/
Dsystem-current.txt4314 field public static final int FLAG_PERMISSION_USER_SET = 1; // 0x1