platform_system_core/adb
Jerry Zhang f3fb7de3c8 adb: set max_rw to USB_FFS_BULK_SIZE explicitly
Sometimes when endpoint_alloc returns ENODEV,
max_rw will end up being a value that is too
big.

Bug: 35634401
Test: push/pull files
Change-Id: Iaa81a3311b1855e2a835562cdf7a46ff4399feb1
2017-02-21 14:37:07 -08:00
..
client usb_dispatch.cpp: Lower severity of logging statement. 2017-02-01 12:05:18 -08:00
daemon adb: set max_rw to USB_FFS_BULK_SIZE explicitly 2017-02-21 14:37:07 -08:00
sysdeps Revert "Revert "adb: extend sync protocol's stat support."" 2016-12-05 17:38:30 -08:00
.clang-format adb: fix clang-format for access modifier dedent. 2016-02-22 15:57:08 -08:00
Android.mk adb: add libusb implementation for Linux/Darwin. 2017-01-25 13:52:53 -08:00
CPPLINT.cfg Ignore whitespace/indent issues from cpplint. 2015-05-18 16:49:07 -07:00
MODULE_LICENSE_APACHE2 eclair snapshot 2009-11-12 18:46:23 -08:00
NOTICE eclair snapshot 2009-11-12 18:46:23 -08:00
OVERVIEW.TXT Fixing spelling errors in adb docs 2010-04-28 11:38:39 -04:00
SERVICES.TXT adb sync cleanup. 2015-08-24 11:15:01 -07:00
SYNC.TXT adb sync cleanup. 2015-08-24 11:15:01 -07:00
adb.cpp adb: add libusb implementation for Linux/Darwin. 2017-01-25 13:52:53 -08:00
adb.h adb: Set max socket sizes to larger values. 2017-02-13 18:19:36 -08:00
adb_auth.h adb: rationalize types. 2016-10-06 14:50:02 -07:00
adb_auth_host.cpp adb: check for and report inotify_init1 failure. 2017-01-20 15:26:00 -08:00
adb_client.cpp Remove unused adb_set_transport. 2016-12-02 12:53:09 -08:00
adb_client.h Remove unused adb_set_transport. 2016-12-02 12:53:09 -08:00
adb_io.cpp adb: add sysdeps/chrono.h for chrono literals on Win32. 2016-11-16 12:14:59 -08:00
adb_io.h adb: fix adb client running out of sockets on Windows 2015-10-30 16:23:10 -07:00
adb_io_test.cpp adb: disable tests that are expected to fail on Win32. 2016-04-18 14:33:38 -07:00
adb_listeners.cpp adb: factor out socket specification. 2016-08-25 17:12:26 -07:00
adb_listeners.h adb: support forwarding TCP port 0. 2016-05-09 16:55:10 -07:00
adb_listeners_test.cpp adb: support forwarding TCP port 0. 2016-05-09 16:55:10 -07:00
adb_trace.cpp adb: fix adb trace tag 2016-12-14 12:41:43 -06:00
adb_trace.h adb: add tracing to file_sync_service.cpp. 2016-12-12 12:28:45 -08:00
adb_unique_fd.h adb: extract the adb-specific unique_fd out into its own header. 2016-09-01 15:49:06 -07:00
adb_utils.cpp Don't print 168^W143 lines of help when someone makes a typo. 2017-02-06 16:20:30 -08:00
adb_utils.h Don't print 168^W143 lines of help when someone makes a typo. 2017-02-06 16:20:30 -08:00
adb_utils_test.cpp adb: fix stat on Windows. 2016-08-03 15:14:59 -07:00
adbd_auth.cpp adb: rationalize types. 2016-10-06 14:50:02 -07:00
bugreport.cpp Don't print 168^W143 lines of help when someone makes a typo. 2017-02-06 16:20:30 -08:00
bugreport.h DO NOT MERGE: Removed extra 'pulling file' message. 2016-08-30 13:06:30 -07:00
bugreport_test.cpp DO NOT MERGE: Split 'generating' and 'pulling' in 2 messages. 2016-08-30 13:06:37 -07:00
commandline.cpp Don't print 168^W143 lines of help when someone makes a typo. 2017-02-06 16:20:30 -08:00
commandline.h DO NOT MERGE: Refactored functions that copy sdout and stderr to strings to use a callback. 2016-08-30 13:06:26 -07:00
console.cpp adb: add helper to get the ~/.android directory. 2016-09-01 15:43:22 -07:00
diagnose_usb.cpp Share the new adb USB diagnostic code with fastboot. 2015-12-14 10:50:21 -08:00
diagnose_usb.h Share the new adb USB diagnostic code with fastboot. 2015-12-14 10:50:21 -08:00
fdevent.cpp Fix google-explicit-constructor warnings. 2016-04-29 15:44:04 -07:00
fdevent.h adb: make fdevent_test, socket_test compile on Windows. 2016-02-22 15:57:08 -08:00
fdevent_test.cpp adb: make fdevent_test, socket_test compile on Windows. 2016-02-22 15:57:08 -08:00
fdevent_test.h adb: fix socket tests. 2016-04-25 19:51:58 -07:00
file_sync_client.cpp adb: remove extraneous stat in sync_recv. 2016-12-12 16:47:34 -08:00
file_sync_service.cpp adb: add tracing to file_sync_service.cpp. 2016-12-12 12:28:45 -08:00
file_sync_service.h Revert "Revert "adb: extend sync protocol's stat support."" 2016-12-05 17:38:30 -08:00
framebuffer_service.cpp Move adb to C++. 2015-03-09 14:06:11 -07:00
jdwp_service.cpp adb: extract the adb-specific unique_fd out into its own header. 2016-09-01 15:49:06 -07:00
line_printer.cpp adb: add missing newline when printing transfer rate. 2016-08-04 14:56:53 -07:00
line_printer.h Simplify adb LinePrinter newline handling. 2015-12-09 18:42:41 -08:00
protocol.txt Precise command constants on adb/protoxol.txt 2016-08-30 01:30:12 +02:00
remount_service.cpp Switch adb to <android-base/properties.h>. 2016-09-26 13:14:14 -07:00
remount_service.h Failure to find an oem partition should not be a remount failure. 2015-05-11 13:36:13 -07:00
security_log_tags.h ADB security logging 2016-01-21 15:57:02 +00:00
services.cpp adb: Set max socket sizes to larger values. 2017-02-13 18:19:36 -08:00
services.h adb: put legacy shell: service back in. 2015-09-30 15:40:09 -07:00
set_verity_enable_state_service.cpp adb: use __android_log_is_debuggable() 2016-10-14 11:12:24 -07:00
shell_service.cpp adbd's children should have SIGPIPE set to SIG_DFL. 2017-02-17 11:14:33 -08:00
shell_service.h Track rename of base/ to android-base/. 2015-12-04 22:00:26 -08:00
shell_service_protocol.cpp adb: create shell protocol class (take 2). 2015-09-08 10:04:10 -07:00
shell_service_protocol_test.cpp adb: fix undefined behavior 2016-10-19 19:39:44 -07:00
shell_service_test.cpp adb: fix subprocess termination for legacy shell. 2016-01-27 17:13:41 -08:00
socket.h Address const issues in preparation for libcxx rebase. 2016-03-29 17:17:51 +00:00
socket_spec.cpp adb: parse tcp socket specs with base::ParseNetAddress. 2016-09-20 13:55:43 -07:00
socket_spec.h adb: parse tcp socket specs with base::ParseNetAddress. 2016-09-20 13:55:43 -07:00
socket_spec_test.cpp adb: parse tcp socket specs with base::ParseNetAddress. 2016-09-20 13:55:43 -07:00
socket_test.cpp adb: add sysdeps/chrono.h for chrono literals on Win32. 2016-11-16 12:14:59 -08:00
sockets.cpp adb: add `adb reconnect offline` to reconnect offline devices. 2016-10-27 17:13:23 -07:00
sockets.dia auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
sysdeps.h Revert "Revert "adb: move adb_strerror to sysdeps/win32/errno.cpp."" 2016-12-05 17:38:30 -08:00
sysdeps_test.cpp adb: add sysdeps/chrono.h for chrono literals on Win32. 2016-11-16 12:14:59 -08:00
sysdeps_unix.cpp adb: use TCP keepalive. 2016-03-03 15:42:11 -08:00
sysdeps_win32.cpp Revert "Revert "adb: move adb_strerror to sysdeps/win32/errno.cpp."" 2016-12-05 17:38:30 -08:00
sysdeps_win32_test.cpp adb: add script to trace adbd. 2016-12-13 14:31:17 -08:00
test_adb.py libcutils: try all addresses in socket_network_client_timeout. 2016-09-01 15:56:58 -07:00
test_device.py adb: be more permissive in test_push_error_reporting. 2016-11-21 18:39:21 -08:00
trace.sh adb: add script to trace adbd. 2016-12-13 14:31:17 -08:00
transport.cpp adb: add tracing to transport.cpp. 2016-12-12 12:28:45 -08:00
transport.h Revert "Revert "adb: extend sync protocol's stat support."" 2016-12-05 17:38:30 -08:00
transport_local.cpp adb: add sysdeps/chrono.h for chrono literals on Win32. 2016-11-16 12:14:59 -08:00
transport_test.cpp adb: kill adb_mutex_t, adb_cond_t. 2016-09-21 17:22:22 -07:00
transport_usb.cpp adb: add libusb implementation for Linux/Darwin. 2017-01-25 13:52:53 -08:00
usb.h adb: add libusb implementation for Linux/Darwin. 2017-01-25 13:52:53 -08:00