/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/java/com/android/media/benchmark/library/ |
D | Native.java | 22 public native int Extract(String inputFilePath, String inputFileName, String statsFile); in Extract() argument 24 public native int Mux(String inputFilePath, String inputFileName, String outputFilePath, in Mux() argument 27 public native int Decode(String inputFilePath, String inputFileName, String statsFile, in Decode() argument 30 public native int Encode(String inputFilePath, String inputFileName, String statsFile, in Encode() argument
|
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/cpp/ |
D | NativeExtractor.cpp | 32 const char *inputFileName = env->GetStringUTFChars(jInputFileName, nullptr); in Java_com_android_media_benchmark_library_Native_Extract() local 33 string sFilePath = string(inputFilePath) + string(inputFileName); in Java_com_android_media_benchmark_library_Native_Extract() 74 extractObj->dumpStatistics(string(inputFileName), string(mime), statsFile); in Java_com_android_media_benchmark_library_Native_Extract() 77 env->ReleaseStringUTFChars(jInputFileName, inputFileName); in Java_com_android_media_benchmark_library_Native_Extract()
|
D | NativeMuxer.cpp | 35 const char *inputFileName = env->GetStringUTFChars(jInputFileName, nullptr); in Java_com_android_media_benchmark_library_Native_Mux() local 36 string sInputFile = string(inputFilePath) + string(inputFileName); in Java_com_android_media_benchmark_library_Native_Mux() 141 muxerObj->dumpStatistics(string(inputFileName), muxFormat, statsFile); in Java_com_android_media_benchmark_library_Native_Mux() 144 env->ReleaseStringUTFChars(jInputFileName, inputFileName); in Java_com_android_media_benchmark_library_Native_Mux()
|
/frameworks/av/media/libstagefright/xmlparser/test/ |
D | XMLParserTest.cpp | 283 string inputFileName = gEnv->getRes() + XML_FILE_NAME; in TEST_F() local 284 mEleStream.open(inputFileName, ifstream::binary); in TEST_F() 285 ASSERT_EQ(mEleStream.is_open(), true) << "Failed to open inputfile " << inputFileName; in TEST_F() 287 mParser.parseXmlPath(inputFileName); in TEST_F() 329 string inputFileName = gEnv->getRes() + XML_FILE_NAME; in TEST_F() local 330 mEleStream.open(inputFileName, ifstream::binary); in TEST_F() 331 ASSERT_EQ(mEleStream.is_open(), true) << "Failed to open inputfile " << inputFileName; in TEST_F() 333 mParser.parseXmlPath(inputFileName); in TEST_F() 368 string inputFileName = gEnv->getRes() + XML_FILE_NAME; in TEST_F() local 369 mEleStream.open(inputFileName, ifstream::binary); in TEST_F() [all …]
|
/frameworks/av/media/extractors/tests/ |
D | ExtractorUnitTest.cpp | 155 int32_t setDataSource(string inputFileName); 215 int32_t ExtractorUnitTest::setDataSource(string inputFileName) { in setDataSource() argument 216 mInputFp = fopen(inputFileName.c_str(), "rb"); in setDataSource() 222 stat(inputFileName.c_str(), &buf); in setDataSource() 366 string inputFileName = gEnv->getRes() + get<1>(GetParam()); in TEST_P() local 368 int32_t status = setDataSource(inputFileName); in TEST_P() 389 string inputFileName = gEnv->getRes() + get<1>(GetParam()); in TEST_P() local 391 int32_t status = setDataSource(inputFileName); in TEST_P() 440 string inputFileName = gEnv->getRes() + get<1>(GetParam()); in TEST_P() local 442 int32_t status = setDataSource(inputFileName); in TEST_P() [all …]
|
/frameworks/av/media/libstagefright/flac/dec/test/ |
D | FlacDecoderTest.cpp | 199 string inputFileName = gEnv->getRes() + get<0>(params); in TEST_P() local 206 mEleStream.open(inputFileName, ifstream::binary); in TEST_P() 228 string inputFileName = gEnv->getRes() + get<0>(params); in TEST_P() local 235 mEleStream.open(inputFileName, ifstream::binary); in TEST_P()
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/test/ |
D | Mpeg4H263DecoderTest.cpp | 318 string inputFileName = gEnv->getRes() + get<0>(params); in TEST_P() local 319 mEleStream.open(inputFileName, ifstream::binary); in TEST_P() 347 string inputFileName = gEnv->getRes() + get<0>(params); in TEST_P() local 348 mEleStream.open(inputFileName, ifstream::binary); in TEST_P()
|
/frameworks/av/media/libstagefright/foundation/tests/OpusHeader/ |
D | OpusHeaderTest.cpp | 208 string inputFileName = gEnv->getRes() + get<0>(params); in TEST_P() local 209 mEleStream.open(inputFileName, ifstream::binary); in TEST_P() 217 stat(inputFileName.c_str(), &buf); in TEST_P()
|
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/androidTest/java/com/android/media/benchmark/tests/ |
D | EncoderTest.java | 168 private static int decodeFile(String inputFileName, File outputDecodeFile) throws IOException { in decodeFile() argument 170 File inputFile = new File(inputFileName); in decodeFile() 171 assertTrue("Cannot open input file " + inputFileName, inputFile.exists()); in decodeFile()
|
/frameworks/av/media/libstagefright/tests/writer/ |
D | WriterTest.cpp | 161 void getInputBufferInfo(string inputFileName, string inputInfo, int32_t idx = 0); 199 void WriterTest::getInputBufferInfo(string inputFileName, string inputInfo, int32_t idx) { in getInputBufferInfo() argument 216 mInputStream[idx].open(inputFileName.c_str(), std::ifstream::binary); in getInputBufferInfo()
|
/frameworks/base/services/core/java/com/android/server/wallpaper/ |
D | WallpaperManagerService.java | 952 WallpaperData(int userId, String inputFileName, String cropFileName) { in WallpaperData() argument 955 wallpaperFile = new File(wallpaperDir, inputFileName); in WallpaperData()
|