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.
public static boolean isDebuggerConnected() sourcepublic static boolean waitingForDebugger() sourcepublic static void waitForDebugger() empty body sourcepublic static void getMemoryInfo(MemoryInfo info) sourcein KiB, as Android's
public static long getPss() sourcepublic static long getNativeHeapSize() sourcepublic static long getNativeHeapAllocatedSize() sourcepublic static long getNativeHeapFreeSize() sourcepublic static void dumpHprofData(String fileName) throws java.io.IOException throws UnsupportedOperationException sourcepublic static long threadCpuTimeNanos() sourcepublic static void startMethodTracing() empty body sourcepublic static void startMethodTracing(String tracePath) empty body sourcepublic static void stopMethodTracing() empty body sourceMade 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.