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