Commit Graph

7251 Commits

Author SHA1 Message Date
Tianjie Xu 2ae9ad72c2 Merge "Delete the dumpkey host tool" am: 14d5540426 am: 74fa7cd1d9
am: 8f11e2a18c

Change-Id: Ief116f7789a735281ab8011f23c2bc71a8b04659
2018-11-20 18:19:32 -08:00
Tianjie Xu 93a9795517 [automerger skipped] Merge "Import translations. DO NOT MERGE" am: d01f664cae -s ours am: f1cb8dbdee -s ours
am: 4dbc592d0d  -s ours

Change-Id: I5c18ceae8b0545b06098a59c4858ff5c729ca440
2018-11-20 18:18:31 -08:00
Tianjie Xu 8f11e2a18c Merge "Delete the dumpkey host tool" am: 14d5540426
am: 74fa7cd1d9

Change-Id: I29c52bae6638531c2ad8c8357b362fa10bd98d90
2018-11-20 18:14:49 -08:00
Tianjie Xu 4dbc592d0d [automerger skipped] Merge "Import translations. DO NOT MERGE" am: d01f664cae -s ours
am: f1cb8dbdee  -s ours

Change-Id: Ia5f057d1ab799cc4f4a3628798001a6f5eea93da
2018-11-20 18:14:29 -08:00
Tianjie Xu 74fa7cd1d9 Merge "Delete the dumpkey host tool"
am: 14d5540426

Change-Id: Ie3be5a201b8ef98ce936e9f0904c72667fa21dc0
2018-11-20 18:13:40 -08:00
Tianjie Xu f1cb8dbdee [automerger skipped] Merge "Import translations. DO NOT MERGE"
am: d01f664cae  -s ours

Change-Id: Ia12ae9d3a41efabfeb34adae7bddc21296bbcd0b
2018-11-20 18:09:29 -08:00
Tianjie Xu 14d5540426 Merge "Delete the dumpkey host tool" 2018-11-21 01:45:39 +00:00
Tianjie Xu d01f664cae Merge "Import translations. DO NOT MERGE" 2018-11-21 01:45:22 +00:00
Yifan Hong cda60c3300 Merge "logical -> dynamic partitions." am: b22bd959e5 am: 5f16d61150
am: 1f60a0c456

Change-Id: Ie5fbff7dd055c298ffa6f99d37f3ac1489dc30bb
2018-11-16 16:12:58 -08:00
Yifan Hong 1f60a0c456 Merge "logical -> dynamic partitions." am: b22bd959e5
am: 5f16d61150

Change-Id: I7bacb1907eee4fd2b8240e71b46364d89146dd8b
2018-11-16 16:10:55 -08:00
Yifan Hong 5f16d61150 Merge "logical -> dynamic partitions."
am: b22bd959e5

Change-Id: I1a22ef028bd75ffd7595a378ef48451c2779d5ae
2018-11-16 15:56:38 -08:00
Treehugger Robot b22bd959e5 Merge "logical -> dynamic partitions." 2018-11-16 23:35:28 +00:00
Yifan Hong d17174c3e5 logical -> dynamic partitions.
Reflect a name change.
Test: boots
Test: boot into recovery
Bug: 119286600

Change-Id: I7c323f27574ce033b8fc1750aab00f7300c5cc84
2018-11-16 12:56:44 -08:00
Bill Yi 967d4ac73c Import translations. DO NOT MERGE
Change-Id: I1bd6d7f12c7bfffb7e022f09347a5be5a96766a3
Auto-generated-cl: translation import
2018-11-15 16:16:39 -08:00
Mark Salyzyn 282c052638 Merge "switch to using android-base/file.h instead of android-base/test_utils.h" am: 814c306106 am: 838cac4798
am: 2c5c645515

Change-Id: I0bee27a9d05722aba329f603260047dae0c9a066
2018-11-15 08:30:16 -08:00
Mark Salyzyn 2c5c645515 Merge "switch to using android-base/file.h instead of android-base/test_utils.h" am: 814c306106
am: 838cac4798

Change-Id: I4b6eec2e80efc0aec0d33add0c55d2f40b79a831
2018-11-15 08:15:03 -08:00
Mark Salyzyn 838cac4798 Merge "switch to using android-base/file.h instead of android-base/test_utils.h"
am: 814c306106

