07edefe4cecbddaf6282e556e04a1e1ef21c404a |
|
22-Jun-2011 |
Mike Lockwood <lockwood@android.com> |
Revert "adb: kick the transport after sending the "adb root" command" This reverts commit d15e6ac95dc898fb78fb5917bb2e4498b40b716f. Also increment adb version to 1.0.29 Change-Id: I890643f0c18a2fe90f170134df039c54116cecda Signed-off-by: Mike Lockwood <lockwood@android.com>
/system/core/adb/sockets.c
|
5b811fa5dd00288954f15209a56aea03d5e4a004 |
|
10-Jun-2011 |
Christopher Tate <ctate@google.com> |
Tidy up the end-of-data handling in backup * Increase transfer buffer size to 32K * Add logging about error conditions and fd teardown * Pass the fd number as a command line option to the 'bu' subprocess * Properly harvest the 'bu' subprocess after it's done Change-Id: Id44dde25778ecf43c5604fd9d01d726ba58861e5
/system/core/adb/sockets.c
|
b0a8aae3eda5e245b93cb6d3af286202dc8c011c |
|
16-Jun-2011 |
Kenny Root <kroot@google.com> |
Use adb_sleep_ms for Cygwin compat Change-Id: Iabb2cddfb6740a35e4b6b1563a81b64972c29453
/system/core/adb/sockets.c
|
d15e6ac95dc898fb78fb5917bb2e4498b40b716f |
|
12-Jun-2011 |
Mike Lockwood <lockwood@android.com> |
adb: kick the transport after sending the "adb root" command This is needed because the USB driver on the device no longer resets the bus when exits and restarts. Since the host side adb no longer detects that adbd has restarted we need to reset the connection on the host side now. Change-Id: I1a8eabd292e8b45c34fa07a8a8b8c609cc15648d Signed-off-by: Mike Lockwood <lockwood@android.com>
/system/core/adb/sockets.c
|
37b9fc6e7c25e4d7f57e1df6954498c8bc3c5a1b |
|
09-Jun-2011 |
Nick Kralevich <nnk@google.com> |
am 4ba5a8ac: am eafcbe10: am 072a0fac: Merge "Fixed adb crash due to accessing freed memory" * commit '4ba5a8acba033127befd184f2f78cf0580995b07': Fixed adb crash due to accessing freed memory
|
49f1857dd8b64cdd57f28e965a1ff5fa0c2b0547 |
|
13-May-2011 |
Tom Marlin <tomm@bsquare.com> |
Fixed adb crash due to accessing freed memory Reset peers to NULL after closing them down. This prevents other code from attempting to access that freed memory (which prevents crashes). Previously, it left pointers to freed memory and the "if (s->peer)" guards could not block the attempt to access that memory later. Resolves many crashes seen while taking repeated screenshots on WinXP. Change-Id: I32553f4d19f6ddc9b05b6ab4dc1e9efe69e5be4f
/system/core/adb/sockets.c
|
112445b8a752ce174f36cf853d5f1c356c3f5286 |
|
13-Apr-2011 |
JP Abgrall <jpa@google.com> |
adb: Don't allow a forced exit if data is still in the socket Fixes the http://b/4271011 "adb shell cat /init.rc output gets truncated" Change-Id: I6df64374b60789595fb18f96d429315dec032443 Signed-off-by: JP Abgrall <jpa@google.com>
/system/core/adb/sockets.c
|
e994f18c53673cac42ed45ccb3d427bd40000948 |
|
16-Mar-2011 |
Terence Haddock <thaddock@google.com> |
In serial, skip over port as well if numbers found after colon. Change-Id: Icd45f570a9527790eb0cd614a3f77da1a72375b1
/system/core/adb/sockets.c
|
408fa57864c01113deaa213e5c1848a9c594ae92 |
|
16-Mar-2011 |
JP Abgrall <jpa@google.com> |
adb: fix subprocess exit handling, oom adjust fixes, extra debugging. * Add support for correctly handling subprocess termination in shell service (b/3400254 b/3482112 b/2249397) - have a waitpid() track the subprocess, then notify the fdevent via a socket - force an eof on the pty master in fdevent's new subproc handler. - modify fdevent to force-read the pty after an exit. * Migrate the "shell:blabla" handling to "#if !ADB_HOST" sections, where it belongs. * Fix the race around OOM adjusting. - Do it in the child before exec() instead of the in the parent as the child could already have started or not (no /proc/pid/... yet). * Allow for multi-threaded D() invocations to not clobber each other. - Allow locks across object files. - Add lock within D() - Make sure sysdesp init (mutex init also) is called early. * Add some missing close(fd) calls - Match similar existing practices near dup2() * Add extra D() invocations related to FD handling. * Warn about using debugging as stderr/stdout is used for protocol. * Fix some errno handling and make D() correctly handle it. * Add new adb trace_mask: services. * Make fdevent_loop's handle BADFDs more gracefully (could occur some subproc closed its pts explicitely). * Remove obsolete commandline args reported in help. (b/3509092) Change-Id: I928287fdf4f1a86777e22ce105f9581685f46e35
/system/core/adb/sockets.c
|
28e1390e688f721e13a9877d3c41884bf151db60 |
|
16-Mar-2011 |
Terence Haddock <thaddock@google.com> |
In serial, skip over port as well if numbers found after colon. Change-Id: Icd45f570a9527790eb0cd614a3f77da1a72375b1
/system/core/adb/sockets.c
|
0e7c4274c687446dbe30a814278d7a6b99da8c4e |
|
24-Feb-2011 |
JP Abgrall <jpa@google.com> |
Revert "Fix adb hang when subprocess dies early." This is for http://b/3482112 "adb interactions with device causing test harness failures". This reverts commit 69c5c4c45bd4f1575ae8bdba13795297be7deb8c. Change-Id: I630bf2e04d2ecf0223bd2af4e87136754ff880d3
/system/core/adb/sockets.c
|
69c5c4c45bd4f1575ae8bdba13795297be7deb8c |
|
18-Feb-2011 |
JP Abgrall <jpa@google.com> |
Fix adb hang when subprocess dies early. * Handling of the subprocess and its FD. This fixes http://b/3400254 "Many bugreports getting hung at the end in monkey" - Start up a service thread that waits on the subprocess to terminate, then closes the FD associated with it. - Have the event handler select() with a timeout so that it can detect the closed FD. Select() with no timeout does not return when an FD is closed. - Have the event handler force a read on the closed FD to trigger the close sequence. - Migrate the "shell:blabla" handling to "#if !ADB_HOST" sections. * Fix the race around OOM adjusting. - Do it in the child before exec() instead of the in the parent as the child could already have started or not (no /proc/pid/... yet). * Allow for multi-threaded D() invocations to not clobber each other. - Allow locks across object files. - Add lock within D() * Add some missing close(fd) calls - Match similar existing practices near dup2() * Add extra D() invocations related to FD handling. * Warn about using debugging as stderr/stdout is used for protocol. Change-Id: Ie5c4a5e6bfbe3f22201adf5f9a205d32e069bf9d Signed-off-by: JP Abgrall <jpa@google.com>
/system/core/adb/sockets.c
|
8182829ccb46fc5b043ea258672602dc2928dee2 |
|
12-Jun-2010 |
André Goddard Rosa <andre.goddard@gmail.com> |
adb: optimize socket-list-walking code Change-Id: I8bbb8b671c1ce7a2ce736b60b0cdb7b21ccdc372 Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
/system/core/adb/sockets.c
|
8e78dc64d2fedccc77966b0636f7530f452dc7d5 |
|
11-Jun-2010 |
André Goddard Rosa <andre.goddard@gmail.com> |
adb: remove unneeded assignment of id to zero ... as memory was already obtained zero'ed by calloc(). Change-Id: Ic73bad09b54cb778fd40bdf86bb40888ea504c5f Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
/system/core/adb/sockets.c
|
c419e2a210ad7e37a1f749f2ab4de7c7f95b90d7 |
|
11-Jun-2010 |
André Goddard Rosa <andre.goddard@gmail.com> |
adb: clean up 0 --> NULL for pointers Change-Id: I9216fdf534d807a55dfbc6800b5c3ef5f8c83368
/system/core/adb/sockets.c
|
dd7bc3319deb2b77c5d07a51b7d6cd7e11b5beb0 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/system/core/adb/sockets.c
|
e54eebbf1a908d65ee8cf80bab62821c05666d70 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/system/core/adb/sockets.c
|
35237d135807af84bf9b0e5b8d7f8633e58db6f5 |
|
18-Dec-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Code drop from //branches/cupcake/...@124589
/system/core/adb/sockets.c
|
4f6e8d7a00cbeda1e70cc15be9c4af1018bdad53 |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
/system/core/adb/sockets.c
|