Home
last modified time | relevance | path

Searched refs:errno (Results 1 – 25 of 41) sorted by relevance

12

/packages/services/Car/car-bugreportd/
Dmain.cpp80 ALOGE("android_get_control_socket(%s): %s", service, strerror(errno)); in openSocket()
85 ALOGE("listen(control socket): %s", strerror(errno)); in openSocket()
93 ALOGE("accept(control socket): %s", strerror(errno)); in openSocket()
148 if (errno == EAGAIN) { in zipFilesToFd()
151 ALOGE("read terminated abnormally (%s)", strerror(errno)); in zipFilesToFd()
183 if (errno == EAGAIN) { in copyTo()
186 ALOGE("read terminated abnormally (%s)", strerror(errno)); in copyTo()
240 ALOGW("Cannot set socket timeout (%s)", strerror(errno)); in doBugreport()
284 ALOGE("*** sigprocmask failed: %s\n", strerror(errno)); in waitpid_with_timeout()
290 int saved_errno = errno; in waitpid_with_timeout()
[all …]
/packages/services/Car/evs/sampleDriver/
DVideoCapture.cpp41 ALOGE("failed to open device %s (%d = %s)", deviceName, errno, strerror(errno)); in open()
49 ALOGE("failed to get device caps for %s (%d = %s)", deviceName, errno, strerror(errno)); in open()
105 ALOGE("VIDIOC_S_FMT: %s", strerror(errno)); in open()
124 ALOGE("VIDIOC_G_FMT: %s", strerror(errno)); in open()
165 ALOGE("VIDIOC_REQBUFS: %s", strerror(errno)); in startStream()
175 ALOGE("VIDIOC_QUERYBUF: %s", strerror(errno)); in startStream()
193 ALOGE("mmap: %s", strerror(errno)); in startStream()
201 ALOGE("VIDIOC_QBUF: %s", strerror(errno)); in startStream()
208 ALOGE("VIDIOC_STREAMON: %s", strerror(errno)); in startStream()
241 ALOGE("VIDIOC_STREAMOFF: %s", strerror(errno)); in stopStream()
[all …]
/packages/apps/Test/connectivity/sl4n/
Dmain.cpp63 << " Error: " << strerror(errno) << ", " << errno; in SockTest()
70 << " Error: " << strerror(errno) << ", " << errno; in SockTest()
77 << " Error: " << strerror(errno) << ", " << errno; in SockTest()
86 << " Error: " << strerror(errno) << ", " << errno; in SockTest()
99 << " Error: " << strerror(errno) << ", " << errno; in SockTest()
/packages/modules/DnsResolver/
Dres_send.cpp261 errno = EPROTO; in random_bind()
430 errno = EINVAL; in res_nsend()
460 errno = ESRCH; in res_nsend()
493 errno = ESRCH; in res_nsend()
629 errno = useTcp ? terrno in res_nsend()
708 *terrno = errno; in send_vc()
710 switch (errno) { in send_vc()
724 *terrno = errno; in send_vc()
729 errno = 0; in send_vc()
731 *terrno = errno; in send_vc()
[all …]
DDnsTlsSocket.cpp85 return Status(errno); in tcpConnect()
94 return Status(errno); in tcpConnect()
107 errno != EINPROGRESS) { in tcpConnect()
110 return Status(errno); in tcpConnect()
339 LOG(DEBUG) << "Poll failed: " << errno; in loop()
Dgetaddrinfo.cpp225 errno = 0; in str2number()
227 if (errno == 0 && ep && *ep == '\0' && v <= UINT_MAX) in str2number()
523 if (errno != EMFILE) return 0; in explore_null()
816 errno = 0; in ip6_str2scopeid()
819 if (errno == 0 && ep && *ep == '\0' && *scopeid == lscopeid) in ip6_str2scopeid()
1312 if (errno == EAFNOSUPPORT) { in _find_src_addr()
1328 } while (ret == -1 && errno == EINTR); in _find_src_addr()
1817 errno = 0; in res_searchN()
1866 if (errno == ECONNREFUSED) { in res_searchN()
Dres_debug.cpp153 if (errno != ENODEV) StringAppendF(&s, "ns_parserr: %s", strerror(errno)); in do_section()
215 if (errno == ENOSPC) { in do_section()
Dsethostent.cpp101 if (he == NETDB_INTERNAL && errno == ENOSPC) { in _hf_gethtbyname2()
199 if (errno == ENOSPC) return EAI_MEMORY; // glibc compatibility. in _hf_gethtbyaddr()
Dres_query.cpp218 errno = 0; in res_nsearch()
274 if (errno == ECONNREFUSED) { in res_nsearch()
Dgethnamaddr.cpp383 errno = ENOSPC; in getanswer()
539 errno = EINVAL; in netbsd_gethostent_r()
610 errno = ENOSPC; in netbsd_gethostent_r()
779 if (errno == ENOSPC) return EAI_MEMORY; in herrnoToAiErrno()
DDnsProxyListener.cpp259 errno = 0; in simpleStrtoul()
263 (errno == ERANGE && (result == ULONG_MAX))) { in simpleStrtoul()
272 errno = EINVAL; in setQueryId()
1226 errno = 0; in runCommand()
1230 asprintf(&msg, "inet_pton(\"%s\") failed %s", addrStr, strerror(errno)); in runCommand()
/packages/apps/TV/jni/
DDvbManager.cpp111 ALOGD("FE_READ_SIGNAL_STRENGTH failed, %s", strerror(errno)); in getSignalStrength()
153 ALOGD("FE_GET_PROPERTY failed, %s", strerror(errno)); in tuneInternal()
218 ALOGD("Can't set Frontend : %s", strerror(errno)); in tuneInternal()
274 ALOGD("Can't set Frontend : %s", strerror(errno)); in tuneInternal()
332 ALOGD("Can't open FE file : %s", strerror(errno)); in openDvbFe()
374 ALOGD("Can't open DEMUX file : %s", strerror(errno)); in startTsPidFilter()
442 ALOGD("Can't open DVR file : %s", strerror(errno)); in openDvbDvr()
496 ALOGD("Can't read DVR : %s", strerror(errno)); in readTsStream()
521 ALOGD("Can't open FE file : %s", strerror(errno)); in getDeliverySystemTypes()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dmmapped_buffer.cpp35 AKLOGE("DICT: Can't open the source. path=%s errno=%d", path, errno); in openBuffer()
46 AKLOGE("DICT: Can't mmap dictionary. errno=%d", errno); in openBuffer()
90 AKLOGE("DICT: Failure in munmap. ret=%d errno=%d", ret, errno); in ~MmappedBuffer()
94 AKLOGE("DICT: Failure in close. ret=%d errno=%d", ret, errno); in ~MmappedBuffer()
Ddict_file_writing_utils.cpp106 AKLOGE("File %s cannot be opened. errno: %d", filePath, errno); in flushBufferToFile()
112 AKLOGE("fdopen failed for the file %s. errno: %d", filePath, errno); in flushBufferToFile()
/packages/services/BuiltInPrintService/jni/lib/
Dlib_wprint.c1615 errno = OK; in _get_print_format()
1638 errno = EBADRQC; in _get_print_format()
1833 errno = EINVAL; in wprintStartJob()
1845 errno = EBADF; in wprintStartJob()
1849 errno = ENOENT; in wprintStartJob()
1855 errno = ECOMM; in wprintStartJob()
1865 errno = EAGAIN; in wprintStartJob()
1868 errno = ENOSYS; in wprintStartJob()
1963 errno = OK; in wprintStartJob()
1968 errno = EAFNOSUPPORT; in wprintStartJob()
[all …]
Dprinter.c60 LOGE("cannot create output file : %s, %s", printer_addr, strerror(errno)); in _init()
119 LOGE("select returned an errnor (%d)", errno); in _send_data()
125 LOGE("unable to transmit %d bytes of data (errno %d)", length, errno); in _send_data()
235 LOGE("cannot connect on %s:%d, %s", printer_addr, port_num, strerror(errno)); in wConnect()
/packages/apps/Nfc/nci/jni/
DNativeNfcTag.cpp386 __func__, errno); in nativeNfcTag_doWrite()
473 errno); in nativeNfcTag_doWrite()
483 __func__, errno); in nativeNfcTag_doWrite()
1237 errno); in nativeNfcTag_doCheckNdef()
1266 errno); in nativeNfcTag_doCheckNdef()
1312 errno); in nativeNfcTag_doCheckNdef()
1670 errno); in nativeNfcTag_makeMifareReadonly()
1696 errno); in nativeNfcTag_makeMifareReadonly()
1735 errno); in nativeNfcTag_doMakeReadonly()
1760 __func__, errno); in nativeNfcTag_doMakeReadonly()
[all …]
DNativeLlcpConnectionlessSocket.cpp192 __func__, errno); in nativeLlcpConnectionlessSocket_doReceiveFrom()
202 errno); in nativeLlcpConnectionlessSocket_doReceiveFrom()
246 __func__, errno); in nativeLlcpConnectionlessSocket_doReceiveFrom()
/packages/modules/NetworkStack/jni/
Dnetwork_stack_utils_jni.cpp94 jniThrowExceptionFmt(env, "java/io/IOException", "ioctl error: %s", strerror(errno)); in network_stack_utils_addArpEntry()
128 "setsockopt(SO_ATTACH_FILTER): %s", strerror(errno)); in network_stack_utils_attachDhcpFilter()
161 "setsockopt(SO_ATTACH_FILTER): %s", strerror(errno)); in network_stack_utils_attachRaFilter()
236 "setsockopt(SO_ATTACH_FILTER): %s", strerror(errno)); in network_stack_utils_attachControlPacketFilter()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
Dver4_dict_buffers.cpp87 AKLOGE("Cannot create directory: %s. errno: %d.", tmpDirPath, errno); in flushHeaderAndDictBuffers()
115 AKLOGE("File %s cannot be opened. errno: %d", bodyFilePath, errno); in flushHeaderAndDictBuffers()
121 AKLOGE("fdopen failed for the file %s. errno: %d", bodyFilePath, errno); in flushHeaderAndDictBuffers()
/packages/modules/NetworkStack/common/netlinkclient/src/android/net/netlink/
DNetlinkSocket.java71 final int errno = ((NetlinkErrorMessage) response).getNlMsgError().error; in sendOneShotKernelMessage() local
72 if (errno != 0) { in sendOneShotKernelMessage()
78 throw new ErrnoException(response.toString(), Math.abs(errno)); in sendOneShotKernelMessage()
/packages/modules/DnsResolver/tests/
Dpbtxt2pb_converter_host.cpp32 cerr << "Failed to open " << pbtxtFile << ", " << strerror(errno) << endl; in ConvertPbtxtToPb()
49 cerr << "Failed to open " << pbFile << ", " << strerror(errno) << endl; in ConvertPbtxtToPb()
/packages/apps/Nfc/nci/jni/extns/pn54x/src/
DphNxpExtns.cpp214 __func__, errno); in EXTNS_MfcPresenceCheck()
585 errno); in EXTNS_GetPresenceCheckStatus()
593 errno); in EXTNS_GetPresenceCheckStatus()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/utils/
DFdEventsReader.java233 if (e.errno == OsConstants.EAGAIN) { in handleInput()
236 } else if (e.errno == OsConstants.EINTR) { in handleInput()
/packages/apps/Terminal/jni/
Dcom_android_terminal_Terminal.cpp320 ALOGE("failed to dup stderr - %s", strerror(errno)); in run()
334 ALOGE("failed to open stderr - %s", strerror(errno)); in run()
348 fprintf(stderr_save, "Cannot exec(%s) - %s\n", shell, strerror(errno)); in run()
369 ALOGE("read() failed: %s", strerror(errno)); in run()

12