• Home
  • Raw
  • Download

Lines Matching refs:callingPid

927     int callingPid = getCallingPid();  in validateConnectLocked()  local
935 "(don't trust clientUid %d)", callingPid, callingUid, clientUid); in validateConnectLocked()
939 callingPid, callingUid, cameraId.string(), in validateConnectLocked()
945 clientPid = callingPid; in validateConnectLocked()
948 "(don't trust clientPid %d)", callingPid, callingUid, clientPid); in validateConnectLocked()
952 callingPid, callingUid, cameraId.string(), in validateConnectLocked()
957 if (callingPid != getpid() && in validateConnectLocked()
968 clientPid = callingPid; in validateConnectLocked()
972 callingPid); in validateConnectLocked()
978 ALOGE("CameraService::connect X (PID %d) rejected (invalid camera ID %s)", callingPid, in validateConnectLocked()
988 if (callingPid != getpid() && (mAllowedUsers.find(clientUserId) == mAllowedUsers.end())) { in validateConnectLocked()
990 "device user %d, currently allowed device users: %s)", callingPid, clientUserId, in validateConnectLocked()
1014 int callingPid = getCallingPid(); in checkIfDeviceIsUsable() local
1016 ALOGE("CameraService::connect X (PID %d) rejected (invalid camera ID %s)", callingPid, in checkIfDeviceIsUsable()
1024 callingPid, cameraId.string()); in checkIfDeviceIsUsable()
1028 callingPid, cameraId.string()); in checkIfDeviceIsUsable()
1655 const int callingPid = getCallingPid(); in evictClientIdByRemote() local
1672 if (remote == clientSp->getRemote() && (callingPid == servicePid || in evictClientIdByRemote()
1673 callingPid == clientSp->getClientPid())) { in evictClientIdByRemote()
2030 int callingPid = getCallingPid(); in Client() local
2031 LOG1("Client::Client E (pid %d, id %d)", callingPid, cameraId); in Client()
2037 LOG1("Client::Client X (pid %d, id %d)", callingPid, cameraId); in Client()