Build 1.0_r1(from source)

Class DdmRegister

  extended by android.ddm.DdmRegister

public class DdmRegister
extends Object

Just a place to stick handler registrations, instead of scattering them around.

Method Summary
static void registerHandlers()
          Register handlers for all known chunk types.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Method Detail


public static void registerHandlers()
Register handlers for all known chunk types. If you write a handler, add a registration call here. Note that this is invoked by the application (usually through a static initializer in the main class), not the VM. It's done this way so that the handlers can use Android classes with native calls that aren't registered until after the VM is initialized (e.g. logging). It also allows debugging of DDM handler initialization. The chunk dispatcher will pause until we call registrationComplete(), so that we don't have a race that causes us to drop packets before we finish here.

Build 1.0_r1(from source)

Please submit a feedback, bug or feature