Merge "Remove unused / unimplemented CorePlatformAPI methods."
This commit is contained in:
@@ -1051,8 +1051,6 @@ public final class Debug
|
|||||||
if (outStream != null)
|
if (outStream != null)
|
||||||
outStream.close();
|
outStream.close();
|
||||||
}
|
}
|
||||||
|
|
||||||
VMDebug.startEmulatorTracing();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -1066,8 +1064,6 @@ public final class Debug
|
|||||||
* region of code.</p>
|
* region of code.</p>
|
||||||
*/
|
*/
|
||||||
public static void stopNativeTracing() {
|
public static void stopNativeTracing() {
|
||||||
VMDebug.stopEmulatorTracing();
|
|
||||||
|
|
||||||
// Open the sysfs file for writing and write "0" to it.
|
// Open the sysfs file for writing and write "0" to it.
|
||||||
PrintWriter outStream = null;
|
PrintWriter outStream = null;
|
||||||
try {
|
try {
|
||||||
@@ -1096,7 +1092,7 @@ public final class Debug
|
|||||||
* To temporarily enable tracing, use {@link #startNativeTracing()}.
|
* To temporarily enable tracing, use {@link #startNativeTracing()}.
|
||||||
*/
|
*/
|
||||||
public static void enableEmulatorTraceOutput() {
|
public static void enableEmulatorTraceOutput() {
|
||||||
VMDebug.startEmulatorTracing();
|
Log.w(TAG, "Unimplemented");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -2027,25 +2023,6 @@ public final class Debug
|
|||||||
*/
|
*/
|
||||||
public static final native int getBinderDeathObjectCount();
|
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
|
* Dumps the contents of VM reference tables (e.g. JNI locals and
|
||||||
* globals) to the log file.
|
* globals) to the log file.
|
||||||
|
|||||||
Reference in New Issue
Block a user