Home
last modified time | relevance | path

Searched refs:mEnv (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/effect/src/android/effect/cts/
DEffectTest.java33 private GLEnv mEnv; field in EffectTest
43 mEnv = new GLEnv(); in setUp()
44 mEnv.makeCurrent(); in setUp()
53 if (mEnv != null) { in tearDown()
54 mEnv.tearDown(); in tearDown()
102 int inputTexture = mEnv.bitmapToTexture(bitmap); in test6_effectApply()
103 int outputTexture = mEnv.generateTexture(); in test6_effectApply()
109 mEnv.releaseTexture(inputTexture); in test6_effectApply()
110 mEnv.releaseTexture(outputTexture); in test6_effectApply()
/cts/tests/tests/graphics/jni/
Dandroid_graphics_fonts_cts_SystemFonts.cpp35 ScopedUtfChars(JNIEnv* env, jstring s) : mEnv(env), mString(s) { in ScopedUtfChars()
40 mUtfChars = mEnv->GetStringUTFChars(mString, nullptr); in ScopedUtfChars()
41 mSize = mEnv->GetStringUTFLength(mString); in ScopedUtfChars()
47 mEnv->ReleaseStringUTFChars(mString, mUtfChars); in ~ScopedUtfChars()
60 JNIEnv* mEnv; member in __anon591119570111::ScopedUtfChars
68 ScopedStringChars(JNIEnv* env, jstring s) : mEnv(env), mString(s) { in ScopedStringChars()
73 mChars = mEnv->GetStringChars(mString, NULL); in ScopedStringChars()
74 mSize = mEnv->GetStringLength(mString); in ScopedStringChars()
80 mEnv->ReleaseStringChars(mString, mChars); in ~ScopedStringChars()
94 JNIEnv* const mEnv; member in __anon591119570111::ScopedStringChars
/cts/common/device-side/nativetesthelper/jni/
Dgtest_wrapper.cpp108 : mEnv(env) in JUnitNotifyingListener()
117 … 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 __anon7e1392080111::JUnitNotifyingListener
/cts/tests/tests/renderscript/libcoremathtestcpp/
DCoreMathTestJni.cpp43 JNIEnv* mEnv; member in JavaStruct
62 JavaStruct::JavaStruct(JNIEnv* env, const std::string& name) : mEnv(env), mClass(0), mObject(0) { in JavaStruct()
88 mEnv->SetIntField(mObject, fieldId, value); in SetInt()
95 mEnv->SetFloatField(mObject, fieldId, value); in SetFloat()
103 jfieldID fieldId = mEnv->GetFieldID(mClass, name, type); in GetFieldId()