Searched refs:statusFromErrno (Results 1 – 10 of 10) sorted by relevance
/packages/modules/Connectivity/staticlibs/netd/libnetdutils/ |
D | Syscalls.cpp | 47 return statusFromErrno(errno, "open(\"" + pathname + "\"...) failed"); in open() 55 return statusFromErrno(errno, "socket() failed"); in socket() 63 return statusFromErrno(errno, "getsockname() failed"); in getsockname() 72 return statusFromErrno(errno, "getsockopt() failed"); in getsockopt() 81 return statusFromErrno(errno, "setsockopt() failed"); in setsockopt() 89 return statusFromErrno(errno, "bind() failed"); in bind() 97 return statusFromErrno(errno, "connect() failed"); in connect() 105 return statusFromErrno(errno, "ioctl() failed"); in ioctl() 113 return statusFromErrno(errno, "eventfd() failed"); in eventfd() 124 return statusFromErrno(errno, "ppoll() failed"); in ppoll() [all …]
|
D | SyscallsTest.cpp | 86 const Status kError = statusFromErrno(EINVAL, "test"); in TEST_F() 104 const Status kError = statusFromErrno(EINVAL, "test"); in TEST_F() 124 const Status kError = statusFromErrno(EINVAL, "test"); in TEST_F() 141 const Status kError = statusFromErrno(EINVAL, "test"); in TEST_F() 158 const Status kError = statusFromErrno(EINVAL, "test"); in TEST_F()
|
D | NetlinkListener.cpp | 41 using netdutils::statusFromErrno; 88 return statusFromErrno(EMSGSIZE, "unexpect message size"); in send()
|
D | Socket.cpp | 29 return statusFromErrno(errno, "inet_ntop() failed"); in toString()
|
D | Status.cpp | 26 Status statusFromErrno(int err, const std::string& msg) { in statusFromErrno() function
|
D | Utils.cpp | 36 return statusFromErrno(errno, "Cannot open iface directory"); in getIfaceNames()
|
D | StatusTest.cpp | 84 statusFromErrno(ENOTTY, "Not a typewriter, what did you expect?").ignoreError(); in TEST()
|
D | FdTest.cpp | 142 EXPECT_CALL(mSyscalls, close(toFd(u))).WillOnce(Return(statusFromErrno(EINTR, "test"))); in TEST_F()
|
/packages/modules/Connectivity/netd/ |
D | BpfHandler.cpp | 41 using netdutils::statusFromErrno; 57 return statusFromErrno(errno, fmt::format("Failed to get program from {}", programPath)); in attachProgramToCgroup() 60 return statusFromErrno(errno, fmt::format("Program {} attach failed", programPath)); in attachProgramToCgroup() 68 return statusFromErrno(errno, fmt::format("Failed to get program from {}", programPath)); in checkProgramAccessible() 98 return statusFromErrno(err, "Open the cgroup directory failed"); in initPrograms()
|
/packages/modules/Connectivity/staticlibs/netd/libnetdutils/include/netdutils/ |
D | Status.h | 98 Status statusFromErrno(int err, const std::string& msg);
|