Home
last modified time | relevance | path

Searched refs:kMaxFdsPerMsg (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/libs/binder/
DOS_unix_base.cpp31 constexpr size_t kMaxFdsPerMsg = 253; variable
75 if (ancillaryFds->size() > kMaxFdsPerMsg) { in sendMessageOnSocket()
82 int fds[kMaxFdsPerMsg]; in sendMessageOnSocket()
88 alignas(struct cmsghdr) char msgControlBuf[CMSG_SPACE(sizeof(int) * kMaxFdsPerMsg)]; in sendMessageOnSocket()
119 int fdBuffer[kMaxFdsPerMsg]; in receiveMessageFromSocket()
DRpcState.cpp1236 constexpr size_t kMaxFdsPerMsg = 253; in validateParcel() local
1237 if (rpcFields->mFds->size() > kMaxFdsPerMsg) { in validateParcel()
1240 << rpcFields->mFds->size() << " (max is " << kMaxFdsPerMsg << ")"; in validateParcel()
1250 constexpr size_t kMaxFdsPerMsg = 8; in validateParcel() local
1251 if (rpcFields->mFds->size() > kMaxFdsPerMsg) { in validateParcel()
1254 << rpcFields->mFds->size() << " (max is " << kMaxFdsPerMsg << ")"; in validateParcel()