summaryrefslogtreecommitdiffstats
path: root/adb/file_sync_client.c
Commit message (Collapse)AuthorAgeFilesLines
* adb: fix reported transfer size for transfer over 4 GiBJeff Smith2013-06-151-3/+3
| | | | | | | | When transferring files over 4 GiB with adb, the size of the transfer is misreported. Change-Id: Ia3d4cae1e9f82b4f7432341820b101ea9a44f85b Signed-off-by: Jeff Smith <whydoubt@gmail.com>
* adb: fix subprocess exit handling, oom adjust fixes, extra debugging.JP Abgrall2011-03-281-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* adb: Don't report negative number of bytes after pushing file > 2 gigabytesMike Lockwood2010-12-141-2/+2
| | | | | | | BUG: 3198322 Change-Id: I6067857b9490984a21b597f6ee338446a9decaf5 Signed-off-by: Mike Lockwood <lockwood@android.com>
* Add -l option to `adb sync`Anthony Newnam2010-04-191-6/+7
| | | | Change-Id: I87c01663dff319dde24b70560e6fe5647ebf9d49
* Allow 'adb pull' to pull symlinked filesMatt Fischer2010-04-151-1/+1
| | | | Change-Id: I02f31334e4ee0c7b0e7b379016629a465e711905
* Cleaning up whitespace in adb sources. Nothing more, nothing less.David 'Digit' Turner2009-05-181-4/+4
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+1022
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-1022/+0
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-171-13/+13
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+1022