Change-Id: I8a039d9fc8c602a44825d871b1b7800aa7754ffd
2018-11-15 08:09:56 -08:00
Treehugger Robot 814c306106 Merge "switch to using android-base/file.h instead of android-base/test_utils.h" 2018-11-15 15:59:45 +00:00
Josh Gao 541dd72096 Merge "minadbd: track adb C++ version change." am: b67811dd49 am: 421a39e271
am: 1525b5241a

Change-Id: I5c9f7bdf3c48adf4e2cd6276593fec9ffadc36c1
2018-11-15 01:13:59 -08:00
Josh Gao 1525b5241a Merge "minadbd: track adb C++ version change." am: b67811dd49
am: 421a39e271

Change-Id: I4a346d743d7c54523405433df3fcbe412fa8343c
2018-11-15 01:08:51 -08:00
Josh Gao 421a39e271 Merge "minadbd: track adb C++ version change."
am: b67811dd49

Change-Id: I5ed644ad8dcd1929599520ccca11e5dd75f84db0
2018-11-15 01:01:40 -08:00
Josh Gao b67811dd49 Merge "minadbd: track adb C++ version change." 2018-11-15 08:48:11 +00:00
Tianjie Xu bf21f1eaea Merge "Adjust the background text image width to reduce its size" am: 4ef9cb27eb am: f565ebb45f
am: 4850d463a5

Change-Id: I9d6feaa2fcb604aadcfb45666443f9a181e5586c
2018-11-14 22:13:55 -08:00
Tianjie Xu 4850d463a5 Merge "Adjust the background text image width to reduce its size" am: 4ef9cb27eb
am: f565ebb45f

Change-Id: Id7fa21165935be0fa5606f2883895ba9d7a6cb00
2018-11-14 22:09:22 -08:00
Tianjie Xu f565ebb45f Merge "Adjust the background text image width to reduce its size"
am: 4ef9cb27eb

Change-Id: I133fcc25bf6995f848ddb602a779fecc85eed67f
2018-11-14 22:01:17 -08:00
Tianjie Xu 4ef9cb27eb Merge "Adjust the background text image width to reduce its size" 2018-11-15 05:47:54 +00:00
Tianjie Xu b8564e1093 Adjust the background text image width to reduce its size
We can adjust the image width with respect to the maximum width of the
wrapped text. This will remove some black margins and reduce the final
size of the images, especially for those with short strings, e.g.
"recovery_error".

Also, add an option to centrally align the text; and fix a boundary
check in the recovery resource test.

Bug: 74397117
Test: Generate and check the image
Change-Id: Ib6cf61a9c99c4aeede16751dc0adfa23ce3f5424
2018-11-15 00:33:14 +00:00
Pirama Arumuga Nainar b0950538c6 Merge "Use the non-LTO/PGO hwbinder in recovery_component_test" am: 87e2fc3831 am: 30b4ad5c56
am: 0d81d99839

Change-Id: Idefec621e0b7027b42a6c3d7d4a6d522b3ab349e
2018-11-14 16:18:49 -08:00
Pirama Arumuga Nainar 0d81d99839 Merge "Use the non-LTO/PGO hwbinder in recovery_component_test" am: 87e2fc3831
am: 30b4ad5c56

Change-Id: I47cfc34b09f83025dc1d6802eb9208774384e4bc
2018-11-14 16:11:02 -08:00
Pirama Arumuga Nainar 30b4ad5c56 Merge "Use the non-LTO/PGO hwbinder in recovery_component_test"
am: 87e2fc3831

Change-Id: Ia0509a27e3bcf125b35c34f76b05a770b35151ab
2018-11-14 15:50:52 -08:00
Mark Salyzyn 8b54bc5e04 switch to using android-base/file.h instead of android-base/test_utils.h
Test: compile
Bug: 119313545
Change-Id: I664fb32522d01909c603d7b903475c4e9aea9223
2018-11-14 15:49:19 -08:00
Treehugger Robot 87e2fc3831 Merge "Use the non-LTO/PGO hwbinder in recovery_component_test" 2018-11-14 23:33:44 +00:00
Tianjie Xu 2138b28e3c Merge "image generator: format the java file" am: 860c82a66b am: 5faf4021c9
am: 77e1e5c2a4

Change-Id: I2e7c7b133e35799620a57a24d93e75f8f956c3f5
2018-11-14 13:05:31 -08:00
Tianjie Xu 77e1e5c2a4 Merge "image generator: format the java file" am: 860c82a66b
am: 5faf4021c9

Change-Id: I211c108d9136954b13b01f9cfed25a3d37e2392c
2018-11-14 12:51:56 -08:00
Tianjie Xu 5faf4021c9 Merge "image generator: format the java file"
am: 860c82a66b

