Searched refs:mEnv (Results 1 – 2 of 2) sorted by relevance
| /test/ext/junit-gtest/src/main/cpp/nativehelper/ |
| D | scoped_local_ref.h | 29 ScopedLocalRef(JNIEnv* env, T localRef) : mEnv(env), mLocalRef(localRef) {} in ScopedLocalRef() 36 mEnv->DeleteLocalRef(mLocalRef); 53 ScopedLocalRef(ScopedLocalRef&& s) : mEnv(s.mEnv), mLocalRef(s.release()) {} in ScopedLocalRef() 55 explicit ScopedLocalRef(JNIEnv* env) : mEnv(env), mLocalRef(nullptr) {} in ScopedLocalRef() 65 mEnv = s.mEnv; 77 JNIEnv* mEnv;
|
| /test/ext/junit-gtest/src/main/cpp/ |
| D | gtest_wrapper.cpp | 107 : mEnv(env) in JUnitNotifyingListener() 116 … createTestDescription(mEnv, mClassName, testInfo.test_case_name(), testInfo.name())); in OnTestStart() 132 ScopedLocalRef<jstring> jmessage(mEnv, mEnv->NewStringUTF(error.c_str())); in OnTestEnd() 133 ScopedLocalRef<jobject> jthrowable(mEnv, mEnv->NewObject(gAssertionFailure.clazz, in OnTestEnd() 135 ScopedLocalRef<jobject> jfailure(mEnv, mEnv->NewObject(gFailure.clazz, in OnTestEnd() 137 mEnv->CallVoidMethod(mRunNotifier, gRunNotifier.fireTestFailure, jfailure.get()); in OnTestEnd() 148 mCurrentTestDescription.reset(createTestDescription(mEnv, mClassName, mangledName)); in reportDisabledTests() 156 mEnv->CallVoidMethod(mRunNotifier, method, mCurrentTestDescription.get()); in notify() 159 JNIEnv* mEnv; member in __anond969778a0111::JUnitNotifyingListener
|