Home
last modified time | relevance | path

Searched refs:add42 (Results 1 – 2 of 2) sorted by relevance

/frameworks/libs/binary_translation/tests/jni_tests/src/com/berberis/jnitests/
DJniTests.java62 static native int add42(int x); in add42() method in JniTests
67 assertEquals(84, add42(42)); in testRegisterNatives()
/frameworks/libs/binary_translation/tests/jni_tests/jni/
Djni_tests.cc23 jint add42(JNIEnv* /* env */, jclass /* clazz */, jint x) { in add42() function
69 JNINativeMethod methods[] = {{"add42", "(I)I", reinterpret_cast<void*>(&add42)}}; in Java_com_berberis_jnitests_JniTests_callRegisterNatives()