summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2020-07-02 10:49:57 +0000
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2020-07-02 10:49:57 +0000
commit4d150059e3e3c91f1040af85f6706daa79aeb01e (patch)
tree105d64dd5ea5d7486e749d71712aab5d58c5950a
parent1c44c3b771f14bb2dc3747ede340147f7d6d9095 (diff)
parentebe415b310ba7bbfcc5579afb32bab03d673789f (diff)
Merge "Remove unused / unimplemented CorePlatformAPI methods." am: ebe415b310
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1352354 Change-Id: Ib0da8556674b3c388d62596559d14773fd277fdd
-rw-r--r--core/java/android/os/Debug.java25
1 files changed, 1 insertions, 24 deletions
diff --git a/core/java/android/os/Debug.java b/core/java/android/os/Debug.java
index 50379222f1a9..9418cbf27643 100644
--- a/core/java/android/os/Debug.java
+++ b/core/java/android/os/Debug.java
@@ -1051,8 +1051,6 @@ public final class Debug
if (outStream != null)
outStream.close();
}
-
- VMDebug.startEmulatorTracing();
}
/**
@@ -1066,8 +1064,6 @@ public final class Debug
* region of code.</p>
*/
public static void stopNativeTracing() {
- VMDebug.stopEmulatorTracing();
-
// Open the sysfs file for writing and write "0" to it.
PrintWriter outStream = null;
try {
@@ -1096,7 +1092,7 @@ public final class Debug
* To temporarily enable tracing, use {@link #startNativeTracing()}.
*/
public static void enableEmulatorTraceOutput() {
- VMDebug.startEmulatorTracing();
+ Log.w(TAG, "Unimplemented");
}
/**
@@ -2028,25 +2024,6 @@ public final class Debug
public static final native int getBinderDeathObjectCount();
/**
- * Primes the register map cache.
- *
- * Only works for classes in the bootstrap class loader. Does not
- * cause classes to be loaded if they're not already present.
- *
- * The classAndMethodDesc argument is a concatentation of the VM-internal
- * class descriptor, method name, and method descriptor. Examples:
- * Landroid/os/Looper;.loop:()V
- * Landroid/app/ActivityThread;.main:([Ljava/lang/String;)V
- *
- * @param classAndMethodDesc the method to prepare
- *
- * @hide
- */
- public static final boolean cacheRegisterMap(String classAndMethodDesc) {
- return VMDebug.cacheRegisterMap(classAndMethodDesc);
- }
-
- /**
* Dumps the contents of VM reference tables (e.g. JNI locals and
* globals) to the log file.
*