HomeSort by relevance Sort by last modified time
    Searched refs:adb_read (Results 1 - 16 of 16) sorted by null

  /system/core/adb/
adb_io.cpp 75 int r = adb_read(fd, p, len);
148 // adb_read() will return 0. If the peer keeps the socket open, adb_read()
150 int result = adb_read(fd, buf, sizeof(buf));
170 // data. We don't repeatedly call adb_read() until we get zero because
console.cpp 140 result = adb_read(fd, buf, sizeof(buf));
sysdeps.h 217 extern int adb_read(int fd, void* buf, int len);
494 // unix_write(), unix_close(), but not adb_read(), adb_write(), adb_close().
527 // Open a file and return a file descriptor that may be used with adb_read(),
533 // adb_read(), adb_write(), adb_close(), etc.
566 static __inline__ int adb_read(int fd, void* buf, size_t len)
677 // On Unix, unix_read(), unix_write(), unix_close() map to adb_read(),
682 #define unix_read adb_read
fdevent_test.cpp 49 ASSERT_EQ(1, adb_read(fd, &c, 1));
shell_service_test.cpp 103 int bytes = adb_read(fd, cur_ptr, end_ptr - cur_ptr);
shell_service.cpp 128 int bytes = adb_read(fd, buffer, sizeof(buffer));
641 int bytes = adb_read(sfd->fd(), output_->data(), output_->data_capacity());
sysdeps_test.cpp 239 ASSERT_EQ(adb_read(pfds[i].fd, buf, sizeof(buf)), static_cast<ssize_t>(sizeof(int32_t)));
commandline.cpp 338 D("read_and_dump(): pre adb_read(fd=%d)", fd);
339 length = adb_read(fd, raw_buffer, sizeof(raw_buffer));
340 D("read_and_dump(): post adb_read(fd=%d): length=%d", fd, length);
355 int len = adb_read(fd, buf, count);
423 len = adb_read(inFd, buf, BUFSIZE);
545 // Use unix_read_interruptible() rather than adb_read() for stdin.
    [all...]
file_sync_service.cpp 362 int r = adb_read(fd, &buffer[0], buffer.size());
transport.cpp 99 int r = adb_read(fd, p, len);
449 r = adb_read(fd, p, len);
usb_linux_client.cpp 306 // The kernel implementation of adb_read in f_adb.c doesn't support
519 int n = adb_read(h->bulk_out, buf, read_len);
adb.cpp 875 int ret = adb_read(fd[0], temp, 3);
    [all...]
file_sync_client.cpp 233 int bytes_read = adb_read(lfd, sbuf.data, max);
    [all...]
sockets.cpp 316 r = adb_read(fd, x, avail);
317 D("LS(%d): post adb_read(fd=%d,...) r=%d (errno=%d) avail=%zu", s->id, s->fd, r,
sysdeps_win32.cpp 327 D( "adb_read: could not read %d bytes from %s", len, f->name );
490 int adb_read(int fd, void* buf, int len) function
    [all...]
  /development/host/windows/usb/adb_winapi_test/
adb_winapi_test.cpp 489 ADBAPIHANDLE adb_read = AdbOpenDefaultBulkReadEndpoint(adb_interface, local
492 if (NULL == adb_read) {
503 AdbCloseHandle(adb_read);
521 AdbCloseHandle(adb_read);
528 bool read_res = AdbReadEndpointSync(adb_read, &msg_rcv, sizeof(msg_rcv), &read_bytes, 512);
532 AdbCloseHandle(adb_read);
551 read_res = AdbReadEndpointSync(adb_read, buf, msg_rcv.data_length, &read_bytes, 512);
556 AdbCloseHandle(adb_read);
568 if (!AdbCloseHandle(adb_read)) {

Completed in 880 milliseconds