Home
last modified time | relevance | path

Searched refs:monitorWrite (Results 1 – 13 of 13) sorted by relevance

/external/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/monitor/
DDownloadProgressMonitorTest.java100 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 …]
DNetworkUsageMonitorTest.java142 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()
471 Monitor.OutputMonitor outputMonitor = networkUsageMonitor.monitorWrite(uri1); in testNotRegisterUri()
/external/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/lite/
DDownloadProgressMonitorTest.java78 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()
117 assertThat(downloadMonitor.monitorWrite(uri1)).isNull(); in bytesWritten_addAndRemoveDownloadListener()
124 assertThat(downloadMonitor.monitorWrite(uri1)).isNull(); in bytesWritten_addAndRemoveDownloadListener()
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/monitor/
DDownloadProgressMonitor.java91 public Monitor.OutputMonitor monitorWrite(Uri uri) { in monitorWrite() method in DownloadProgressMonitor
100 return liteDownloadProgressMonitor.monitorWrite(uri); in monitorWrite()
115 return monitorWrite(uri); in monitorAppend()
DNetworkUsageMonitor.java80 public Monitor.OutputMonitor monitorWrite(Uri uri) { in monitorWrite() method in NetworkUsageMonitor
89 return monitorWrite(uri); in monitorAppend()
/external/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/file/
DMonitorOutputStreamTest.java81 when(mockMonitor.monitorWrite(any())).thenReturn(null); in monitorWrite_withNullOutputMonitor_shouldReturnNull()
104 when(mockMonitor.monitorWrite(any())).thenReturn(mockOutputMonitor); in monitorWrite_shouldCallClose()
120 when(mockMonitor.monitorWrite(any())).thenReturn(mockOutputMonitor); in monitorWriteWithMonitorCloseException_shouldCallClose()
DSynchronousFileStorageTest.java460 verify(countingMonitor).monitorWrite(file1Uri); in write_shouldMonitor()
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/lite/
DDownloadProgressMonitor.java72 public Monitor.OutputMonitor monitorWrite(Uri uri) { in monitorWrite() method in DownloadProgressMonitor
86 return monitorWrite(uri); in monitorAppend()
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/file/common/testing/
DNoOpMonitor.java30 public Monitor.OutputMonitor monitorWrite(Uri unusedUri) { in monitorWrite() method in NoOpMonitor
DBufferingMonitor.java46 public Monitor.OutputMonitor monitorWrite(Uri uri) { in monitorWrite() method in BufferingMonitor
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/file/spi/
DMonitor.java45 OutputMonitor monitorWrite(Uri uri); in monitorWrite() method
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/file/samples/
DByteCountingMonitor.java42 public Monitor.OutputMonitor monitorWrite(Uri uri) { in monitorWrite() method in ByteCountingMonitor
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/file/
DMonitorOutputStream.java47 Monitor.OutputMonitor outputMonitor = monitor.monitorWrite(uri); in newInstanceForWrite()