/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/upstream/ |
D | BaseDataSourceTest.java | 35 TestTransferListener transferListener = new TestTransferListener(); in dataTransfer_withLocalSource_isReported() local 36 testSource.addTransferListener(transferListener); in dataTransfer_withLocalSource_isReported() 43 assertThat(transferListener.lastTransferInitializingSource).isSameInstanceAs(testSource); in dataTransfer_withLocalSource_isReported() 44 assertThat(transferListener.lastTransferStartSource).isSameInstanceAs(testSource); in dataTransfer_withLocalSource_isReported() 45 assertThat(transferListener.lastBytesTransferredSource).isSameInstanceAs(testSource); in dataTransfer_withLocalSource_isReported() 46 assertThat(transferListener.lastTransferEndSource).isSameInstanceAs(testSource); in dataTransfer_withLocalSource_isReported() 48 assertThat(transferListener.lastTransferInitializingDataSpec).isEqualTo(dataSpec); in dataTransfer_withLocalSource_isReported() 49 assertThat(transferListener.lastTransferStartDataSpec).isEqualTo(dataSpec); in dataTransfer_withLocalSource_isReported() 50 assertThat(transferListener.lastBytesTransferredDataSpec).isEqualTo(dataSpec); in dataTransfer_withLocalSource_isReported() 51 assertThat(transferListener.lastTransferEndDataSpec).isEqualTo(dataSpec); in dataTransfer_withLocalSource_isReported() [all …]
|
/external/exoplayer/tree/extensions/cronet/src/main/java/com/google/android/exoplayer2/ext/cronet/ |
D | CronetDataSourceFactory.java | 46 @Nullable private final TransferListener transferListener; field in CronetDataSourceFactory 199 @Nullable TransferListener transferListener, in CronetDataSourceFactory() argument 204 transferListener, in CronetDataSourceFactory() 229 @Nullable TransferListener transferListener, in CronetDataSourceFactory() argument 234 transferListener, in CronetDataSourceFactory() 240 transferListener, in CronetDataSourceFactory() 263 @Nullable TransferListener transferListener, in CronetDataSourceFactory() argument 271 transferListener, in CronetDataSourceFactory() 276 userAgent, transferListener, connectTimeoutMs, readTimeoutMs, resetTimeoutOnRedirects)); in CronetDataSourceFactory() 297 @Nullable TransferListener transferListener, in CronetDataSourceFactory() argument [all …]
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/upstream/ |
D | DefaultDataSource.java | 137 public void addTransferListener(TransferListener transferListener) { in addTransferListener() argument 138 baseDataSource.addTransferListener(transferListener); in addTransferListener() 139 transferListeners.add(transferListener); in addTransferListener() 140 maybeAddListenerToDataSource(fileDataSource, transferListener); in addTransferListener() 141 maybeAddListenerToDataSource(assetDataSource, transferListener); in addTransferListener() 142 maybeAddListenerToDataSource(contentDataSource, transferListener); in addTransferListener() 143 maybeAddListenerToDataSource(rtmpDataSource, transferListener); in addTransferListener() 144 maybeAddListenerToDataSource(udpDataSource, transferListener); in addTransferListener() 145 maybeAddListenerToDataSource(dataSchemeDataSource, transferListener); in addTransferListener() 146 maybeAddListenerToDataSource(rawResourceDataSource, transferListener); in addTransferListener()
|
D | BaseDataSource.java | 49 public final void addTransferListener(TransferListener transferListener) { in addTransferListener() argument 50 if (!listeners.contains(transferListener)) { in addTransferListener() 51 listeners.add(transferListener); in addTransferListener()
|
D | PriorityDataSource.java | 57 public void addTransferListener(TransferListener transferListener) { in addTransferListener() argument 58 upstream.addTransferListener(transferListener); in addTransferListener()
|
D | ResolvingDataSource.java | 97 public void addTransferListener(TransferListener transferListener) { in addTransferListener() argument 98 upstreamDataSource.addTransferListener(transferListener); in addTransferListener()
|
D | TeeDataSource.java | 47 public void addTransferListener(TransferListener transferListener) { in addTransferListener() argument 48 upstream.addTransferListener(transferListener); in addTransferListener()
|
D | StatsDataSource.java | 74 public void addTransferListener(TransferListener transferListener) { in addTransferListener() argument 75 dataSource.addTransferListener(transferListener); in addTransferListener()
|
D | DummyDataSource.java | 35 public void addTransferListener(TransferListener transferListener) { in addTransferListener() argument
|
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/ |
D | FakeAdaptiveMediaPeriod.java | 47 @Nullable private final TransferListener transferListener; field in FakeAdaptiveMediaPeriod 60 @Nullable TransferListener transferListener) { in FakeAdaptiveMediaPeriod() argument 64 this.transferListener = transferListener; in FakeAdaptiveMediaPeriod() 147 chunkSourceFactory.createChunkSource(trackSelection, durationUs, transferListener); in createSampleStream()
|
D | FakeAdaptiveMediaSource.java | 50 @Nullable TransferListener transferListener) { in createFakeMediaPeriod() argument 58 transferListener); in createFakeMediaPeriod()
|
D | FakeMediaSource.java | 81 @Nullable private TransferListener transferListener; field in FakeMediaSource 138 transferListener = mediaTransferListener; in prepareSourceInternal() 162 createFakeMediaPeriod(id, trackGroupArray, allocator, eventDispatcher, transferListener); in createPeriod() 246 @Nullable TransferListener transferListener) { in createFakeMediaPeriod() argument
|
D | FakeChunkSource.java | 60 @Nullable TransferListener transferListener) { in createChunkSource() argument 65 if (transferListener != null) { in createChunkSource() 66 dataSource.addTransferListener(transferListener); in createChunkSource()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/ |
D | SingleSampleMediaPeriod.java | 56 @Nullable private final TransferListener transferListener; field in SingleSampleMediaPeriod 76 @Nullable TransferListener transferListener, in SingleSampleMediaPeriod() argument 84 this.transferListener = transferListener; in SingleSampleMediaPeriod() 154 if (transferListener != null) { in continueLoading() 155 dataSource.addTransferListener(transferListener); in continueLoading()
|
D | ProgressiveMediaSource.java | 220 @Nullable private TransferListener transferListener; field in ProgressiveMediaSource 252 transferListener = mediaTransferListener; in prepareSourceInternal() 265 if (transferListener != null) { in createPeriod() 266 dataSource.addTransferListener(transferListener); in createPeriod()
|
D | IcyDataSource.java | 69 public void addTransferListener(TransferListener transferListener) { in addTransferListener() argument 70 upstream.addTransferListener(transferListener); in addTransferListener()
|
D | SingleSampleMediaSource.java | 188 @Nullable private TransferListener transferListener; field in SingleSampleMediaSource 311 transferListener = mediaTransferListener; in prepareSourceInternal() 325 transferListener, in createPeriod()
|
/external/exoplayer/tree/library/smoothstreaming/src/main/java/com/google/android/exoplayer2/source/smoothstreaming/ |
D | SsMediaPeriod.java | 48 @Nullable private final TransferListener transferListener; field in SsMediaPeriod 66 @Nullable TransferListener transferListener, in SsMediaPeriod() argument 75 this.transferListener = transferListener; in SsMediaPeriod() 247 transferListener); in buildSampleStream()
|
D | SsChunkSource.java | 49 @Nullable TransferListener transferListener); in createChunkSource() argument
|
D | DefaultSsChunkSource.java | 64 @Nullable TransferListener transferListener) { in createChunkSource() argument 66 if (transferListener != null) { in createChunkSource() 67 dataSource.addTransferListener(transferListener); in createChunkSource()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/upstream/crypto/ |
D | AesCipherDataSource.java | 47 public void addTransferListener(TransferListener transferListener) { in addTransferListener() argument 48 upstream.addTransferListener(transferListener); in addTransferListener()
|
/external/exoplayer/tree/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/ |
D | Aes128DataSource.java | 68 public final void addTransferListener(TransferListener transferListener) { in addTransferListener() argument 69 upstream.addTransferListener(transferListener); in addTransferListener()
|
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/upstream/ |
D | DataSource.java | 45 void addTransferListener(TransferListener transferListener); in addTransferListener() argument
|
/external/exoplayer/tree/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/ |
D | DashChunkSource.java | 64 @Nullable TransferListener transferListener); in createDashChunkSource() argument
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/upstream/cache/ |
D | CacheDataSource.java | 544 public void addTransferListener(TransferListener transferListener) { in addTransferListener() argument 545 cacheReadDataSource.addTransferListener(transferListener); in addTransferListener() 546 upstreamDataSource.addTransferListener(transferListener); in addTransferListener()
|