Tao Bao
b3e1fbb67d
Merge "Depend on mke2fs.conf.recovery." am: aa536568b3 am: e6c86871f4
...
am: 6a122dceb3
Change-Id: I1e1e887629a586dfb32321a054369eda7fa8a276
2018-08-22 03:52:59 -07:00
Tao Bao
6a122dceb3
Merge "Depend on mke2fs.conf.recovery." am: aa536568b3
...
am: e6c86871f4
Change-Id: Ie3677c5edf9ff3d0a9e2bfccabfec97bab1d89d0
2018-08-21 20:22:45 -07:00
Tao Bao
e6c86871f4
Merge "Depend on mke2fs.conf.recovery."
...
am: aa536568b3
Change-Id: I8618e5453dc90ce122dd556f78822aa743ee7031
2018-08-21 18:12:50 -07:00
Tao Bao
aa536568b3
Merge "Depend on mke2fs.conf.recovery."
2018-08-21 22:35:48 +00:00
Tao Bao
7c074d97bd
Depend on mke2fs.conf.recovery.
...
Bug: 112780007
Test: `m dist` along with other changes in the topic. Check the file
under recovery. Trigger factory reset from recovery UI.
Change-Id: I2fb6954576eefecea60712a21506a2aeb1cecc53
2018-08-21 12:32:03 -07:00
Tao Bao
d8e8c7b6fa
Merge "tests: Remove {old,new}.file." am: 09ce7686f2 am: 14d87881d8
...
am: 0a32c73326
Change-Id: I2f5a77cca65eb244217ca7b7b37a5d4bf9f3c732
2018-08-20 11:22:44 -07:00
Tao Bao
0a32c73326
Merge "tests: Remove {old,new}.file." am: 09ce7686f2
...
am: 14d87881d8
Change-Id: Ic1b92812149af9f94f195c819857fdeb6944af2b
2018-08-20 11:18:41 -07:00
Tao Bao
14d87881d8
Merge "tests: Remove {old,new}.file."
...
am: 09ce7686f2
Change-Id: Ie3f23bd37cb29258bdf785548cbf2d85c457a04e
2018-08-20 11:13:54 -07:00
Treehugger Robot
09ce7686f2
Merge "tests: Remove {old,new}.file."
2018-08-20 17:48:56 +00:00
Tao Bao
cdbe58a2a2
tests: Remove {old,new}.file.
...
They serve the same purpose as {boot,recovery}.img, except that they're
not structured to be imgdiff'd. Remove the two files and replace all the
uses with {boot,recovery}.img instead.
Bug: 110106408
Test: Run recovery_{unit,component}_test on marlin.
Change-Id: I8e71187d5b0c142ad932f33717f6fae364b43abc
2018-08-20 09:08:35 -07:00
Tao Bao
de5c360bc8
Merge "updater: Add TransferList class." am: 102d14d6d1 am: 5cf27834f3
...
am: adf6ca1f71
Change-Id: I5333f68a4d182c4f8412ef076d68fa40a848a04d
2018-08-17 12:21:22 -07:00
Tao Bao
adf6ca1f71
Merge "updater: Add TransferList class." am: 102d14d6d1
...
am: 5cf27834f3
Change-Id: Id73d542e0f8345b54a8d41820c9a61cb4339239b
2018-08-17 11:58:11 -07:00
Tao Bao
5cf27834f3
Merge "updater: Add TransferList class."
...
am: 102d14d6d1
Change-Id: I10eac56d0c4c26d07b301a9c746d5e3f98e09811
2018-08-17 11:52:20 -07:00
Tao Bao
102d14d6d1
Merge "updater: Add TransferList class."
2018-08-17 18:31:54 +00:00
Tao Bao
f8811bbd3a
updater: Add TransferList class.
...
This would be the top-level class that represents and holds the info
parsed from a transfer list file.
Bug: 112151972
Test: Run recovery_unit_test and recovery_component_test on marlin.
Change-Id: I83b54df9d1411542eeeb8ef4a2db167e97f989c3
2018-08-17 09:37:26 -07:00
Tianjie Xu
1b747a390e
Merge "Add a python binary to generate the protobuf for care_map" am: fae0881528 am: 0901a08fc2
...
am: a47f985edd
Change-Id: I7aae377ba333d7e163eda743a02c3bb04002877a
2018-08-16 22:20:53 -07:00
Tao Bao
3c2b399820
Merge "ui: Only set brightness when needed." am: cf01f7dcbe am: d03842982f
...
am: 6ebca741fb
Change-Id: I240062e09d856b1b695174209b4f23d3af643429
2018-08-16 22:14:51 -07:00
Tao Bao
606c46a1ff
Merge "updater: Add SourceInfo::{ReadAll,DumpBuffer,Overlaps}." am: d460afe963 am: 559d01ff16
...
am: b46691b03d
Change-Id: Ie7419c5978452b0b797888e75ffcbe7213002c96
2018-08-16 21:45:18 -07:00
Tianjie Xu
a47f985edd
Merge "Add a python binary to generate the protobuf for care_map" am: fae0881528
...
am: 0901a08fc2
Change-Id: I4e8671c015abbc6699b2903187630784d30639ad
2018-08-16 20:37:50 -07:00
Tao Bao
6ebca741fb
Merge "ui: Only set brightness when needed." am: cf01f7dcbe
...
am: d03842982f
Change-Id: I3e0786705df73af571b24b70c93fe90859f72a14
2018-08-16 20:34:28 -07:00
Tao Bao
b46691b03d
Merge "updater: Add SourceInfo::{ReadAll,DumpBuffer,Overlaps}." am: d460afe963
...
am: 559d01ff16
Change-Id: Ief7dbd3f6e360a55068ca6ab9caa95d1364f3f91
2018-08-16 20:22:42 -07:00
Tianjie Xu
0901a08fc2
Merge "Add a python binary to generate the protobuf for care_map"
...
am: fae0881528
Change-Id: I259dcf3ba7d3840436d96640e91a00cf9be0fdf3
2018-08-16 17:52:05 -07:00
Tao Bao
d03842982f
Merge "ui: Only set brightness when needed."
...
am: cf01f7dcbe
Change-Id: If9747c9fdb2822cacad87828ad627b72742e9aff
2018-08-16 17:44:47 -07:00
Tao Bao
559d01ff16
Merge "updater: Add SourceInfo::{ReadAll,DumpBuffer,Overlaps}."
...
am: d460afe963
Change-Id: Ib3798641e976658e8288150a2d3fea80d415ed33
2018-08-16 17:28:16 -07:00
Tianjie Xu
fae0881528
Merge "Add a python binary to generate the protobuf for care_map"
2018-08-17 00:02:24 +00:00
Tianjie Xu
7e520d24fe
Add a python binary to generate the protobuf for care_map
...
This binary parses the legacy care_map text in the input file and writes
the generated protobuf message into the output file. For test purpose,
it also has a "--parse_proto" option to reverse the process and convert
a protobuf message file into plain text.
The build script will then call the binary to generate the care_map.txt
in the new format.
Bug: 77867897
Test: Run the binary to convert a care_map.txt, run update_verifier
Change-Id: I3ca65e19027404806132aa8d51e9bff766630c99
2018-08-16 15:09:32 -07:00
Tao Bao
cf01f7dcbe
Merge "ui: Only set brightness when needed."
2018-08-16 20:10:26 +00:00
Tao Bao
d460afe963
Merge "updater: Add SourceInfo::{ReadAll,DumpBuffer,Overlaps}."
2018-08-16 19:26:37 +00:00
Tao Bao
53be332711
ui: Only set brightness when needed.
...
There is a regression due to recent change in commit
b76af93ab5 , where it started to set
brightness to normal on every key input. This is unneeded and spamming
the recovery log.
Test: Run recovery_unit_test on marlin.
Test: Built and boot into recovery image. Press a few keys, then check
the recovery log.
Change-Id: Ia3a7ea400bcccdebbb27a6a7586e435bfb915923
2018-08-16 11:54:01 -07:00
Tao Bao
3c8927390e
updater: Add SourceInfo::{ReadAll,DumpBuffer,Overlaps}.
...
Bug: 112151972
Test: Run recovery_unit_test on marlin.
Change-Id: Ica2a7b3c768f5d8ca5d591a9560bca9f8ed847c5
2018-08-16 11:09:35 -07:00
Tao Bao
df262a883c
Merge "tests: Add the missing tests in applypatch_modes_test.cpp." am: f83d9f6b71 am: d9067aed88
...
am: 7bcfe850d2
Change-Id: I05f9a422f6085ab74d255f2a498919aab17844de
2018-08-15 19:41:08 -07:00
Tao Bao
b86dc58151
Merge "Fixing the Mac SDK build" am: 0b66e96da5 am: f13b38ca72
...
am: 83f035df3e
Change-Id: I89f30209dff6c079dcd042585c8d7fa2adf34fa3
2018-08-15 19:34:26 -07:00
Tao Bao
7bcfe850d2
Merge "tests: Add the missing tests in applypatch_modes_test.cpp." am: f83d9f6b71
...
am: d9067aed88
Change-Id: Ic7fd58ba2c75f4eb4b58df0df2c3b71d94aadd18
2018-08-15 19:13:08 -07:00
Tao Bao
83f035df3e
Merge "Fixing the Mac SDK build" am: 0b66e96da5
...
am: f13b38ca72
Change-Id: I9fa0b4de3364cccfff80943f8b191dd2c225d525
2018-08-15 19:12:52 -07:00
Tao Bao
d9067aed88
Merge "tests: Add the missing tests in applypatch_modes_test.cpp."
...
am: f83d9f6b71
Change-Id: I3ab7b006384ee1fda877a5edb1c3f5af42722dff
2018-08-15 18:44:51 -07:00
Tao Bao
f13b38ca72
Merge "Fixing the Mac SDK build"
...
am: 0b66e96da5
Change-Id: I2979bf2260a5e254b6247061baa01d1ae8eb1e9e
2018-08-15 18:44:36 -07:00
Tianjie Xu
a89dd7aeac
Merge "Further compress the recovery animation file" am: c8e0292b61 am: 5c1b333bde
...
am: 2c2c032967
Change-Id: I6aa7804754d32b2d80a9f36ee8b9d3bf9f160b9f
2018-08-15 18:19:46 -07:00
Tao Bao
f83d9f6b71
Merge "tests: Add the missing tests in applypatch_modes_test.cpp."
2018-08-16 01:16:57 +00:00
Tao Bao
0b66e96da5
Merge "Fixing the Mac SDK build"
2018-08-16 01:10:49 +00:00
Tianjie Xu
2c2c032967
Merge "Further compress the recovery animation file" am: c8e0292b61
...
am: 5c1b333bde
Change-Id: I97430342f56eba6dc0fa860f8c0fa5725e5ec763
2018-08-15 17:06:53 -07:00
Tianjie Xu
5c1b333bde
Merge "Further compress the recovery animation file"
...
am: c8e0292b61
Change-Id: I3776285237eb48cb72619117b7a9414b34eee0e0
2018-08-15 16:43:00 -07:00
Andreas Huber
435dfac15c
Fixing the Mac SDK build
...
recovery_host_test is now excluded from darwin targets as its
dependency libimgdiff is.
Change-Id: I6aa085125109ed2218572df97f35289b71c354ab
2018-08-15 16:11:25 -07:00
Tao Bao
26b645447f
tests: Add the missing tests in applypatch_modes_test.cpp.
...
This file was somehow missed when converting from Android.mk to
Android.bp. This CL addresses the issue by picking up all the .cpp files
in the test source dir.
Test: Run recovery_{unit,component}_test on marlin. Check the reported
number of tests (94 for unit test and 157 for component test).
Change-Id: I50435b07fcb8602ef7b3f7e7d3a69e10b6a5932d
2018-08-15 15:34:46 -07:00
Tianjie Xu
c8e0292b61
Merge "Further compress the recovery animation file"
2018-08-15 22:30:55 +00:00
Tianjie Xu
e45f359e9c
Further compress the recovery animation file
...
The res/images/loop.*png can be further compressed with "pngquant
--quality 0-10"; and the difference is not noticeable to humans
under recovery. And This reduces the animation pictures under res-xxxhdpi
from 2.7M to 1.2M.
Note that the *_text.png files can't be compressed this way because they
requires lossless compression to keep the embedded locales intact.
Bug: 112494634
Test: Run recovery graphic tests.
Change-Id: I2cefaea8e037cb09cb4e4735d1b86e82da9e6875
2018-08-15 19:07:08 +00:00
Tao Bao
030be4a8b7
Merge "tests: Move to Android.bp." am: b1ff1bc43b am: 6956957499
...
am: 6a9fb19b0f
Change-Id: I6e2da6cef5a004b9968c9cdf272fb1f81089c94e
2018-08-15 11:13:05 -07:00
Tao Bao
6a9fb19b0f
Merge "tests: Move to Android.bp." am: b1ff1bc43b
...
am: 6956957499
Change-Id: Ib3861fa4d73cc5c07c2c866efc2a06d38678e89e
2018-08-15 11:08:00 -07:00
Tao Bao
6956957499
Merge "tests: Move to Android.bp."
...
am: b1ff1bc43b
Change-Id: I3d964a6f4d60b031209a02625b2fdee5d2c75a6b
2018-08-15 11:04:59 -07:00
Tao Bao
b1ff1bc43b
Merge "tests: Move to Android.bp."
2018-08-15 17:56:19 +00:00
Tao Bao
3dade0f9b8
Merge "Track the change to update_engine_sideload path." am: 97de9c3d3e am: 07c78fe446
...
am: ddcb99b801
Change-Id: I2fe1f26a048949f46c0512f6163868f11b7a5928
2018-08-15 05:07:24 -07:00