Lines Matching full:jvm
43 // C++ in to Java. See example in JVM for more details.
77 // See example in JVM for more details on how to use it.
91 // This class is created by the JVM class and is used to expose methods that
94 // methods. See example in JVM for more details.
122 // // At initialization (e.g. in JNI_OnLoad), call JVM::Initialize.
124 // JavaVM* jvm = NULL;
125 // jni->GetJavaVM(&jvm);
126 // webrtc::JVM::Initialize(jvm);
135 // // Calling thread must be attached to the JVM.
136 // env = JVM::GetInstance()->environment();
148 // // And finally, e.g. in JNI_OnUnLoad, call JVM::Uninitialize.
149 // JVM::Uninitialize();
150 class JVM {
153 // Should be called once on a thread that is attached to the JVM.
154 static void Initialize(JavaVM* jvm);
158 static void Initialize(JavaVM* jvm, jobject context);
164 static JVM* GetInstance();
178 JavaVM* jvm() const { return jvm_; } in jvm() function
181 JVM(JavaVM* jvm);
182 ~JVM();