/cts/tests/tests/jni/src/android/jni/cts/ |
BasicLoaderTestHelper.java | 17 package android.jni.cts;
|
JniCTest.java | 17 package android.jni.cts; 21 * Basic tests of calling the C functions that make up the JNI. This
|
JniCppTest.java | 17 package android.jni.cts; 21 * Basic tests of calling the C++ functions that make up the JNI. This
|
JniTestCase.java | 17 package android.jni.cts; 31 // Skip the JNI tests if ABI is none...
|
ClassLoaderHelper.java | 17 package android.jni.cts;
|
ClassLoaderStaticNonce.java | 17 package android.jni.cts;
|
StaticFromNative.java | 17 package android.jni.cts;
|
InstanceFromNative.java | 17 package android.jni.cts;
|
InstanceNonce.java | 17 package android.jni.cts;
|
StaticNonce.java | 17 package android.jni.cts;
|
/art/runtime/jni/ |
jni_internal.h | 20 #include <jni.h> 35 // Enables native stack checking for field and method resolutions via JNI. This should be called 42 namespace jni { namespace in namespace:art 64 } // namespace jni
|
/external/jsilver/src/org/clearsilver/jni/ |
JniClearsilverFactory.java | 17 package org.clearsilver.jni; 25 * Factory implementation for the original JNI version of Java Clearsilver
|
JNI.java | 17 package org.clearsilver.jni; 23 * Loads the ClearSilver JNI library. 25 * <p>By default, it attempts to load the library 'clearsilver-jni' from the 33 public final class JNI { 49 + JNI.class.getName() + ".setLibrarySearchPaths(String...)"); 68 private static String libraryName = "clearsilver-jni"; 77 * Attempts to load the ClearSilver JNI library. 113 * Sets a callback for what should happen if the JNI library cannot 121 JNI.failureCallback = failureCallback; 126 * Set name of JNI library to load. Default is 'clearsilver-jni' [all...] |
/external/webrtc/talk/app/webrtc/java/jni/ |
surfacetexturehelper_jni.cc | 30 #include "talk/app/webrtc/java/jni/surfacetexturehelper_jni.h" 32 #include "talk/app/webrtc/java/jni/classreferenceholder.h" 39 JNIEnv* jni, jobject surface_texture_helper) 40 : j_surface_texture_helper_(jni, surface_texture_helper), 42 GetMethodID(jni, 43 FindClass(jni, "org/webrtc/SurfaceTextureHelper"), 46 CHECK_EXCEPTION(jni) << "error during initialization of SurfaceTextureHelper"; 53 JNIEnv* jni = AttachCurrentThreadIfNeeded(); local 54 jni->CallVoidMethod(*j_surface_texture_helper_, j_return_texture_method_); 57 jni) << "error during SurfaceTextureHelper.returnTextureFrame" [all...] |
androidnetworkmonitor_jni.h | 34 #include "talk/app/webrtc/java/jni/jni_helpers.h" 42 static void SetAndroidContext(JNIEnv* jni, jobject context); 48 JNIEnv* jni() { return AttachCurrentThreadIfNeeded(); } function in class:webrtc_jni::AndroidNetworkMonitor
|
androidvideocapturer_jni.cc | 29 #include "talk/app/webrtc/java/jni/androidvideocapturer_jni.h" 30 #include "talk/app/webrtc/java/jni/classreferenceholder.h" 31 #include "talk/app/webrtc/java/jni/native_handle_impl.h" 32 #include "talk/app/webrtc/java/jni/surfacetexturehelper_jni.h" 41 int AndroidVideoCapturerJni::SetAndroidObjects(JNIEnv* jni, 44 jni->DeleteGlobalRef(application_context_); 46 application_context_ = NewGlobalRef(jni, appliction_context); 52 JNIEnv* jni, 55 : j_video_capturer_(jni, j_video_capturer), 57 jni, FindClass(jni, "org/webrtc/VideoCapturerAndroid")) 196 JNIEnv* AndroidVideoCapturerJni::jni() { return AttachCurrentThreadIfNeeded(); } function in class:webrtc_jni::AndroidVideoCapturerJni [all...] |
native_handle_impl.cc | 28 #include "talk/app/webrtc/java/jni/native_handle_impl.h" 30 #include "talk/app/webrtc/java/jni/jni_helpers.h" 85 NativeHandleImpl::NativeHandleImpl(JNIEnv* jni, 89 RTC_CHECK_EQ(16, jni->GetArrayLength(j_transform_matrix)); 91 jni->GetFloatArrayElements(j_transform_matrix, nullptr); 95 jni->ReleaseFloatArrayElements(j_transform_matrix, transform_matrix_ptr, 0); 139 JNIEnv* jni = AttachCurrentThreadIfNeeded(); local 140 ScopedLocalRefFrame local_ref_frame(jni); 143 jni, 144 GetObjectClass(jni, surface_texture_helper_) [all...] |
/external/webrtc/talk/app/webrtc/test/ |
androidtestinitializer.cc | 39 #include "talk/app/webrtc/java/jni/classreferenceholder.h" 40 #include "talk/app/webrtc/java/jni/jni_helpers.h" 56 JNIEnv* jni = ::base::android::AttachCurrentThread(); local 58 RTC_CHECK_EQ(0, jni->GetJavaVM(&jvm));
|
/external/webrtc/webrtc/modules/audio_device/android/ |
ensure_initialized.cc | 31 JNIEnv* jni = ::base::android::AttachCurrentThread(); local 33 RTC_CHECK_EQ(0, jni->GetJavaVM(&jvm));
|
/art/openjdkjvmti/ |
ti_object.cc | 89 art::JNIEnvExt* jni = self->GetJniEnv(); local 100 jni->AddLocalReference<jthread>(info.owner_->GetPeerFromOtherThread()) : nullptr; 105 notify_wait.push_back(jni->AddLocalReference<jthread>(thd->GetPeerFromOtherThread())); 106 wait.push_back(jni->AddLocalReference<jthread>(thd->GetPeerFromOtherThread())); 113 wait.push_back(jni->AddLocalReference<jthread>(thd->GetPeerFromOtherThread()));
|
/cts/tests/tests/jni_vendor/src/android/jni/vendor/cts/ |
VendorJniTest.java | 17 package android.jni.vendor.cts; 87 // This won't be accessible to vendor JNI. This lib is only accessible from the
|
/external/webrtc/webrtc/modules/utility/include/ |
jvm_android.h | 14 #include <jni.h> 23 // The JNI interface pointer (JNIEnv) is valid only in the current thread. 25 // AttachCurrentThread() to attach itself to the VM and obtain a JNI interface 44 GlobalRef(JNIEnv* jni, jobject object); 60 JavaClass(JNIEnv* jni, jclass clazz) : jni_(jni), j_class_(clazz) {} 76 NativeRegistration(JNIEnv* jni, jclass clazz); 87 // needs the JNI interface pointer but its main purpose is to create a 92 explicit JNIEnvironment(JNIEnv* jni); 111 // Main class for working with Java from C++ using JNI in WebRTC 176 JNIEnv* jni() const { return GetEnv(jvm_); } function in class:webrtc::JVM [all...] |
/art/tools/jvmti-agents/jit-load/ |
jitload.cc | 17 #include <jni.h> 129 JNIEnv* jni = nullptr; local 131 CHECK_CALL_SUCCESS(vm->GetEnv(reinterpret_cast<void**>(&jni), JNI_VERSION_1_6)); 135 VmInitCb(jvmti, jni, thr); 137 jni->DeleteLocalRef(thr);
|
/art/libartbase/base/ |
logging.h | 43 bool jni; member in struct:art::LogVerbosity 50 bool third_party_jni; // Enabled with "-verbose:third-party-jni". 105 // VLOG(jni) << "A JNI operation was performed";
|
/art/tools/jvmti-agents/simple-force-redefine/ |
forceredefine.cc | 31 #include <jni.h> 68 // Converts a descriptor (Lthis/style/of/name;) to a jni-FindClass style Fully-qualified class name 215 static void AgentMain(jvmtiEnv* jvmti, JNIEnv* jni, void* arg ATTRIBUTE_UNUSED) { 226 RedefineClass(jvmti, jni, klass_name); 298 JNIEnv* jni = nullptr; local 299 vm->GetEnv(reinterpret_cast<void**>(&jni), JNI_VERSION_1_2); 302 CbVmInit(jvmti, jni, thr);
|