Lines Matching defs:env_
58 env_ = Thread::Current()->GetJniEnv();
59 class_ = env_->FindClass(class_name);
62 mid_ = env_->GetMethodID(class_, method, signature);
64 mid_ = env_->GetStaticMethodID(class_, method, signature);
96 JNIEnv* env_;
157 jclass c_class = env_->FindClass("ConcreteClass");
159 jmethodID constructor = env_->GetMethodID(c_class, "<init>", "()V");
161 jobject jobj_ = env_->NewObject(c_class, constructor);
165 env_->CallNonvirtualVoidMethod(jobj_, class_, mid_);
167 EXPECT_EQ(env_->ExceptionCheck(), JNI_TRUE);
168 jthrowable exception = env_->ExceptionOccurred();
169 env_->ExceptionClear();
170 jclass jlame = env_->FindClass("java/lang/AbstractMethodError");
171 EXPECT_TRUE(env_->IsInstanceOf(exception, jlame));