/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/test/ |
D | Mpeg4H263DecoderTest.cpp | 67 if (mEleStream.is_open()) mEleStream.close(); in ~Mpeg4H263DecoderTest() 84 ifstream &mEleStream, ofstream &ostrm, MP4DecodingMode inputMode); 87 ifstream mEleStream; member in Mpeg4H263DecoderTest 155 int32_t range, ifstream &mEleStream, in processMpeg4H263Decoder() argument 173 mEleStream.read(mInputBuffer, bytesCount); in processMpeg4H263Decoder() 174 ASSERT_EQ(mEleStream.gcount(), bytesCount) << "mEleStream.gcount() != bytesCount"; in processMpeg4H263Decoder() 319 mEleStream.open(inputFileName, ifstream::binary); in TEST_P() 320 ASSERT_EQ(mEleStream.is_open(), true) << "Failed to open " << get<0>(params); in TEST_P() 337 processMpeg4H263Decoder(Info, 0, Info.size(), mEleStream, ostrm, inputMode)); in TEST_P() 348 mEleStream.open(inputFileName, ifstream::binary); in TEST_P() [all …]
|
/frameworks/av/media/libstagefright/foundation/tests/OpusHeader/ |
D | OpusHeaderTest.cpp | 73 if (mEleStream.is_open()) mEleStream.close(); in ~OpusHeaderTest() 79 ifstream mEleStream; member in OpusHeaderTest 120 mEleStream.open(referenceFileName, ifstream::binary); in TEST_P() 121 ASSERT_EQ(mEleStream.is_open(), true) << "Failed to open referenceFileName " << get<2>(params); in TEST_P() 131 mEleStream.read(reinterpret_cast<char *>(mInputBuffer), fileSize); in TEST_P() 132 ASSERT_EQ(mEleStream.gcount(), fileSize) << "mEleStream.gcount() != bytesCount"; in TEST_P() 209 mEleStream.open(inputFileName, ifstream::binary); in TEST_P() 210 ASSERT_EQ(mEleStream.is_open(), true) << "Failed to open inputfile " << get<0>(params); in TEST_P() 222 mEleStream.read(reinterpret_cast<char *>(mInputBuffer), fileSize); in TEST_P() 223 ASSERT_EQ(mEleStream.gcount(), fileSize) << "mEleStream.gcount() != bytesCount"; in TEST_P()
|
/frameworks/av/media/libstagefright/flac/dec/test/ |
D | FlacDecoderTest.cpp | 48 if (mEleStream.is_open()) mEleStream.close(); in ~FLACDecoderTest() 66 ifstream mEleStream; member in FLACDecoderTest 110 mEleStream.read(data, size); in processFlacDecoder() 111 if (mEleStream.gcount() != size) { in processFlacDecoder() 116 ALOGE("Invalid size read, requested: %d and read: %zu", size, mEleStream.gcount()); in processFlacDecoder() 206 mEleStream.open(inputFileName, ifstream::binary); in TEST_P() 207 ASSERT_EQ(mEleStream.is_open(), true); in TEST_P() 235 mEleStream.open(inputFileName, ifstream::binary); in TEST_P() 236 ASSERT_EQ(mEleStream.is_open(), true); in TEST_P()
|
/frameworks/av/media/libstagefright/timedtext/test/ |
D | TimedTextUnitTest.cpp | 98 if (mEleStream) mEleStream.close(); in ~TimedTextUnitTest() 103 mEleStream.open(mInputFileName, ifstream::binary); in SetUp() 104 ASSERT_EQ(mEleStream.is_open(), true) << "Failed to open " << GetParam(); in SetUp() 115 ifstream mEleStream; member in TimedTextUnitTest 130 mEleStream.read(data, sizeof(data)); in TEST_P() 131 ASSERT_EQ(mEleStream.gcount(), mFileSize); in TEST_P() 167 mEleStream.read(data, sizeof(data)); in TEST_P() 168 ASSERT_EQ(mEleStream.gcount(), mFileSize); in TEST_P()
|
/frameworks/av/media/libstagefright/xmlparser/test/ |
D | XMLParserTest.cpp | 51 if (mEleStream.is_open()) mEleStream.close(); in ~XMLParseTest() 77 ifstream mEleStream; member in XMLParseTest 284 mEleStream.open(inputFileName, ifstream::binary); in TEST_F() 285 ASSERT_EQ(mEleStream.is_open(), true) << "Failed to open inputfile " << inputFileName; in TEST_F() 330 mEleStream.open(inputFileName, ifstream::binary); in TEST_F() 331 ASSERT_EQ(mEleStream.is_open(), true) << "Failed to open inputfile " << inputFileName; in TEST_F() 369 mEleStream.open(inputFileName, ifstream::binary); in TEST_F() 370 ASSERT_EQ(mEleStream.is_open(), true) << "Failed to open inputfile " << inputFileName; in TEST_F()
|
/frameworks/av/media/tests/benchmark/src/native/encoder/ |
D | Encoder.cpp | 76 mEleStream->read(buf, bytesToRead); in onInputAvailable() 77 size_t bytesgcount = mEleStream->gcount(); in onInputAvailable() 179 if (mEleStream) mEleStream = nullptr; in resetEncoder() 194 mEleStream = &eleStream; in encode()
|
D | Encoder.h | 99 std::ifstream *mEleStream; variable
|