summaryrefslogtreecommitdiffstats
path: root/updater_sample/res/raw/sample.json
diff options
context:
space:
mode:
authorZhomart Mukhamejanov <zhomart@google.com>2018-05-03 05:30:53 +0200
committerandroid-build-merger <android-build-merger@google.com>2018-05-03 05:30:53 +0200
commit2e8e6e3ab46064be251be0adb340b8f5f47a90b8 (patch)
tree0ae6275a5ceb0505db473b61b9cb1308409966bb /updater_sample/res/raw/sample.json
parentMerge "screen_ui: Use std::string in DrawTextLine() and siblings." am: b4ded4a6ce (diff)
parentMerge "updater_sample: Add streaming to PayloadSpec" (diff)
downloadandroid_bootable_recovery-2e8e6e3ab46064be251be0adb340b8f5f47a90b8.tar
android_bootable_recovery-2e8e6e3ab46064be251be0adb340b8f5f47a90b8.tar.gz
android_bootable_recovery-2e8e6e3ab46064be251be0adb340b8f5f47a90b8.tar.bz2
android_bootable_recovery-2e8e6e3ab46064be251be0adb340b8f5f47a90b8.tar.lz
android_bootable_recovery-2e8e6e3ab46064be251be0adb340b8f5f47a90b8.tar.xz
android_bootable_recovery-2e8e6e3ab46064be251be0adb340b8f5f47a90b8.tar.zst
android_bootable_recovery-2e8e6e3ab46064be251be0adb340b8f5f47a90b8.zip
Diffstat (limited to 'updater_sample/res/raw/sample.json')
-rw-r--r--updater_sample/res/raw/sample.json16
1 files changed, 8 insertions, 8 deletions
diff --git a/updater_sample/res/raw/sample.json b/updater_sample/res/raw/sample.json
index 03335cc97..b6f4cdce6 100644
--- a/updater_sample/res/raw/sample.json
+++ b/updater_sample/res/raw/sample.json
@@ -1,18 +1,18 @@
{
"__name": "name will be visible on UI",
- "__url": "https:// or file:// uri to update file (zip, xz, ...)",
- "__type": "NON_STREAMING (from local file) OR STREAMING (on the fly)",
+ "__url": "https:// or file:// uri to update package (zip, xz, ...)",
+ "__type": "NON_STREAMING (from a local file) OR STREAMING (on the fly)",
"name": "SAMPLE-cake-release BUILD-12345",
- "url": "file:///data/builds/android-update.zip",
- "type": "NON_STREAMING",
- "streaming_metadata": {
+ "url": "http://foo.bar/builds/ota-001.zip",
+ "ab_install_type": "NON_STREAMING",
+ "ab_streaming_metadata": {
"__": "streaming_metadata is required only for streaming update",
"__property_files": "name, offset and size of files",
"property_files": [
{
- "__filename": "payload.bin and payload_properties.txt are required",
- "__offset": "defines beginning of update data in archive",
- "__size": "size of the update data in archive",
+ "__filename": "name of the file in package",
+ "__offset": "defines beginning of the file in package",
+ "__size": "size of the file in package",
"filename": "payload.bin",
"offset": 531,
"size": 5012323