Remove unused / unimplemented CorePlatformAPI methods.
Test: m
Bug: 154796679
Change-Id: I32fa0dc30bf536b41f241fe4795ad232766c9020
diff --git a/runtime/native/dalvik_system_VMDebug.cc b/runtime/native/dalvik_system_VMDebug.cc
index de43c4f..7169a50 100644
--- a/runtime/native/dalvik_system_VMDebug.cc
+++ b/runtime/native/dalvik_system_VMDebug.cc
@@ -161,16 +161,6 @@
Trace::Stop();
}
-static void VMDebug_startEmulatorTracing(JNIEnv*, jclass) {
- UNIMPLEMENTED(WARNING);
- // dvmEmulatorTraceStart();
-}
-
-static void VMDebug_stopEmulatorTracing(JNIEnv*, jclass) {
- UNIMPLEMENTED(WARNING);
- // dvmEmulatorTraceStop();
-}
-
static jboolean VMDebug_isDebuggerConnected(JNIEnv*, jclass) {
// This function will be replaced by the debugger when it's connected. See
// external/oj-libjdwp/src/share/vmDebug.c for implementation when debugger is connected.
@@ -649,13 +639,11 @@
NATIVE_METHOD(VMDebug, resetAllocCount, "(I)V"),
NATIVE_METHOD(VMDebug, resetInstructionCount, "()V"),
NATIVE_METHOD(VMDebug, startAllocCounting, "()V"),
- NATIVE_METHOD(VMDebug, startEmulatorTracing, "()V"),
NATIVE_METHOD(VMDebug, startInstructionCounting, "()V"),
NATIVE_METHOD(VMDebug, startMethodTracingDdmsImpl, "(IIZI)V"),
NATIVE_METHOD(VMDebug, startMethodTracingFd, "(Ljava/lang/String;IIIZIZ)V"),
NATIVE_METHOD(VMDebug, startMethodTracingFilename, "(Ljava/lang/String;IIZI)V"),
NATIVE_METHOD(VMDebug, stopAllocCounting, "()V"),
- NATIVE_METHOD(VMDebug, stopEmulatorTracing, "()V"),
NATIVE_METHOD(VMDebug, stopInstructionCounting, "()V"),
NATIVE_METHOD(VMDebug, stopMethodTracing, "()V"),
FAST_NATIVE_METHOD(VMDebug, threadCpuTimeNanos, "()J"),