Home
last modified time | relevance | path

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

12345

/packages/services/Car/cpp/bugreport/
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()
149 if (errno == EAGAIN) { in zipFilesToFd()
152 ALOGE("read terminated abnormally (%s)", strerror(errno)); in zipFilesToFd()
184 if (errno == EAGAIN) { in copyTo()
187 ALOGE("read terminated abnormally (%s)", strerror(errno)); in copyTo()
241 ALOGW("Cannot set socket timeout (%s)", strerror(errno)); in doBugreport()
285 ALOGE("*** sigprocmask failed: %s\n", strerror(errno)); in waitpid_with_timeout()
291 int saved_errno = errno; in waitpid_with_timeout()
[all …]
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DMultinetworkApiTest.java98 int errno = runGetaddrinfoCheck(network.getNetworkHandle()); in testGetaddrinfo() local
99 if (errno != 0) { in testGetaddrinfo()
101 "getaddrinfo on " + mCM.getNetworkInfo(network), -errno); in testGetaddrinfo()
116 int errno = runSetprocnetwork(network.getNetworkHandle()); in testSetprocnetwork() local
117 if (errno != 0) { in testSetprocnetwork()
119 "setprocnetwork on " + mCM.getNetworkInfo(network), -errno); in testSetprocnetwork()
135 int errno = runSetprocnetwork(network.getNetworkHandle()); in testSetprocnetwork() local
136 if (errno != 0) { in testSetprocnetwork()
138 "setprocnetwork on " + mCM.getNetworkInfo(network), -errno); in testSetprocnetwork()
152 int errno = runSetsocknetwork(network.getNetworkHandle()); in testSetsocknetwork() local
[all …]
/packages/modules/NeuralNetworks/driver/cache/nnCache/
DnnCache.cpp172 if (errno == EEXIST) { in saveBlobCacheLocked()
176 ALOGE("error unlinking cache file %s: %s (%d)", fname, strerror(errno), errno); in saveBlobCacheLocked()
183 ALOGE("error creating cache file %s: %s (%d)", fname, strerror(errno), errno); in saveBlobCacheLocked()
192 ALOGE("error allocating buffer for cache contents: %s (%d)", strerror(errno), errno); in saveBlobCacheLocked()
213 ALOGE("error writing cache file: %s (%d)", strerror(errno), errno); in saveBlobCacheLocked()
232 if (errno != ENOENT) { in loadBlobCacheLocked()
233 ALOGE("error opening cache file %s: %s (%d)", mFilename.c_str(), strerror(errno), in loadBlobCacheLocked()
234 errno); in loadBlobCacheLocked()
241 ALOGE("error stat'ing cache file: %s (%d)", strerror(errno), errno); in loadBlobCacheLocked()
257 ALOGE("error mmaping cache file: %s (%d)", strerror(errno), errno); in loadBlobCacheLocked()
/packages/modules/Connectivity/tests/cts/net/jni/
DNativeMultinetworkJni.cpp89 EXPECT_EQ(env, EBADF, errno, "res_nresult check for errno"); in getAsyncResponse()
99 return -errno; in extractIpAddressAnswers()
116 return -errno; in extractIpAddressAnswers()
254 errno = 0; in Java_android_net_cts_MultinetworkApiTest_runResNcancelCheck()
256 int err = errno; in Java_android_net_cts_MultinetworkApiTest_runResNcancelCheck()
327 errno = 0; in Java_android_net_cts_MultinetworkApiTest_runGetaddrinfoCheck()
329 const int saved_errno = errno; in Java_android_net_cts_MultinetworkApiTest_runGetaddrinfoCheck()
342 errno = 0; in Java_android_net_cts_MultinetworkApiTest_runSetprocnetwork()
344 const int saved_errno = errno; in Java_android_net_cts_MultinetworkApiTest_runSetprocnetwork()
355 errno = 0; in Java_android_net_cts_MultinetworkApiTest_runSetsocknetwork()
[all …]
/packages/modules/adb/
Dsysdeps_win32.cpp152 errno = EBADF; in _fh_from_int()
160 errno = EBADF; in _fh_from_int()
193 errno = EMFILE; // Too many open files in _fh_alloc()
225 const int saved_errno = errno; in operator ()()
227 errno = saved_errno; in operator ()()
257 errno = EIO; in _fh_file_read()
270 errno = EIO; in _fh_file_write()
280 errno = EINVAL; in _fh_file_writev()
317 errno = EINVAL; in _fh_file_lseek()
323 errno = EIO; in _fh_file_lseek()
[all …]
Dadb_io.cpp40 errno = EMSGSIZE; in SendProtocolString()
88 D("readx: fd=%d error %d: %s", fd.get(), errno, strerror(errno)); in ReadFdExactly()
92 errno = 0; in ReadFdExactly()
113 D("writex: fd=%d error %d: %s", fd.get(), errno, strerror(errno)); in WriteFdExactly()
114 if (errno == EAGAIN) { in WriteFdExactly()
117 } else if (errno == EPIPE) { in WriteFdExactly()
119 errno = 0; in WriteFdExactly()
166 CHECK_NE(errno, EAGAIN); in ReadOrderlyShutdown()
186 errno = EINVAL; in ReadOrderlyShutdown()
Dadb_io_test.cpp50 ASSERT_TRUE(android::base::WriteStringToFd(expected, tf.fd)) << strerror(errno); in POSIX_TEST()
55 ASSERT_TRUE(ReadFdExactly(tf.fd, buf, sizeof(buf) - 1)) << strerror(errno); in POSIX_TEST()
64 ASSERT_TRUE(android::base::WriteStringToFd(expected, tf.fd)) << strerror(errno); in POSIX_TEST()
70 EXPECT_EQ(0, errno) << strerror(errno); in POSIX_TEST()
78 ASSERT_TRUE(android::base::WriteStringToFd(input, tf.fd)) << strerror(errno); in POSIX_TEST()
97 << strerror(errno); in POSIX_TEST()
111 ASSERT_TRUE(WriteFdExactly(tf.fd, buf, sizeof(buf) - 2)) << strerror(errno); in POSIX_TEST()
128 ASSERT_EQ(ENOSPC, errno); in POSIX_TEST()
137 ASSERT_TRUE(WriteFdExactly(tf.fd, str)) << strerror(errno); in POSIX_TEST()
150 ASSERT_TRUE(WriteFdFmt(tf.fd, "Foo%s%d", "bar", 123)) << strerror(errno); in POSIX_TEST()
Dsocket_spec.cpp136 errno = EINVAL; in get_host_socket_spec_port()
141 errno = EINVAL; in get_host_socket_spec_port()
246 errno = EINVAL; in socket_spec_connect()
253 errno = EINVAL; in socket_spec_connect()
259 errno = EINVAL; in socket_spec_connect()
264 errno = EINVAL; in socket_spec_connect()
280 int error_num = errno; in socket_spec_connect()
283 errno = error_num; in socket_spec_connect()
370 errno = EINVAL;
374 errno = EINVAL;
[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/adb/client/
Dusb_linux.cpp317 errno = EINVAL; in usb_bulk_write()
330 errno = ETIMEDOUT; in usb_bulk_write()
335 errno = -urb->status; in usb_bulk_write()
356 errno = EINVAL; in usb_bulk_read()
374 int saved_errno = errno; in usb_bulk_read()
379 errno = EINVAL; in usb_bulk_read()
387 errno = saved_errno; in usb_bulk_read()
396 errno = -urb->status; in usb_bulk_read()
414 D("ERROR: n = %d, errno = %d (%s)", n, errno, strerror(errno)); in usb_write_split()
431 if (n == -1 && errno == ENOMEM) { in usb_write()
[all …]
Dfile_sync_client.cpp337 errno = ENAMETOOLONG; in SendRequest()
355 errno = ENAMETOOLONG; in SendSend2()
407 errno = ENAMETOOLONG; in SendRecv2()
453 errno = ENOTSUP; in SendStat()
482 errno = errno_from_wire(msg.stat_v2.error); in FinishStat()
509 errno = ENOPROTOOPT; in FinishStat()
574 errno = ENAMETOOLONG; in SendSmallFile()
624 Error("failed to send ID_SEND_V2 message '%s': %s", path.c_str(), strerror(errno)); in SendLargeFile()
630 Error("cannot stat '%s': %s", lpath.c_str(), strerror(errno)); in SendLargeFile()
639 Error("opening '%s' locally failed: %s", lpath.c_str(), strerror(errno)); in SendLargeFile()
[all …]
/packages/modules/DnsResolver/
Dres_send.cpp258 errno = EPROTO; in random_bind()
427 errno = EINVAL; in res_nsend()
457 errno = ESRCH; in res_nsend()
490 errno = ESRCH; in res_nsend()
626 errno = useTcp ? terrno in res_nsend()
705 *terrno = errno; in send_vc()
707 switch (errno) { in send_vc()
721 *terrno = errno; in send_vc()
726 errno = 0; in send_vc()
728 *terrno = errno; in send_vc()
[all …]
/packages/modules/Connectivity/Tethering/jni/
Dandroid_net_util_TetheringUtils.cpp60 "setsockopt(SO_ATTACH_FILTER): %s", strerror(errno)); in android_net_util_setupIcmpFilter()
88 "setsockopt(ICMP6_FILTER): %s", strerror(errno)); in android_net_util_setupRaSocket()
101 "setsockopt(IPV6_MULTICAST_HOPS): %s", strerror(errno)); in android_net_util_setupRaSocket()
110 "setsockopt(IPV6_UNICAST_HOPS): %s", strerror(errno)); in android_net_util_setupRaSocket()
119 "setsockopt(IPV6_MULTICAST_LOOP): %s", strerror(errno)); in android_net_util_setupRaSocket()
127 "setsockopt(IPV6_MULTICAST_IF): %s", strerror(errno)); in android_net_util_setupRaSocket()
148 "bind(IN6ADDR_ANY): %s", strerror(errno)); in android_net_util_setupRaSocket()
160 "setsockopt(IPV6_JOIN_GROUP): %s", strerror(errno)); in android_net_util_setupRaSocket()
Dcom_android_networkstack_tethering_BpfUtils.cpp54 strerror(errno)); in sendAndProcessNetlinkResponse()
69 strerror(errno)); in sendAndProcessNetlinkResponse()
77 strerror(errno)); in sendAndProcessNetlinkResponse()
86 strerror(errno)); in sendAndProcessNetlinkResponse()
107 jniThrowExceptionFmt(env, "java/io/IOException", "recv() failed: %s", strerror(errno)); in sendAndProcessNetlinkResponse()
143 if (fd < 0) return -errno; in hardwareAddressType()
156 rv = -errno; in hardwareAddressType()
202 strerror(errno)); in com_android_networkstack_tethering_BpfUtils_tcFilterAddDevBpf()
Dcom_android_networkstack_tethering_BpfMap.cpp63 if (ret) throwErrnoException(env, "closeMap", errno); in com_android_networkstack_tethering_BpfMap_closeMap()
85 if (ret) throwErrnoException(env, "writeToMapEntry", errno); in com_android_networkstack_tethering_BpfMap_writeToMapEntry()
103 return throwIfNotEnoent(env, "deleteMapEntry", ret, errno); in com_android_networkstack_tethering_BpfMap_deleteMapEntry()
122 return throwIfNotEnoent(env, "getNextMapKey", ret, errno); in com_android_networkstack_tethering_BpfMap_getNextMapKey()
134 return throwIfNotEnoent(env, "findMapEntry", ret, errno); in com_android_networkstack_tethering_BpfMap_findMapEntry()
/packages/modules/adb/daemon/
Dshell_service.cpp251 "failed to create pipe for subprocess error reporting: %s", strerror(errno)); in ForkAndExec()
302 android::base::StringPrintf("failed to create pty master: %s", strerror(errno)); in ForkAndExec()
307 strerror(errno)); in ForkAndExec()
319 strerror(errno)); in ForkAndExec()
326 strerror(errno)); in ForkAndExec()
333 *error = android::base::StringPrintf("fork failed: %s", strerror(errno)); in ForkAndExec()
396 WriteFdExactly(child_error_sfd, strerror(errno)); in ForkAndExec()
432 strerror(errno)); in ExecInProcess()
439 strerror(errno)); in ExecInProcess()
472 "failed to create socketpair to intercept data: %s", strerror(errno)); in ConnectProtocolEndpoints()
[all …]
Dtransport_local.cpp60 errno = 0; in server_socket_thread()
62 if (errno == EAFNOSUPPORT || errno == EINVAL || errno == EPROTONOSUPPORT) { in server_socket_thread()
/packages/modules/adb/sysdeps/
Dstat_test.cpp44 ASSERT_EQ(ENOENT, errno); in TEST()
47 ASSERT_EQ(ENOENT, errno); in TEST()
51 ASSERT_EQ(ENOENT, errno); in TEST()
59 ASSERT_EQ(ENOTDIR, errno); in TEST()
63 ASSERT_EQ(ENOTDIR, errno); in TEST()
/packages/modules/StatsD/lib/libstatssocket/
Dstats_buffer_writer.c77 save_errno = errno; in __write_to_stats_daemon()
88 errno = save_errno; in __write_to_stats_daemon()
103 int ret, save_errno = errno; in __write_to_statsd_init()
111 errno = save_errno; in __write_to_statsd_init()
121 errno = save_errno; in __write_to_statsd_init()
/packages/modules/NeuralNetworks/common/
DTypes.cpp148 errno = EINVAL; in syncWait()
159 errno = EINVAL; in syncWait()
163 errno = EINVAL; in syncWait()
168 errno = ETIME; in syncWait()
171 } while (ret == -1 && (errno == EINTR || errno == EAGAIN)); in syncWait()
/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/providers/MediaProvider/jni/
DReaddirHelper.cpp40 errno = 0; in addDirectoryEntriesFromLowerFs()
43 if (errno) { in addDirectoryEntriesFromLowerFs()
44 PLOG(ERROR) << "DEBUG: readdir(): readdir failed with %d" << errno; in addDirectoryEntriesFromLowerFs()
46 directory_entries->push_back(std::make_shared<DirectoryEntry>("", errno)); in addDirectoryEntriesFromLowerFs()
/packages/modules/Virtualization/tests/
Dvsock_test.cc45 ASSERT_GE(server_fd, 0) << strerror(errno); in TEST_F()
54 ASSERT_EQ(ret, 0) << strerror(errno); in TEST_F()
58 ASSERT_EQ(ret, 0) << strerror(errno); in TEST_F()
76 ASSERT_GE(client_fd, 0) << strerror(errno); in TEST_F()
/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()
/packages/modules/StatsD/statsd/src/external/
DPerfetto.cpp60 ALOGE("pipe() failed while calling the Perfetto client: %s", strerror(errno)); in CollectPerfettoTraceAndUploadToDropbox()
66 ALOGE("fork() failed while calling the Perfetto client: %s", strerror(errno)); in CollectPerfettoTraceAndUploadToDropbox()
111 ALOGE("fdopen() failed while calling the Perfetto client: %s", strerror(errno)); in CollectPerfettoTraceAndUploadToDropbox()
120 strerror(errno)); in CollectPerfettoTraceAndUploadToDropbox()

12345