summaryrefslogtreecommitdiffstats
path: root/libnativehelper/Register.c
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2011-04-22 19:22:54 -0700
committerElliott Hughes <enh@google.com>2011-04-25 10:36:06 -0700
commitf06a4d168052054ee9f5ffa847011d944be2e570 (patch)
treee0c8c6b70daac9922a1cf2a8ecf08d18fd79fbd0 /libnativehelper/Register.c
parent0ed5b9bf184b97b0d3fa2ef5a9f3dacd3e186e46 (diff)
downloadandroid_dalvik-f06a4d168052054ee9f5ffa847011d944be2e570.tar.gz
android_dalvik-f06a4d168052054ee9f5ffa847011d944be2e570.tar.bz2
android_dalvik-f06a4d168052054ee9f5ffa847011d944be2e570.zip
Move JNIHelp's implementation to C++.
Ouch. Change-Id: I81c0457a95549f1bef7cc8d9ab23d6ca4475cdb5
Diffstat (limited to 'libnativehelper/Register.c')
-rw-r--r--libnativehelper/Register.c33
1 files changed, 0 insertions, 33 deletions
diff --git a/libnativehelper/Register.c b/libnativehelper/Register.c
deleted file mode 100644
index 5d7d690ee..000000000
--- a/libnativehelper/Register.c
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * Copyright (C) 2006 The Android Open Source Project
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-/*
- * JNI helper functions.
- */
-
-#include "jni.h"
-
-extern int registerCoreLibrariesJni(JNIEnv* env);
-extern int registerJniHelp(JNIEnv* env);
-
-/*
- * Register all methods for system classes.
- */
-int jniRegisterSystemMethods(JNIEnv* env)
-{
- // JniHelp depends on core library classes such as java.io.FileDescriptor.
- return registerCoreLibrariesJni(env) != -1 && registerJniHelp(env) != -1;
-}