/cts/tests/tests/media/player/src/android/media/player/cts/ |
D | StreamingMediaPlayerTest.java | 63 static final String mInpPrefix = WorkDir.getMediaDirString() + "assets/"; field in StreamingMediaPlayerTest 264 Preconditions.assertTestFileExists(mInpPrefix + name); in localHttpAudioStreamTest() 269 stream_url = mServer.getRedirectingAssetUrl(mInpPrefix + name, 4); in localHttpAudioStreamTest() 271 stream_url = mServer.getAssetUrl(mInpPrefix + name); in localHttpAudioStreamTest() 318 Preconditions.assertTestFileExists(mInpPrefix + name); in localHttpsAudioStreamTest() 325 stream_url = server.getRedirectingAssetUrl(mInpPrefix + name, 4); in localHttpsAudioStreamTest() 327 stream_url = server.getAssetUrl(mInpPrefix + name); in localHttpsAudioStreamTest() 388 Preconditions.assertTestFileExists(mInpPrefix + "prog_index.m3u8"); in testPlayHlsStreamWithTimedId3() 393 String stream_url = mServer.getAssetUrl(mInpPrefix + "prog_index.m3u8"); in testPlayHlsStreamWithTimedId3() 526 Preconditions.assertTestFileExists(mInpPrefix + "noiseandchirps.ogg"); in testBlockingReadRelease() [all …]
|
D | MediaPlayerFlakyNetworkTest.java | 62 static final String mInpPrefix = WorkDir.getMediaDirString(); field in MediaPlayerFlakyNetworkTest 130 Preconditions.assertTestFileExists(mInpPrefix + video); in getSupportedVideos() 131 if (MediaUtils.hasCodecsForPath(mContext, mInpPrefix + video)) { in getSupportedVideos() 277 Preconditions.assertTestFileExists(mInpPrefix + name); in localHttpStreamTest() 278 String stream_url = mServer.getAssetUrl(mInpPrefix + name); in localHttpStreamTest()
|
D | MediaPlayerRandomTest.java | 59 private static final String mInpPrefix = WorkDir.getMediaDirString(); field in MediaPlayerRandomTest 101 Preconditions.assertTestFileExists(mInpPrefix + res); in loadSource() 102 File inpFile = new File(mInpPrefix + res); in loadSource()
|
D | MediaPlayerTest.java | 118 static final String mInpPrefix = WorkDir.getMediaDirString(); field in MediaPlayerTest 167 Preconditions.assertTestFileExists(mInpPrefix + res); in getAssetFileDescriptorFor() 168 File inpFile = new File(mInpPrefix + res); in getAssetFileDescriptorFor() 183 Preconditions.assertTestFileExists(mInpPrefix + res); in loadResource() 184 if (!MediaUtils.hasCodecsForResource(mInpPrefix + res)) { in loadResource() 330 Preconditions.assertTestFileExists(mInpPrefix + res); in testPlayAudioFromDataURI() 331 InputStream is = new FileInputStream(mInpPrefix + res); in testPlayAudioFromDataURI() 403 String filePath = mInpPrefix + res; 460 Preconditions.assertTestFileExists(mInpPrefix + res); 462 () -> MediaPlayer.create(mContext, Uri.fromFile(new File(mInpPrefix + res)))) [all …]
|
/cts/tests/tests/media/drmframework/src/android/media/drmframework/cts/ |
D | MediaDrmExtractorTest.java | 46 static final String mInpPrefix = WorkDir.getMediaDirString(); field in MediaDrmExtractorTest 63 File inpFile = new File(mInpPrefix + res); in getAssetFileDescriptorFor() 64 Preconditions.assertTestFileExists(mInpPrefix + res); in getAssetFileDescriptorFor() 83 Preconditions.assertTestFileExists(mInpPrefix + "psshtest.mp4"); in testGetDrmInitData()
|
D | MediaDrmCodecBlockModelTest.java | 49 static final String mInpPrefix = WorkDir.getMediaDirString(); field in MediaDrmCodecBlockModelTest 53 File inpFile = new File(mInpPrefix + res); in getAssetFileDescriptorFor() 54 Preconditions.assertTestFileExists(mInpPrefix + res); in getAssetFileDescriptorFor() 111 extractor.setDataSource(mInpPrefix + "llama_h264_main_720p_8000.mp4", null); in runDecodeShortEncryptedVideo()
|
D | MediaDrmCodecCryptoAsyncTest.java | 45 static final String mInpPrefix = WorkDir.getMediaDirString(); field in MediaDrmCodecCryptoAsyncTest 174 extractor.setDataSource(mInpPrefix + "llama_h264_main_720p_8000.mp4", null); in setupExtractor()
|
/cts/tests/tests/media/misc/src/android/media/misc/cts/ |
D | MediaMetadataRetrieverTest.java | 91 static final String mInpPrefix = WorkDir.getMediaDirString(); field in MediaMetadataRetrieverTest 132 File inpFile = new File(mInpPrefix + res); in getAssetFileDescriptorFor() 133 Preconditions.assertTestFileExists(mInpPrefix + res); in getAssetFileDescriptorFor() 659 if (!MediaUtils.hasCodecForResourceAndDomain(mInpPrefix + res, "video/")) { in testThumbnail() 660 MediaUtils.skipTest("no video codecs for resource: " + mInpPrefix + res); in testThumbnail() 788 if (!MediaUtils.hasCodecForResourceAndDomain(mInpPrefix + res, "video/")) { in testThumbnailWithRotation() 789 MediaUtils.skipTest("no video codecs for resource: " + mInpPrefix + res); in testThumbnailWithRotation() 1032 if (!MediaUtils.hasCodecForResourceAndDomain(mInpPrefix + res, "video/") in testGetFrameAt() 1034 MediaUtils.skipTest("no video codecs for resource: " + mInpPrefix + res + " on watch"); in testGetFrameAt() 1094 if (!MediaUtils.hasCodecForResourceAndDomain(mInpPrefix + res, "video/") in testGetScaledFrameAtTimeWithInvalidResolutions() [all …]
|
D | ExifInterfaceTest.java | 75 static final String mInpPrefix = WorkDir.getMediaDirString() + "images/"; field in ExifInterfaceTest 425 Preconditions.assertTestFileExists(mInpPrefix + fileName); in readFromStandaloneDataWithExif() 426 File imageFile = new File(mInpPrefix, fileName); in readFromStandaloneDataWithExif() 445 File imageFile = new File(mInpPrefix, fileName); in testExifInterfaceCommon() 446 Preconditions.assertTestFileExists(mInpPrefix + fileName); in testExifInterfaceCommon() 483 Preconditions.assertTestFileExists(mInpPrefix + fileName); in testExifInterfaceRange() 484 File imageFile = new File(mInpPrefix, fileName); in testExifInterfaceRange() 540 Preconditions.assertTestFileExists(mInpPrefix + fileName); in writeToFilesWithExif() 541 File srcFile = new File(mInpPrefix, fileName); in writeToFilesWithExif() 625 Preconditions.assertTestFileExists(mInpPrefix + fileName); in writeToFilesWithoutExif() [all …]
|
D | ThumbnailUtilsTest.java | 211 final String mInpPrefix = WorkDir.getMediaDirString(); in stageFile() local 212 Preconditions.assertTestFileExists(mInpPrefix + res); in stageFile() 213 try (InputStream source = new FileInputStream(mInpPrefix + res); in stageFile()
|
D | NativeDecoderTest.java | 68 static final String mInpPrefix = WorkDir.getMediaDirString(); field in NativeDecoderTest 92 Preconditions.assertTestFileExists(mInpPrefix + res); in getAssetFileDescriptorFor() 93 File inpFile = new File(mInpPrefix + res); in getAssetFileDescriptorFor()
|
D | MediaScannerTest.java | 70 static final String mInpPrefix = WorkDir.getMediaDirString(); field in MediaScannerTest 94 Preconditions.assertTestFileExists(mInpPrefix + res); in getAssetFileDescriptorFor() 95 File inpFile = new File(mInpPrefix + res); in getAssetFileDescriptorFor() 114 copier.copyToExternalStorage(mInpPrefix + res, out); in writeFile()
|
D | MediaSyncTest.java | 65 static final String mInpPrefix = WorkDir.getMediaDirString(); field in MediaSyncTest 70 mInpPrefix + "video_480x360_mp4_h264_1350kbps_30fps_aac_stereo_192kbps_44100hz.mp4";
|
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/ |
D | DecoderConformanceTest.java | 76 private static final String mInpPrefix = WorkDir.getMediaDirString() + CONFORMANCE_SUBDIR; field in DecoderConformanceTest 118 InputStream is = new FileInputStream(mInpPrefix + fileName); in readResourceLines() 167 Preconditions.assertTestFileExists(mInpPrefix + res + "." + tag); in getAssetFileDescriptorFor() 168 File inpFile = new File(mInpPrefix + res + "." + tag); in getAssetFileDescriptorFor()
|
D | NativeDecoderTest.java | 75 static final String mInpPrefix = WorkDir.getMediaDirString(); field in NativeDecoderTest 120 Preconditions.assertTestFileExists(mInpPrefix + res); in getAssetFileDescriptorFor() 121 File inpFile = new File(mInpPrefix + res); in getAssetFileDescriptorFor() 166 Preconditions.assertTestFileExists(mInpPrefix + res); in testDecoder() 167 if (!MediaUtils.hasCodecsForResource(mInpPrefix + res)) { in testDecoder()
|
D | DecoderTest.java | 132 static final String mInpPrefix = WorkDir.getMediaDirString(); field in DecoderTest 142 File inpFile = new File(mInpPrefix + res); in getAssetFileDescriptorFor() 143 Preconditions.assertTestFileExists(mInpPrefix + res); in getAssetFileDescriptorFor() 308 Preconditions.assertTestFileExists(mInpPrefix + fileName); in testDecodeMonoGsm() 309 if (MediaUtils.hasCodecsForResource(mInpPrefix + fileName)) { in testDecodeMonoGsm() 501 Preconditions.assertTestFileExists(mInpPrefix + res); in testBFrames() 502 ex.setDataSource(mInpPrefix + res); in testBFrames() 685 Preconditions.assertTestFileExists(mInpPrefix + res); in testColorAspects() 686 MediaFormat format = MediaUtils.getTrackFormatForResource(mInpPrefix + res, "video"); in testColorAspects() 692 MediaUtils.skipTest(decoderName + " cannot play resource " + mInpPrefix + res); in testColorAspects() [all …]
|
D | DecoderTestAacFormat.java | 55 static final String mInpPrefix = WorkDir.getMediaDirString(); field in DecoderTestAacFormat 159 Preconditions.assertTestFileExists(mInpPrefix + testInput); in decodeUpdateFormat() 160 File inpFile = new File(mInpPrefix + testInput); in decodeUpdateFormat()
|
D | VideoDecoderPerfTest.java | 98 static final String mInpPrefix = WorkDir.getMediaDirString(); field in VideoDecoderPerfTest 237 final String video = mInpPrefix + filename; in doDecode() 411 Preconditions.assertTestFileExists(mInpPrefix + resources[i]); in getVideoTrackFormats() 412 formats[i] = MediaUtils.getTrackFormatForResource(mInpPrefix + resources[i], "video/"); in getVideoTrackFormats()
|
D | ImageReaderDecoderTest.java | 247 static final String mInpPrefix = WorkDir.getMediaDirString(); field in ImageReaderDecoderTest 362 Preconditions.assertTestFileExists(mInpPrefix + video); in decodeTest() 363 mExtractor.setDataSource(mInpPrefix + video); in decodeTest()
|
/cts/tests/tests/media/extractor/src/android/media/extractor/cts/ |
D | MediaExtractorTest.java | 86 static final String mInpPrefix = WorkDir.getMediaDirString(); field in MediaExtractorTest 105 File inpFile = new File(mInpPrefix + res); in getAssetFileDescriptorFor() 106 Preconditions.assertTestFileExists(mInpPrefix + res); in getAssetFileDescriptorFor() 478 Preconditions.assertTestFileExists(mInpPrefix + in testGetAudioPresentations() 949 Preconditions.assertTestFileExists(mInpPrefix + "psshtest.mp4"); in testFragmentedRead() 958 Preconditions.assertTestFileExists(mInpPrefix + "psshtest.mp4"); in testFragmentedHttpRead() 959 String url = server.getAssetUrl(mInpPrefix + "psshtest.mp4"); in testFragmentedHttpRead()
|
/cts/tests/tests/media/codec/src/android/media/codec/cts/ |
D | MediaCodecBlockModelTest.java | 81 static final String mInpPrefix = WorkDir.getMediaDirString(); field in MediaCodecBlockModelTest 85 File inpFile = new File(mInpPrefix + res); in getAssetFileDescriptorFor() 86 Preconditions.assertTestFileExists(mInpPrefix + res); in getAssetFileDescriptorFor()
|
D | ExtractDecodeEditEncodeMuxTest.java | 103 static final String mInpPrefix = WorkDir.getMediaDirString(); field in ExtractDecodeEditEncodeMuxTest 644 Preconditions.assertTestFileExists(mInpPrefix + res); in getAssetFileDescriptorFor() 645 File inpFile = new File(mInpPrefix + res); in getAssetFileDescriptorFor()
|
/cts/tests/tests/media/encoder/src/android/media/encoder/cts/ |
D | EncoderTest.java | 69 static final String mInpPrefix = WorkDir.getMediaDirString(); field in EncoderTest 327 Preconditions.assertTestFileExists(mInpPrefix + res); in testEncoder() 328 istream = new FileInputStream(mInpPrefix + res); in testEncoder()
|
/cts/tests/mediapc/src/android/mediapc/cts/ |
D | PlaybackFrameDrop.java | 208 File file = new File(mInpPrefix + srcFile); in setUpSourceFiles()
|
D | CodecTranscoderTestBase.java | 44 static final String mInpPrefix = WorkDir.getMediaDirString(); field in CodecTranscoderTestBase 94 mExtractor.setDataSource(mInpPrefix + srcFile); in setUpSource()
|