- Jan 19, 2017
-
-
Tianjie Xu authored
match_locale() will return false for empty locale string in the PNG file. Also add a manual test to validate if a PNG file is qualified to use under recovery. Bug: 34054052 Test: recovery_manual_test catches invalid PNG files successfully & Locale_test passed Change-Id: Id7e2136e1d8abf20da15825aa7901effbced8b03
-
- Jan 17, 2017
- Jan 14, 2017
-
-
Tao Bao authored
-
- Jan 13, 2017
-
-
Tianjie Xu authored
-
Tao Bao authored
Test: Apply two A/B incremental OTAs with the new recovery image. The one with incorrect pre-build should be blocked, while the other works fine. Change-Id: I94d97eb8798599da1630f66343fb603e87464187
-
- Jan 12, 2017
-
-
Alex Deymo authored
* changes: Remove "_static" suffix from libsparse Remove "_static" suffix from libext4_utils.
-
- Jan 11, 2017
-
-
Alex Deymo authored
Bug: 34220783 Change-Id: I358f931f0b29f5bd526e1475180e477e2e90b936
-
Alex Deymo authored
Bug: 34220783 Change-Id: I34ccc3b11da0d1b48805967ad75b9ddade569930
-
- Jan 10, 2017
-
-
Tianjie Xu authored
-
Elliott Hughes authored
-
- Jan 09, 2017
-
-
Tianjie Xu authored
We could inject I/O faults during an OTA update for test purpose. But we should skip the injection if the update is an retry. Otherwise the update test will simply keeps failing. Bug: 34159970 Test: Apply the same package on angler and the update succeeds on the 2nd try. Change-Id: Id274e5475e3bc8d25d50a8cf61a77d2e32c569d6
-
Elliott Hughes authored
Bug: N/A Test: N/A Change-Id: I9467286e57522c6ed640a3599cb678ac10d9e2a4
-
Elliott Hughes authored
-
Tao Bao authored
-
Tao Bao authored
Commit f0ed159f unintentionally changed the behavior when parsing the arguments from BCB and command file. It should only parse the command file for arguments if BCB doesn't supply any. As a result, it shows the following from the log: I:Got 2 arguments from boot message I:Got 3 arguments from /cache/recovery/command Test: Set arguments in BCB and command file both. It should only use the arguments from BCB. Change-Id: Idf371137aa9177f1b2dfdfecf0c9f46959d2ee76
-
- Jan 07, 2017
-
-
Elliott Hughes authored
So it's automatically displayed for folks browsing the source. Bug: N/A Test: N/A Change-Id: Ie9b190072ebdf0faf06cc1fd7b3467c031056753
-
Tianjie Xu authored
-
Tianjie Xu authored
Locale texts are missing in the recovery log due to an extra empty locale chunk in the png file. Fix the bug in the app and regenerate all the background texts and compress the file with pngcrush + zopflipng. Bug: 34054052 Test: Locale texts logged successfully on angler Change-Id: I89f823a53c1eb69756183e8e11113216d093304f
-
- Jan 06, 2017
-
-
Treehugger Robot authored
-
Tao Bao authored
-
Tao Bao authored
Move functions over to android::base versions. - strtok(3) => android::base::Split() - strtol(3) => android::base::ParseInt() - strtof(3) => android::base::ParseDouble() Test: Build recovery image and apply a package that calls ui_print / progress / set_progress commands. Change-Id: I953b4985e0bd9e277362ae53e233d755cf27d80c
-
Tao Bao authored
Test: recovery_component_test passes. Change-Id: I4f00d0171cf86699e9ce747d07d7d44a01906e81
-
- Jan 05, 2017
-
-
Tao Bao authored
-
- Jan 04, 2017
-
-
Tao Bao authored
-
Jerry Zhang authored
-
Jerry Zhang authored
This is necessary to support kernel changes that allow for multiple ffs functions. Some kernels require aliases in order to name function instances before mount time. Test: Reboot into recovery, verify adb works Bug: 34070894 Change-Id: I8376304d92af9b3e8c734fdb8cc77f0dc8bc4850
-
Tao Bao authored
-
Tao Bao authored
UI text is broken (doesn't show any text during FDR) due to commit d530449e, which reordered the calls to RecoveryUI::SetLocale() and RecoveryUI::Init(). Because Init() uses the locale info to load the localized texts (from images), the locale must be set prior to that via SetLocale(). This CL refactors Init() to take the locale parameter, and removes the odd SetLocale() API. Bug: 34029338 Test: 'Run graphics test' under recovery. Change-Id: I620394a3d4e3705e9af5a1f6299285d143ae1b01
-
Tao Bao authored
-
Tao Bao authored
Returning the parsed RangeSet directly (as opposed to using some pointer parameter) to make the code cleaner. Test: Apply an incremental with the new updater. Change-Id: I8c99e701f189eb6a3eacc0d647e5a3a85fbeb3eb
-
Tao Bao authored
-
Tim Kryger authored
The Wear recovery UI doesn't draw the installing icon but it was still trying to open it. Ever since these images were removed eight months ago, this has resulted in an error printing to the screen at runtime. Since the image wasn't really used, the lines to open it can simply be removed. Bug: 33203397 Change-Id: Id820f6d75e316c51d19b6095df407ecd61c0410e (cherry picked from commit 48be23c8)
-
- Jan 03, 2017
-
-
Tao Bao authored
-
- Dec 29, 2016
-
-
Tao Bao authored
Change the stash size computation from int to size_t. Test: Apply an incremental BBOTA with the new updater. Change-Id: Ib45b71b826fec6aa0ffafc67c17735825634eae0
-
- Dec 28, 2016
-
-
Tao Bao authored
We should include "bootloader_message/bootloader_message.h" now. Test: m updater Change-Id: I65b22a8a0bcc5976ff1ba827bd30b46ee9d59c53
-
Tao Bao authored
When the input image ends with the magic value sequence of 0x1f, 0x8b, 0x0b (optionally with 0x00), the image parsing code will be stuck in an infinite loop. Test: recovery_component_test passes. Change-Id: Ie3629dfdc41360387b19cc3e0359c95ae4fb998e
-
Tao Bao authored
-
Tao Bao authored
Test: make Change-Id: Ic77c4669574b6129e06aa6051804f419bcc8196c
-
Tao Bao authored
-