/system/netd/server/ |
H A D | ndc.c | 145 if ((rc = read(sock, buffer, 4096)) <= 0) {
|
/system/tools/aidl/ |
H A D | io_delegate.cpp | 97 in.read(&(*contents)[0], file_size);
|
/system/update_engine/common/ |
H A D | hash_calculator.cc | 61 ssize_t rc = HANDLE_EINTR(read(fd, buffer.data(), bytes_to_read));
|
/system/vold/ |
H A D | vdc.cpp | 137 rc = TEMP_FAILURE_RETRY(read(sock, buffer, sizeof(buffer)));
|
/system/bt/service/ipc/ |
H A D | linux_ipc_host.cpp | 150 if (std::find(option_tokens.begin(), option_tokens.end(), "read") != 265 OSI_NO_INTR(size = read(pfds_[kFdIpc].fd, &ipc_msg[0], ipc_msg.size())); 315 OSI_NO_INTR(r = read(pfds_[kFdGatt].fd, id.data(), id.size()));
|
/system/extras/memtrack/ |
H A D | memtrack.cpp | 73 bytes = read(fd_, data_ + len_, max_ - len_); 137 ssize_t bytes = read(fd, cmd_name_, sizeof(cmd_name_));
|
/system/extras/verity/ |
H A D | BootSignature.java | 227 byte[] image = Utils.read(imagePath); 258 byte[] image = Utils.read(imagePath);
|
/system/core/liblog/ |
H A D | pmsg_reader.c | 47 .read = pmsgRead, 172 ret = TEMP_FAILURE_RETRY(read(transp->context.fd, 205 ret = TEMP_FAILURE_RETRY(read(transp->context.fd,
|
/system/core/lmkd/ |
H A D | lmkd.c | 131 ssize_t r = read(fd, buf, max_len); 332 ret = read(ctrl_dfd, buf, bufsz); 335 ALOGE("control data socket read failed; errno=%d", errno); 386 ALOGE("Wrong control socket read length cmd=%d len=%d", cmd, len); 485 ALOGE("%s read: errno=%d", ZONEINFO_PATH, errno); 641 ret = read(mpevfd, &evcount, sizeof(evcount)); 650 // Failed to read /proc/zoneinfo, assume ENOMEM and kill something
|
/system/extras/ext4_utils/ |
H A D | ext4fixup.c | 96 len = read(fd, &magic, sizeof(magic)); 98 critical_error("cannot read fixup_state\n"); 182 len=read(fd, inode, sizeof(*inode)); 184 critical_error_errno("failed to read inode %d\n", inum); 201 len=read(fd, block, info.block_size); 203 critical_error_errno("failed to read block %lld\n", block_num); 608 * seems to imply I need to read the inode and get it.
|
/system/core/init/ |
H A D | perfboot.py | 35 data.tsv, and read event tags from eventtags.txt. 159 c = proc.stdout.read(1) 166 c = proc.stdout.read(1) 410 'event tags are read. Every line contains one event '
|
/system/core/libpixelflinger/include/private/pixelflinger/ |
H A D | ggl_context.h | 357 void (*read) (const surface_t* s, context_t* c, member in struct:android::surface_t 432 surface_t read; member in struct:android::framebuffer_t
|
/system/extras/pagecache/ |
H A D | pagecache.py | 124 file_object: The file or pipe to read from. 126 text_file: If True, the file will be read one line at a time, and 131 read operation. For text files, this parameter is ignored. 152 chunk = self._file_object.read(self._chunk_size) 158 """Change the read chunk size. 165 # The chunk size can be changed asynchronously while a file is being read 260 stat_dump = f.read(); 354 help='Dump the inode data read from a device to a file.'
|
/system/tools/aidl/tests/ |
H A D | aidl_test_service.cpp | 285 Status RepeatFileDescriptor(const ScopedFd& read, 288 *_aidl_return = ScopedFd(dup(read.get()));
|
/system/bt/hci/test/ |
H A D | hci_hal_h4_test.cpp | 189 read(fd, &byte, 1);
|
H A D | hci_hal_mct_test.cpp | 192 read(fd, &byte, 1);
|
/system/bt/osi/src/ |
H A D | eager_reader.c | 175 LOG_ERROR(LOG_TAG, "%s unable to read semaphore for output data.", __func__); 251 OSI_NO_INTR(bytes_read = read(reader->inbound_fd, buffer->data, 259 // the semaphore by the number of bytes we just read 265 LOG_WARN(LOG_TAG, "%s unable to read from file descriptor: %s", __func__, strerror(errno));
|
/system/bt/vendor_libs/linux/ |
H A D | bt_vendor_linux.c | 205 n = read(fd, &ev, sizeof(struct mgmt_pkt));
|
/system/core/debuggerd/ |
H A D | debuggerd.cpp | 210 status = TEMP_FAILURE_RETRY(read(fd, &msg, sizeof(msg))); 212 ALOGE("read failure? %s (pid=%d uid=%d)\n", strerror(errno), cr.pid, cr.uid); 285 tv.tv_sec = 3; // 3 seconds on handshake read 326 // 3 sec timeout reading the ack; we're fine if the read fails. 352 ssize_t bytes = TEMP_FAILURE_RETRY(read(fd, &ehdr, sizeof(ehdr))); 383 if (TEMP_FAILURE_RETRY(read(sock_fd, &ack, 1)) == -1) { 384 ALOGE("Failed to read ack from debuggerd32 socket: %s", strerror(errno)); 391 while ((bytes_read = TEMP_FAILURE_RETRY(read(sock_fd, buffer, sizeof(buffer)))) > 0) { 408 ALOGE("Failed to write all data to fd: read %zd, sent %zd", bytes_read, bytes_to_send); 560 // a read() cal [all...] |
/system/core/healthd/ |
H A D | healthd.cpp | 256 if (read(wakealarm_fd, &wakeups, sizeof(wakeups)) == -1) { 257 KLOG_ERROR(LOG_TAG, "wakealarm_event: read wakealarm fd failed\n");
|
/system/core/include/utils/ |
H A D | Flattenable.h | 67 // read a POD structure 69 static void read(void const*& buffer, size_t& size, T& value) { function in class:android::FlattenableUtils
|
/system/core/libcutils/ |
H A D | fs.c | 123 ALOGE("Failed to read %s: %s", path, strerror(errno)); 128 if (TEMP_FAILURE_RETRY(read(fd, buf, BUF_SIZE)) == -1) { 129 ALOGE("Failed to read %s: %s", path, strerror(errno));
|
H A D | sched_policy.c | 345 int rc = read(fd, statline, 1023);
|
/system/core/libnetutils/ |
H A D | packet.c | 171 nread = read(s, &packet, sizeof(packet)); 191 ALOGD("Packet was truncated (read %d, needed %d)", nread, ntohs(packet.ip.tot_len));
|
/system/core/logd/ |
H A D | LogBufferElement.cpp | 70 ssize_t ret = read(fd, buffer, sizeof(buffer));
|