Home
last modified time | relevance | path

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

12

/frameworks/libs/binary_translation/tests/tests_apk/jni/
Djni_test.cc38 JNIEnv* gEnv; variable
65 EXPECT_TRUE(test_Ellipsis_F1(gEnv, gObj)); in TEST()
66 EXPECT_TRUE(test_Ellipsis_F2(gEnv, gObj, 0)); in TEST()
74 jclass clazz = gEnv->GetObjectClass(gObj); in callJavaIntReturningMethod()
75 jmethodID caller_method = gEnv->GetMethodID(clazz, method, "()I"); in callJavaIntReturningMethod()
76 return gEnv->CallIntMethod(gObj, caller_method); in callJavaIntReturningMethod()
81 jclass clazz = gEnv->GetObjectClass(gObj); in TEST()
82 gEnv->RegisterNatives(clazz, methods, sizeof(methods) / sizeof(methods[1])); in TEST()
88 jclass java_class = gEnv->GetObjectClass(gObj); in TEST()
89 jmethodID wrappers_abi_test_method = gEnv->GetMethodID(java_class, "wrappersABITest", "()Z"); in TEST()
[all …]
/frameworks/av/media/tests/benchmark/tests/
DExtractorTest.cpp29 static BenchmarkTestEnvironment *gEnv = nullptr; variable
37 string inputFile = gEnv->getRes() + GetParam().first; in TEST_P()
55 extractObj->dumpStatistics(GetParam().first, "", gEnv->getStatsFile()); in TEST_P()
80 gEnv = new (std::nothrow) BenchmarkTestEnvironment(); in main()
81 ::testing::AddGlobalTestEnvironment(gEnv); in main()
83 int status = gEnv->initFromOptions(argc, argv); in main()
85 gEnv->setStatsFile("Extractor.csv"); in main()
86 status = gEnv->writeStatsHeader(); in main()
DMuxerTest.cpp30 static BenchmarkTestEnvironment *gEnv = nullptr; variable
55 string inputFile = gEnv->getRes() + GetParam().first; in TEST_P()
117 muxerObj->dumpStatistics(GetParam().first + "." + fmt.c_str(), fmt, gEnv->getStatsFile()); in TEST_P()
148 gEnv = new (std::nothrow) BenchmarkTestEnvironment(); in main()
149 ::testing::AddGlobalTestEnvironment(gEnv); in main()
151 int status = gEnv->initFromOptions(argc, argv); in main()
153 gEnv->setStatsFile("Muxer.csv"); in main()
154 status = gEnv->writeStatsHeader(); in main()
DDecoderTest.cpp30 static BenchmarkTestEnvironment *gEnv = nullptr; variable
38 string inputFile = gEnv->getRes() + get<0>(params); in TEST_P()
91 gEnv->getStatsFile()); in TEST_P()
180 gEnv = new (std::nothrow) BenchmarkTestEnvironment(); in main()
181 ::testing::AddGlobalTestEnvironment(gEnv); in main()
183 int status = gEnv->initFromOptions(argc, argv); in main()
185 gEnv->setStatsFile("Decoder.csv"); in main()
186 status = gEnv->writeStatsHeader(); in main()
DC2DecoderTest.cpp29 static BenchmarkTestEnvironment *gEnv = nullptr; variable
66 string inputFile = gEnv->getRes() + GetParam().first; in TEST_P()
141 gEnv->getStatsFile()); in TEST_P()
176 gEnv = new (std::nothrow) BenchmarkTestEnvironment(); in main()
177 ::testing::AddGlobalTestEnvironment(gEnv); in main()
179 int status = gEnv->initFromOptions(argc, argv); in main()
181 gEnv->setStatsFile("C2Decoder.csv"); in main()
182 status = gEnv->writeStatsHeader(); in main()
DC2EncoderTest.cpp29 static BenchmarkTestEnvironment *gEnv = nullptr; variable
66 string inputFile = gEnv->getRes() + GetParam().first; in TEST_P()
146 gEnv->getStatsFile()); in TEST_P()
179 gEnv = new (std::nothrow) BenchmarkTestEnvironment(); in main()
180 ::testing::AddGlobalTestEnvironment(gEnv); in main()
182 int status = gEnv->initFromOptions(argc, argv); in main()
184 gEnv->setStatsFile("C2Encoder.csv"); in main()
185 status = gEnv->writeStatsHeader(); in main()
DEncoderTest.cpp31 static BenchmarkTestEnvironment *gEnv = nullptr; variable
39 string inputFile = gEnv->getRes() + get<0>(params); in TEST_P()
144 (asyncMode ? "async" : "sync"), gEnv->getStatsFile()); in TEST_P()
221 gEnv = new (std::nothrow) BenchmarkTestEnvironment(); in main()
222 ::testing::AddGlobalTestEnvironment(gEnv); in main()
224 int status = gEnv->initFromOptions(argc, argv); in main()
226 gEnv->setStatsFile("Encoder.csv"); in main()
227 status = gEnv->writeStatsHeader(); in main()
/frameworks/av/media/module/id3/test/
DID3Test.cpp35 static ID3TestEnvironment *gEnv = nullptr; variable
44 string path = gEnv->getRes() + GetParam(); in TEST_P()
64 string path = gEnv->getRes() + GetParam().first; in TEST_P()
78 string path = gEnv->getRes() + GetParam().first; in TEST_P()
123 string path = gEnv->getRes() + GetParam().first; in TEST_P()
151 string path = gEnv->getRes() + GetParam().first; in TEST_P()
270 gEnv = new ID3TestEnvironment(); in main()
271 ::testing::AddGlobalTestEnvironment(gEnv); in main()
273 int status = gEnv->initFromOptions(argc, argv); in main()
/frameworks/av/media/module/codecs/amrnb/dec/test/
DAmrnbDecoderTest.cpp41 static AmrnbDecTestEnvironment *gEnv = nullptr; variable
109 string inputFile = gEnv->getRes() + GetParam(); in TEST_P()
132 string inputFile = gEnv->getRes() + GetParam(); in TEST_P()
166 gEnv = new AmrnbDecTestEnvironment(); in main()
167 ::testing::AddGlobalTestEnvironment(gEnv); in main()
169 int status = gEnv->initFromOptions(argc, argv); in main()
/frameworks/av/media/module/codecs/flac/dec/test/
DFlacDecoderTest.cpp41 static FlacDecoderTestEnvironment *gEnv = nullptr; variable
199 string inputFileName = gEnv->getRes() + get<0>(params); in TEST_P()
200 string infoFileName = gEnv->getRes() + get<1>(params); in TEST_P()
228 string inputFileName = gEnv->getRes() + get<0>(params); in TEST_P()
229 string infoFileName = gEnv->getRes() + get<1>(params); in TEST_P()
261 gEnv = new FlacDecoderTestEnvironment(); in main()
262 ::testing::AddGlobalTestEnvironment(gEnv); in main()
264 int status = gEnv->initFromOptions(argc, argv); in main()
/frameworks/av/media/module/codecs/amrwb/dec/test/
DAmrwbDecoderTest.cpp45 static AmrwbDecTestEnvironment *gEnv = nullptr; variable
150 string inputFile = gEnv->getRes() + GetParam(); in TEST_P()
176 string inputFile = gEnv->getRes() + GetParam(); in TEST_P()
205 gEnv = new AmrwbDecTestEnvironment(); in main()
206 ::testing::AddGlobalTestEnvironment(gEnv); in main()
208 int status = gEnv->initFromOptions(argc, argv); in main()
/frameworks/av/media/module/codecs/mp3dec/test/
DMp3DecoderTest.cpp38 static Mp3DecoderTestEnvironment *gEnv = nullptr; variable
121 string inputFile = gEnv->getRes() + GetParam(); in TEST_P()
148 string inputFile = gEnv->getRes() + GetParam(); in TEST_P()
182 gEnv = new Mp3DecoderTestEnvironment(); in main()
183 ::testing::AddGlobalTestEnvironment(gEnv); in main()
185 int status = gEnv->initFromOptions(argc, argv); in main()
/frameworks/av/media/libstagefright/tests/extractorFactory/
DExtractorFactoryTest.cpp33 static ExtractorFactoryTestEnvironment *gEnv = nullptr; variable
110 string inputFileName = gEnv->getRes() + GetParam().first; in TEST_P()
158 gEnv = new ExtractorFactoryTestEnvironment(); in main()
159 ::testing::AddGlobalTestEnvironment(gEnv); in main()
161 int status = gEnv->initFromOptions(argc, argv); in main()
/frameworks/av/media/module/codecs/amrnb/enc/test/
DAmrnbEncoderTest.cpp40 static AmrnbEncTestEnvironment *gEnv = nullptr; variable
114 string inputFile = gEnv->getRes() + GetParam().first; in TEST_P()
145 string inputFile = gEnv->getRes() + GetParam().first; in TEST_P()
198 gEnv = new AmrnbEncTestEnvironment(); in main()
199 ::testing::AddGlobalTestEnvironment(gEnv); in main()
201 int status = gEnv->initFromOptions(argc, argv); in main()
/frameworks/av/media/libstagefright/tests/HEVC/
DHEVCUtilsUnitTest.cpp39 static HEVCUtilsTestEnvironment *gEnv = nullptr; variable
54 string inputMediaFile = gEnv->getRes() + get<0>(params); in SetUp()
58 string inputInfoFile = gEnv->getRes() + get<1>(params); in SetUp()
196 gEnv = new HEVCUtilsTestEnvironment(); in main()
197 ::testing::AddGlobalTestEnvironment(gEnv); in main()
199 int status = gEnv->initFromOptions(argc, argv); in main()
/frameworks/av/media/libstagefright/tests/writer/
DWriterTest.cpp52 static WriterTestEnvironment *gEnv = nullptr; variable
134 if (gEnv->cleanUp()) remove(OUTPUT_FILE_NAME); in ~WriterTest()
507 string inputFile = gEnv->getRes(); in TEST_P()
508 string inputInfo = gEnv->getRes(); in TEST_P()
511 ASSERT_NE(inputFile.compare(gEnv->getRes()), 0) << "No input file specified"; in TEST_P()
608 string inputFile = gEnv->getRes(); in TEST_P()
609 string inputInfo = gEnv->getRes(); in TEST_P()
616 ASSERT_NE(inputFile.compare(gEnv->getRes()), 0) << "No input file specified"; in TEST_P()
669 string inputFile = gEnv->getRes(); in TEST_P()
670 string inputInfo = gEnv->getRes(); in TEST_P()
[all …]
/frameworks/av/media/module/metadatautils/test/
DMetaDataUtilsTest.cpp41 static MetaDataUtilsTestEnvironment *gEnv = nullptr; variable
93 string inputFile = gEnv->getRes() + get<0>(params); in SetUp()
126 string inputFile = gEnv->getRes() + GetParam(); in SetUp()
156 string fileName = gEnv->getRes() + get<0>(params); in SetUp()
181 string inputFile = gEnv->getRes() + GetParam(); in SetUp()
191 string inputMediaFile = gEnv->getRes() + params.first; in SetUp()
195 string inputInfoFile = gEnv->getRes() + params.second; in SetUp()
478 gEnv = new MetaDataUtilsTestEnvironment(); in main()
479 ::testing::AddGlobalTestEnvironment(gEnv); in main()
481 int status = gEnv->initFromOptions(argc, argv); in main()
/frameworks/av/media/module/codecs/amrwb/enc/test/
DAmrwbEncoderTest.cpp35 static AmrwbEncTestEnvironment *gEnv = nullptr; variable
41 mInputFile = gEnv->getRes() + get<0>(params); in AmrwbEncoderTest()
189 gEnv = new AmrwbEncTestEnvironment(); in main()
190 ::testing::AddGlobalTestEnvironment(gEnv); in main()
192 int status = gEnv->initFromOptions(argc, argv); in main()
/frameworks/av/media/module/esds/tests/
DESDSTest.cpp36 static ESDSTestEnvironment *gEnv = nullptr; variable
86 string inputFile = gEnv->getRes() + mESDSParams.inputFile; in readESDSData()
216 gEnv = new ESDSTestEnvironment(); in main()
217 ::testing::AddGlobalTestEnvironment(gEnv); in main()
219 int status = gEnv->initFromOptions(argc, argv); in main()
/frameworks/av/media/module/codecs/m4v_h263/dec/test/
DMpeg4H263DecoderTest.cpp51 static Mpeg4H263DecoderTestEnvironment *gEnv = nullptr; variable
318 string inputFileName = gEnv->getRes() + get<0>(params); in TEST_P()
322 string infoFileName = gEnv->getRes() + get<1>(params); in TEST_P()
347 string inputFileName = gEnv->getRes() + get<0>(params); in TEST_P()
351 string infoFileName = gEnv->getRes() + get<1>(params); in TEST_P()
417 gEnv = new Mpeg4H263DecoderTestEnvironment(); in main()
418 ::testing::AddGlobalTestEnvironment(gEnv); in main()
420 int status = gEnv->initFromOptions(argc, argv); in main()
/frameworks/av/media/module/mpeg2ts/test/
DMpeg2tsUnitTest.cpp43 static Mpeg2tsUnitTestEnvironment *gEnv = nullptr; variable
70 string inputFile = gEnv->getRes() + get<0>(params); in SetUp()
226 gEnv = new Mpeg2tsUnitTestEnvironment(); in main()
227 ::testing::AddGlobalTestEnvironment(gEnv); in main()
229 uint8_t status = gEnv->initFromOptions(argc, argv); in main()
/frameworks/av/media/module/foundation/tests/OpusHeader/
DOpusHeaderTest.cpp66 static OpusHeaderTestEnvironment *gEnv = nullptr; variable
104 string referenceFileName = gEnv->getRes() + get<2>(params); in TEST_P()
208 string inputFileName = gEnv->getRes() + get<0>(params); in TEST_P()
333 gEnv = new OpusHeaderTestEnvironment(); in main()
334 ::testing::AddGlobalTestEnvironment(gEnv); in main()
336 int status = gEnv->initFromOptions(argc, argv); in main()
/frameworks/av/media/module/codecs/m4v_h263/enc/test/
DMpeg4H263EncoderTest.cpp36 static Mpeg4H263EncoderTestEnvironment *gEnv = nullptr; variable
69 mFileName = gEnv->getRes() + get<0>(params); in SetUp()
241 gEnv = new Mpeg4H263EncoderTestEnvironment(); in main()
242 ::testing::AddGlobalTestEnvironment(gEnv); in main()
244 uint8_t status = gEnv->initFromOptions(argc, argv); in main()
/frameworks/av/media/module/foundation/tests/AVCUtils/
DAVCUtilsUnitTest.cpp36 static AVCUtilsTestEnvironment *gEnv = nullptr; variable
50 mInputFile = gEnv->getRes() + fileName; in SetUpAVCUtils()
54 mInfoFile = gEnv->getRes() + infoFileName; in SetUpAVCUtils()
143 string inputFile = gEnv->getRes() + get<0>(params); in TEST_P()
401 gEnv = new AVCUtilsTestEnvironment(); in main()
402 ::testing::AddGlobalTestEnvironment(gEnv); in main()
404 int status = gEnv->initFromOptions(argc, argv); in main()
/frameworks/av/media/libstagefright/xmlparser/test/
DXMLParserTest.cpp32 static XMLParserTestEnvironment *gEnv = nullptr; variable
355 string inputFileName = gEnv->getRes() + XML_FILE_NAME; in TEST_F()
401 string inputFileName = gEnv->getRes() + XML_FILE_NAME; in TEST_F()
440 string inputFileName = gEnv->getRes() + XML_FILE_NAME; in TEST_F()
455 gEnv = new XMLParserTestEnvironment(); in main()
456 ::testing::AddGlobalTestEnvironment(gEnv); in main()
458 int status = gEnv->initFromOptions(argc, argv); in main()

12