aboutsummaryrefslogtreecommitdiffstats
path: root/android/adb-qemud.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix adb client protocolVladimir Chtchetkine2012-04-301-9/+35
| | | | | | | | | | There are cases when 'accept' message that guest adbd sends via qemu pipe to the emulator get broken into pieces: once 4 bytes are delivered, and then the remaining two. This breaks the protocol, as emulator assumes that all 6 bytes would be delivered in one chunk. This CL adjusts that by accumulating messages in a buffer, and analyzing them only when collected message length reaches certain point. Change-Id: Ice25625f65bbaa2b07677c3285bf75e7bf46fbb7
* Enables ADBD tracing in emulator.Vladimir Chtchetkine2012-02-271-1/+98
| | | | | | | | | | When running inside the emulator, guest's adbd can connect to 'adb-debug' qemud service that can display adb trace messages on condition that emulator has been started with '-debug adb' option. This CL contains emulator code that enables that. Change-Id: I6720deef0833fd02e2fe80deeaafbcf517de0c33
* Implement ADB communication over QEMU pipeVladimir Chtchetkine2011-12-131-0/+285
Change-Id: I62ff5898c7a955aaaa8af8f7ee7ed018af860f80