diff --git a/api/current.txt b/api/current.txt index 747fd294bf3b9..3947aae383b9b 100644 --- a/api/current.txt +++ b/api/current.txt @@ -22841,6 +22841,8 @@ package android.os { method public static long getNativeHeapFreeSize(); method public static long getNativeHeapSize(); method public static long getPss(); + method public static java.lang.String getRuntimeStat(java.lang.String); + method public static java.util.Map getRuntimeStats(); method public static deprecated int getThreadAllocCount(); method public static deprecated int getThreadAllocSize(); method public static deprecated int getThreadExternalAllocCount(); diff --git a/api/system-current.txt b/api/system-current.txt index b9362aedf0138..57a7503c20dda 100644 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -24729,6 +24729,8 @@ package android.os { method public static long getNativeHeapFreeSize(); method public static long getNativeHeapSize(); method public static long getPss(); + method public static java.lang.String getRuntimeStat(java.lang.String); + method public static java.util.Map getRuntimeStats(); method public static deprecated int getThreadAllocCount(); method public static deprecated int getThreadAllocSize(); method public static deprecated int getThreadExternalAllocCount(); diff --git a/core/java/android/os/Debug.java b/core/java/android/os/Debug.java index 75b1101174579..4aff7a1835a76 100644 --- a/core/java/android/os/Debug.java +++ b/core/java/android/os/Debug.java @@ -1173,7 +1173,6 @@ href="{@docRoot}guide/developing/tools/traceview.html">Traceview: A Graphical Lo * the name of the runtime statistic to look up. * @return the value of the specified runtime statistic or {@code null} if the * runtime statistic doesn't exist. - * @hide */ public static String getRuntimeStat(String statName) { return VMDebug.getRuntimeStat(statName); @@ -1184,7 +1183,6 @@ href="{@docRoot}guide/developing/tools/traceview.html">Traceview: A Graphical Lo * that {@link #getRuntimeStat(String)} supports. * * @return a map of the names/values of the supported runtime statistics. - * @hide */ public static Map getRuntimeStats() { return VMDebug.getRuntimeStats();