1 /*
2 * Copyright (C) 2007 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17 #define LOG_TAG "NativeTestTarget"
18
19 #include "JNIHelp.h"
20 #include "JniConstants.h"
21
NativeTestTarget_emptyJniMethod0(JNIEnv *,jobject)22 static void NativeTestTarget_emptyJniMethod0(JNIEnv*, jobject) { }
NativeTestTarget_emptyJniMethod6(JNIEnv *,jclass,int,int,int,int,int,int)23 static void NativeTestTarget_emptyJniMethod6(JNIEnv*, jclass, int, int, int, int, int, int) { }
NativeTestTarget_emptyJniMethod6L(JNIEnv *,jclass,jobject,jarray,jarray,jobject,jarray,jarray)24 static void NativeTestTarget_emptyJniMethod6L(JNIEnv*, jclass, jobject, jarray, jarray, jobject, jarray, jarray) { }
NativeTestTarget_emptyJniStaticMethod0(JNIEnv *,jclass)25 static void NativeTestTarget_emptyJniStaticMethod0(JNIEnv*, jclass) { }
NativeTestTarget_emptyJniStaticMethod6(JNIEnv *,jclass,int,int,int,int,int,int)26 static void NativeTestTarget_emptyJniStaticMethod6(JNIEnv*, jclass, int, int, int, int, int, int) { }
NativeTestTarget_emptyJniStaticMethod6L(JNIEnv *,jclass,jobject,jarray,jarray,jobject,jarray,jarray)27 static void NativeTestTarget_emptyJniStaticMethod6L(JNIEnv*, jclass, jobject, jarray, jarray, jobject, jarray, jarray) { }
NativeTestTarget_emptyJniStaticSynchronizedMethod0(JNIEnv *,jclass)28 static void NativeTestTarget_emptyJniStaticSynchronizedMethod0(JNIEnv*, jclass) { }
NativeTestTarget_emptyJniSynchronizedMethod0(JNIEnv *,jclass)29 static void NativeTestTarget_emptyJniSynchronizedMethod0(JNIEnv*, jclass) { }
30
31 static JNINativeMethod gMethods[] = {
32 NATIVE_METHOD(NativeTestTarget, emptyJniMethod0, "()V"),
33 NATIVE_METHOD(NativeTestTarget, emptyJniMethod6, "(IIIIII)V"),
34 NATIVE_METHOD(NativeTestTarget, emptyJniMethod6L, "(Ljava/lang/String;[Ljava/lang/String;[[ILjava/lang/Object;[Ljava/lang/Object;[[[[Ljava/lang/Object;)V"),
35 NATIVE_METHOD(NativeTestTarget, emptyJniStaticMethod0, "()V"),
36 NATIVE_METHOD(NativeTestTarget, emptyJniStaticMethod6, "(IIIIII)V"),
37 NATIVE_METHOD(NativeTestTarget, emptyJniStaticMethod6L, "(Ljava/lang/String;[Ljava/lang/String;[[ILjava/lang/Object;[Ljava/lang/Object;[[[[Ljava/lang/Object;)V"),
38 NATIVE_METHOD(NativeTestTarget, emptyJniStaticSynchronizedMethod0, "()V"),
39 NATIVE_METHOD(NativeTestTarget, emptyJniSynchronizedMethod0, "()V"),
40 };
register_org_apache_harmony_dalvik_NativeTestTarget(JNIEnv * env)41 int register_org_apache_harmony_dalvik_NativeTestTarget(JNIEnv* env) {
42 return jniRegisterNativeMethods(env, "org/apache/harmony/dalvik/NativeTestTarget", gMethods, NELEM(gMethods));
43 }
44