/art/test/044-proxy/ |
native_proxy.cc | 24 JNIEnv* env, jclass clazz ATTRIBUTE_UNUSED, jobject inf_ref) { 25 jclass native_inf_class = env->FindClass("NativeInterface"); 27 jmethodID mid = env->GetMethodID(native_inf_class, "callback", "()V"); 29 env->CallVoidMethod(inf_ref, mid);
|
/cts/apps/CtsVerifier/jni/verifier/ |
CtsVerifierJniOnLoad.cpp | 24 JNIEnv *env = NULL; local 26 if (vm->GetEnv((void **) &env, JNI_VERSION_1_4) != JNI_OK) { 30 if (register_com_android_cts_verifier_os_FileUtils(env)) { 34 if (register_com_android_cts_verifier_camera_its_StatsImage(env)) {
|
/cts/tests/tests/jni/libjnitest/ |
android_jni_cts_JniCTest.c | 34 static jstring JniCTest_runAllTests(JNIEnv *env, jclass clazz) { 36 return runAllTests(env); 44 int register_JniCTest(JNIEnv *env) { 46 env, "android/jni/cts/JniCTest",
|
android_jni_cts_JniCppTest.cpp | 34 static jstring JniCppTest_runAllTests(JNIEnv *env, jclass clazz) { 36 return runAllTests(env); 44 extern "C" int register_JniCppTest(JNIEnv *env) { 46 env, "android/jni/cts/JniCppTest",
|
/cts/tests/tests/view/jni/ |
CtsViewJniOnLoad.cpp | 22 extern int register_android_view_cts_ChoreographerNativeTest(JNIEnv* env); 25 JNIEnv *env = NULL; local 26 if (vm->GetEnv((void**)&env, JNI_VERSION_1_4) != JNI_OK) { 29 if (register_android_view_cts_ChoreographerNativeTest(env)) {
|
/external/libcxx/test/libcxx/android/ |
build.py | 6 env = os.environ 7 env['ONE_SHOT_MAKEFILE'] = os.path.join(path, 'Android.mk') 13 return not subprocess.Popen(cmd, stdout=None, stderr=None, env=env).wait()
|
/frameworks/base/packages/services/PacProcessor/jni/ |
jni_init.cpp | 23 extern int register_com_android_pacprocessor_PacNative(JNIEnv *env); 29 JNIEnv *env; local 30 if (vm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6) != JNI_OK) { 35 register_com_android_pacprocessor_PacNative(env);
|
/frameworks/ex/framesequence/jni/ |
FrameSequenceJNI.h | 22 jint FrameSequence_OnLoad(JNIEnv* env);
|
JNIHelpers.cpp | 20 void jniThrowException(JNIEnv* env, const char* className, const char* msg) { 21 jclass clazz = env->FindClass(className); 28 if (env->ThrowNew(clazz, msg) != JNI_OK) { 32 env->DeleteLocalRef(clazz);
|
/libcore/luni/src/main/native/ |
libcore_io_AsynchronousCloseMonitor.cpp | 24 static void AsynchronousCloseMonitor_signalBlockedThreads(JNIEnv* env, jclass, jobject javaFd) { 25 int fd = jniGetFDFromFileDescriptor(env, javaFd); 32 void register_libcore_io_AsynchronousCloseMonitor(JNIEnv* env) { 34 jniRegisterNativeMethods(env, "libcore/io/AsynchronousCloseMonitor", gMethods, NELEM(gMethods));
|
sun_misc_Unsafe.cpp | 22 static jobject Unsafe_allocateInstance(JNIEnv* env, jclass, jclass c) { 23 return env->AllocObject(c); 29 void register_sun_misc_Unsafe(JNIEnv* env) { 30 jniRegisterNativeMethods(env, "sun/misc/Unsafe", gMethods, NELEM(gMethods));
|
/libcore/luni/src/test/native/ |
libcore_java_nio_BufferTest.cpp | 21 JNIEnv* env, jobject /* clazz */, jobject buffer) { 22 return reinterpret_cast<jlong>(env->GetDirectBufferAddress(buffer)); 26 JNIEnv* env, jobject /* clazz */, jobject buffer) { 27 return reinterpret_cast<jlong>(env->GetDirectBufferCapacity(buffer));
|
/libcore/ojluni/src/main/native/ |
FileSystem_md.c | 34 FileSystem_getFileSystem(JNIEnv *env, jclass ignored) 36 return JNU_NewObjectByName(env, "java/io/UnixFileSystem", "()V"); 44 void register_java_io_FileSystem(JNIEnv* env) { 45 jniRegisterNativeMethods(env, "java/io/FileSystem", gMethods, NELEM(gMethods));
|
String.c | 34 String_intern(JNIEnv *env, jobject this) 36 return JVM_InternString(env, this); 42 void register_java_lang_String(JNIEnv* env) { 43 jniRegisterNativeMethods(env, "java/lang/String", gMethods, NELEM(gMethods));
|
FileOutputStream_md.c | 48 static void FileOutputStream_initIDs(JNIEnv *env) { 49 jclass clazz = (*env)->FindClass(env, "java/io/FileOutputStream"); 50 fos_fd = (*env)->GetFieldID(env, clazz, "fd", "Ljava/io/FileDescriptor;"); 55 FileOutputStream_open(JNIEnv *env, jobject this, 57 fileOpen(env, this, path, fos_fd, 65 void register_java_io_FileOutputStream(JNIEnv* env) { 66 jniRegisterNativeMethods(env, "java/io/FileOutputStream", gMethods, NELEM(gMethods)); 67 FileOutputStream_initIDs(env); [all...] |
Shutdown.c | 37 Shutdown_halt0(JNIEnv *env, jclass ignored, jint code) 44 Shutdown_runAllFinalizers(JNIEnv *env, jclass ignored) 49 if ((cl = (*env)->FindClass(env, "java/lang/ref/Finalizer")) 50 && (mid = (*env)->GetStaticMethodID(env, cl, 52 (*env)->CallStaticVoidMethod(env, cl, mid); 61 void register_java_lang_Shutdown(JNIEnv* env) { 62 jniRegisterNativeMethods(env, "java/lang/Shutdown", gMethods, NELEM(gMethods)) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/libcxx/android/ |
build.py | 6 env = os.environ 7 env['ONE_SHOT_MAKEFILE'] = os.path.join(path, 'Android.mk') 13 return not subprocess.Popen(cmd, stdout=None, stderr=None, env=env).wait()
|
/packages/apps/Terminal/jni/ |
jni_init.cpp | 23 extern int register_com_android_terminal_Terminal(JNIEnv *env); 29 JNIEnv *env; local 30 if (vm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6) != JNI_OK) { 35 register_com_android_terminal_Terminal(env);
|
/packages/inputmethods/LatinIME/native/jni/ |
com_android_inputmethod_keyboard_ProximityInfo.h | 23 int register_ProximityInfo(JNIEnv *env);
|
com_android_inputmethod_latin_BinaryDictionary.h | 23 int register_BinaryDictionary(JNIEnv *env);
|
com_android_inputmethod_latin_BinaryDictionaryUtils.h | 23 int register_BinaryDictionaryUtils(JNIEnv *env);
|
com_android_inputmethod_latin_DicTraverseSession.h | 23 int register_DicTraverseSession(JNIEnv *env);
|
/external/compiler-rt/test/tsan/ |
longjmp3.cc | 11 void bar(jmp_buf env) { 13 longjmp(env, 42); 17 void foo(jmp_buf env) { 19 bar(env); 31 jmp_buf env; local 32 if (setjmp(env) == 42) { 36 foo(env);
|
longjmp4.cc | 12 void bar(jmp_buf env) { 15 memcpy(env2, env, sizeof(jmp_buf)); 20 void foo(jmp_buf env) { 22 bar(env); 34 jmp_buf env; local 35 if (setjmp(env) == 42) { 39 foo(env);
|
/packages/services/Car/service/jni/ |
JniInit.cpp | 23 extern int register_com_android_car_CarCameraService(JNIEnv *env); 24 extern int register_com_android_car_CarInputService(JNIEnv *env); 28 JNIEnv* env = NULL; local 31 if (vm->GetEnv((void**) &env, JNI_VERSION_1_4) != JNI_OK) { 35 ALOG_ASSERT(env, "Could not retrieve the env!"); 37 int r = android::register_com_android_car_CarCameraService(env); 42 r = android::register_com_android_car_CarInputService(env);
|