Lines Matching defs:env_
54 env_ = Thread::Current()->GetJniEnv();
55 class_ = env_->FindClass(class_name);
58 mid_ = env_->GetMethodID(class_, method, signature);
60 mid_ = env_->GetStaticMethodID(class_, method, signature);
92 JNIEnv* env_;
153 jclass c_class = env_->FindClass("ConcreteClass");
154 jmethodID constructor = env_->GetMethodID(c_class, "<init>", "()V");
155 jobject jobj_ = env_->NewObject(c_class, constructor);
159 env_->CallNonvirtualVoidMethod(jobj_, class_, mid_);
160 EXPECT_EQ(env_->ExceptionCheck(), JNI_TRUE);
161 jthrowable exception = env_->ExceptionOccurred();
162 env_->ExceptionClear();
163 jclass jlame = env_->FindClass("java/lang/AbstractMethodError");
164 EXPECT_TRUE(env_->IsInstanceOf(exception, jlame));