Merge "Unhide Debug.getRuntimeStat()."
This commit is contained in:
committed by
Android (Google) Code Review
commit
2052907d02
@@ -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();
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user