Home
last modified time | relevance | path

Searched refs:strerror (Results 1 – 25 of 134) sorted by relevance

123456

/packages/modules/Bluetooth/system/gd/os/linux_generic/
Dfiles.cc60 …R("unable to rename file from '%s' to '%s', error: %s", from.c_str(), to.c_str(), strerror(errno)); in RenameFile()
69 LOG_WARN("Failed to open file '%s', error: %s", path.c_str(), strerror(errno)); in ReadSmallFile()
74 LOG_WARN("Failed to get file size for '%s', error: %s", path.c_str(), strerror(errno)); in ReadSmallFile()
79 …LOG_WARN("Failed to go back to the beginning of file '%s', error: %s", path.c_str(), strerror(errn… in ReadSmallFile()
83 LOG_WARN("Failed to read file '%s', error: %s", path.c_str(), strerror(errno)); in ReadSmallFile()
119 LOG_ERROR("error extracting directory from '%s', error: %s", path.c_str(), strerror(errno)); in WriteToFile()
125 LOG_ERROR("unable to open dir '%s', error: %s", directory_path.c_str(), strerror(errno)); in WriteToFile()
131 LOG_ERROR("unable to write to file '%s', error: %s", temp_path.c_str(), strerror(errno)); in WriteToFile()
137 LOG_ERROR("unable to write to file '%s', error: %s", temp_path.c_str(), strerror(errno)); in WriteToFile()
144 …LOG_ERROR("unable to write flush buffer to file '%s', error: %s", temp_path.c_str(), strerror(errn… in WriteToFile()
[all …]
/packages/modules/Bluetooth/system/osi/src/
Dconfig.cc107 << "': " << strerror(errno); in config_new()
287 << "': " << strerror(errno); in config_save()
294 << "': " << strerror(errno); in config_save()
301 << "': " << strerror(errno); in config_save()
316 << "': " << strerror(errno); in config_save()
323 << temp_filename << "': " << strerror(errno); in config_save()
331 << "': " << strerror(errno); in config_save()
336 << "': " << strerror(errno); in config_save()
345 << filename << "': " << strerror(errno); in config_save()
352 << "': " << strerror(errno); in config_save()
[all …]
Dsemaphore.cc48 LOG_ERROR("%s unable to allocate semaphore: %s", __func__, strerror(errno)); in semaphore_new()
68 LOG_ERROR("%s unable to wait on semaphore: %s", __func__, strerror(errno)); in semaphore_wait()
78 strerror(errno)); in semaphore_try_wait()
83 strerror(errno)); in semaphore_try_wait()
93 strerror(errno)); in semaphore_try_wait()
102 LOG_ERROR("%s unable to post to semaphore: %s", __func__, strerror(errno)); in semaphore_post()
Dreactor.cc79 strerror(errno)); in reactor_new()
85 LOG_ERROR("%s unable to create eventfd: %s", __func__, strerror(errno)); in reactor_new()
102 strerror(errno)); in reactor_new()
162 strerror(errno)); in reactor_register()
185 object->fd, strerror(errno)); in reactor_change_registration()
203 obj->fd, strerror(errno)); in reactor_unregister()
249 LOG_ERROR("%s error in epoll_wait: %s", __func__, strerror(errno)); in run_reactor()
/packages/modules/Bluetooth/system/gd/common/testing/host/
Dlog_capture.cc42 LOG_ERROR("Unable to create backing storage : %s", strerror(errno)); in LogCapture()
46 LOG_ERROR("Unable to set socket non-blocking : %s", strerror(errno)); in LogCapture()
51 LOG_ERROR("Unable to save original fd : %s", strerror(errno)); in LogCapture()
55 LOG_ERROR("Unable to duplicate stderr fd : %s", strerror(errno)); in LogCapture()
68 LOG_ERROR("Unable to rewind log capture : %s", strerror(errno)); in Rewind()
101 LOG_ERROR("Unable to truncate backing storage : %s", strerror(errno)); in Reset()
107 LOG_ERROR("Unable to rewind log capture : %s", strerror(errno)); in Reset()
163 LOG_ERROR("Unable to get file descriptor flags : %s", strerror(errno)); in set_non_blocking()
167 LOG_ERROR("Unable to set file descriptor flags : %s", strerror(errno)); in set_non_blocking()
176 LOG_ERROR("Unable to restore original fd : %s", strerror(errno)); in clean_up()
/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()
152 ALOGE("read terminated abnormally (%s)", strerror(errno)); in zipFilesToFd()
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()
295 ALOGE("*** sigprocmask failed: %s\n", strerror(errno)); in waitpid_with_timeout()
305 ALOGE("*** sigtimedwait failed: %s\n", strerror(errno)); in waitpid_with_timeout()
315 ALOGE("*** waitpid failed: %s\n", strerror(errno)); in waitpid_with_timeout()
[all …]
/packages/modules/adb/
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()
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()
/packages/modules/Connectivity/netd/
DBpfHandler.cpp56 ALOGE("Failed to get program from %s: %s", programPath, strerror(ret)); in attachProgramToCgroup()
61 ALOGE("Program from %s attach failed: %s", programPath, strerror(ret)); in attachProgramToCgroup()
71 ALOGE("Failed to open the cgroup directory: %s", strerror(ret)); in initPrograms()
156 ALOGE("Failed to getsockopt SO_DOMAIN: %s, fd: %d", strerror(errno), sockFd); in tagSocket()
167 ALOGE("Failed to getsockopt SO_PROTOCOL: %s, fd: %d", strerror(errno), sockFd); in tagSocket()
198 strerror(configuration.error().code()), mConfigurationMap.getMap().get()); in tagSocket()
212 strerror(res.error().code())); in tagSocket()
230 ALOGE("Failed to tag the socket: %s, fd: %d", strerror(res.error().code()), in tagSocket()
244 ALOGE("Failed to untag socket: %s\n", strerror(res.error().code())); in untagSocket()
/packages/modules/NeuralNetworks/driver/cache/nnCache/
DnnCache.cpp176 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()
200 ALOGE("error writing cache contents: %s (%d)", strerror(-err), -err); in saveBlobCacheLocked()
213 ALOGE("error writing cache file: %s (%d)", strerror(errno), errno); in saveBlobCacheLocked()
233 ALOGE("error opening cache file %s: %s (%d)", mFilename.c_str(), strerror(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()
278 ALOGE("error reading cache contents: %s (%d)", strerror(-err), -err); in loadBlobCacheLocked()
/packages/modules/Connectivity/service-t/native/libs/libnetworkstats/
DBpfNetworkStats.cpp65 ALOGE("Opening appUidStatsMap(%s) failed: %s", APP_UID_STATS_MAP_PATH, strerror(errno)); in bpfGetUidStats()
107 ALOGE("get ifaceStats map fd failed: %s", strerror(errno)); in bpfGetIfaceStats()
113 ALOGE("get ifaceIndexName map fd failed: %s", strerror(errno)); in bpfGetIfaceStats()
169 strerror(res.error().code())); in parseBpfNetworkStatsDetailInternal()
192 ALOGE("get ifaceIndexName map fd failed: %s", strerror(errno)); in parseBpfNetworkStatsDetail()
199 ALOGE("get configuration map fd failed: %s", strerror(errno)); in parseBpfNetworkStatsDetail()
212 ALOGE("get stats map fd failed: %s, path: %s", strerror(errno), statsMapPath); in parseBpfNetworkStatsDetail()
221 ALOGE("parse detail network stats failed: %s", strerror(errno)); in parseBpfNetworkStatsDetail()
227 ALOGE("Clean up current stats map failed: %s", strerror(res.error().code())); in parseBpfNetworkStatsDetail()
256 strerror(res.error().code())); in parseBpfNetworkStatsDevInternal()
[all …]
/packages/modules/Bluetooth/system/gd/hal/
Dhci_hal_host_rootcanal.cc61 LOG_ERROR("can't create socket: %s", strerror(errno)); in ConnectToSocket()
80 LOG_ERROR("can't connect: %s", strerror(errno)); in ConnectToSocket()
90 LOG_ERROR("can't control socket fd: %s", strerror(errno)); in ConnectToSocket()
266 ASSERT_LOG(received_size != -1, "Can't receive from socket: %s", strerror(errno)); in incoming_packet_received()
275 …RecvAll(buf + kH4HeaderSize, kHciEvtHeaderSize), "Can't receive from socket: %s", strerror(errno)); in incoming_packet_received()
281 strerror(errno)); in incoming_packet_received()
299 …RecvAll(buf + kH4HeaderSize, kHciAclHeaderSize), "Can't receive from socket: %s", strerror(errno)); in incoming_packet_received()
305 strerror(errno)); in incoming_packet_received()
323 …RecvAll(buf + kH4HeaderSize, kHciScoHeaderSize), "Can't receive from socket: %s", strerror(errno)); in incoming_packet_received()
329 strerror(errno)); in incoming_packet_received()
[all …]
Dsnoop_logger.cc298 …TAL("Unable to open snoop log at \"%s\", error: \"%s\"", snoop_log_path_.c_str(), strerror(errno)); in OpenNextSnoopLogFile()
302 …("Unable to write file header to \"%s\", error: \"%s\"", snoop_log_path_.c_str(), strerror(errno)); in OpenNextSnoopLogFile()
305 LOG_ERROR("Failed to flush, error: \"%s\"", strerror(errno)); in OpenNextSnoopLogFile()
348 LOG_ERROR("Failed to write packet header for btsnooz, error: \"%s\"", strerror(errno)); in Capture()
351 LOG_ERROR("Failed to write packet payload for btsnooz, error: \"%s\"", strerror(errno)); in Capture()
361 LOG_ERROR("Failed to write packet header for btsnoop, error: \"%s\"", strerror(errno)); in Capture()
364 LOG_ERROR("Failed to write packet payload for btsnoop, error: \"%s\"", strerror(errno)); in Capture()
371 LOG_ERROR("Failed to flush, error: \"%s\"", strerror(errno)); in Capture()
400 …TAL("Unable to open snoop log at \"%s\", error: \"%s\"", snooz_log_path_.c_str(), strerror(errno)); in DumpSnoozLogToFile()
404 …("Unable to write file header to \"%s\", error: \"%s\"", snooz_log_path_.c_str(), strerror(errno)); in DumpSnoozLogToFile()
[all …]
/packages/modules/Bluetooth/tools/rootcanal/net/posix/
Dposix_async_socket_connector.cc47 LOG_INFO("socket() call failed: %s", strerror(errno)); in ConnectToRemoteServer()
55 strerror(errno)); in ConnectToRemoteServer()
72 strerror(errno)); in ConnectToRemoteServer()
91 strerror(errno)); in ConnectToRemoteServer()
103 strerror(errno)); in ConnectToRemoteServer()
116 strerror(err)); in ConnectToRemoteServer()
Dposix_async_socket_server.cc51 LOG_ERROR("setsockopt(SO_REUSEADDR) failed: %s", strerror(errno)); in PosixAsyncSocketServer()
61 strerror(errno)); in PosixAsyncSocketServer()
67 LOG_INFO("Error listening for test channel: %s", strerror(errno)); in PosixAsyncSocketServer()
75 LOG_INFO("Error retrieving actual port: %s", strerror(errno)); in PosixAsyncSocketServer()
109 strerror(errno)); in AcceptSocket()
/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/Bluetooth/system/vendor_libs/linux/interface/
Dbluetooth_hci.cc82 ALOGE( "Bluetooth socket error: %s", strerror(errno)); in openBtHci()
98 ALOGE( "HCI Channel Control: %s", strerror(errno)); in openBtHci()
125 ALOGE( "Bluetooth socket error: %s", strerror(errno)); in waitHciDev()
133 ALOGE( "HCI Channel Control: %s", strerror(errno)); in waitHciDev()
149 ALOGE( "Unable to write mgmt command: %s", strerror(errno)); in waitHciDev()
158 ALOGE( "Poll error: %s", strerror(errno)); in waitHciDev()
171 strerror(errno)); in waitHciDev()
207 ALOGE("open(%s) failed: %s (%d)\n", rfkill_type, strerror(errno), errno); in findRfKill()
/packages/modules/Bluetooth/tools/rootcanal/model/setup/
Dtest_channel_transport.cc52 bytes_read, 1, strerror(errno)); in OnCommandReady()
60 command_name_size, strerror(errno)); in OnCommandReady()
75 strerror(errno)); in OnCommandReady()
83 strerror(errno)); in OnCommandReady()
90 arg_size, strerror(errno)); in OnCommandReady()
/packages/modules/adb/sysdeps/win32/
Derrno.cpp29 #undef strerror in adb_strerror()
33 char* errmsg = strerror(-1); in adb_strerror()
37 errmsg = strerror(err); in adb_strerror()
83 errmsg = strerror(err); in adb_strerror()
/packages/modules/adb/client/
Dfile_sync_client.cpp634 Error("failed to send ID_SEND_V2 message '%s': %s", path.c_str(), strerror(errno)); in SendLargeFile()
640 Error("cannot stat '%s': %s", lpath.c_str(), strerror(errno)); in SendLargeFile()
649 Error("opening '%s' locally failed: %s", lpath.c_str(), strerror(errno)); in SendLargeFile()
685 Error("reading '%s' locally failed: %s", lpath.c_str(), strerror(errno)); in SendLargeFile()
736 strerror(errno)); in SendLargeFileLegacy()
742 Error("cannot stat '%s': %s", lpath.c_str(), strerror(errno)); in SendLargeFileLegacy()
751 Error("opening '%s' locally failed: %s", lpath.c_str(), strerror(errno)); in SendLargeFileLegacy()
761 Error("reading '%s' locally failed: %s", lpath.c_str(), strerror(errno)); in SendLargeFileLegacy()
786 to.c_str(), strerror(errno)); in ReportCopyFailure()
978 strerror(errno)); in WriteOrDie()
[all …]
/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 …]
/packages/modules/Bluetooth/system/udrv/ulinux/
Duipc.cc117 LOG_DEBUG("socket failed to create (%s)", strerror(errno)); in create_server_socket()
123 LOG_DEBUG("listen failed: %s", strerror(errno)); in create_server_socket()
153 LOG_ERROR("sock accept failed (%s)", strerror(errno)); in accept_server_socket()
162 LOG_ERROR("setsockopt failed (%s)", strerror(errno)); in accept_server_socket()
302 LOG_ERROR("failed to setup %s: %s", name, strerror(errno)); in uipc_setup_server_locked()
341 __func__, ret, errno, strerror(errno)); in uipc_flush_ch_locked()
434 LOG_DEBUG("select failed %s", strerror(errno)); in uipc_read_task()
590 LOG_ERROR("failed to write (%s)", strerror(errno)); in UIPC_Send()
637 poll_ret, errno, strerror(errno)); in UIPC_Read()
659 LOG_WARN("UIPC_Read : read failed (%s)", strerror(errno)); in UIPC_Read()
/packages/modules/Connectivity/service/native/libs/libclat/
Dclatutils.cpp169 ALOGE("socket(AF_INET6, SOCK_DGRAM, 0) failed: %s", strerror(errno)); in detect_mtu()
176 ALOGE("setsockopt(SOL_SOCKET, SO_MARK) failed: %s", strerror(errno)); in detect_mtu()
189 ALOGE("connect() failed: %s", strerror(errno)); in detect_mtu()
199 ALOGE("getsockopt(SOL_IPV6, IPV6_MTU) failed: %s", strerror(errno)); in detect_mtu()
246 ALOGE("attach packet filter failed: %s", strerror(errno)); in configure_packet_socket()
259 ALOGE("binding packet socket: %s", strerror(errno)); in configure_packet_socket()
/packages/services/Car/cpp/car_binder_lib/largeParcelable/
DSharedMemory.cpp52 ALOGE("ashmem_get_size_region failed, error: %s", std::strerror(errno)); in SharedMemory()
68 ALOGE("ashmem_get_size_region failed, error: %s", std::strerror(errno)); in SharedMemory()
79 ALOGE("ASharedMemory_create failed, error: %s", std::strerror(errno)); in SharedMemory()
90 ALOGE("ASharedMemory_setProt failed, error: %s", std::strerror(errno)); in lock()
/packages/modules/Connectivity/service/jni/
Dcom_android_server_connectivity_ClatCoordinator.cpp54 jniThrowExceptionFmt(env, "java/io/IOException", "%s: %s", msg, strerror(error)); in throwIOException()
138 strerror(errno)); in com_android_server_connectivity_ClatCoordinator_createTunInterface()
150 strerror(errno)); in com_android_server_connectivity_ClatCoordinator_createTunInterface()
171 jniThrowExceptionFmt(env, "java/io/IOException", "detect mtu failed: %s", strerror(-ret)); in com_android_server_connectivity_ClatCoordinator_detectMtu()
230 strerror(errno)); in com_android_server_connectivity_ClatCoordinator_addAnycastSetsockopt()
389 ALOGE("Error killing clatd child process %d: %s", pid, strerror(err)); in stopClatdProcess()
404 ALOGE("Error waiting for clatd child process %d: %s", pid, strerror(errno)); in stopClatdProcess()
455 strerror(res.error().code()), cookieTagMap.getMap().get()); in com_android_server_connectivity_ClatCoordinator_tagSocketAsClat()
485 strerror(res.error().code())); in com_android_server_connectivity_ClatCoordinator_untagSocket()
/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()

123456