Searched refs:retVal (Results 1 – 3 of 3) sorted by relevance
/device/generic/car/emulator/Conn/SocketComm/ |
D | SocketComm.cpp | 70 int retVal; in listen() local 85 retVal = bind(mListenFd, reinterpret_cast<struct sockaddr*>(&servAddr), sizeof(servAddr)); in listen() 86 if(retVal < 0) { in listen() 87 ALOGE("%s: Error on binding: retVal=%d, errno=%d", __FUNCTION__, retVal, errno); in listen() 197 int retVal = 0; in write() local 208 retVal = ::write(mSockFd, msgLenBytes, MSG_HEADER_LEN); in write() 210 if (retVal == MSG_HEADER_LEN) { in write() 211 retVal = ::write(mSockFd, data.data(), data.size()); in write() 215 return retVal; in write()
|
/device/google/contexthub/contexthubhal/ |
D | NanohubHidlAdapter.cpp | 165 Return<Result> retVal = Result::BAD_PARAMS; in registerCallback() local 169 retVal = Result::BAD_PARAMS; in registerCallback() 189 retVal = Result::OK; in registerCallback() 195 retVal = Result::UNKNOWN_FAILURE; in registerCallback() 198 return retVal; in registerCallback() 228 int retVal = -1; in handleOsMessage() local 240 retVal = 0; in handleOsMessage() 250 retVal = 0; in handleOsMessage() 274 retVal = 0; in handleOsMessage() 281 retVal = 0; in handleOsMessage() [all …]
|
/device/generic/car/emulator/Conn/PipeComm/ |
D | PipeComm.cpp | 81 int retVal = 0; in write() local 84 retVal = qemud_channel_send(mPipeFd, data.data(), data.size()); in write() 87 if (retVal < 0) { in write() 88 retVal = -errno; in write() 92 return retVal; in write()
|