diff options
author | Zhomart Mukhamejanov <zhomart@google.com> | 2018-08-21 21:19:02 +0200 |
---|---|---|
committer | Zhomart Mukhamejanov <zhomart@google.com> | 2018-08-22 20:37:51 +0200 |
commit | 88712f7610c1c51ee9a58e17ad9f3e1b8425eba9 (patch) | |
tree | fb12b4509b8a8d7a07478433e33241de5c12fdea /updater_sample/tests/res | |
parent | Merge "recovery: Add "boot-fastboot" command to BCB." (diff) | |
download | android_bootable_recovery-88712f7610c1c51ee9a58e17ad9f3e1b8425eba9.tar android_bootable_recovery-88712f7610c1c51ee9a58e17ad9f3e1b8425eba9.tar.gz android_bootable_recovery-88712f7610c1c51ee9a58e17ad9f3e1b8425eba9.tar.bz2 android_bootable_recovery-88712f7610c1c51ee9a58e17ad9f3e1b8425eba9.tar.lz android_bootable_recovery-88712f7610c1c51ee9a58e17ad9f3e1b8425eba9.tar.xz android_bootable_recovery-88712f7610c1c51ee9a58e17ad9f3e1b8425eba9.tar.zst android_bootable_recovery-88712f7610c1c51ee9a58e17ad9f3e1b8425eba9.zip |
Diffstat (limited to 'updater_sample/tests/res')
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", |