Home
last modified time | relevance | path

Searched refs:statusFromErrno (Results 1 – 10 of 10) sorted by relevance

/packages/modules/Connectivity/staticlibs/netd/libnetdutils/
DSyscalls.cpp47 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 …]
DSyscallsTest.cpp86 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()
DNetlinkListener.cpp41 using netdutils::statusFromErrno;
88 return statusFromErrno(EMSGSIZE, "unexpect message size"); in send()
DSocket.cpp29 return statusFromErrno(errno, "inet_ntop() failed"); in toString()
DStatus.cpp26 Status statusFromErrno(int err, const std::string& msg) { in statusFromErrno() function
DUtils.cpp36 return statusFromErrno(errno, "Cannot open iface directory"); in getIfaceNames()
DStatusTest.cpp84 statusFromErrno(ENOTTY, "Not a typewriter, what did you expect?").ignoreError(); in TEST()
DFdTest.cpp142 EXPECT_CALL(mSyscalls, close(toFd(u))).WillOnce(Return(statusFromErrno(EINTR, "test"))); in TEST_F()
/packages/modules/Connectivity/netd/
DBpfHandler.cpp41 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/
DStatus.h98 Status statusFromErrno(int err, const std::string& msg);