summaryrefslogtreecommitdiffstats
path: root/updater_sample/AndroidManifest.xml (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-12-10updater_sample: add internet access permissionJindong1-0/+1
Add internet access permission to fix below error: java.net.SocketException: socket failed: EPERM (Operation not permitted) Change-Id: I6fba2c871df77ad7a0b98ed4a2ffa907037e9d6f Signed-off-by: Jindong <jindong.yue@nxp.com>
2018-12-17Add PrepareUpdateService.Zhomart Mukhamejanov1-1/+1
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: I15c0bc58e3238bea6ea1c4f13063575e2def89c1 Merged-In: Iea69acd9aa41e17538c26aff60f7598093ca7744
2018-12-15Add PrepareUpdateService.Zhomart Mukhamejanov1-1/+1
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
2018-06-18updater_sample: run as a systemp appZhomart Mukhamejanov1-0/+2
Android.mk: remove local tags, make privileged module AndroidManifest.xml: add access cache filesystem Test: on device Test: junit4 Change-Id: I611970747b7b630520249dd53105b9a2f7f76355 Signed-off-by: Zhomart Mukhamejanov <zhomart@google.com>
2018-05-08updater_sample: add streaming supportZhomart Mukhamejanov1-0/+1
- UpdateConfigs: add helper methods for streaming - add PrepareStreamingService intent service Test: manually and junit4 Bug: 77148143 Change-Id: I61711eb9abe051987e725fbd94f8cd029ff21dd3
2018-04-26Rename the dir for SystemUpdaterSample.Tao Bao1-0/+0
Also replace the occurrence in README.md and PREUPLOAD.cfg. Test: mmma -j bootable/recovery Change-Id: I04c0ef00dd64f49e008ad2a4a2c1e8eaed76bf8d
2018-04-25sample_updater: add non-streaming demoZhomart Mukhamejanov1-11/+16
SampleUpdater app was tested manually on a device. There are unit tests for utility classes. SampleUpdater app demonstrates how to use Android Update Engine to apply A/B (seamless) update. This CL contains demo of non-stream update using async update_engine, which is accessed directly from an activity. This app also shows logs from update_engine on the UI. Instructions can be found in `README.md`. - Create a UI with list of configs, current version, control buttons and a progress bar - Add PayloadSpec and PayloadSpecs for working with update zip file - Add UpdateConfig for working with json config files - Add applying non-streaming update Test: tested manually and unit tests for utilities Change-Id: I05d4a46ad9cf8b334c9c60c7dd4da486dac0400a Signed-off-by: Zhomart Mukhamejanov <zhomart@google.com>
2018-04-01Create the SystemUpdate activity class.Jiachen Zhao1-4/+14
Test: tested sample app with sideloading. Change-Id: I0d1661cea57c706b4981a4cda9f9b69fdeb69292
2018-03-31Create folder for SystemUpdate sample app.Jiachen Zhao1-0/+21
Test: no functional changes. Change-Id: I2e8c654086ca49063c59ae0529e190323c84d6ad