This adds a new (hidden) startMethodTracingDdms call. It's like the normal method tracing calls, but you don't specify an output file. Instead, when tracing stops, the data is sent directly to DDMS. This also adds handlers for the MPSS/MPSE requests that DDMS sends.
Some classes that handle DDM traffic. It's not necessary to put all DDM-related code in this package; this just has the essentials. Subclass org.apache.harmony.dalvik.ddmc.ChunkHandler and add a new registration call in DdmRegister.java.