/system/bt/gd/os/linux_generic/ |
D | files.cc | 60 …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 …]
|
D | reactive_semaphore.cc | 38 ASSERT_LOG(close_status != -1, "close failed: %s", strerror(errno)); in ~ReactiveSemaphore() 44 ASSERT_LOG(read_result != -1, "decrease failed: %s", strerror(errno)); in Decrease() 50 ASSERT_LOG(write_result != -1, "increase failed: %s", strerror(errno)); in Increase()
|
/system/core/libcutils/ |
D | fs.cpp | 56 ALOGE("Failed to lstat(%s): %s", path, strerror(errno)); in fs_prepare_path_impl() 93 (prepare_as_dir ? "mkdir" : "open"), path, strerror(errno)); in fs_prepare_path_impl() 99 ALOGW("Failed to close file after create %s: %s", path, strerror(errno)); in fs_prepare_path_impl() 104 ALOGE("Failed to chmod(%s, %d): %s", path, mode, strerror(errno)); in fs_prepare_path_impl() 108 ALOGE("Failed to chown(%s, %d, %d): %s", path, uid, gid, strerror(errno)); in fs_prepare_path_impl() 130 ALOGE("Failed to read %s: %s", path, strerror(errno)); in fs_read_atomic_int() 136 ALOGE("Failed to read %s: %s", path, strerror(errno)); in fs_read_atomic_int() 140 ALOGE("Failed to parse %s: %s", path, strerror(errno)); in fs_read_atomic_int() 161 ALOGE("Failed to open %s: %s", temp, strerror(errno)); in fs_write_atomic_int() 168 ALOGE("Value %d too large: %s", value, strerror(errno)); in fs_write_atomic_int() [all …]
|
/system/netd/server/ |
D | NetlinkManager.cpp | 81 ALOGE("Unable to create netlink socket for family %d: %s", netlinkFamily, strerror(errno)); in setupSocket() 90 ALOGE("Unable to set uevent socket SO_RCVBUF option: %s", strerror(errno)); in setupSocket() 96 SLOGE("Unable to set uevent socket SO_PASSCRED option: %s", strerror(errno)); in setupSocket() 102 ALOGE("Unable to bind netlink socket: %s", strerror(errno)); in setupSocket() 109 ALOGE("Failed NFULNL_CFG_CMD_PF_UNBIND: %s", strerror(errno)); in setupSocket() 113 ALOGE("Failed NFULNL_CFG_CMD_PF_BIND: %s", strerror(errno)); in setupSocket() 117 ALOGE("Failed NFULNL_CFG_CMD_BIND: %s", strerror(errno)); in setupSocket() 124 ALOGE("Unable to start NetlinkHandler: %s", strerror(errno)); in setupSocket() 167 ALOGE("Unable to stop uevent NetlinkHandler: %s", strerror(errno)); in stop() 178 ALOGE("Unable to stop route NetlinkHandler: %s", strerror(errno)); in stop() [all …]
|
D | ClatdController.cpp | 104 ALOGE("getClatEgressMapFd() failure: %s", strerror(-rv)); in init() 112 ALOGE("getClatIngressMapFd() failure: %s", strerror(-rv)); in init() 241 ALOGE("getClatEgressProgFd(RAWIP) failure: %s", strerror(-rv)); in maybeStartBpf() 248 ALOGE("getClatIngressProgFd(%d) failure: %s", isEthernet.value(), strerror(-rv)); in maybeStartBpf() 266 ALOGE("mClatEgressMap.writeValue failure: %s", strerror(ret.error().code())); in maybeStartBpf() 283 ALOGE("mClatIngressMap.writeValue failure: %s", strerror(ret.error().code())); in maybeStartBpf() 286 ALOGE("mClatEgressMap.deleteValue failure: %s", strerror(ret.error().code())); in maybeStartBpf() 300 strerror(-rv)); in maybeStartBpf() 303 ALOGE("mClatEgressMap.deleteValue failure: %s", strerror(ret.error().code())); in maybeStartBpf() 306 ALOGE("mClatIngressMap.deleteValue failure: %s", strerror(ret.error().code())); in maybeStartBpf() [all …]
|
D | IptablesRestoreController.cpp | 66 ALOGE("outputReady poll failed: %s", strerror(errno)); in outputReady() 94 ALOGE("Error killing iptables child process %d: %s", pid, strerror(err)); in stop() 99 ALOGE("Error waiting for iptables child process %d: %s", pid, strerror(errno)); in stop() 150 ALOGE("pipe2() failed: %s", strerror(errno)); in forkAndExec() 157 ALOGE("fork() failed: %s", strerror(child_pid.status().code())); in forkAndExec() 170 ALOGE("dup2() failed: %s", strerror(errno)); in forkAndExec() 181 ALOGE("execl(%s, ...) failed: %s", cmd, strerror(errno)); in forkAndExec() 197 ALOGW("close() failed: %s", strerror(errno)); in forkAndExec() 238 ALOGE("Unable to send command: %s", strerror(errno)); in sendCommand() 243 ALOGE("Unable to send ping command: %s", strerror(errno)); in sendCommand() [all …]
|
/system/extras/tests/pagingtest/ |
D | pagingtest.c | 29 fprintf(stderr, "unable to create temp file: %s\n", strerror(errno)); in create_tmp_file() 35 fprintf(stderr, "unable to open urandom: %s\n", strerror(errno)); in create_tmp_file() 40 fprintf(stderr, "unable to unlink temp file: %s\n", strerror(errno)); in create_tmp_file() 45 fprintf(stderr, "unable to allocate temp file: %s\n", strerror(errno)); in create_tmp_file() 51 fprintf(stderr, "unable to mmap temp file: %s\n", strerror(errno)); in create_tmp_file() 61 fprintf(stderr, "write random data failed: %s\n", strerror(errno)); in create_tmp_file() 70 fprintf(stderr, "madvise DONTNEED failed: %s\n", strerror(errno)); in create_tmp_file() 75 fprintf(stderr, "fsync failed: %s\n", strerror(errno)); in create_tmp_file() 81 fprintf(stderr, "fadvise DONTNEED failed: %s\n", strerror(errno)); in create_tmp_file() 117 fprintf(stderr, "mincore failed: %s\n", strerror(errno)); in check_caching()
|
/system/core/deprecated-adf/libadf/tests/ |
D | adf_test.cpp | 32 " failed: " << strerror(-err); in SetUp() 37 strerror(-err); in SetUp() 41 intf_id << " failed: " << strerror(-intf); in SetUp() 45 eng_id << " failed: " << strerror(-eng); in SetUp() 60 strerror(-err); in get8888Format() 82 strerror(-err); in getInterfaceData() 96 "unblanking interface failed: " << strerror(-err); in blank() 103 intf_id << " failed: " << strerror(-err); in attach() 110 intf_id << " failed: " << strerror(-err); in detach() 116 ASSERT_GE(err, 0) << "reading ADF event failed: " << strerror(-err); in readVsyncTimestamp() [all …]
|
/system/core/qemu_pipe/ |
D | qemu_pipe.cpp | 46 strerror(errno)); in qemu_pipe_open() 65 __FUNCTION__, pipeName, strerror(errno)); in qemu_pipe_open() 74 QEMU_PIPE_DEBUG("Can't write qemud frame header: %s", strerror(errno)); in qemu_pipe_frame_send() 78 QEMU_PIPE_DEBUG("Can't write qemud frame payload: %s", strerror(errno)); in qemu_pipe_frame_send() 87 QEMU_PIPE_DEBUG("Can't read qemud frame header: %s", strerror(errno)); in qemu_pipe_frame_recv() 103 strerror(errno)); in qemu_pipe_frame_recv()
|
/system/core/fs_mgr/libsnapshot/ |
D | power_test.cpp | 139 std::cerr << "mkdir " << dir << ": " << strerror(errno) << "\n"; in OpenImageManager() 163 std::cerr << "open " << second << ": " << strerror(errno) << "\n"; in Create() 179 std::cerr << "fstat " << second << ": " << strerror(errno) << "\n"; in Create() 185 std::cerr << "open " << snapshot_path_ << ": " << strerror(errno) << "\n"; in Create() 195 std::cerr << "read " << second << ": " << strerror(errno) << "\n"; in Create() 199 std::cerr << "write " << snapshot_path_ << ": " << strerror(errno) << "\n"; in Create() 205 std::cerr << "fsync: " << strerror(errno) << "\n"; in Create() 253 std::cerr << "open " << first << ": " << strerror(errno) << "\n"; in SetupImages() 259 std::cerr << "first stat: " << strerror(errno) << "\n"; in SetupImages() 263 std::cerr << "second stat: " << strerror(errno) << "\n"; in SetupImages() [all …]
|
/system/bt/osi/src/ |
D | semaphore.cc | 47 LOG_ERROR("%s unable to allocate semaphore: %s", __func__, strerror(errno)); in semaphore_new() 67 LOG_ERROR("%s unable to wait on semaphore: %s", __func__, strerror(errno)); in semaphore_wait() 77 strerror(errno)); in semaphore_try_wait() 82 strerror(errno)); in semaphore_try_wait() 92 strerror(errno)); in semaphore_try_wait() 101 LOG_ERROR("%s unable to post to semaphore: %s", __func__, strerror(errno)); in semaphore_post()
|
D | config.cc | 105 << "': " << strerror(errno); in config_new() 286 << "': " << strerror(errno); in config_save() 293 << "': " << strerror(errno); in config_save() 300 << "': " << strerror(errno); in config_save() 315 << "': " << strerror(errno); in config_save() 322 << temp_filename << "': " << strerror(errno); in config_save() 330 << "': " << strerror(errno); in config_save() 335 << "': " << strerror(errno); in config_save() 344 << filename << "': " << strerror(errno); in config_save() 351 << "': " << strerror(errno); in config_save() [all …]
|
/system/core/adb/ |
D | adb_io_test.cpp | 50 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()
|
/system/bt/hci/src/ |
D | btsnoop_net.cc | 60 LOG_ERROR("%s pthread_create failed: %s", __func__, strerror(errno)); in btsnoop_net_open() 99 LOG_ERROR("%s socket creation failed: %s", __func__, strerror(errno)); in listen_fn_() 105 LOG_ERROR("%s unable to set SO_REUSEADDR: %s", __func__, strerror(errno)); in listen_fn_() 114 LOG_ERROR("%s unable to bind listen socket: %s", __func__, strerror(errno)); in listen_fn_() 119 LOG_ERROR("%s unable to listen: %s", __func__, strerror(errno)); in listen_fn_() 130 LOG_WARN("%s error accepting socket: %s", __func__, strerror(errno)); in listen_fn_()
|
/system/core/adb/sysdeps/win32/ |
D | errno.cpp | 29 #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()
|
/system/core/libsparse/ |
D | append2simg.cpp | 78 fprintf(stderr, "Couldn't open output file (%s)\n", strerror(errno)); in main() 90 fprintf(stderr, "Couldn't open input file (%s)\n", strerror(errno)); in main() 96 fprintf(stderr, "Couldn't get input file length (%s)\n", strerror(errno)); in main() 113 fprintf(stderr, "Couldn't open temporary file (%s)\n", strerror(errno)); in main() 130 fprintf(stderr, "Failed to rename temporary file (%s)\n", strerror(errno)); in main()
|
/system/core/debuggerd/tombstoned/ |
D | tombstoned_client.cpp | 43 strerror(errno)); in tombstoned_connect() 53 strerror(errno)); in tombstoned_connect() 61 "failed to read response to DumpRequest packet: %s", strerror(errno)); in tombstoned_connect() 77 strerror(errno)); in tombstoned_connect()
|
/system/core/libsysutils/src/ |
D | SocketListener.cpp | 85 mSocketName, strerror(errno)); in startListener() 93 SLOGE("Unable to listen on socket (%s)", strerror(errno)); in startListener() 99 SLOGE("pipe failed (%s)", strerror(errno)); in startListener() 104 SLOGE("pthread_create (%s)", strerror(errno)); in startListener() 117 SLOGE("Error writing to control pipe (%s)", strerror(errno)); in stopListener() 123 SLOGE("Error joining to listener thread (%s)", strerror(errno)); in stopListener() 170 SLOGE("poll failed (%s) mListen=%d", strerror(errno), mListen); in runListener() 186 SLOGE("accept failed (%s)", strerror(errno)); in runListener() 264 SLOGW("Error sending broadcast (%s)", strerror(errno)); in sendBroadcast()
|
/system/core/debuggerd/libdebuggerd/ |
D | open_files_list.cpp | 45 ALOGE("failed to open directory %s: %s", fd_dir_name.c_str(), strerror(errno)); in populate_open_files_list() 62 ALOGE("failed to readlink %s: %s", path.c_str(), strerror(errno)); in populate_open_files_list() 76 ALOGE("failed to read fdsan table entry %zu: %s", i, strerror(errno)); in populate_fdsan_table() 87 ALOGE("failed to read fdsan table overflow pointer: %s", strerror(errno)); in populate_fdsan_table() 97 ALOGE("failed to read fdsan overflow table length: %s", strerror(errno)); in populate_fdsan_table() 111 ALOGE("failed to read fdsan overflow entry for fd %d: %s", fd, strerror(errno)); in populate_fdsan_table()
|
/system/chre/platform/linux/ |
D | system_timer.cc | 50 LOGE("Couldn't delete timer: %s", strerror(errno)); in ~SystemTimer() 68 LOGE("Couldn't create timer: %s", strerror(errno)); in init() 109 LOGE("Couldn't obtain current timer configuration: %s", strerror(errno)); in isActive() 128 LOGE("Couldn't set timer: %s", strerror(errno)); in setInternal()
|
/system/extras/verity/fec/ |
D | image.cpp | 162 FATAL("failed to open file '%s': %s\n", fn.c_str(), strerror(errno)); in image_load() 181 strerror(errno)); in image_save() 185 FATAL("failed to write to output: %s\n", strerror(errno)); in image_save() 218 strerror(errno)); in image_ecc_load() 223 strerror(errno)); in image_ecc_load() 233 filename.c_str(), strerror(errno)); in image_ecc_load() 272 FATAL("failed to rewind '%s': %s", filename.c_str(), strerror(errno)); in image_ecc_load() 277 filename.c_str(), strerror(errno)); in image_ecc_load() 320 strerror(errno)); in image_ecc_save() 324 FATAL("failed to write to output: %s\n", strerror(errno)); in image_ecc_save() [all …]
|
/system/extras/partition_tools/ |
D | lpadd.cc | 78 << strerror(saved_errno) << std::endl; in GetTemporaryDir() 182 std::cerr << "open failed: " << image_path << ": " << strerror(errno) << "\n"; in AddPartition() 192 std::cerr << "lseek failed: " << image_path << ": " << strerror(errno) << "\n"; in AddPartition() 222 std::cerr << "open failed: " << actual_path << ": " << strerror(errno) << "\n"; in OpenSuperFile() 238 std::cerr << "realpath failed: " << actual_path << ": " << strerror(errno) << "\n"; in OpenSuperFile() 254 std::cerr << "mkstemp failed: " << strerror(errno) << "\n"; in MaybeUnsparse() 325 std::cerr << "lseek failed: " << strerror(errno) << "\n"; in WriteExtent() 337 std::cerr << "lseek failed: " << strerror(errno) << "\n"; in WriteExtent() 345 std::cerr << "read failed: " << strerror(errno) << "\n"; in WriteExtent() 349 std::cerr << "write failed: " << strerror(errno) << "\n"; in WriteExtent() [all …]
|
D | lpunpack.cc | 145 std::cerr << "realpath failed: " << super_path << ": " << strerror(errno) << "\n"; in main() 151 std::cerr << "open failed: " << abs_super_path << ": " << strerror(errno) << "\n"; in main() 236 std::cerr << "open failed: " << output_path << ": " << strerror(errno) << "\n"; in ExtractPartition() 262 std::cerr << "image lseek failed: " << strerror(errno) << "\n"; in WriteExtent() 273 std::cerr << "read failed: " << strerror(errno) << "\n"; in WriteExtent() 301 std::cerr << "lseek failed: " << strerror(errno) << "\n"; in WriteBlock() 307 std::cerr << "write failed: " << strerror(errno) << "\n"; in WriteBlock() 317 std::cerr << "lseek failed: " << strerror(errno) << "\n"; in Finish() 321 std::cerr << "ftruncate failed: " << strerror(errno) << "\n"; in Finish()
|
/system/netd/tests/ |
D | sock_diag_test.cpp | 82 << "IPv4 connect failed: " << strerror(errno); in TEST_F() 84 << "IPv6 connect failed: " << strerror(errno); in TEST_F() 150 ASSERT_EQ(0, ret) << "Failed to send IPv4 dump request: " << strerror(-ret); in TEST_F() 159 ASSERT_EQ(0, ret) << "Failed to send mapped dump request: " << strerror(-ret); in TEST_F() 166 ASSERT_EQ(0, ret) << "Failed to send IPv6 dump request: " << strerror(-ret); in TEST_F() 203 << "Connecting socket " << i << " failed " << strerror(errno); in TEST_F() 206 << "Accepting socket " << i << " failed " << strerror(errno); in TEST_F() 218 EXPECT_LE(0, ret) << ": Failed to destroy sockets on ::1: " << strerror(-ret); in TEST_F() 232 << "Client socket: unexpected error: " << strerror(errno); in TEST_F() 240 << "Server socket: unexpected error: " << strerror(errno); in TEST_F()
|
/system/bt/vendor_libs/test_vendor_lib/desktop/ |
D | test_environment.cc | 89 ASSERT_LOG(ret != -1, "Error setting O_NONBLOCK %s", strerror(errno)); in SetUpHciServer() 114 ASSERT_LOG(ret != -1, "Error setting O_NONBLOCK %s", strerror(errno)); in SetUpLinkLayerServer() 123 LOG_INFO("socket() call failed: %s", strerror(errno)); in ConnectToRemoteServer() 130 LOG_INFO("gethostbyname() failed for %s: %s", server.c_str(), strerror(errno)); in ConnectToRemoteServer() 142 LOG_INFO("connect() failed for %s@%d: %s", server.c_str(), port, strerror(errno)); in ConnectToRemoteServer() 148 ASSERT_LOG(ret != -1, "Error setting O_NONBLOCK %s", strerror(errno)); in ConnectToRemoteServer()
|