Home
last modified time | relevance | path

Searched refs:JavaVM (Results 1 – 25 of 106) sorted by relevance

12345

/frameworks/libs/binary_translation/jni/
Djni_trampolines.cc192 JavaVM* host_vm; in DoTrampoline_JNIEnv_GetJavaVM()
197 *bit_cast<GuestType<JavaVM*>*>(arg_vm) = ToGuestJavaVM(host_vm); in DoTrampoline_JNIEnv_GetJavaVM()
222 using PFN_callee = decltype(std::declval<JavaVM>().functions->DestroyJavaVM); in DoJavaVMTrampoline_DestroyJavaVM()
224 JavaVM* arg_java_vm = ToHostJavaVM(arg_vm); in DoJavaVMTrampoline_DestroyJavaVM()
232 using PFN_callee = decltype(std::declval<JavaVM>().functions->AttachCurrentThread); in DoJavaVMTrampoline_AttachCurrentThread()
234 JavaVM* arg_java_vm = ToHostJavaVM(arg_vm); in DoJavaVMTrampoline_AttachCurrentThread()
246 using PFN_callee = decltype(std::declval<JavaVM>().functions->DetachCurrentThread); in DoJavaVMTrampoline_DetachCurrentThread()
248 JavaVM* arg_java_vm = ToHostJavaVM(arg_vm); in DoJavaVMTrampoline_DetachCurrentThread()
256 using PFN_callee = decltype(std::declval<JavaVM>().functions->GetEnv); in DoJavaVMTrampoline_GetEnv()
258 JavaVM* arg_java_vm = ToHostJavaVM(arg_vm); in DoJavaVMTrampoline_GetEnv()
[all …]
/frameworks/libs/binary_translation/jni/include/berberis/jni/
Djni_trampolines.h37 GuestType<JavaVM*> ToGuestJavaVM(void* host_java_vm);
38 JavaVM* ToHostJavaVM(GuestType<JavaVM*> guest_java_vm);
/frameworks/base/core/jni/
Dcore_jni_helpers.h60 static inline JNIEnv* GetJNIEnvironment(JavaVM* vm, jint version = JNI_VERSION_1_4) {
68 static inline JNIEnv* GetOrAttachJNIEnvironment(JavaVM* jvm, jint version = JNI_VERSION_1_4) {
74 VmDetacher(JavaVM* vm) : mVm(vm) {} in VmDetacher()
78 JavaVM* const mVm;
Dandroid_graphics_BLASTBufferQueue.cpp42 static JNIEnv* getenv(JavaVM* vm) { in getenv()
86 JavaVM* mVm;
112 JGlobalRefHolder(JavaVM* vm, jobject object) : mVm(vm), mObject(object) {} in JGlobalRefHolder()
120 JavaVM* vm() { return mVm; } in vm()
126 JavaVM* mVm;
135 JavaVM* vm = nullptr; in nativeSyncNextTransaction()
/frameworks/base/libs/hwui/jni/
DByteBufferStreamAdaptor.cpp15 ByteBufferStream(JavaVM* jvm, jobject jbyteBuffer, size_t initialPosition, size_t length, in ByteBufferStream()
25 static ByteBufferStream* Create(JavaVM* jvm, JNIEnv* env, jobject jbyteBuffer, in Create()
138 JavaVM* mJvm;
174 ByteArrayStream(JavaVM* jvm, jbyteArray jarray, size_t offset, size_t length) in ByteArrayStream()
178 static ByteArrayStream* Create(JavaVM* jvm, JNIEnv* env, jbyteArray jarray, size_t offset, in Create()
259 JavaVM* mJvm;
269 JavaVM* jvm;
275 JavaVM* jvm; in CreateByteBufferStreamAdaptor()
306 JavaVM* jvm; in CreateByteArrayStreamAdaptor()
DGraphicsJNI.h47 static void setJavaVM(JavaVM* javaVM);
53 static JavaVM* getJavaVM() { return mJavaVM; } in getJavaVM()
168 static JavaVM* mJavaVM;
261 JavaVM* mJavaVM;
337 JGlobalRefHolder(JavaVM* vm, jobject object) : mVm(vm), mObject(object) {} in JGlobalRefHolder()
345 JavaVM* vm() { return mVm; } in vm()
359 JavaVM* mVm;
Dandroid_graphics_HardwareRendererObserver.h29 HardwareRendererObserver(JavaVM* vm, jobject observer, bool waitForPresentTime);
65 JavaVM* const mVm;
Dandroid_graphics_HardwareRendererObserver.cpp31 static JNIEnv* getenv(JavaVM* vm) { in getenv()
39 HardwareRendererObserver::HardwareRendererObserver(JavaVM* vm, jobject observer, in HardwareRendererObserver()
94 JavaVM* vm = nullptr; in android_graphics_HardwareRendererObserver_createObserver()
DUtils.h81 JNIEnv* get_env_or_die(JavaVM* jvm);
91 JNIEnv* requireEnv(JavaVM* jvm);
DUtils.cpp157 JNIEnv* android::get_env_or_die(JavaVM* jvm) { in get_env_or_die()
165 JNIEnv* android::requireEnv(JavaVM* jvm) { in requireEnv()
/frameworks/libs/native_bridge_support/android_api/libnativehelper/proxy/
Dnativehelper_trampolines.cc54 JavaVM* host_vm; in DoCustomTrampoline_JNI_CreateJavaVM()
70 JavaVM* host_vm; in DoCustomTrampoline_JNI_GetCreatedJavaVMs()
78 *ToHostAddr<GuestType<JavaVM*>>(ToGuestAddr(guest_vm)) = ToGuestJavaVM(host_vm); in DoCustomTrampoline_JNI_GetCreatedJavaVMs()
/frameworks/base/media/mca/filterfw/jni/
Djni_init.cpp28 JavaVM* g_current_java_vm_ = NULL;
30 jint JNI_OnLoad(JavaVM* vm, void* /* reserved */) { in JNI_OnLoad()
/frameworks/base/core/jni/include/android_runtime/
DAndroidRuntime.h106 static JavaVM* getJavaVM();
132 int startVm(JavaVM** pJavaVM, JNIEnv** pEnv, bool zygote, bool primary_zygote);
140 static JavaVM* mJavaVM;
/frameworks/base/services/core/jni/BroadcastRadio/
DNativeCallbackThread.h31 JavaVM *mvm;
44 explicit NativeCallbackThread(JavaVM *vm);
DTunerCallback.h29 void register_android_server_broadcastradio_TunerCallback(JavaVM *vm, JNIEnv *env);
/frameworks/base/services/incremental/
DServiceWrappers.cpp114 RealJniWrapper(JavaVM* jvm);
117 static JavaVM* getJvm(JNIEnv* env);
120 JavaVM* const mJvm;
275 static JNIEnv* getOrAttachJniEnv(JavaVM* jvm);
279 RealTimedQueueWrapper(JavaVM* jvm) { in RealTimedQueueWrapper()
454 static JavaVM* getJavaVm(JNIEnv* env) { in getJavaVm()
456 JavaVM* jvm = nullptr; in getJavaVm()
462 static JNIEnv* getJniEnv(JavaVM* vm) { in getJniEnv()
470 static JNIEnv* getOrAttachJniEnv(JavaVM* jvm) { in getOrAttachJniEnv()
484 VmDetacher(JavaVM* vm) : mVm(vm) {} in getOrAttachJniEnv()
[all …]
/frameworks/base/tools/dump-coverage/
Ddump_coverage.cc32 static JavaVM* java_vm = nullptr;
183 static jint AgentStart(JavaVM* vm, char* options) { in AgentStart()
192 Agent_OnAttach(JavaVM* vm, char* options, void* reserved ATTRIBUTE_UNUSED) { in Agent_OnAttach()
198 Agent_OnLoad(JavaVM* jvm ATTRIBUTE_UNUSED, char* options ATTRIBUTE_UNUSED, void* reserved ATTRIBUTE… in Agent_OnLoad()
/frameworks/native/services/sensorservice/hidl/include/sensorservicehidl/
DSensorManager.h46 explicit SensorManager(JavaVM* vm);
67 JavaVM* mJavaVm;
/frameworks/native/services/sensorservice/aidl/include/sensorserviceaidl/
DSensorManagerAidl.h33 explicit SensorManagerAidl(JavaVM* vm);
66 JavaVM* mJavaVm;
/frameworks/libs/binary_translation/tests/jni_tests/jni/
Djni_tests.cc31 jint JNI_OnLoad(JavaVM* /* vm */, void* /* reserved */) { in JNI_OnLoad() argument
54 JavaVM* vm; in Java_com_berberis_jnitests_JniTests_checkJavaVMCorrespondsToJNIEnv()
/frameworks/ex/framesequence/jni/
DBitmapDecoderJNI.cpp19 jint JNI_OnLoad(JavaVM*, void*) { in JNI_OnLoad() argument
/frameworks/base/tests/DynamicCodeLoggerIntegrationTests/src/cpp/
Dcom_android_dcl_Jni.cpp19 extern "C" jint JNI_OnLoad(JavaVM* /* vm */, void* /* reserved */) in JNI_OnLoad() argument
/frameworks/base/core/tests/coretests/apks/install_jni_lib/
Dcom_android_frameworks_coretests_JNITest.cpp27 jint JNI_OnLoad(JavaVM *jvm, void */* reserved */) { in JNI_OnLoad()
/frameworks/base/tests/ChoreographerTests/jni/
DChoreographerTestsJniOnLoad.cpp22 JNIEXPORT jint JNI_OnLoad(JavaVM* vm, void*) { in JNI_OnLoad()
/frameworks/opt/net/voip/src/jni/rtp/
Drtp_jni.cpp24 __attribute__((visibility("default"))) jint JNI_OnLoad(JavaVM *vm, void *) in JNI_OnLoad()

12345