summaryrefslogtreecommitdiffstats
path: root/updater_sample/tools (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move ab_streaming_metadata under ab_config.Zhomart Mukhamejanov2018-08-222-17/+26
| | | | | | | | | Add new config: ab_config.verify_payload_metadata. Change-Id: I521dff92166c33dd9c2efa498dc599fe4bc83fde Signed-off-by: Zhomart Mukhamejanov <zhomart@google.com> Test: mmm, junit Bug: 77150191
* updater_sample: change gen_update_config argsZhomart Mukhamejanov2018-06-071-3/+3
| | | | | | | | | Change gen_update_config arg '--ab_force_switch_slot' from 'bool' to 'store_action'. Test: manually Change-Id: Ic65ac9ca3feb99b3a1751a44dec038d49c2b446a Signed-off-by: Zhomart Mukhamejanov <zhomart@google.com>
* updater_sample: add switch slot demoZhomart Mukhamejanov2018-05-171-2/+12
| | | | | | | | | | | | | - Add util/UpdateEngineProperties.java - Set SWITCH_SLOT_ON_REBOOT=0 when update is applied - Allow user to switch slot to the updated partition manually - Add config "ab_config.force_switch_slot" - Add ab_force_switch_slot to tools/gen_update_config.py Test: manually on the marlin device Bug: 79492522 Change-Id: I52f818b576d52a052b5427ba3f732cb2371ddb06 Signed-off-by: Zhomart Mukhamejanov <zhomart@google.com>
* updater_sample: update toolsZhomart Mukhamejanov2018-05-082-39/+38
| | | | | | | | | | | | - Allow gen_update_config.py to use ota_from_target_files from $ANDROID_BUILD_TOP/build/make/tools/releasetools/ - tests/res/raw/ota_002_package.zip re-generated using functions from $ANDROID_BUILD_TOP/build/make/tools/releasetools/test_ota_from_target_files.py - sample app tests updated Test: ./tools/gen_update_config_test.py Change-Id: I5c492ec22782ba54fe481f592a44e797c695684e Signed-off-by: Zhomart Mukhamejanov <zhomart@google.com>
* updater_sample: update testsZhomart Mukhamejanov2018-05-031-1/+1
| | | | | | | | | - fix tools/gen_update_config.py - add tests for PayloadSpecs#forStreaming Test: junit4 Change-Id: Ife1980c5f72944ed35500aa820b30031fc99e820 Signed-off-by: Zhomart Mukhamejanov <zhomart@google.com>
* updater_sample: fix gen_update_config.pyZhomart Mukhamejanov2018-04-272-13/+75
| | | | | | | | | | Fix gen_update_config.py. And add tests for gen_update_config.py. Test: python3 updater_sample/tools/gen_update_config_test.py Change-Id: I0d270f1d5d7635855ee9acb0dd094e083cd33e3a Signed-off-by: Zhomart Mukhamejanov <zhomart@google.com>
* sample_updater: create tools/gen_update_config.pyZhomart Mukhamejanov2018-04-261-0/+154
gen_update_config.py generates JSON config files from given OTA image zip files. README.md is updated. Test: manually Change-Id: Ifd09b49a73983a42752ee3842a566cecedb9cae0 Signed-off-by: Zhomart Mukhamejanov <zhomart@google.com>