Change-Id: Iee9c359a05a5a05aa55a2e7bede184b3d5f9ed98
2018-11-14 12:08:47 -08:00
Pirama Arumuga Nainar b3339ddc6b Use the non-LTO/PGO hwbinder in recovery_component_test
Bug: http://b/119560349
Bug: http://b/112277682

Currently, any binary links in a PGO-enabled static library also needs
to opt into PGO.  With b/119560349, this should be done automatically by
the build system.  Until then, use the non-PGO version of libhwbinder in
recovery_component_test.

Test: m ANDROID_PGO_INSTRUMENT=all
Change-Id: Ic6e44c1cb6d6f13e60e11a46fd7e5ef54238942b
2018-11-14 11:42:23 -08:00
Tianjie Xu 860c82a66b Merge "image generator: format the java file" 2018-11-14 19:10:38 +00:00
Josh Gao 9828dc14cb minadbd: track adb C++ version change.
adb is going to start using shiny new C++17 features like
std::optional in headers that minadbd includes.

Test: mma
Change-Id: I7eb100c48abbf2364d6ff5f30aa223480e2466a6
2018-11-13 14:19:04 -08:00
Tianjie Xu b97f7e5343 image generator: format the java file
Format the file with google-java-format --aosp. This makes the presubmit
hook happy.

Bug: 74397117
Test: mma
Change-Id: Ie342ed11449414b63f2d1ae781023e940b136bcb
2018-11-13 20:29:16 +00:00
Bill Yi f560a89470 Import translations. DO NOT MERGE
Change-Id: I1bd6d7f12c7bfffb7e022f09347a5be5a96766a3
Auto-generated-cl: translation import
2018-11-13 08:09:37 -08:00
Tao Bao 42ccdcd337 Merge "Check and dump the signal info for killed updater." am: 02a945556e am: d409598e08
am: 14153976cd

Change-Id: I29e46974664cd6414969e31f85445d39ccae8ca4
2018-11-08 15:55:39 -08:00
Tao Bao 14153976cd Merge "Check and dump the signal info for killed updater." am: 02a945556e
am: d409598e08

Change-Id: I68eb65526a9eae4c087f944a6d417454fa8c3141
2018-11-08 15:29:40 -08:00
Tao Bao d409598e08 Merge "Check and dump the signal info for killed updater."
am: 02a945556e

Change-Id: Id32aae22bebfac4863af2c3bd2999105f545c11d
2018-11-08 15:25:30 -08:00
Treehugger Robot 02a945556e Merge "Check and dump the signal info for killed updater." 2018-11-08 22:57:47 +00:00
Tao Bao 0c295babc7 Merge "minui: GRSurface manages data with std::unique_ptr." am: 481613b35f am: 6f42a59e7d
am: c194bbf665

Change-Id: I593df7f70e74ef872c725675bc8569858ff6b6f0
2018-11-08 10:05:23 -08:00
Tao Bao c194bbf665 Merge "minui: GRSurface manages data with std::unique_ptr." am: 481613b35f
am: 6f42a59e7d

Change-Id: Ifb25cb998b7a241e1e3dbea14939267ac3bc7899
2018-11-08 10:00:21 -08:00
Tao Bao 6f42a59e7d Merge "minui: GRSurface manages data with std::unique_ptr."
am: 481613b35f

Change-Id: I3bf0fc74f23b7c36a7a34888aaf7151b22d950d9
2018-11-08 09:47:59 -08:00
Tao Bao 481613b35f Merge "minui: GRSurface manages data with std::unique_ptr." 2018-11-08 17:31:40 +00:00
Tao Bao e7b775ca2c Check and dump the signal info for killed updater.
WEXITSTATUS only gives meaningful value if WIFEXITED is true. So we may
see a slightly confusing message of "E:Error in /path/to/package (Status
0)" for a killed updater process (e.g. updater calling abort(3)). This
CL dumps the signal number for such a case.

Test: abort() in child process. Check the output.
Change-Id: I72e6654a6499d65155085de658062efb9f1e36ac
2018-11-07 15:25:30 -08:00
Tao Bao 9cf163e673 minui: GRSurface manages data with std::unique_ptr.
Test: Run recovery_unit_test on marlin.
Test: `Run graphics test` on taimen.
Change-Id: I34bd862049900b0030f2840a92a7fa3e02fa2c10
2018-11-07 14:36:45 -08:00