/frameworks/av/media/libstagefright/tests/extractorFactory/ |
D | ExtractorFactoryTest.cpp | 50 int32_t createDataSource(string inputFileName); 57 int32_t ExtractorFactoryTest::createDataSource(string inputFileName) { in createDataSource() argument 58 FILE *mInputFp = fopen(inputFileName.c_str(), "rb"); in createDataSource() 60 ALOGE("Unable to open input file : %s for reading", inputFileName.c_str()); in createDataSource() 64 int32_t status = stat(inputFileName.c_str(), &buf); in createDataSource() 66 ALOGE("Failed to read file properties for input file : %s", inputFileName.c_str()); in createDataSource() 71 ALOGE("Invalid file descriptor for input file : %s", inputFileName.c_str()); in createDataSource() 110 string inputFileName = gEnv->getRes() + GetParam().first; in TEST_P() local 115 int32_t status = createDataSource(inputFileName); in TEST_P() 119 ASSERT_EQ(status, 0) << "Extractor creation failed for input: " << inputFileName; in TEST_P()
|
/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 outputFilePath, 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/extractors/tests/ |
D | ExtractorUnitTest.cpp | 88 int32_t setDataSource(string inputFileName); 115 int32_t ExtractorUnitTest::setDataSource(string inputFileName) { in setDataSource() argument 116 mInputFp = fopen(inputFileName.c_str(), "rb"); in setDataSource() 122 stat(inputFileName.c_str(), &buf); in setDataSource() 197 string inputFileName = gEnv->getRes() + GetParam().second; in TEST_P() local 199 ASSERT_EQ(setDataSource(inputFileName), 0) in TEST_P() 219 string inputFileName = gEnv->getRes() + GetParam().second; in TEST_P() local 221 int32_t status = setDataSource(inputFileName); in TEST_P() 269 string inputFileName = gEnv->getRes() + GetParam().second; in TEST_P() local 271 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/base/apct-tests/perftests/core/src/android/app/ |
D | ResourcesManagerPerfTest.java | 66 private static File copyApkToTemp(String inputFileName, String fileName) throws Exception { in copyApkToTemp() argument 69 InputStream is = sContext.getResources().getAssets().openNonAsset(inputFileName)) { in copyApkToTemp()
|
/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/tests/writer/ |
D | WriterTest.cpp | 134 void getInputBufferInfo(string inputFileName, string inputInfo); 164 void WriterTest::getInputBufferInfo(string inputFileName, string inputInfo) { in getInputBufferInfo() argument 179 mInputStream.open(inputFileName.c_str(), std::ifstream::binary); in getInputBufferInfo()
|
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/androidTest/java/com/android/media/benchmark/tests/ |
D | EncoderTest.java | 92 public EncoderTest(String inputFileName) { in EncoderTest() argument 93 this.mInputFile = inputFileName; in EncoderTest()
|
/frameworks/base/services/core/java/com/android/server/wallpaper/ |
D | WallpaperManagerService.java | 954 WallpaperData(int userId, File wallpaperDir, String inputFileName, String cropFileName) { in WallpaperData() argument 956 wallpaperFile = new File(wallpaperDir, inputFileName); in WallpaperData()
|