Lines Matching refs:env_
60 env_ = Thread::Current()->GetJniEnv(); in EnsureCompiled()
61 class_ = env_->FindClass(class_name); in EnsureCompiled()
64 mid_ = env_->GetMethodID(class_, method, signature); in EnsureCompiled()
66 mid_ = env_->GetStaticMethodID(class_, method, signature); in EnsureCompiled()
111 JNIEnv* env_; member in art::CompilerDriverTest
177 jclass c_class = env_->FindClass("ConcreteClass"); in TEST_F()
179 jmethodID constructor = env_->GetMethodID(c_class, "<init>", "()V"); in TEST_F()
181 jobject jobj_ = env_->NewObject(c_class, constructor); in TEST_F()
185 env_->CallNonvirtualVoidMethod(jobj_, class_, mid_); in TEST_F()
187 EXPECT_EQ(env_->ExceptionCheck(), JNI_TRUE); in TEST_F()
188 jthrowable exception = env_->ExceptionOccurred(); in TEST_F()
189 env_->ExceptionClear(); in TEST_F()
190 jclass jlame = env_->FindClass("java/lang/AbstractMethodError"); in TEST_F()
191 EXPECT_TRUE(env_->IsInstanceOf(exception, jlame)); in TEST_F()