Home
last modified time | relevance | path

Searched refs:packageFile (Results 1 – 3 of 3) sorted by relevance

/bootable/recovery/updater_sample/tests/src/com/example/android/systemupdatersample/util/
DFileDownloaderTest.java61 File packageFile = Paths in download_downloadsChunkOfZip() local
64 Files.deleteIfExists(packageFile.toPath()); in download_downloadsChunkOfZip()
66 packageFile.toPath()); in download_downloadsChunkOfZip()
67 String url = "file://" + packageFile.getAbsolutePath(); in download_downloadsChunkOfZip()
DPayloadSpecsTest.java76 File packageFile = Paths in forNonStreaming_works() local
79 java.nio.file.Files.deleteIfExists(packageFile.toPath()); in forNonStreaming_works()
81 packageFile.toPath()); in forNonStreaming_works()
82 PayloadSpec spec = mPayloadSpecs.forNonStreaming(packageFile); in forNonStreaming_works()
84 assertEquals("correct url", "file://" + packageFile.getAbsolutePath(), spec.getUrl()); in forNonStreaming_works()
/bootable/recovery/updater_sample/src/com/example/android/systemupdatersample/util/
DPayloadSpecs.java48 public PayloadSpec forNonStreaming(File packageFile) throws IOException { in forNonStreaming() argument
54 try (ZipFile zip = new ZipFile(packageFile)) { in forNonStreaming()
95 .url("file://" + packageFile.getAbsolutePath()) in forNonStreaming()