Methods Summary |
---|
public static int | getDebugPortBase()Returns the debug port used by the first {@link Client}. Following clients, will use the
next port.
return sDebugPortBase;
|
public static boolean | getInitialHeapUpdate()Returns the initial {@link Client} flag for heap updates.
return sInitialHeapUpdate;
|
public static boolean | getInitialThreadUpdate()Returns the initial {@link Client} flag for thread updates.
return sThreadUpdate;
|
public static com.android.ddmlib.Log.LogLevel | getLogLevel()Returns the minimum {@link LogLevel} being displayed.
return sLogLevel;
|
public static int | getSelectedDebugPort()Returns the debug port used by the selected {@link Client}.
return sSelectedDebugPort;
|
public static void | setDebugPortBase(int port)Sets the debug port used by the first {@link Client}.
Once a port is used, the next Client will use port + 1. Quitting applications will
release their debug port, and new clients will be able to reuse them.
This must be called before {@link AndroidDebugBridge#init(boolean)}.
sDebugPortBase = port;
|
public static void | setInitialHeapUpdate(boolean state)Sets the initial {@link Client} flag for heap updates.
If true , the {@link ClientData} will automatically be updated with
the VM heap information whenever a GC happens.
This change takes effect right away, for newly created {@link Client} objects.
sInitialHeapUpdate = state;
|
public static void | setInitialThreadUpdate(boolean state)Sets the initial {@link Client} flag for thread updates.
This change takes effect right away, for newly created {@link Client} objects.
sThreadUpdate = state;
|
public static void | setLogLevel(java.lang.String value)Sets the minimum {@link LogLevel} to display.
This change takes effect right away.
sLogLevel = LogLevel.getByString(value);
Log.setLevel(sLogLevel);
|
public static void | setSelectedDebugPort(int port)Sets the debug port used by the selected {@link Client}.
This change takes effect right away.
sSelectedDebugPort = port;
MonitorThread monitorThread = MonitorThread.getInstance();
if (monitorThread != null) {
monitorThread.setDebugSelectedPort(port);
}
|