Lines Matching refs:uid
2399 const int uid = ipc->getCallingUid();
2400 if ((uid != AID_SHELL) &&
2401 !PermissionCache::checkPermission(sDump, pid, uid)) {
2403 "can't dump SurfaceFlinger from pid=%d, uid=%d\n", pid, uid);
2745 const int uid = ipc->getCallingUid();
2746 if ((uid != AID_GRAPHICS) &&
2747 !PermissionCache::checkPermission(sAccessSurfaceFlinger, pid, uid)) {
2749 "can't access SurfaceFlinger pid=%d, uid=%d", pid, uid);
2759 const int uid = ipc->getCallingUid();
2760 if ((uid != AID_GRAPHICS) &&
2761 !PermissionCache::checkPermission(sReadFramebuffer, pid, uid)) {
2763 "can't read framebuffer pid=%d, uid=%d", pid, uid);
2776 const int uid = ipc->getCallingUid();
2778 "can't access SurfaceFlinger pid=%d, uid=%d", pid, uid);