/system/core/adb/ |
adb_io.cpp | 77 int r = adb_read(fd, p, len); 150 // adb_read() will return 0. If the peer keeps the socket open, adb_read() 152 int result = adb_read(fd, buf, sizeof(buf)); 172 // 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 | 116 extern int adb_read(int fd, void* buf, int len); 371 // unix_write(), unix_close(), but not adb_read(), adb_write(), adb_close(). 404 // Open a file and return a file descriptor that may be used with adb_read(), 410 // adb_read(), adb_write(), adb_close(), etc. 445 static __inline__ int adb_read(int fd, void* buf, size_t len) 554 // On Unix, unix_read(), unix_write(), unix_close() map to adb_read(), 559 #define unix_read adb_read
|
fdevent_test.cpp | 51 ASSERT_EQ(1, adb_read(fd, &c, 1));
|
shell_service_test.cpp | 83 int bytes = adb_read(fd, cur_ptr, end_ptr - cur_ptr);
|
sysdeps_test.cpp | 195 ASSERT_EQ(adb_read(pfds[i].fd, buf, sizeof(buf)), static_cast<ssize_t>(sizeof(int32_t)));
|
shell_service.cpp | 117 int bytes = adb_read(fd, buffer, sizeof(buffer)); 640 int bytes = adb_read(*sfd, output_->data(), output_->data_capacity());
|
fdevent.cpp | 314 if (adb_read(fd, buf, sizeof(buf)) == -1) {
|
transport_local.cpp | 254 #define read adb_read
|
commandline.cpp | 296 D("read_and_dump(): pre adb_read(fd=%d)", fd); 297 length = adb_read(fd, raw_buffer, sizeof(raw_buffer)); 298 D("read_and_dump(): post adb_read(fd=%d): length=%d", fd, length); 313 int len = adb_read(fd, buf, count); 381 len = adb_read(inFd, buf, BUFSIZE); 503 // Use unix_read_interruptible() rather than adb_read() for stdin. [all...] |
transport.cpp | 156 int r = adb_read(fd, p, len); 532 r = adb_read(fd, p, len); [all...] |
file_sync_service.cpp | 427 int r = adb_read(fd, &buffer[0], buffer.size() - sizeof(msg.data));
|
adb.cpp | [all...] |
sockets.cpp | 158 r = adb_read(s->fd, x, avail); 159 D("LS(%d): post adb_read(fd=%d,...) r=%d (errno=%d) avail=%zu", s->id, s->fd, r,
|
file_sync_client.cpp | 444 int bytes_read = adb_read(lfd, sbuf.data, max - sizeof(SyncRequest)); [all...] |
sysdeps_win32.cpp | 265 D( "adb_read: could not read %d bytes from %s", len, f->name ); 428 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)) {
|
/system/core/adb/daemon/ |
usb.cpp | 395 int n = adb_read(h->bulk_out, buf, read_len);
|