summaryrefslogtreecommitdiffstats
path: root/updater_sample/tests/res/raw
diff options
context:
space:
mode:
authorZhomart Mukhamejanov <zhomart@google.com>2018-08-22 20:38:06 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-08-22 20:38:06 +0200
commitab7e652484bd0b72f9dd78ad37ca2ae64422de56 (patch)
treefb12b4509b8a8d7a07478433e33241de5c12fdea /updater_sample/tests/res/raw
parentMerge "recovery: Add "boot-fastboot" command to BCB." (diff)
parentMove ab_streaming_metadata under ab_config. (diff)
downloadandroid_bootable_recovery-ab7e652484bd0b72f9dd78ad37ca2ae64422de56.tar
android_bootable_recovery-ab7e652484bd0b72f9dd78ad37ca2ae64422de56.tar.gz
android_bootable_recovery-ab7e652484bd0b72f9dd78ad37ca2ae64422de56.tar.bz2
android_bootable_recovery-ab7e652484bd0b72f9dd78ad37ca2ae64422de56.tar.lz
android_bootable_recovery-ab7e652484bd0b72f9dd78ad37ca2ae64422de56.tar.xz
android_bootable_recovery-ab7e652484bd0b72f9dd78ad37ca2ae64422de56.tar.zst
android_bootable_recovery-ab7e652484bd0b72f9dd78ad37ca2ae64422de56.zip
Diffstat (limited to 'updater_sample/tests/res/raw')
-rw-r--r--updater_sample/tests/res/raw/update_config_001_stream.json7
-rw-r--r--updater_sample/tests/res/raw/update_config_002_stream.json7
-rw-r--r--updater_sample/tests/res/raw/update_config_003_nonstream.json10
3 files changed, 15 insertions, 9 deletions
diff --git a/updater_sample/tests/res/raw/update_config_001_stream.json b/updater_sample/tests/res/raw/update_config_001_stream.json
index be51b7c95..b024ad947 100644
--- a/updater_sample/tests/res/raw/update_config_001_stream.json
+++ b/updater_sample/tests/res/raw/update_config_001_stream.json
@@ -2,7 +2,9 @@
"name": "streaming-001",
"url": "http://foo.bar/update.zip",
"ab_install_type": "STREAMING",
- "ab_streaming_metadata": {
+ "ab_config": {
+ "verify_payload_metadata": true,
+ "force_switch_slot": true,
"property_files": [
{
"filename": "payload.bin",
@@ -10,8 +12,5 @@
"size": 8
}
]
- },
- "ab_config": {
- "force_switch_slot": true
}
}
diff --git a/updater_sample/tests/res/raw/update_config_002_stream.json b/updater_sample/tests/res/raw/update_config_002_stream.json
index 40c8fe1c1..12c18bb70 100644
--- a/updater_sample/tests/res/raw/update_config_002_stream.json
+++ b/updater_sample/tests/res/raw/update_config_002_stream.json
@@ -1,10 +1,8 @@
{
"__": "*** Generated using tools/gen_update_config.py ***",
"ab_config": {
- "force_switch_slot": false
- },
- "ab_install_type": "STREAMING",
- "ab_streaming_metadata": {
+ "verify_payload_metadata": true,
+ "force_switch_slot": false,
"property_files": [
{
"filename": "payload_metadata.bin",
@@ -38,6 +36,7 @@
}
]
},
+ "ab_install_type": "STREAMING",
"name": "S ota_002_package",
"url": "file:///data/my-sample-ota-builds-dir/ota_002_package.zip"
} \ No newline at end of file
diff --git a/updater_sample/tests/res/raw/update_config_003_nonstream.json b/updater_sample/tests/res/raw/update_config_003_nonstream.json
index 7c78b9d21..2011f76d9 100644
--- a/updater_sample/tests/res/raw/update_config_003_nonstream.json
+++ b/updater_sample/tests/res/raw/update_config_003_nonstream.json
@@ -1,7 +1,15 @@
{
"__": "*** Generated using tools/gen_update_config.py ***",
"ab_config": {
- "force_switch_slot": false
+ "verify_payload_metadata": true,
+ "force_switch_slot": false,
+ "property_files": [
+ {
+ "filename": "payload.bin",
+ "offset": 195,
+ "size": 8
+ }
+ ]
},
"ab_install_type": "NON_STREAMING",
"name": "S ota_002_package",