Home
last modified time | relevance | path

Searched refs:savedErrno (Results 1 – 11 of 11) sorted by relevance

/frameworks/native/libs/binder/
DRpcTransportTipcAndroid.cpp50 int savedErrno = errno; in pollRead() local
51 if (savedErrno == EAGAIN || savedErrno == EWOULDBLOCK) { in pollRead()
55 LOG_RPC_DETAIL("RpcTransport poll(): %s", strerror(savedErrno)); in pollRead()
56 return adjustStatus(-savedErrno); in pollRead()
169 int savedErrno = errno; in fillReadBuffer() local
170 if (savedErrno == EMSGSIZE) { in fillReadBuffer()
181 LOG_RPC_DETAIL("RpcTransport fillBuffer(): %s", strerror(savedErrno)); in fillReadBuffer()
182 return adjustStatus(-savedErrno); in fillReadBuffer()
DRpcTransportUtils.h62 int savedErrno = errno; in interruptableReadOrWrite() local
66 if (havePolled || (savedErrno != EAGAIN && savedErrno != EWOULDBLOCK)) { in interruptableReadOrWrite()
67 LOG_RPC_DETAIL("RpcTransport %s(): %s", funName, strerror(savedErrno)); in interruptableReadOrWrite()
68 return -savedErrno; in interruptableReadOrWrite()
DRpcServer.cpp94 int savedErrno = errno; in setupInetServer() local
96 strerror(savedErrno)); in setupInetServer()
97 return -savedErrno; in setupInetServer()
205 int savedErrno = errno; in acceptSocketConnection() local
206 ALOGE("Could not accept4 socket: %s", strerror(savedErrno)); in acceptSocketConnection()
207 return -savedErrno; in acceptSocketConnection()
221 int savedErrno = errno; in recvmsgSocketConnection() local
222 ALOGE("Failed recvmsg: %s", strerror(savedErrno)); in recvmsgSocketConnection()
223 return -savedErrno; in recvmsgSocketConnection()
568 int savedErrno = errno; in setupSocketServer() local
[all …]
DRpcTransportRaw.cpp46 int savedErrno = errno; in pollRead() local
47 if (savedErrno == EAGAIN || savedErrno == EWOULDBLOCK) { in pollRead()
51 LOG_RPC_DETAIL("RpcTransport poll(): %s", strerror(savedErrno)); in pollRead()
52 return -savedErrno; in pollRead()
DUtils.h30 auto savedErrno = errno; \
31 ALOGE(fmt ": %s" __VA_OPT__(, ) __VA_ARGS__, strerror(savedErrno)); \
35 auto savedErrno = errno; \
36 LOG_ALWAYS_FATAL(fmt ": %s" __VA_OPT__(, ) __VA_ARGS__, strerror(savedErrno)); \
DRpcSession.cpp153 int savedErrno = errno; in setupUnixDomainSocketBootstrapClient() local
154 ALOGE("Failed socketpair: %s", strerror(savedErrno)); in setupUnixDomainSocketBootstrapClient()
155 return -savedErrno; in setupUnixDomainSocketBootstrapClient()
212 int savedErrno = errno; in addNullDebuggingClient() local
213 ALOGE("Could not connect to /dev/null: %s", strerror(savedErrno)); in addNullDebuggingClient()
214 return -savedErrno; in addNullDebuggingClient()
598 int savedErrno = errno; in setupOneSocketConnection() local
600 strerror(savedErrno)); in setupOneSocketConnection()
601 return -savedErrno; in setupOneSocketConnection()
609 int savedErrno = errno; in setupOneSocketConnection() local
[all …]
DServiceManagerHost.cpp37 int savedErrno = errno; in parsePortNumber() local
38 ALOGE("%s is not a valid %s: %s", trimmed.c_str(), what.c_str(), strerror(savedErrno)); in parsePortNumber()
/frameworks/native/cmds/lshal/
DPipeRelay.cpp64 int savedErrno = errno; in thread() local
65 (*err) << "debug " << fqName << ": poll() failed: " << strerror(savedErrno) in thread()
74 int savedErrno = errno; in thread() local
75 (*err) << "debug " << fqName << ": read() failed: " << strerror(savedErrno) in thread()
/frameworks/native/libs/binder/tests/
DbinderRpcTestCommon.h237 int savedErrno = errno; in mockFileDescriptor()
238 LOG_ALWAYS_FATAL_IF(EPIPE != savedErrno, "mockFileDescriptor write failed: %s", in mockFileDescriptor()
239 strerror(savedErrno)); in mockFileDescriptor()
/frameworks/native/libs/gui/
DBufferQueueConsumer.cpp804 int savedErrno = errno; in dumpState() local
806 return savedErrno ? -savedErrno : UNKNOWN_ERROR; in dumpState()
/frameworks/av/media/mtp/
DMtpServer.cpp233 const int savedErrno = errno; in run() local
236 if (savedErrno == ECANCELED) { in run()