Debug

Class of android.os · Debug.java · Android's reference

public final class Debug

The process's debugging and memory figures: no debugger, and the JVM's heap as the process's memory.

Nested types

Methods

public static boolean isDebuggerConnected() source
public static boolean waitingForDebugger() source
public static void waitForDebugger() empty body source
public static void getMemoryInfo(MemoryInfo info) source

in KiB, as Android's

public static long getPss() source
public static long getNativeHeapSize() source
public static long getNativeHeapAllocatedSize() source
public static long getNativeHeapFreeSize() source
public static void dumpHprofData(String fileName) throws java.io.IOException throws UnsupportedOperationException source
public static long threadCpuTimeNanos() source
public static void startMethodTracing() empty body source
public static void startMethodTracing(String tracePath) empty body source
public static void stopMethodTracing() empty body source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.