/art/runtime/jni/ |
D | java_vm_ext.cc | 68 bool JavaVMExt::IsBadJniVersion(int version) { in IsBadJniVersion() 389 JavaVMExt* raw_vm = reinterpret_cast<JavaVMExt*>(vm); in DestroyJavaVM() 414 JavaVMExt* raw_vm = reinterpret_cast<JavaVMExt*>(vm); in DetachCurrentThread() 429 JavaVMExt* raw_vm = reinterpret_cast<JavaVMExt*>(vm); in GetEnv() 446 Runtime* runtime = reinterpret_cast<JavaVMExt*>(vm)->GetRuntime(); in AttachCurrentThreadInternal() 458 if (JavaVMExt::IsBadJniVersion(args->version)) { in AttachCurrentThreadInternal() 490 JavaVMExt::JavaVMExt(Runtime* runtime, in JavaVMExt() function in art::JavaVMExt 521 JavaVMExt::~JavaVMExt() { in ~JavaVMExt() 528 std::unique_ptr<JavaVMExt> JavaVMExt::Create(Runtime* runtime, in Create() 531 std::unique_ptr<JavaVMExt> java_vm(new JavaVMExt(runtime, runtime_options, error_msg)); in Create() [all …]
|
D | java_vm_ext.h | 42 class JavaVMExt; variable 44 using GetEnvHook = jint (*)(JavaVMExt* vm, /*out*/void** new_env, jint version); 46 class JavaVMExt : public JavaVM { 51 static std::unique_ptr<JavaVMExt> Create(Runtime* runtime, 56 ~JavaVMExt(); 217 JavaVMExt(Runtime* runtime, const RuntimeArgumentMap& runtime_options, std::string* error_msg); 270 DISALLOW_COPY_AND_ASSIGN(JavaVMExt);
|
D | jni_env_ext.h | 32 class JavaVMExt; variable 48 static JNIEnvExt* Create(Thread* self, JavaVMExt* vm, std::string* error_msg); 52 static jint GetEnvHandler(JavaVMExt* vm, /*out*/void** out, jint version); 112 JavaVMExt* GetVm() const { return vm_; } in GetVm() 169 JNIEnvExt(Thread* self, JavaVMExt* vm, std::string* error_msg) 176 JavaVMExt* const vm_;
|
D | jni_env_ext.cc | 54 jint JNIEnvExt::GetEnvHandler(JavaVMExt* vm, /*out*/void** env, jint version) { in GetEnvHandler() 59 if (JavaVMExt::IsBadJniVersion(version) && version != JNI_VERSION_1_1) { in GetEnvHandler() 68 JNIEnvExt* JNIEnvExt::Create(Thread* self_in, JavaVMExt* vm_in, std::string* error_msg) { in Create() 76 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 | 599 bool CheckNonHeap(JavaVMExt* vm, bool entry, const char* fmt, JniValueType* args) { in CheckNonHeap() 2810 static JavaVMExt* GetJavaVMExt(JNIEnv* env) { in GetJavaVMExt() 4061 sc.CheckNonHeap(reinterpret_cast<JavaVMExt*>(vm), true, "v", args); in DestroyJavaVM() 4073 sc.CheckNonHeap(reinterpret_cast<JavaVMExt*>(vm), true, "vpp", args); in AttachCurrentThread() 4076 sc.CheckNonHeap(reinterpret_cast<JavaVMExt*>(vm), false, "i", &result); in AttachCurrentThread() 4083 sc.CheckNonHeap(reinterpret_cast<JavaVMExt*>(vm), true, "vpp", args); in AttachCurrentThreadAsDaemon() 4086 sc.CheckNonHeap(reinterpret_cast<JavaVMExt*>(vm), false, "i", &result); in AttachCurrentThreadAsDaemon() 4093 sc.CheckNonHeap(reinterpret_cast<JavaVMExt*>(vm), true, "v", args); in DetachCurrentThread() 4096 sc.CheckNonHeap(reinterpret_cast<JavaVMExt*>(vm), false, "i", &result); in DetachCurrentThread() 4103 sc.CheckNonHeap(reinterpret_cast<JavaVMExt*>(vm), true, "vpI", args); in GetEnv() [all …]
|
D | jni_internal.cc | 538 static JavaVMExt* JavaVmExtFromEnv(JNIEnv* env) { in JavaVmExtFromEnv() 781 JavaVMExt* vm = down_cast<JNIEnvExt*>(env)->GetVm(); in DeleteGlobalRef() 793 JavaVMExt* vm = down_cast<JNIEnvExt*>(env)->GetVm(); in DeleteWeakGlobalRef()
|
D | jni_internal_test.cc | 664 JavaVMExt* vm_;
|
/art/runtime/ |
D | scoped_thread_state_change.h | 29 class JavaVMExt; variable 81 JavaVMExt* Vm() const { in Vm() 117 : self_(nullptr), env_(nullptr), vm_(reinterpret_cast<JavaVMExt*>(vm)) {} in ScopedObjectAccessAlreadyRunnable() 130 JavaVMExt* const vm_;
|
D | scoped_thread_state_change.cc | 31 static_assert(std::is_base_of<JavaVM, JavaVMExt>::value, "JavaVMExt does not extend JavaVM");
|
D | common_runtime_test.h | 67 class JavaVMExt; variable 260 JavaVMExt* const vm_;
|
D | runtime.h | 98 class JavaVMExt; variable 325 JavaVMExt* GetJavaVM() const { in GetJavaVM() 1172 std::unique_ptr<JavaVMExt> java_vm_;
|
D | indirect_reference_table.cc | 60 JavaVMExt* vm = Runtime::Current()->GetJavaVM(); in AbortIfNoCheckJNI()
|
D | thread.h | 93 class JavaVMExt; variable 1435 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 | 1715 java_vm_ = JavaVMExt::Create(this, runtime_options, &error_msg); 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 | 1403 ArtJvmTiEnv::ArtJvmTiEnv(art::JavaVMExt* runtime, EventHandler* event_handler, jint version) in ArtJvmTiEnv() 1416 static void CreateArtJvmTiEnv(art::JavaVMExt* vm, jint version, /*out*/void** new_jvmtiEnv) { in CreateArtJvmTiEnv() 1429 static jint GetEnvHandler(art::JavaVMExt* vm, /*out*/void** env, jint version) { in GetEnvHandler()
|
D | ti_class.cc | 420 art::JavaVMExt* java_vm = art::Runtime::Current()->GetJavaVM(); in FixupGlobalReferenceTables()
|
/art/runtime/entrypoints/jni/ |
D | jni_entrypoints.cc | 110 JavaVMExt* vm = down_cast<JNIEnvExt*>(self->GetJniEnv())->GetVm(); in artFindNativeMethodRunnable()
|
/art/runtime/ti/ |
D | agent.cc | 118 : JavaVMExt::GetLibrarySearchPath(env, class_loader)); in DoDlOpen()
|
/art/runtime/native/ |
D | dalvik_system_ZygoteHooks.cc | 166 JavaVMExt* vm = runtime->GetJavaVM(); in EnableDebugFeatures()
|
/art/openjdkjvm/ |
D | OpenjdkJvm.cc | 333 art::JavaVMExt* vm = art::Runtime::Current()->GetJavaVM(); in JVM_NativeLoad()
|