summaryrefslogtreecommitdiffstats
path: root/updater_sample/src/com/example/android/systemupdatersample/services/PrepareStreamingService.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add PrepareUpdateService.Zhomart Mukhamejanov2018-12-151-251/+0
| | | | | | | | | | | | | | | | | It's moved from PrepareStreamingService intent service. Now PrepareUpdateService takes an UpdateConfig and builds PayloadSpec for UpdateEngine for both streaming and non-streaming update. It allows us to do all preparations in intent service's thread, without blocking UI. We will also add checksum verification to PrepareUpdateService. Test: device, junit Bug: 77150191 Change-Id: Iea69acd9aa41e17538c26aff60f7598093ca7744
* Move ab_streaming_metadata under ab_config.Zhomart Mukhamejanov2018-08-221-2/+2
| | | | | | | | | 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_config: make utils/PayloadSpecs non-staticZhomart Mukhamejanov2018-05-181-4/+6
| | | | | | | | | | | | PayloadSpecs has complicated methods, which makes hard to test other dependent classes. Making it non-static allows mocking it, which makes testing other classes easier. Test: manually Test: using JUnit4 Change-Id: I818dc59c6bb0e7d131439d0d41f88d5cd9a451b4 Signed-off-by: Zhomart Mukhamejanov <zhomart@google.com>
* updater_sample: add HAL compatibility checkZhomart Mukhamejanov2018-05-101-26/+59
| | | | | | | | | | | - Refactor PrepareStreamingService#onHandleIntent - Add PrepareStreamingService#verifyPackageCompatibility Test: on the device Bug: 79471299 Signed-off-by: Zhomart Mukhamejanov <zhomart@google.com> Change-Id: I1b18502f0638d66810a3f7ada582e4c7cea20cdb
* updater_sample: add streaming supportZhomart Mukhamejanov2018-05-081-0/+216
- UpdateConfigs: add helper methods for streaming - add PrepareStreamingService intent service Test: manually and junit4 Bug: 77148143 Change-Id: I61711eb9abe051987e725fbd94f8cd029ff21dd3