Searched refs:NOTIFICATION_PERMISSION (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/services/core/java/com/android/server/notification/ |
D | PermissionHelper.java | 54 private static final String NOTIFICATION_PERMISSION = Manifest.permission.POST_NOTIFICATIONS; field in PermissionHelper 74 return mContext.checkPermission(NOTIFICATION_PERMISSION, -1, uid) == PERMISSION_GRANTED; in hasPermission() 119 if (NOTIFICATION_PERMISSION.equals(perm)) { in getAppsRequestingPermission() 150 new String[] {NOTIFICATION_PERMISSION}, 0, userId); in getAppsGrantedPermission() 199 mPermManager.grantRuntimePermission(packageName, NOTIFICATION_PERMISSION, in setNotificationPermission() 202 mPermManager.revokeRuntimePermission(packageName, NOTIFICATION_PERMISSION, in setNotificationPermission() 207 mPermManager.updatePermissionFlags(packageName, NOTIFICATION_PERMISSION, flagMask, in setNotificationPermission() 211 mPermManager.updatePermissionFlags(packageName, NOTIFICATION_PERMISSION, in setNotificationPermission() 240 int flags = mPermManager.getPermissionFlags(packageName, NOTIFICATION_PERMISSION, in isPermissionFixed() 257 int flags = mPermManager.getPermissionFlags(packageName, NOTIFICATION_PERMISSION, in isPermissionUserSet() [all …]
|