Home
last modified time | relevance | path

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

/aosp_15_r20/frameworks/av/media/module/codecs/amrwb/enc/test/
H A DAmrwbEncoderTest.cpp46 refFilePath = gEnv->getRes() + get<3>(params); in AmrwbEncoderTest()
72 string refFilePath; member in AmrwbEncoderTest
74 bool compareBinaryFiles(const string& refFilePath, const string& outFilePath);
77 bool AmrwbEncoderTest::compareBinaryFiles(const std::string &refFilePath, in compareBinaryFiles() argument
79 std::ifstream refFile(refFilePath, std::ios::binary | std::ios::ate); in compareBinaryFiles()
81 assert(refFile.is_open() && "Error opening reference file " + refFilePath); in compareBinaryFiles()
198 ASSERT_TRUE(compareBinaryFiles(refFilePath, OUTPUT_FILE)) in TEST_P()
200 << OUTPUT_FILE << " does not match the reference file " << refFilePath << "."; in TEST_P()
/aosp_15_r20/frameworks/av/media/module/codecs/amrnb/dec/test/
H A DAmrnbDecoderTest.cpp58 bool compareBinaryFiles(const std::string& refFilePath, const std::string& outFilePath);
102 bool AmrnbDecoderTest::compareBinaryFiles(const std::string &refFilePath, in compareBinaryFiles() argument
104 std::ifstream refFile(refFilePath, std::ios::binary | std::ios::ate); in compareBinaryFiles()
106 assert(refFile.is_open() && "Error opening reference file " + refFilePath); in compareBinaryFiles()
168 string refFilePath = gEnv->getRes() + std::get<1>(GetParam()); in TEST_P() local
169 ASSERT_TRUE(compareBinaryFiles(refFilePath, OUTPUT_FILE)) in TEST_P()
171 << " does not match the reference file " << refFilePath << "."; in TEST_P()
/aosp_15_r20/frameworks/av/media/module/codecs/amrwb/dec/test/
H A DAmrwbDecoderTest.cpp63 bool compareBinaryFiles(const std::string& refFilePath, const std::string& outFilePath);
125 bool AmrwbDecoderTest::compareBinaryFiles(const std::string &refFilePath, in compareBinaryFiles() argument
127 std::ifstream refFile(refFilePath, std::ios::binary | std::ios::ate); in compareBinaryFiles()
129 assert(refFile.is_open() && "Error opening reference file " + refFilePath); in compareBinaryFiles()
201 string refFilePath = gEnv->getRes() + std::get<1>(GetParam()); in TEST_P() local
202 ASSERT_TRUE(compareBinaryFiles(refFilePath, OUTPUT_FILE)) in TEST_P()
204 << OUTPUT_FILE << " does not match the reference file " << refFilePath << "."; in TEST_P()
/aosp_15_r20/frameworks/av/media/module/codecs/amrnb/enc/test/
H A DAmrnbEncoderTest.cpp57 bool compareBinaryFiles(const string& refFilePath, const string& outFilePath);
92 bool AmrnbEncoderTest::compareBinaryFiles(const std::string &refFilePath, in compareBinaryFiles() argument
94 std::ifstream refFile(refFilePath, std::ios::binary | std::ios::ate); in compareBinaryFiles()
96 assert(refFile.is_open() && "Error opening reference file " + refFilePath); in compareBinaryFiles()
176 string refFilePath = gEnv->getRes() + std::get<2>(GetParam()); in TEST_P() local
177 ASSERT_TRUE(compareBinaryFiles(refFilePath, OUTPUT_FILE)) in TEST_P()
179 << " does not match the reference file " << refFilePath << "."; in TEST_P()