Home
last modified time | relevance | path

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

12

/frameworks/av/media/tests/benchmark/tests/
DExtractorTest.cpp25 static BenchmarkTestEnvironment *gEnv = nullptr; variable
33 string inputFile = gEnv->getRes() + GetParam().first; in TEST_P()
51 extractObj->dumpStatistics(GetParam().first, "", gEnv->getStatsFile()); in TEST_P()
76 gEnv = new BenchmarkTestEnvironment(); in main()
77 ::testing::AddGlobalTestEnvironment(gEnv); in main()
79 int status = gEnv->initFromOptions(argc, argv); in main()
81 gEnv->setStatsFile("Extractor.csv"); in main()
82 status = gEnv->writeStatsHeader(); in main()
DDecoderTest.cpp27 static BenchmarkTestEnvironment *gEnv = nullptr; variable
35 string inputFile = gEnv->getRes() + get<0>(params); in TEST_P()
88 gEnv->getStatsFile()); in TEST_P()
178 gEnv = new BenchmarkTestEnvironment(); in main()
179 ::testing::AddGlobalTestEnvironment(gEnv); in main()
181 int status = gEnv->initFromOptions(argc, argv); in main()
183 gEnv->setStatsFile("Decoder.csv"); in main()
184 status = gEnv->writeStatsHeader(); in main()
DMuxerTest.cpp29 static BenchmarkTestEnvironment *gEnv = nullptr; variable
54 string inputFile = gEnv->getRes() + GetParam().first; in TEST_P()
116 muxerObj->dumpStatistics(GetParam().first + "." + fmt.c_str(), fmt, gEnv->getStatsFile()); in TEST_P()
149 gEnv = new BenchmarkTestEnvironment(); in main()
150 ::testing::AddGlobalTestEnvironment(gEnv); in main()
152 int status = gEnv->initFromOptions(argc, argv); in main()
154 gEnv->setStatsFile("Muxer.csv"); in main()
155 status = gEnv->writeStatsHeader(); in main()
DC2DecoderTest.cpp28 static BenchmarkTestEnvironment *gEnv = nullptr; variable
65 string inputFile = gEnv->getRes() + GetParam().first; in TEST_P()
140 gEnv->getStatsFile()); in TEST_P()
177 gEnv = new BenchmarkTestEnvironment(); in main()
178 ::testing::AddGlobalTestEnvironment(gEnv); in main()
180 int status = gEnv->initFromOptions(argc, argv); in main()
182 gEnv->setStatsFile("C2Decoder.csv"); in main()
183 status = gEnv->writeStatsHeader(); in main()
DC2EncoderTest.cpp28 static BenchmarkTestEnvironment *gEnv = nullptr; variable
65 string inputFile = gEnv->getRes() + GetParam().first; in TEST_P()
144 gEnv->getStatsFile()); in TEST_P()
179 gEnv = new 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.cpp30 static BenchmarkTestEnvironment *gEnv = nullptr; variable
38 string inputFile = gEnv->getRes() + get<0>(params); in TEST_P()
143 (asyncMode ? "async" : "sync"), gEnv->getStatsFile()); in TEST_P()
223 gEnv = new BenchmarkTestEnvironment(); in main()
224 ::testing::AddGlobalTestEnvironment(gEnv); in main()
226 int status = gEnv->initFromOptions(argc, argv); in main()
228 gEnv->setStatsFile("Encoder.csv"); in main()
229 status = gEnv->writeStatsHeader(); in main()
/frameworks/av/media/codec2/hidl/1.0/vts/functional/master/
DVtsHalMediaC2V1_0TargetMasterTest.cpp28 static ComponentTestEnvironment* gEnv = nullptr; variable
41 gEnv->getInstance().c_str()); in SetUp()
93 gEnv = new ComponentTestEnvironment(); in main()
95 gEnv->init(&argc, argv); in main()
96 int status = gEnv->initFromOptions(argc, argv); in main()
/frameworks/av/media/libstagefright/id3/test/
DID3Test.cpp34 static ID3TestEnvironment *gEnv = nullptr; variable
43 string path = gEnv->getRes() + GetParam(); in TEST_P()
62 string path = gEnv->getRes() + GetParam().first; in TEST_P()
75 string path = gEnv->getRes() + GetParam().first; in TEST_P()
119 string path = gEnv->getRes() + GetParam().first; in TEST_P()
145 string path = gEnv->getRes() + GetParam().first; in TEST_P()
242 gEnv = new ID3TestEnvironment(); in main()
243 ::testing::AddGlobalTestEnvironment(gEnv); in main()
245 int status = gEnv->initFromOptions(argc, argv); in main()
/frameworks/av/media/libstagefright/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/libstagefright/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/codec2/hidl/1.0/vts/functional/video/
DVtsHalMediaC2V1_0TargetVideoDecTest.cpp55 static ComponentTestEnvironment* gEnv = nullptr; variable
66 "Component: " + gEnv->getComponent().c_str() + " | " + in getTestCaseInfo()
67 "Instance: " + gEnv->getInstance().c_str() + " | " + in getTestCaseInfo()
68 "Res: " + gEnv->getRes().c_str(); in getTestCaseInfo()
77 gEnv->getInstance().c_str()); in SetUp()
87 mClient->createComponent(gEnv->getComponent().c_str(), mListener, in SetUp()
115 std::string comp = std::string(gEnv->getComponent()); in SetUp()
443 strcpy(mURL, gEnv->getRes().c_str()); in TEST_P()
444 strcpy(info, gEnv->getRes().c_str()); in TEST_P()
534 strcpy(mURL, gEnv->getRes().c_str()); in TEST_F()
[all …]
DVtsHalMediaC2V1_0TargetVideoEncTest.cpp45 static ComponentTestEnvironment* gEnv = nullptr; variable
56 "Component: " + gEnv->getComponent().c_str() + " | " + in getTestCaseInfo()
57 "Instance: " + gEnv->getInstance().c_str() + " | " + in getTestCaseInfo()
58 "Res: " + gEnv->getRes().c_str(); in getTestCaseInfo()
67 gEnv->getInstance().c_str()); in SetUp()
77 mClient->createComponent(gEnv->getComponent().c_str(), mListener, in SetUp()
105 std::string comp = std::string(gEnv->getComponent()); in SetUp()
402 strcpy(mURL, gEnv->getRes().c_str()); in TEST_P()
529 strcpy(mURL, gEnv->getRes().c_str()); in TEST_F()
728 gEnv = new ComponentTestEnvironment(); in main()
[all …]
/frameworks/av/media/libstagefright/codecs/amrwb/test/
DAmrwbDecoderTest.cpp44 static AmrwbDecTestEnvironment *gEnv = nullptr; variable
153 string inputFile = gEnv->getRes() + GetParam(); in TEST_P()
183 string inputFile = gEnv->getRes() + GetParam(); in TEST_P()
214 gEnv = new AmrwbDecTestEnvironment(); in main()
215 ::testing::AddGlobalTestEnvironment(gEnv); in main()
217 int status = gEnv->initFromOptions(argc, argv); in main()
/frameworks/av/media/libstagefright/codecs/mp3dec/test/
DMp3DecoderTest.cpp37 static Mp3DecoderTestEnvironment *gEnv = nullptr; variable
124 string inputFile = gEnv->getRes() + GetParam(); in TEST_P()
155 string inputFile = gEnv->getRes() + GetParam(); in TEST_P()
191 gEnv = new Mp3DecoderTestEnvironment(); in main()
192 ::testing::AddGlobalTestEnvironment(gEnv); in main()
194 int status = gEnv->initFromOptions(argc, argv); in main()
/frameworks/av/media/codec2/hidl/1.0/vts/functional/audio/
DVtsHalMediaC2V1_0TargetAudioDecTest.cpp52 static ComponentTestEnvironment* gEnv = nullptr; variable
63 "Component: " + gEnv->getComponent().c_str() + " | " + in getTestCaseInfo()
64 "Instance: " + gEnv->getInstance().c_str() + " | " + in getTestCaseInfo()
65 "Res: " + gEnv->getRes().c_str(); in getTestCaseInfo()
74 gEnv->getInstance().c_str()); in SetUp()
84 mClient->createComponent(gEnv->getComponent().c_str(), mListener, in SetUp()
121 std::string comp = std::string(gEnv->getComponent()); in SetUp()
517 strcpy(mURL, gEnv->getRes().c_str()); in TEST_P()
518 strcpy(info, gEnv->getRes().c_str()); in TEST_P()
520 if (!strcmp(mURL, gEnv->getRes().c_str())) { in TEST_P()
[all …]
DVtsHalMediaC2V1_0TargetAudioEncTest.cpp46 static ComponentTestEnvironment* gEnv = nullptr; variable
57 "Component: " + gEnv->getComponent().c_str() + " | " + in getTestCaseInfo()
58 "Instance: " + gEnv->getInstance().c_str() + " | " + in getTestCaseInfo()
59 "Res: " + gEnv->getRes().c_str(); in getTestCaseInfo()
68 gEnv->getInstance().c_str()); in SetUp()
78 mClient->createComponent(gEnv->getComponent().c_str(), mListener, in SetUp()
107 std::string comp = std::string(gEnv->getComponent()); in SetUp()
383 strcpy(mURL, gEnv->getRes().c_str()); in TEST_P()
522 strcpy(mURL, gEnv->getRes().c_str()); in TEST_F()
640 gEnv = new ComponentTestEnvironment(); in main()
[all …]
/frameworks/av/media/libstagefright/tests/writer/
DWriterTest.cpp42 static WriterTestEnvironment *gEnv = nullptr; variable
132 if (gEnv->cleanUp()) remove(OUTPUT_FILE_NAME); in ~WriterTest()
354 string inputFile = gEnv->getRes(); in TEST_P()
355 string inputInfo = gEnv->getRes(); in TEST_P()
359 ASSERT_NE(inputFile.compare(gEnv->getRes()), 0) << "No input file specified"; in TEST_P()
407 string inputFile = gEnv->getRes(); in TEST_P()
408 string inputInfo = gEnv->getRes(); in TEST_P()
415 ASSERT_NE(inputFile.compare(gEnv->getRes()), 0) << "No input file specified"; in TEST_P()
468 string inputFile = gEnv->getRes(); in TEST_P()
469 string inputInfo = gEnv->getRes(); in TEST_P()
[all …]
/frameworks/av/media/libstagefright/tests/HEVC/
DHEVCUtilsUnitTest.cpp38 static HEVCUtilsTestEnvironment *gEnv = nullptr; variable
53 string inputMediaFile = gEnv->getRes() + get<0>(params); in SetUp()
57 string inputInfoFile = gEnv->getRes() + get<1>(params); in SetUp()
199 gEnv = new HEVCUtilsTestEnvironment(); in main()
200 ::testing::AddGlobalTestEnvironment(gEnv); in main()
202 int status = gEnv->initFromOptions(argc, argv); in main()
/frameworks/av/media/libstagefright/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/ESDS/
DESDSTest.cpp35 static ESDSTestEnvironment *gEnv = nullptr; variable
78 string inputFile = gEnv->getRes() + mESDSParams.inputFile; in readESDSData()
201 gEnv = new ESDSTestEnvironment(); in main()
202 ::testing::AddGlobalTestEnvironment(gEnv); in main()
204 int status = gEnv->initFromOptions(argc, argv); in main()
/frameworks/av/media/libstagefright/codecs/amrwbenc/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/libstagefright/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()
414 gEnv = new Mpeg4H263DecoderTestEnvironment(); in main()
415 ::testing::AddGlobalTestEnvironment(gEnv); in main()
417 int status = gEnv->initFromOptions(argc, argv); in main()
/frameworks/av/media/libstagefright/mpeg2ts/test/
DMpeg2tsUnitTest.cpp44 static Mpeg2tsUnitTestEnvironment *gEnv = nullptr; variable
71 string inputFile = gEnv->getRes() + get<0>(params); in SetUp()
227 gEnv = new Mpeg2tsUnitTestEnvironment(); in main()
228 ::testing::AddGlobalTestEnvironment(gEnv); in main()
230 uint8_t status = gEnv->initFromOptions(argc, argv); in main()
/frameworks/av/media/libstagefright/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/codec2/hidl/1.0/vts/functional/component/
DVtsHalMediaC2V1_0TargetComponentTest.cpp55 static ComponentTestEnvironment* gEnv = nullptr; variable
69 gEnv->getInstance().c_str()); in SetUp()
76 mClient->createComponent(gEnv->getComponent().c_str(), mListener, in SetUp()
351 gEnv = new ComponentTestEnvironment(); in main()
352 ::testing::AddGlobalTestEnvironment(gEnv); in main()
354 gEnv->init(&argc, argv); in main()
355 int status = gEnv->initFromOptions(argc, argv); in main()

12