/art/runtime/jni/ |
D | java_vm_ext.cc | 66 bool JavaVMExt::IsBadJniVersion(int version) { in IsBadJniVersion() 387 JavaVMExt* raw_vm = reinterpret_cast<JavaVMExt*>(vm); in DestroyJavaVM() 405 JavaVMExt* raw_vm = reinterpret_cast<JavaVMExt*>(vm); in DetachCurrentThread() 420 JavaVMExt* raw_vm = reinterpret_cast<JavaVMExt*>(vm); in GetEnv() 437 Runtime* runtime = reinterpret_cast<JavaVMExt*>(vm)->GetRuntime(); in AttachCurrentThreadInternal() 449 if (JavaVMExt::IsBadJniVersion(args->version)) { in AttachCurrentThreadInternal() 481 JavaVMExt::JavaVMExt(Runtime* runtime, in JavaVMExt() function in art::JavaVMExt 512 JavaVMExt::~JavaVMExt() { in ~JavaVMExt() 519 std::unique_ptr<JavaVMExt> JavaVMExt::Create(Runtime* runtime, in Create() 522 std::unique_ptr<JavaVMExt> java_vm(new JavaVMExt(runtime, runtime_options, error_msg)); in Create() [all …]
|
D | jni_env_ext.h | 30 class JavaVMExt; variable 44 static JNIEnvExt* Create(Thread* self, JavaVMExt* vm, std::string* error_msg); 48 static jint GetEnvHandler(JavaVMExt* vm, /*out*/void** out, jint version); 108 JavaVMExt* GetVm() const { return vm_; } in GetVm() 158 JNIEnvExt(Thread* self, JavaVMExt* vm, std::string* error_msg) 165 JavaVMExt* const vm_;
|
D | java_vm_ext.h | 41 class JavaVMExt; variable 43 using GetEnvHook = jint (*)(JavaVMExt* vm, /*out*/void** new_env, jint version); 45 class JavaVMExt : public JavaVM { 50 static std::unique_ptr<JavaVMExt> Create(Runtime* runtime, 55 ~JavaVMExt(); 216 JavaVMExt(Runtime* runtime, const RuntimeArgumentMap& runtime_options, std::string* error_msg); 266 DISALLOW_COPY_AND_ASSIGN(JavaVMExt);
|
D | jni_env_ext.cc | 53 jint JNIEnvExt::GetEnvHandler(JavaVMExt* vm, /*out*/void** env, jint version) { in GetEnvHandler() 58 if (JavaVMExt::IsBadJniVersion(version) && version != JNI_VERSION_1_1) { in GetEnvHandler() 67 JNIEnvExt* JNIEnvExt::Create(Thread* self_in, JavaVMExt* vm_in, std::string* error_msg) { in Create() 75 JNIEnvExt::JNIEnvExt(Thread* self_in, JavaVMExt* vm_in, std::string* error_msg) in JNIEnvExt()
|
D | java_vm_ext_test.cc | 41 JavaVMExt* vm_;
|
D | check_jni.cc | 584 bool CheckNonHeap(JavaVMExt* vm, bool entry, const char* fmt, JniValueType* args) { in CheckNonHeap() 2760 static JavaVMExt* GetJavaVMExt(JNIEnv* env) { in GetJavaVMExt() 4011 sc.CheckNonHeap(reinterpret_cast<JavaVMExt*>(vm), true, "v", args); in DestroyJavaVM() 4023 sc.CheckNonHeap(reinterpret_cast<JavaVMExt*>(vm), true, "vpp", args); in AttachCurrentThread() 4026 sc.CheckNonHeap(reinterpret_cast<JavaVMExt*>(vm), false, "i", &result); in AttachCurrentThread() 4033 sc.CheckNonHeap(reinterpret_cast<JavaVMExt*>(vm), true, "vpp", args); in AttachCurrentThreadAsDaemon() 4036 sc.CheckNonHeap(reinterpret_cast<JavaVMExt*>(vm), false, "i", &result); in AttachCurrentThreadAsDaemon() 4043 sc.CheckNonHeap(reinterpret_cast<JavaVMExt*>(vm), true, "v", args); in DetachCurrentThread() 4046 sc.CheckNonHeap(reinterpret_cast<JavaVMExt*>(vm), false, "i", &result); in DetachCurrentThread() 4053 sc.CheckNonHeap(reinterpret_cast<JavaVMExt*>(vm), true, "vpI", args); in GetEnv() [all …]
|
D | jni_internal.cc | 601 static JavaVMExt* JavaVmExtFromEnv(JNIEnv* env) { in JavaVmExtFromEnv() 844 JavaVMExt* vm = down_cast<JNIEnvExt*>(env)->GetVm(); in DeleteGlobalRef() 856 JavaVMExt* vm = down_cast<JNIEnvExt*>(env)->GetVm(); in DeleteWeakGlobalRef()
|
D | jni_internal_test.cc | 663 JavaVMExt* vm_;
|
/art/runtime/ |
D | scoped_thread_state_change.h | 29 class JavaVMExt; variable 79 JavaVMExt* Vm() const { in Vm() 115 : self_(nullptr), env_(nullptr), vm_(reinterpret_cast<JavaVMExt*>(vm)) {} in ScopedObjectAccessAlreadyRunnable() 128 JavaVMExt* const vm_;
|
D | scoped_thread_state_change.cc | 30 static_assert(std::is_base_of<JavaVM, JavaVMExt>::value, "JavaVMExt does not extend JavaVM");
|
D | common_runtime_test.h | 47 class JavaVMExt; variable 192 JavaVMExt* const vm_;
|
D | runtime.h | 91 class JavaVMExt; variable 296 JavaVMExt* GetJavaVM() const { in GetJavaVM() 1000 std::unique_ptr<JavaVMExt> java_vm_;
|
D | indirect_reference_table.cc | 57 JavaVMExt* vm = Runtime::Current()->GetJavaVM(); in AbortIfNoCheckJNI()
|
D | thread.h | 91 class JavaVMExt; variable 1363 bool Init(ThreadList*, JavaVMExt*, JNIEnvExt* jni_env_ext = nullptr)
|
D | reflection_test.cc | 507 JavaVMExt* vm_;
|
D | reflection.cc | 369 void CheckMethodArguments(JavaVMExt* vm, ArtMethod* m, uint32_t* args) in CheckMethodArguments()
|
D | runtime.cc | 1479 java_vm_ = JavaVMExt::Create(this, runtime_options, &error_msg); in Init()
|
D | thread.cc | 907 bool Thread::Init(ThreadList* thread_list, JavaVMExt* java_vm, JNIEnvExt* jni_env_ext) { in Init()
|
/art/test/900-hello-plugin/ |
D | load_unload.cc | 33 static jint GetEnvHandler(JavaVMExt* vm ATTRIBUTE_UNUSED, void** new_env, jint version) { in GetEnvHandler()
|
/art/openjdkjvmti/ |
D | art_jvmti.h | 74 art::JavaVMExt* art_vm; 109 ArtJvmTiEnv(art::JavaVMExt* runtime, EventHandler* event_handler, jint ti_version);
|
D | OpenjdkJvmTi.cc | 1484 ArtJvmTiEnv::ArtJvmTiEnv(art::JavaVMExt* runtime, EventHandler* event_handler, jint version) in ArtJvmTiEnv() 1497 static void CreateArtJvmTiEnv(art::JavaVMExt* vm, jint version, /*out*/void** new_jvmtiEnv) { in CreateArtJvmTiEnv() 1510 static jint GetEnvHandler(art::JavaVMExt* vm, /*out*/void** env, jint version) { in GetEnvHandler()
|
D | ti_class.cc | 414 art::JavaVMExt* java_vm = art::Runtime::Current()->GetJavaVM(); in FixupGlobalReferenceTables()
|
/art/runtime/ti/ |
D | agent.cc | 118 : JavaVMExt::GetLibrarySearchPath(env, class_loader)); in DoDlOpen()
|
/art/runtime/native/ |
D | dalvik_system_ZygoteHooks.cc | 162 JavaVMExt* vm = runtime->GetJavaVM(); in EnableDebugFeatures()
|
/art/openjdkjvm/ |
D | OpenjdkJvm.cc | 330 art::JavaVMExt* vm = art::Runtime::Current()->GetJavaVM(); in JVM_NativeLoad()
|