/cts/tests/media/src/android/mediav2/cts/ |
D | ExtractorTest.java | 711 private ArrayList<MediaCodec.BufferInfo> getSeekablePoints(String srcFile, String mime) 716 extractor.setDataSource(mInpPrefix + srcFile); 738 private ArrayList<SeekTestParams> generateSeekTestArgs(String srcFile, String mime, 744 extractor.setDataSource(mInpPrefix + srcFile); 766 ArrayList<MediaCodec.BufferInfo> bookmarks = getSeekablePoints(srcFile, mime); 821 int checkSeekPoints(String srcFile, String mime, 825 extractor.setDataSource(mInpPrefix + srcFile); 902 for (String srcFile : mSrcFiles) { 904 generateSeekTestArgs(srcFile, mMime, false); 908 int seekAccErrCnt = checkSeekPoints(srcFile, mMime, seekTestArgs); [all …]
|
D | CodecTestBase.java | 862 MediaFormat setUpSource(String srcFile) throws IOException { in setUpSource() argument 863 return setUpSource(mInpPrefix, srcFile); in setUpSource() 866 MediaFormat setUpSource(String prefix, String srcFile) throws IOException { in setUpSource() argument 868 mExtractor.setDataSource(prefix + srcFile); in setUpSource() 881 fail("No track with mime: " + mMime + " found in file: " + srcFile); in setUpSource() 1158 void setUpSource(String srcFile) throws IOException { in setUpSource() argument 1159 String inpPath = mInpPrefix + srcFile; in setUpSource()
|
D | MuxerTest.java | 412 public TestApi(int outFormat, String srcFile, String testName) { in TestApi() argument 414 mSrcFile = srcFile; in TestApi() 841 private native boolean nativeTestOffsetPts(int format, String srcFile, String dstFile, in nativeTestOffsetPts() argument 924 public TestSimpleMux(String mime, String srcFile) { in TestSimpleMux() argument 926 mSrcFile = srcFile; in TestSimpleMux()
|
D | CodecEncoderSurfaceTest.java | 177 private MediaFormat setUpSource(String srcFile) throws IOException { in setUpSource() argument 179 mExtractor.setDataSource(mInpPrefix + srcFile); in setUpSource() 193 fail("No video track found in file: " + srcFile); in setUpSource()
|
/cts/tests/media/jni/ |
D | NativeExtractorTest.cpp | 253 static std::vector<AMediaCodecBufferInfo*> getSeekablePoints(const char* srcFile, in getSeekablePoints() argument 257 FILE* srcFp = fopen(srcFile, "rbe"); in getSeekablePoints() 259 ALOGE("fopen failed for srcFile %s", srcFile); in getSeekablePoints() 297 static std::vector<SeekTestParams*> generateSeekTestArgs(const char* srcFile, const char* mime, in generateSeekTestArgs() argument 304 FILE* srcFp = fopen(srcFile, "rbe"); in generateSeekTestArgs() 306 ALOGE("fopen failed for srcFile %s", srcFile); in generateSeekTestArgs() 345 std::vector<AMediaCodecBufferInfo*> bookmarks = getSeekablePoints(srcFile, mime); in generateSeekTestArgs() 404 static int checkSeekPoints(const char* srcFile, const char* mime, in checkSeekPoints() argument 407 FILE* srcFp = fopen(srcFile, "rbe"); in checkSeekPoints()
|
D | NativeCodecDecoderTest.cpp | 44 bool setUpExtractor(const char* srcFile); 103 bool CodecDecoderTest::setUpExtractor(const char* srcFile) { in setUpExtractor() argument 104 FILE* fp = fopen(srcFile, "rbe"); in setUpExtractor()
|
D | NativeCodecEncoderSurfaceTest.cpp | 121 bool CodecEncoderSurfaceTest::setUpExtractor(const char* srcFile) { in setUpExtractor() argument 122 FILE* fp = fopen(srcFile, "rbe"); in setUpExtractor()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | ExifInterfaceTest.java | 475 File srcFile = new File(Environment.getExternalStorageDirectory(), fileName); in testSaveAttributes_withFileName() local 476 File imageFile = clone(srcFile); in testSaveAttributes_withFileName() 508 File srcFile = new File(Environment.getExternalStorageDirectory(), fileName); in testSaveAttributes_withFileDescriptor() local 509 File imageFile = clone(srcFile); in testSaveAttributes_withFileDescriptor() 656 File srcFile = new File(Environment.getExternalStorageDirectory(), in testSetDateTime() local 658 File imageFile = clone(srcFile); in testSetDateTime() 660 FileUtils.copyFileOrThrow(srcFile, imageFile); in testSetDateTime()
|
/cts/tools/vm-tests-tf/build/src/util/build/ |
D | BuildDalvikSuite.java | 282 File srcFile = new File(sourceFolder, fileName + ".java"); in generateBuildStepForDependant() local 283 if (srcFile.exists()) { in generateBuildStepForDependant()
|