Lines Matching refs:permission

86         mContext.enforceCallingOrSelfPermission(Manifest.permission.DUMP,
87 "caller doesn't have the DUMP permission");
89 // This makes it so that future permission checks will be in the context of this
164 * the calling user without requiring any permission, otherwise the caller needs to
165 * hold the INTERACT_ACROSS_USERS_FULL permission. Pseudousers USER_ALL and
176 "no permission to observe other users' provider view");
214 * the calling user without requiring any permission, otherwise the caller needs to
215 * hold the INTERACT_ACROSS_USERS_FULL permission. Pseudousers USER_ALL and
227 // Notify for any user other than the caller's own requires permission.
230 mContext.enforceCallingOrSelfPermission(Manifest.permission.INTERACT_ACROSS_USERS,
231 "no permission to notify other users");
234 // We passed the permission check; resolve pseudouser targets as appropriate
245 // This makes it so that future permission checks will be in the context of this
321 // This makes it so that future permission checks will be in the context of this
351 * INTERACT_ACROSS_USERS_FULL permission.
354 enforceCrossUserPermission(userId, "no permission to request sync as user: " + userId);
356 // This makes it so that future permission checks will be in the context of this
370 Manifest.permission.WRITE_SYNC_SETTINGS,
371 "no permission to write the sync settings");
415 * INTERACT_ACROSS_USERS_FULL permission.
430 "no permission to modify the sync settings for user " + userId);
431 // This makes it so that future permission checks will be in the context of this
465 mContext.enforceCallingOrSelfPermission(Manifest.permission.WRITE_SYNC_SETTINGS,
466 "no permission to write the sync settings");
490 * INTERACT_ACROSS_USERS_FULL permission.
497 "no permission to read sync settings for user " + userId);
498 // This makes it so that future permission checks will be in the context of this
516 * INTERACT_ACROSS_USERS_FULL permission.
521 "no permission to read the sync settings for user " + userId);
522 mContext.enforceCallingOrSelfPermission(Manifest.permission.READ_SYNC_SETTINGS,
523 "no permission to read the sync settings");
549 mContext.enforceCallingOrSelfPermission(Manifest.permission.WRITE_SYNC_SETTINGS,
550 "no permission to write the sync settings");
552 "no permission to modify the sync settings for user " + userId);
576 mContext.enforceCallingOrSelfPermission(Manifest.permission.WRITE_SYNC_SETTINGS,
577 "no permission to write the sync settings");
608 mContext.enforceCallingOrSelfPermission(Manifest.permission.WRITE_SYNC_SETTINGS,
609 "no permission to write the sync settings");
632 mContext.enforceCallingOrSelfPermission(Manifest.permission.READ_SYNC_SETTINGS,
633 "no permission to read the sync settings");
651 * INTERACT_ACROSS_USERS_FULL permission.
655 "no permission to read the sync settings for user " + userId);
656 mContext.enforceCallingOrSelfPermission(Manifest.permission.READ_SYNC_SETTINGS,
657 "no permission to read the sync settings");
676 mContext.enforceCallingOrSelfPermission(Manifest.permission.WRITE_SYNC_SETTINGS,
677 "no permission to write the sync settings");
699 * INTERACT_ACROSS_USERS_FULL permission.
704 "no permission to read the sync settings for user " + userId);
705 mContext.enforceCallingOrSelfPermission(Manifest.permission.READ_SYNC_SETTINGS,
706 "no permission to read the sync settings");
728 "no permission to set the sync status for user " + userId);
729 mContext.enforceCallingOrSelfPermission(Manifest.permission.WRITE_SYNC_SETTINGS,
730 "no permission to write the sync settings");
744 mContext.enforceCallingOrSelfPermission(Manifest.permission.READ_SYNC_STATS,
745 "no permission to read the sync stats");
767 * INTERACT_ACROSS_USERS_FULL permission.
771 "no permission to read the sync settings for user " + userId);
772 mContext.enforceCallingOrSelfPermission(Manifest.permission.READ_SYNC_STATS,
773 "no permission to read the sync stats");
789 * INTERACT_ACROSS_USERS_FULL permission.
798 "no permission to read the sync stats for user " + userId);
799 mContext.enforceCallingOrSelfPermission(Manifest.permission.READ_SYNC_STATS,
800 "no permission to read the sync stats");
828 mContext.enforceCallingOrSelfPermission(Manifest.permission.READ_SYNC_STATS,
829 "no permission to read the sync stats");
831 "no permission to retrieve the sync settings for user " + userId);
882 * permission, if the userHandle is not for the caller.
891 Manifest.permission.INTERACT_ACROSS_USERS_FULL, message);