Merge "Unhide Debug.getRuntimeStat()."

This commit is contained in:
Hiroshi Yamauchi
2015-04-16 17:58:39 +00:00
committed by Android (Google) Code Review
3 changed files with 4 additions and 2 deletions

View File

@@ -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<java.lang.String, java.lang.String> getRuntimeStats();
method public static deprecated int getThreadAllocCount();
method public static deprecated int getThreadAllocSize();
method public static deprecated int getThreadExternalAllocCount();

View File

@@ -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<java.lang.String, java.lang.String> getRuntimeStats();
method public static deprecated int getThreadAllocCount();
method public static deprecated int getThreadAllocSize();
method public static deprecated int getThreadExternalAllocCount();

View File

@@ -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<String, String> getRuntimeStats() {
return VMDebug.getRuntimeStats();