From 8fee5c857b2fe4be9509a9efd11b0cb2c82709b5 Mon Sep 17 00:00:00 2001 From: Justin Koh Date: Mon, 5 May 2014 15:39:19 -0700 Subject: [PATCH] Hide startMethodTracingSampling DO NOT MERGE Bug: 14116162 Change-Id: I68470f02a2b6c2f0d9a1cb52bb4b7eeea10b43cf --- api/current.txt | 1 - core/java/android/os/Debug.java | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/api/current.txt b/api/current.txt index 5fd2952909b49..74d8d9821fb9e 100644 --- a/api/current.txt +++ b/api/current.txt @@ -17717,7 +17717,6 @@ package android.os { method public static void startMethodTracing(java.lang.String); method public static void startMethodTracing(java.lang.String, int); method public static void startMethodTracing(java.lang.String, int, int); - method public static void startMethodTracingSampling(java.lang.String, int, int); method public static void startNativeTracing(); method public static deprecated void stopAllocCounting(); method public static void stopMethodTracing(); diff --git a/core/java/android/os/Debug.java b/core/java/android/os/Debug.java index 2de12047dc48d..6fa52ce67490e 100644 --- a/core/java/android/os/Debug.java +++ b/core/java/android/os/Debug.java @@ -657,6 +657,7 @@ href="{@docRoot}guide/developing/tools/traceview.html">Traceview: A Graphical Lo * If the trace file given does not end in ".trace", it will be appended for you. * @param bufferSize The maximum amount of trace data we gather. If not given, it defaults to 8MB. * @param intervalUs The amount of time between each sample in microseconds. + * @hide */ public static void startMethodTracingSampling(String traceName, int bufferSize, int intervalUs) {