Home
last modified time | relevance | path

Searched refs:url (Results 1 – 8 of 8) sorted by relevance

/bootable/recovery/updater_sample/tools/
Dgen_update_config.py51 url, argument
56 self.url = url
83 'url': self.url,
161 url=args.url,
/bootable/recovery/updater_sample/src/com/example/android/systemupdatersample/util/
DFileDownloader.java43 public FileDownloader(String url, long offset, long size, File destination) { in FileDownloader() argument
44 this.mUrl = url; in FileDownloader()
59 URL url = new URL(mUrl); in download() local
60 URLConnection connection = url.openConnection(); in download()
DPayloadSpecs.java95 .url("file://" + packageFile.getAbsolutePath()) in forNonStreaming()
110 .url(updateUrl) in forStreaming()
/bootable/recovery/updater_sample/src/com/example/android/systemupdatersample/
DPayloadSpec.java89 public Builder url(String url) { in url() method in PayloadSpec.Builder
90 this.mUrl = url; in url()
DUpdateConfig.java129 public UpdateConfig(String name, String url, int installType) { in UpdateConfig() argument
131 this.mUrl = url; in UpdateConfig()
/bootable/recovery/updater_sample/tests/src/com/example/android/systemupdatersample/util/
DPayloadSpecsTest.java102 String url = "http://a.com/b.zip"; in forStreaming_works() local
107 PayloadSpec spec = mPayloadSpecs.forStreaming(url, offset, size, propertiesFile); in forStreaming_works()
108 assertEquals("same url", url, spec.getUrl()); in forStreaming_works()
DFileDownloaderTest.java67 String url = "file://" + packageFile.getAbsolutePath(); in download_downloadsChunkOfZip() local
74 FileDownloader downloader = new FileDownloader(url, 1674, 12, outFile); in download_downloadsChunkOfZip()
/bootable/recovery/updater_sample/
DREADME.md32 SystemUpdaterSample app downloads OTA package from `url`. In this sample app
33 `url` is expected to point to file system, e.g. `file:///data/my-sample-ota-builds-dir/ota-002.zip`.
35 If `ab_install_type` is `NON_STREAMING` then app checks if `url` starts
36 with `file://` and passes `url` to the `update_engine`.