Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2052907d authored by Hiroshi Yamauchi's avatar Hiroshi Yamauchi Committed by Android (Google) Code Review
Browse files

Merge "Unhide Debug.getRuntimeStat()."

parents 0d4e2166 50f65404
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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();
+2 −0
Original line number Diff line number Diff line
@@ -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();
+0 −2
Original line number Diff line number Diff line
@@ -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();