/external/exoplayer/tree/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/flac/ |
D | FlacExtractorSeekTest.java | 53 Uri fileUri = TestUtil.buildAssetUri(TEST_FILE_SEEK_TABLE); in flacExtractorReads_seekTable_returnSeekableSeekMap() local 55 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in flacExtractorReads_seekTable_returnSeekableSeekMap() 65 Uri fileUri = TestUtil.buildAssetUri(fileName); in seeking_seekTable_handlesSeekToZero() local 66 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_seekTable_handlesSeekToZero() 72 extractor, seekMap, targetSeekTimeUs, dataSource, trackOutput, fileUri); in seeking_seekTable_handlesSeekToZero() 82 Uri fileUri = TestUtil.buildAssetUri(fileName); in seeking_seekTable_handlesSeekToEoF() local 83 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_seekTable_handlesSeekToEoF() 89 extractor, seekMap, targetSeekTimeUs, dataSource, trackOutput, fileUri); in seeking_seekTable_handlesSeekToEoF() 99 Uri fileUri = TestUtil.buildAssetUri(fileName); in seeking_seekTable_handlesSeekingBackward() local 100 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_seekTable_handlesSeekingBackward() [all …]
|
/external/exoplayer/tree/extensions/flac/src/androidTest/java/com/google/android/exoplayer2/ext/flac/ |
D | FlacExtractorSeekTest.java | 53 Uri fileUri = TestUtil.buildAssetUri(TEST_FILE_SEEK_TABLE); in flacExtractorReads_seekTable_returnSeekableSeekMap() local 55 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in flacExtractorReads_seekTable_returnSeekableSeekMap() 65 Uri fileUri = TestUtil.buildAssetUri(fileName); in seeking_seekTable_handlesSeekToZero() local 66 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_seekTable_handlesSeekToZero() 72 extractor, seekMap, targetSeekTimeUs, dataSource, trackOutput, fileUri); in seeking_seekTable_handlesSeekToZero() 82 Uri fileUri = TestUtil.buildAssetUri(fileName); in seeking_seekTable_handlesSeekToEoF() local 83 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_seekTable_handlesSeekToEoF() 89 extractor, seekMap, targetSeekTimeUs, dataSource, trackOutput, fileUri); in seeking_seekTable_handlesSeekToEoF() 99 Uri fileUri = TestUtil.buildAssetUri(fileName); in seeking_seekTable_handlesSeekingBackward() local 100 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_seekTable_handlesSeekingBackward() [all …]
|
/external/exoplayer/tree/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/amr/ |
D | AmrExtractorSeekTest.java | 61 Uri fileUri = TestUtil.buildAssetUri(fileName); in amrExtractorReads_returnSeekableSeekMap_forNarrowBandAmr() local 70 TestUtil.extractSeekMap(extractor, new FakeExtractorOutput(), dataSource, fileUri); in amrExtractorReads_returnSeekableSeekMap_forNarrowBandAmr() 81 Uri fileUri = TestUtil.buildAssetUri(fileName); in seeking_handlesSeekingToPositionInFile_extractsCorrectFrame_forNarrowBandAmr() local 91 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_handlesSeekingToPositionInFile_extractsCorrectFrame_forNarrowBandAmr() 97 extractor, seekMap, targetSeekTimeUs, dataSource, trackOutput, fileUri); in seeking_handlesSeekingToPositionInFile_extractsCorrectFrame_forNarrowBandAmr() 107 Uri fileUri = TestUtil.buildAssetUri(fileName); in seeking_handlesSeekToEoF_extractsLastFrame_forNarrowBandAmr() local 116 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_handlesSeekToEoF_extractsLastFrame_forNarrowBandAmr() 123 extractor, seekMap, targetSeekTimeUs, dataSource, trackOutput, fileUri); in seeking_handlesSeekToEoF_extractsLastFrame_forNarrowBandAmr() 134 Uri fileUri = TestUtil.buildAssetUri(fileName); in seeking_handlesSeekingBackward_extractsCorrectFrames_forNarrowBandAmr() local 143 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_handlesSeekingBackward_extractsCorrectFrames_forNarrowBandAmr() [all …]
|
/external/exoplayer/tree/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/ts/ |
D | TsExtractorSeekTest.java | 71 Uri fileUri = TestUtil.buildAssetUri(TEST_FILE); in tsExtractorReads_nonSeekTableFile_returnSeekableSeekMap() local 75 TestUtil.extractSeekMap(extractor, new FakeExtractorOutput(), dataSource, fileUri); in tsExtractorReads_nonSeekTableFile_returnSeekableSeekMap() 86 Uri fileUri = TestUtil.buildAssetUri(TEST_FILE); in handlePendingSeek_handlesSeekingToPositionInFile_extractsCorrectFrame() local 89 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in handlePendingSeek_handlesSeekingToPositionInFile_extractsCorrectFrame() 95 extractor, seekMap, targetSeekTimeUs, dataSource, trackOutput, fileUri); in handlePendingSeek_handlesSeekingToPositionInFile_extractsCorrectFrame() 105 Uri fileUri = TestUtil.buildAssetUri(TEST_FILE); in handlePendingSeek_handlesSeekToEoF_extractsLastFrame() local 108 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in handlePendingSeek_handlesSeekToEoF_extractsLastFrame() 115 extractor, seekMap, targetSeekTimeUs, dataSource, trackOutput, fileUri); in handlePendingSeek_handlesSeekToEoF_extractsLastFrame() 125 Uri fileUri = TestUtil.buildAssetUri(TEST_FILE); in handlePendingSeek_handlesSeekingBackward_extractsCorrectFrame() local 128 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in handlePendingSeek_handlesSeekingBackward_extractsCorrectFrame() [all …]
|
D | AdtsExtractorSeekTest.java | 59 Uri fileUri = TestUtil.buildAssetUri(fileName); in adtsExtractorReads_returnSeekableSeekMap() local 68 TestUtil.extractSeekMap(extractor, new FakeExtractorOutput(), dataSource, fileUri); in adtsExtractorReads_returnSeekableSeekMap() 78 Uri fileUri = TestUtil.buildAssetUri(fileName); in seeking_handlesSeekingToPositionInFile_extractsCorrectSample() local 88 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_handlesSeekingToPositionInFile_extractsCorrectSample() 94 extractor, seekMap, targetSeekTimeUs, dataSource, trackOutput, fileUri); in seeking_handlesSeekingToPositionInFile_extractsCorrectSample() 104 Uri fileUri = TestUtil.buildAssetUri(fileName); in seeking_handlesSeekToEoF_extractsLastSample() local 113 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_handlesSeekToEoF_extractsLastSample() 120 extractor, seekMap, targetSeekTimeUs, dataSource, trackOutput, fileUri); in seeking_handlesSeekToEoF_extractsLastSample() 130 Uri fileUri = TestUtil.buildAssetUri(fileName); in seeking_handlesSeekingBackward_extractsCorrectSamples() local 139 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_handlesSeekingBackward_extractsCorrectSamples() [all …]
|
/external/exoplayer/tree/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/mp3/ |
D | ConstantBitrateSeekerTest.java | 61 Uri fileUri = TestUtil.buildAssetUri(CONSTANT_FRAME_SIZE_TEST_FILE); in mp3ExtractorReads_returnSeekableCbrSeeker() local 63 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in mp3ExtractorReads_returnSeekableCbrSeeker() 73 Uri fileUri = TestUtil.buildAssetUri(fileName); in seeking_handlesSeekToZero() local 74 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_handlesSeekToZero() 80 extractor, seekMap, targetSeekTimeUs, dataSource, trackOutput, fileUri); in seeking_handlesSeekToZero() 90 Uri fileUri = TestUtil.buildAssetUri(fileName); in seeking_handlesSeekToEoF() local 91 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_handlesSeekToEoF() 97 extractor, seekMap, targetSeekTimeUs, dataSource, trackOutput, fileUri); in seeking_handlesSeekToEoF() 107 Uri fileUri = TestUtil.buildAssetUri(fileName); in seeking_handlesSeekingBackward() local 108 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_handlesSeekingBackward() [all …]
|
D | IndexSeekerTest.java | 61 Uri fileUri = TestUtil.buildAssetUri(TEST_FILE_NO_SEEK_TABLE); in mp3ExtractorReads_returnsSeekableSeekMap() local 63 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in mp3ExtractorReads_returnsSeekableSeekMap() 82 Uri fileUri = TestUtil.buildAssetUri(fileName); in seeking_handlesSeekToZero() local 83 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_handlesSeekToZero() 89 extractor, seekMap, targetSeekTimeUs, dataSource, trackOutput, fileUri); in seeking_handlesSeekToZero() 100 Uri fileUri = TestUtil.buildAssetUri(fileName); in seeking_handlesSeekToEof() local 101 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_handlesSeekToEof() 107 extractor, seekMap, targetSeekTimeUs, dataSource, trackOutput, fileUri); in seeking_handlesSeekToEof() 118 Uri fileUri = TestUtil.buildAssetUri(fileName); in seeking_handlesSeekingBackward() local 119 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_handlesSeekingBackward() [all …]
|
/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/ |
D | PathTypeTest.java | 67 URI fileUri = type.toUri(fileSystemUri, "$", ImmutableList.of("foo", "bar"), false); in testToUri() local 68 assertThat(fileUri.toString()).isEqualTo("jimfs://foo/$/foo/bar"); in testToUri() 69 assertThat(fileUri.getPath()).isEqualTo("/$/foo/bar"); in testToUri() 82 URI fileUri = type.toUri(fileSystemUri, "$", ImmutableList.of("foo", "bar baz"), false); in testToUri_escaping() local 83 assertThat(fileUri.toString()).isEqualTo("jimfs://foo/$/foo/bar%20baz"); in testToUri_escaping() 84 assertThat(fileUri.getRawPath()).isEqualTo("/$/foo/bar%20baz"); in testToUri_escaping() 85 assertThat(fileUri.getPath()).isEqualTo("/$/foo/bar baz"); in testToUri_escaping()
|
D | WindowsPathTypeTest.java | 162 URI fileUri = in testWindows_toUri_normal() local 164 assertThat(fileUri.toString()).isEqualTo("jimfs://foo/C:/foo/bar"); in testWindows_toUri_normal() 165 assertThat(fileUri.getPath()).isEqualTo("/C:/foo/bar"); in testWindows_toUri_normal() 179 URI fileUri = in testWindows_toUri_unc() local 182 assertThat(fileUri.toString()).isEqualTo("jimfs://foo//host/share/foo/bar"); in testWindows_toUri_unc() 183 assertThat(fileUri.getPath()).isEqualTo("//host/share/foo/bar"); in testWindows_toUri_unc()
|
D | UnixPathTypeTest.java | 59 URI fileUri = PathType.unix().toUri(fileSystemUri, "/", ImmutableList.of("foo", "bar"), false); in testUnix_toUri() local 60 assertThat(fileUri.toString()).isEqualTo("jimfs://foo/foo/bar"); in testUnix_toUri() 61 assertThat(fileUri.getPath()).isEqualTo("/foo/bar"); in testUnix_toUri()
|
/external/lottie/LottieSample/src/main/kotlin/com/airbnb/lottie/samples/ |
D | PlayerViewModel.kt | 44 args.fileUri != null -> taskForUri(args.fileUri) in fetchAnimation()
|
D | PlayerActivity.kt | 17 CompositionArgs(fileUri = intent.data) in onCreate()
|
D | PreviewFragment.kt | 103 …RC_FILE-> startActivity(PlayerActivity.intent(requireContext(), CompositionArgs(fileUri = data?.da… in <lambda>()
|
/external/lottie/LottieSample/src/main/kotlin/com/airbnb/lottie/samples/model/ |
D | CompositionArgs.kt | 13 val fileUri: Uri? = null, constant in com.airbnb.lottie.samples.model.CompositionArgs
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/upstream/cache/ |
D | CacheDataSource.java | 692 Uri fileUri = Uri.fromFile(nextSpan.file); in openNextSource() local 702 .setUri(fileUri) in openNextSource()
|