Home
last modified time | relevance | path

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

/external/downloader/src/test/java/com/google/android/downloader/
DSimpleFileDownloadDestinationTest.java110 () -> 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()
DProtoFileDownloadDestinationTest.java110 () -> 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()
DDownloaderTest.java225 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/
DDownloadDestination.java61 WritableByteChannel openByteChannel(long byteOffset, DownloadMetadata metadata) in openByteChannel() method
DProtoFileDownloadDestination.java56 public WritableByteChannel openByteChannel(long offsetBytes, DownloadMetadata metadata) in openByteChannel() method in ProtoFileDownloadDestination
DSimpleFileDownloadDestination.java60 public WritableByteChannel openByteChannel(long offsetBytes, DownloadMetadata metadata) in openByteChannel() method in SimpleFileDownloadDestination
DDownloader.java697 destination.openByteChannel( in completeRequest()