/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 | 130 extern int adb_read(int fd, void* buf, int len); 385 // unix_write(), unix_close(), but not adb_read(), adb_write(), adb_close(). 418 // Open a file and return a file descriptor that may be used with adb_read(), 424 // adb_read(), adb_write(), adb_close(), etc. 463 static __inline__ int adb_read(int fd, void* buf, size_t len) 572 // On Unix, unix_read(), unix_write(), unix_close() map to adb_read(), 577 #define unix_read adb_read
|
fdevent_test.cpp | 50 ASSERT_EQ(1, adb_read(fd, &c, 1));
|
shell_service_test.cpp | 103 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 | 116 int bytes = adb_read(fd, buffer, sizeof(buffer)); 622 int bytes = adb_read(*sfd, output_->data(), output_->data_capacity());
|
commandline.cpp | 295 D("read_and_dump(): pre adb_read(fd=%d)", fd); 296 length = adb_read(fd, raw_buffer, sizeof(raw_buffer)); 297 D("read_and_dump(): post adb_read(fd=%d): length=%d", fd, length); 312 int len = adb_read(fd, buf, count); 380 len = adb_read(inFd, buf, BUFSIZE); 502 // Use unix_read_interruptible() rather than adb_read() for stdin. [all...] |
fdevent.cpp | 376 if (adb_read(fd, buf, sizeof(buf)) == -1) {
|
transport_local.cpp | 289 #define read adb_read
|
transport.cpp | 114 int r = adb_read(fd, p, len); 465 r = adb_read(fd, p, len); [all...] |
file_sync_service.cpp | 419 int r = adb_read(fd, &buffer[0], buffer.size());
|
adb.cpp | [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,
|
file_sync_client.cpp | 444 int bytes_read = adb_read(lfd, sbuf.data, max); [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 | 400 int n = adb_read(h->bulk_out, buf, read_len);
|