Searched refs:openByteChannel (Results 1 – 7 of 7) sorted by relevance
/external/downloader/src/test/java/com/google/android/downloader/ |
D | SimpleFileDownloadDestinationTest.java | 110 () -> downloadDestination.openByteChannel(0L, DownloadMetadata.create())); in openByteChannel_fileDoesNotExist() 122 downloadDestination.openByteChannel(0L, DownloadMetadata.create()); in openByteChannel_fileEmpty() 141 downloadDestination.openByteChannel(targetFile.length(), DownloadMetadata.create()); in openByteChannel_fileNonEmpty() 159 .openByteChannel(0L, DownloadMetadata.create(contentTag, lastModifiedTimeSeconds)) in openByteChannel_metadata() 175 downloadDestination.openByteChannel(0L, DownloadMetadata.create()); in clear_fileNonEmpty() 178 downloadDestination.openByteChannel(0L, DownloadMetadata.create()); in clear_fileNonEmpty()
|
D | ProtoFileDownloadDestinationTest.java | 110 () -> downloadDestination.openByteChannel(0L, DownloadMetadata.create())); in openByteChannel_fileDoesNotExist() 122 downloadDestination.openByteChannel(0L, DownloadMetadata.create()); in openByteChannel_fileEmpty() 141 downloadDestination.openByteChannel(targetFile.length(), DownloadMetadata.create()); in openByteChannel_fileNonEmpty() 159 .openByteChannel(0L, DownloadMetadata.create(contentTag, lastModifiedTimeSeconds)) in openByteChannel_metadata() 175 downloadDestination.openByteChannel(0L, DownloadMetadata.create()); in clear_fileNonEmpty() 178 downloadDestination.openByteChannel(0L, DownloadMetadata.create()); in clear_fileNonEmpty()
|
D | DownloaderTest.java | 225 destination.openByteChannel(0L, DownloadMetadata.create(contentTag, 0L)).close(); in downloadOneFile_existingContent_withEtag() 253 .openByteChannel(0L, DownloadMetadata.create("", lastModifiedTimestampSeconds)) in downloadOneFile_existingContent_withLastModified()
|
/external/downloader/src/main/java/com/google/android/downloader/ |
D | DownloadDestination.java | 61 WritableByteChannel openByteChannel(long byteOffset, DownloadMetadata metadata) in openByteChannel() method
|
D | ProtoFileDownloadDestination.java | 56 public WritableByteChannel openByteChannel(long offsetBytes, DownloadMetadata metadata) in openByteChannel() method in ProtoFileDownloadDestination
|
D | SimpleFileDownloadDestination.java | 60 public WritableByteChannel openByteChannel(long offsetBytes, DownloadMetadata metadata) in openByteChannel() method in SimpleFileDownloadDestination
|
D | Downloader.java | 697 destination.openByteChannel( in completeRequest()
|