Searched refs:OutputMonitor (Results 1 – 13 of 13) sorted by relevance
30 private final List<Monitor.OutputMonitor> outputMonitors;32 private MonitorOutputStream(OutputStream output, List<Monitor.OutputMonitor> outputMonitors) { in MonitorOutputStream()45 List<Monitor.OutputMonitor> outputMonitors = new ArrayList<>(); in newInstanceForWrite()47 Monitor.OutputMonitor outputMonitor = monitor.monitorWrite(uri); in newInstanceForWrite()62 List<Monitor.OutputMonitor> outputMonitors = new ArrayList<>(); in newInstanceForAppend()64 Monitor.OutputMonitor outputMonitor = monitor.monitorAppend(uri); in newInstanceForAppend()76 for (Monitor.OutputMonitor outputMonitor : outputMonitors) { in write()84 for (Monitor.OutputMonitor outputMonitor : outputMonitors) { in write()92 for (Monitor.OutputMonitor outputMonitor : outputMonitors) { in write()99 for (Monitor.OutputMonitor outputMonitor : outputMonitors) { in close()
100 Monitor.OutputMonitor outputMonitor1 = downloadMonitor.monitorWrite(uri1); in bytesWritten_cleanSlate()101 Monitor.OutputMonitor outputMonitor2 = downloadMonitor.monitorWrite(uri2); in bytesWritten_cleanSlate()102 Monitor.OutputMonitor outputMonitor3 = downloadMonitor.monitorWrite(uri3); in bytesWritten_cleanSlate()140 Monitor.OutputMonitor outputMonitor1 = downloadMonitor.monitorWrite(uri1); in bytesWritten_forSingleFileDownload_cleanSlate()141 Monitor.OutputMonitor duplicateOutputMonitor1 = downloadMonitor.monitorWrite(uri1); in bytesWritten_forSingleFileDownload_cleanSlate()142 Monitor.OutputMonitor outputMonitor3 = downloadMonitor.monitorWrite(uri3); in bytesWritten_forSingleFileDownload_cleanSlate()185 Monitor.OutputMonitor outputMonitor1 = downloadMonitor.monitorWrite(uri1); in bytesWritten_forBothFileAndFileGroupDownloads_cleanSlate()186 Monitor.OutputMonitor outputMonitor2 = downloadMonitor.monitorWrite(uri2); in bytesWritten_forBothFileAndFileGroupDownloads_cleanSlate()240 Monitor.OutputMonitor outputMonitor1 = downloadMonitor.monitorWrite(uri1); in bytesWritten_partialAndDownloadedFiles()241 Monitor.OutputMonitor outputMonitor2 = downloadMonitor.monitorWrite(uri2); in bytesWritten_partialAndDownloadedFiles()[all …]
142 Monitor.OutputMonitor outputMonitor1 = networkUsageMonitor.monitorWrite(uri1); in testBytesWritten()143 Monitor.OutputMonitor outputMonitor2 = networkUsageMonitor.monitorWrite(uri2); in testBytesWritten()144 Monitor.OutputMonitor outputMonitor3 = networkUsageMonitor.monitorWrite(uri3); in testBytesWritten()233 Monitor.OutputMonitor outputMonitor1 = networkUsageMonitor.monitorWrite(uri1); in testBytesWritten_multipleVersions()234 Monitor.OutputMonitor outputMonitor2 = networkUsageMonitor.monitorWrite(uri2); in testBytesWritten_multipleVersions()235 Monitor.OutputMonitor outputMonitor3 = networkUsageMonitor.monitorWrite(uri3); in testBytesWritten_multipleVersions()308 Monitor.OutputMonitor outputMonitor1 = networkUsageMonitor.monitorWrite(uri1); in testBytesWritten_flush_interval()381 Monitor.OutputMonitor outputMonitor1 = networkUsageMonitor.monitorWrite(uri1); in testBytesWritten_mix_write_append()382 Monitor.OutputMonitor outputMonitor2 = networkUsageMonitor.monitorAppend(uri2); in testBytesWritten_mix_write_append()383 Monitor.OutputMonitor outputMonitor3 = networkUsageMonitor.monitorAppend(uri3); in testBytesWritten_mix_write_append()[all …]
46 public Monitor.OutputMonitor monitorWrite(Uri uri) { in monitorWrite()51 public Monitor.OutputMonitor monitorAppend(Uri uri) { in monitorAppend()62 class WriteMonitor implements Monitor.OutputMonitor {69 class AppendMonitor implements Monitor.OutputMonitor {
30 public Monitor.OutputMonitor monitorWrite(Uri unusedUri) { in monitorWrite()35 public Monitor.OutputMonitor monitorAppend(Uri unusedUri) { in monitorAppend()
45 OutputMonitor monitorWrite(Uri uri); in monitorWrite()49 OutputMonitor monitorAppend(Uri uri); in monitorAppend()63 interface OutputMonitor extends Closeable { interface
42 public Monitor.OutputMonitor monitorWrite(Uri uri) { in monitorWrite()47 public Monitor.OutputMonitor monitorAppend(Uri uri) { in monitorAppend()58 class OutputCounter implements Monitor.OutputMonitor {
26 import com.google.android.libraries.mobiledatadownload.file.spi.Monitor.OutputMonitor;78 OutputMonitor outputMonitor1 = downloadMonitor.monitorWrite(uri1); in bytesWritten_cleanSlate()79 OutputMonitor outputMonitor2 = downloadMonitor.monitorWrite(uri1); in bytesWritten_cleanSlate()80 OutputMonitor outputMonitor3 = downloadMonitor.monitorWrite(uri3); in bytesWritten_cleanSlate()
103 Monitor.OutputMonitor mockOutputMonitor = mock(Monitor.OutputMonitor.class); in monitorWrite_shouldCallClose()119 Monitor.OutputMonitor mockOutputMonitor = mock(Monitor.OutputMonitor.class); in monitorWriteWithMonitorCloseException_shouldCallClose()
72 public Monitor.OutputMonitor monitorWrite(Uri uri) { in monitorWrite()85 public Monitor.OutputMonitor monitorAppend(Uri uri) { in monitorAppend()114 private final class DownloadedBytesCounter implements Monitor.OutputMonitor {
91 public Monitor.OutputMonitor monitorWrite(Uri uri) { in monitorWrite()114 public Monitor.OutputMonitor monitorAppend(Uri uri) { in monitorAppend()
80 public Monitor.OutputMonitor monitorWrite(Uri uri) { in monitorWrite()88 public Monitor.OutputMonitor monitorAppend(Uri uri) { in monitorAppend()
22 public final class ByteCountingOutputMonitor implements Monitor.OutputMonitor {