Home
last modified time | relevance | path

Searched refs:metadataFile (Results 1 – 6 of 6) sorted by relevance

/external/downloader/src/test/java/com/google/android/downloader/
DSimpleFileDownloadDestinationTest.java41 File metadataFile = new File(targetFile.getParent(), targetFile.getName() + ".meta"); in numExistingBytes_fileDoesNotExist() local
43 new SimpleFileDownloadDestination(targetFile, metadataFile); in numExistingBytes_fileDoesNotExist()
52 File metadataFile = new File(targetFile.getParent(), targetFile.getName() + ".meta"); in numExistingBytes_fileEmpty() local
54 new SimpleFileDownloadDestination(targetFile, metadataFile); in numExistingBytes_fileEmpty()
61 File metadataFile = new File(targetFile.getParent(), targetFile.getName() + ".meta"); in numExistingBytes_fileNonEmpty() local
63 new SimpleFileDownloadDestination(targetFile, metadataFile); in numExistingBytes_fileNonEmpty()
71 File metadataFile = new File(targetFile.getParent(), targetFile.getName() + ".meta"); in metadata_fileDoesNotExist() local
73 new SimpleFileDownloadDestination(targetFile, metadataFile); in metadata_fileDoesNotExist()
82 File metadataFile = new File(targetFile.getParent(), targetFile.getName() + ".meta"); in metadata_fileEmpty() local
84 new SimpleFileDownloadDestination(targetFile, metadataFile); in metadata_fileEmpty()
[all …]
DProtoFileDownloadDestinationTest.java41 File metadataFile = new File(targetFile.getParent(), targetFile.getName() + ".meta"); in numExistingBytes_fileDoesNotExist() local
43 new ProtoFileDownloadDestination(targetFile, metadataFile); in numExistingBytes_fileDoesNotExist()
52 File metadataFile = new File(targetFile.getParent(), targetFile.getName() + ".meta"); in numExistingBytes_fileEmpty() local
54 new ProtoFileDownloadDestination(targetFile, metadataFile); in numExistingBytes_fileEmpty()
61 File metadataFile = new File(targetFile.getParent(), targetFile.getName() + ".meta"); in numExistingBytes_fileNonEmpty() local
63 new ProtoFileDownloadDestination(targetFile, metadataFile); in numExistingBytes_fileNonEmpty()
71 File metadataFile = new File(targetFile.getParent(), targetFile.getName() + ".meta"); in metadata_fileDoesNotExist() local
73 new ProtoFileDownloadDestination(targetFile, metadataFile); in metadata_fileDoesNotExist()
82 File metadataFile = new File(targetFile.getParent(), targetFile.getName() + ".meta"); in metadata_fileEmpty() local
84 new ProtoFileDownloadDestination(targetFile, metadataFile); in metadata_fileEmpty()
[all …]
DDownloaderTest.java125 File metadataFile = new File(destinationFile.getParent(), destinationFile.getName() + ".meta"); in downloadOneFile() local
127 new SimpleFileDownloadDestination(destinationFile, metadataFile); in downloadOneFile()
164 File metadataFile = new File(destinationFile.getParent(), destinationFile.getName() + ".meta"); in downloadOneFile_existingContent_partialContent() local
166 new SimpleFileDownloadDestination(destinationFile, metadataFile); in downloadOneFile_existingContent_partialContent()
196 File metadataFile = new File(destinationFile.getParent(), destinationFile.getName() + ".meta"); in downloadOneFile_existingContent_noMetadata() local
198 new SimpleFileDownloadDestination(destinationFile, metadataFile); in downloadOneFile_existingContent_noMetadata()
221 File metadataFile = new File(destinationFile.getParent(), destinationFile.getName() + ".meta"); in downloadOneFile_existingContent_withEtag() local
223 new SimpleFileDownloadDestination(destinationFile, metadataFile); in downloadOneFile_existingContent_withEtag()
248 File metadataFile = new File(destinationFile.getParent(), destinationFile.getName() + ".meta"); in downloadOneFile_existingContent_withLastModified() local
250 new SimpleFileDownloadDestination(destinationFile, metadataFile); in downloadOneFile_existingContent_withLastModified()
[all …]
/external/downloader/src/main/java/com/google/android/downloader/
DProtoFileDownloadDestination.java36 private final File metadataFile; field in ProtoFileDownloadDestination
38 public ProtoFileDownloadDestination(File targetFile, File metadataFile) { in ProtoFileDownloadDestination() argument
40 this.metadataFile = metadataFile; in ProtoFileDownloadDestination()
50 return metadataFile.exists() in readMetadata()
51 ? readMetadataFromBytes(Files.toByteArray(metadataFile)) in readMetadata()
61 Files.write(writeMetadataToBytes(metadata), metadataFile); in openByteChannel() local
DSimpleFileDownloadDestination.java40 private final File metadataFile; field in SimpleFileDownloadDestination
42 public SimpleFileDownloadDestination(File targetFile, File metadataFile) { in SimpleFileDownloadDestination() argument
44 this.metadataFile = metadataFile; in SimpleFileDownloadDestination()
54 return metadataFile.exists() in readMetadata()
55 ? readMetadataFromBytes(Files.toByteArray(metadataFile)) in readMetadata()
65 Files.write(writeMetadataToBytes(metadata), metadataFile); in openByteChannel() local
/external/kotlinc/lib/
Dkotlin-annotation-processing.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/kotlin-annotation- ...