Home
last modified time | relevance | path

Searched refs:isNetwork (Results 1 – 7 of 7) sorted by relevance

/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/upstream/
DBaseDataSource.java32 private final boolean isNetwork; field in BaseDataSource
43 protected BaseDataSource(boolean isNetwork) { in BaseDataSource() argument
44 this.isNetwork = isNetwork; in BaseDataSource()
63 listeners.get(i).onTransferInitializing(/* source= */ this, dataSpec, isNetwork); in transferInitializing()
75 listeners.get(i).onTransferStart(/* source= */ this, dataSpec, isNetwork); in transferStarted()
90 .onBytesTransferred(/* source= */ this, dataSpec, isNetwork, bytesTransferred); in bytesTransferred()
98 listeners.get(i).onTransferEnd(/* source= */ this, dataSpec, isNetwork); in transferEnded()
DDefaultBandwidthMeter.java323 public void onTransferInitializing(DataSource source, DataSpec dataSpec, boolean isNetwork) { in onTransferInitializing() argument
329 DataSource source, DataSpec dataSpec, boolean isNetwork) { in onTransferStart() argument
330 if (!isTransferAtFullNetworkSpeed(dataSpec, isNetwork)) { in onTransferStart()
341 DataSource source, DataSpec dataSpec, boolean isNetwork, int bytes) { in onBytesTransferred() argument
342 if (!isTransferAtFullNetworkSpeed(dataSpec, isNetwork)) { in onBytesTransferred()
349 public synchronized void onTransferEnd(DataSource source, DataSpec dataSpec, boolean isNetwork) { in onTransferEnd() argument
350 if (!isTransferAtFullNetworkSpeed(dataSpec, isNetwork)) { in onTransferEnd()
424 private static boolean isTransferAtFullNetworkSpeed(DataSpec dataSpec, boolean isNetwork) { in isTransferAtFullNetworkSpeed() argument
425 return isNetwork && !dataSpec.isFlagSet(DataSpec.FLAG_MIGHT_NOT_USE_FULL_NETWORK_SPEED); in isTransferAtFullNetworkSpeed()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/upstream/
DBaseDataSourceTest.java92 public TestSource(boolean isNetwork) { in TestSource() argument
93 super(isNetwork); in TestSource()
141 public void onTransferInitializing(DataSource source, DataSpec dataSpec, boolean isNetwork) { in onTransferInitializing() argument
144 lastTransferInitializingIsNetwork = isNetwork; in onTransferInitializing()
148 public void onTransferStart(DataSource source, DataSpec dataSpec, boolean isNetwork) { in onTransferStart() argument
151 lastTransferStartIsNetwork = isNetwork; in onTransferStart()
156 DataSource source, DataSpec dataSpec, boolean isNetwork, int bytesTransferred) { in onBytesTransferred() argument
159 lastBytesTransferredIsNetwork = isNetwork; in onBytesTransferred()
164 public void onTransferEnd(DataSource source, DataSpec dataSpec, boolean isNetwork) { in onTransferEnd() argument
167 lastTransferEndIsNetwork = isNetwork; in onTransferEnd()
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/upstream/
DTransferListener.java47 void onTransferInitializing(DataSource source, DataSpec dataSpec, boolean isNetwork); in onTransferInitializing() argument
56 void onTransferStart(DataSource source, DataSpec dataSpec, boolean isNetwork); in onTransferStart() argument
67 DataSource source, DataSpec dataSpec, boolean isNetwork, int bytesTransferred); in onBytesTransferred() argument
76 void onTransferEnd(DataSource source, DataSpec dataSpec, boolean isNetwork); in onTransferEnd() argument
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DFakeDataSource.java45 protected boolean isNetwork; field in FakeDataSource.Factory
52 public final Factory setIsNetwork(boolean isNetwork) { in setIsNetwork() argument
53 this.isNetwork = isNetwork; in setIsNetwork()
59 return new FakeDataSource(Assertions.checkStateNotNull(fakeDataSet), isNetwork); in createDataSource()
81 public FakeDataSource(FakeDataSet fakeDataSet, boolean isNetwork) { in FakeDataSource() argument
82 super(isNetwork); in FakeDataSource()
/external/toybox/toys/pending/
Dsyslogd.c362 int wlen, isNetwork = *tf->filename == '@'; in logmsg() local
363 if (isNetwork) in logmsg()
366 if (wlen < 0) perror_msg("write failed file : %s ", tf->filename + isNetwork); in logmsg()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/cpio/
DCpioArchiveEntry.java672 public boolean isNetwork() { in isNetwork() method in CpioArchiveEntry