Home
last modified time | relevance | path

Searched refs:gEnv (Results 1 – 3 of 3) sorted by relevance

/external/libwebsockets/test-apps/android/app/src/main/jni/
DLwsService.cpp35 JNIEnv* gEnv = 0; variable
77 if(vm->GetEnv((void**)&gEnv, JNI_VERSION_1_6) != JNI_OK) goto bail; in JNI_OnLoad()
78 if(vm->AttachCurrentThread(&gEnv, NULL) < 0) goto bail; in JNI_OnLoad()
79 if(registerNatives(gEnv) != JNI_TRUE) goto bail; in JNI_OnLoad()
166 gJvm->AttachCurrentThread(&gEnv, NULL); in jni_initLws()
174 sendMessageId = gEnv->GetMethodID(gLwsServiceCls, "sendMessage", "(ILjava/lang/Object;)V"); in jni_initLws()
202 if(!isExit) gEnv->CallVoidMethod(gLwsServiceObj, sendMessageId, id, obj); in sendMessage()
236 sendMessage(MSG_DUMB_INCREMENT_PROTOCOL_COUNTER, gEnv->NewStringUTF((const char*)in)); in callback()
/external/tremolo/tests/
DVorbisDecoderTest.cpp46 static VorbisDecoderTestEnvironment* gEnv = nullptr; variable
75 if (gEnv->cleanUp()) remove(OUTPUT_FILE_NAME); in ~VorbisDecoderTest()
269 string inputFileName = gEnv->getRes() + GetParam().first; in TEST_P()
270 string infoFileName = gEnv->getRes() + GetParam().second; in TEST_P()
299 string inputFileName = gEnv->getRes() + GetParam().first; in TEST_P()
300 string infoFileName = gEnv->getRes() + GetParam().second; in TEST_P()
334 gEnv = new VorbisDecoderTestEnvironment(); in main()
335 ::testing::AddGlobalTestEnvironment(gEnv); in main()
337 int status = gEnv->initFromOptions(argc, argv); in main()
/external/sonivox/test/
DSonivoxTest.cpp36 static SonivoxTestEnvironment *gEnv = nullptr; variable
65 if (gEnv->cleanUp()) remove(OUTPUT_FILE); in ~SonivoxTest()
70 mInputMediaFile = gEnv->getRes() + get<0>(params); in SetUp()
359 gEnv = new SonivoxTestEnvironment(); in main()
360 ::testing::AddGlobalTestEnvironment(gEnv); in main()
362 int status = gEnv->initFromOptions(argc, argv); in main()