Commit graph

9716 commits

Author SHA1 Message Date
Treehugger Robot
4a784883a8 Merge "use create_dumb.size as size of buffer" am: adcddf8555 am: d9a29a428d
Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/1658139

Change-Id: Id09e08186cb2915c0885ca823fdbddab5d56db1d
2021-05-18 02:27:53 +00:00
Treehugger Robot
d9a29a428d Merge "use create_dumb.size as size of buffer" am: adcddf8555
Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/1658139

Change-Id: If7f2e545739f6e17c0edc9dda2eb8e1d1f554c83
2021-05-18 01:47:14 +00:00
Treehugger Robot
adcddf8555 Merge "use create_dumb.size as size of buffer" 2021-05-18 01:21:57 +00:00
Kelvin Zhang
33c62fc4b8 Check SPL downgrade before install OTA in recovery
Applying an SPL downgrade package can cause boot failures
(/data failed to decrypt). Today's ota_from_target_files
tool already try to prevent this. But Packages generated
using older tools are still around.

Add check in recovery to prevent such OTA package from
installing.

Test: th
Test: Sideload an OTA with newer SPL, make sure check passes
Test; Sideload an OTA with older SPL, make sure check fails

Bug: 186581246

Change-Id: Icffe8097521c511e151af023a443ccbb4b59e22c
2021-05-17 16:25:00 -04:00
Kelvin Zhang
90f783f3ca use create_dumb.size as size of buffer
According to `man drm-memory` , "The size field contains the absolute
size in bytes of the buffer. This can normally also be computed with
(height * pitch + width) * bpp / 4". Which suggests that we should use
the .size field to allocate buffer.

Test: th
Test: go to recovery, make sure contents are properly displayed.

BYPASS_INCLUSIVE_LANGUAGE_REASON=commit message referenced "man",
        which is a linux command for lookup manual pages.

Change-Id: I512be6b7d493ef1783f2b7f746e279bc1dfe65f2
2021-05-17 16:25:00 -04:00
Bill Yi
7e53762a5e [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 48a7e7dd7b -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/bootable/recovery/+/14479299

Change-Id: Idb0d3d36851643f295098b26dd245c0e5e273bc1
2021-05-09 04:00:41 +00:00
Bill Yi
48a7e7dd7b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I1cda13316ca0951ffc5eef1170aed2595b7c2dca
2021-05-08 18:49:48 -07:00
Bill Yi
bc70b8cc5b [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 25491dc368 -s ours am: 77bacf9369 -s ours am: 353a5ac00f -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/bootable/recovery/+/14469279

Change-Id: I8d2b5cb74be737743d656d7de1a815b1c4a7f67d
2021-05-08 01:18:13 +00:00
Bill Yi
353a5ac00f [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 25491dc368 -s ours am: 77bacf9369 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/bootable/recovery/+/14469279

Change-Id: I24aa287887bd9b20998d458a56ebd86fcdcdecc7
2021-05-08 01:05:54 +00:00
Bill Yi
77bacf9369 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 25491dc368 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/bootable/recovery/+/14469279

Change-Id: I5e18ff98765ae143a1dc8057572748371a9bcc9f
2021-05-08 00:49:05 +00:00
Bill Yi
32eec9d6f8 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: a0dc131542 -s ours am: 98894d1c0b -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/bootable/recovery/+/14469278

Change-Id: I7388ad65879dd2e61c9f1a0a82269d057bcdf16b
2021-05-07 23:44:12 +00:00
Bill Yi
98894d1c0b [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: a0dc131542 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/bootable/recovery/+/14469278

Change-Id: I37bbdcbcee1714d7f85ff420e4f7a96b08e2c98c
2021-05-07 23:27:57 +00:00
Bill Yi
25491dc368 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I18f34fb71130d5bd2959ccc4f82959dffb58dedf
2021-05-07 15:55:27 +00:00
Bill Yi
a0dc131542 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I4a3fe4b3e8b9260c03caf5c9391eda4d9d7c67f0
2021-05-07 15:54:13 +00:00
Treehugger Robot
3b870faae2 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" am: 9df2d8e6bd -s ours am: e17d51b01e -s ours am: d2ef32c095 -s ours
am skip reason: subject contains skip directive

Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/1684570

Change-Id: Ic1f99c529e3ed62cc201d5dac8913b3be752176f
2021-04-22 21:04:00 +00:00
Treehugger Robot
d2ef32c095 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" am: 9df2d8e6bd -s ours am: e17d51b01e -s ours
am skip reason: subject contains skip directive

Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/1684570

Change-Id: I0239a1009b0c38d3e0ee97d0bc36b8c632940fe6
2021-04-22 20:42:45 +00:00
Treehugger Robot
e17d51b01e [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" am: 9df2d8e6bd -s ours
am skip reason: subject contains skip directive

Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/1684570

Change-Id: I6f89c30082430757bbf12fec6e17d179e766336d
2021-04-22 20:26:05 +00:00
Treehugger Robot
9df2d8e6bd Merge "Import translations. DO NOT MERGE ANYWHERE" 2021-04-22 20:02:03 +00:00
Bill Yi
ad054ca141 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I88d58cbf784b4801d60e7eca5c4d1495dc6bb8fc
2021-04-22 10:11:57 -07:00
Treehugger Robot
35587e8e43 Merge "Use gtest_prod_headers." am: 9c7ee78b48 am: b9fbbbb775 am: eca3159e45
Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/1681765

Change-Id: Ibe2683dbc2dd6e151a89341cb7d916c3890c3d30
2021-04-21 02:15:36 +00:00
Treehugger Robot
eca3159e45 Merge "Use gtest_prod_headers." am: 9c7ee78b48 am: b9fbbbb775
Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/1681765

Change-Id: I34ef43d6482440b025b697d5042d85c90b1213d8
2021-04-21 01:53:22 +00:00
Treehugger Robot
b9fbbbb775 Merge "Use gtest_prod_headers." am: 9c7ee78b48
Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/1681765

Change-Id: Ia0d8223a0a08fd5a2e7c0a8c5a332f104dd9d803
2021-04-21 01:13:54 +00:00
Treehugger Robot
9c7ee78b48 Merge "Use gtest_prod_headers." 2021-04-21 00:53:20 +00:00
Elliott Hughes
a85d7a0936 Use gtest_prod_headers.
Bug: http://b/185916167
Test: treehugger
Change-Id: I3407052df4f12b01acc4a75c6bd0759f7a4b2c4c
2021-04-20 11:58:05 -07:00
Bill Yi
45ab8d16a8 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 488f7664ab -s ours am: 96b82dfdf3 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/bootable/recovery/+/14237821

Change-Id: Ib7a7b9c617132923f558ee0381c2ff19ecff4270
2021-04-19 22:20:34 +00:00
Bill Yi
cd7930fe8f [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: b0c2d264f6 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/bootable/recovery/+/14237820

Change-Id: I6b1ed2d8616736467c99186a47312406e3f7f736
2021-04-19 22:10:15 +00:00
Bill Yi
96b82dfdf3 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 488f7664ab -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/bootable/recovery/+/14237821

Change-Id: I611150345bd048cf30c1ff1ae27cd85f58e31978
2021-04-19 21:59:50 +00:00
Bill Yi
00874ceb73 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I60b8d46e36b46008493de2e451d3182787109775
2021-04-19 19:55:21 +00:00
Bill Yi
488f7664ab Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ibf0801f85dee0f2009f3864f78e2534c24276676
2021-04-19 19:52:41 +00:00
Bill Yi
b0c2d264f6 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ibab2c8b52e7c6908935fee7de18d0be0d0184733
2021-04-19 19:51:27 +00:00
Bill Yi
0c955dd484 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I5cc773de7c06c6a4d6aec2498e39c5c3633b6dd5
2021-04-15 21:36:47 +00:00
Bill Yi
daf7da35f6 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 5e7bba7620 -s ours am: 551ca7568c -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/bootable/recovery/+/14161797

Change-Id: Ic69bcf65e984ac47bbcb6ec9d625965e7166f591
2021-04-12 19:53:24 +00:00
Bill Yi
551ca7568c [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 5e7bba7620 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/bootable/recovery/+/14161797

Change-Id: I000e1d6becb15dae8e731d144468f586cd3aa6d3
2021-04-12 19:04:44 +00:00
Bill Yi
5e7bba7620 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I0795c8ddd7d70038a5b6935a6a2a37dde36bb41e
2021-04-12 09:23:11 -07:00
Bill Yi
add68b3fc8 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 2ec0b3b489 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/bootable/recovery/+/14134299

Change-Id: Ia4a532109d0dc4751a49a07e63751088beb386c8
2021-04-09 17:11:17 +00:00
Bill Yi
2ec0b3b489 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2319c692bc7f1d457ece26843bc660bce027f21d
2021-04-08 23:36:47 -07:00
Bill Yi
5f6d08f526 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 8e045405d1 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/bootable/recovery/+/14093285

Change-Id: I2c7fd349aa9d5124ab581000c7c91de5d086dfbd
2021-04-05 17:14:45 +00:00
Bill Yi
8e045405d1 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Id1c247ae55b8ff5311ae07200b8b9f618cf53f3f
2021-04-05 04:56:28 -07:00
TreeHugger Robot
1238812ed4 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-04-01 21:12:51 +00:00
Treehugger Robot
e807efd1ea [automerger skipped] Merge "Revert "Update ImageGenerator to match the latest font names."" am: 853dd83390 am: 4810c99f09 am: 20c3f60afe -s ours
am skip reason: skip tag Change-Id I4499dafa3bb3bfcbb8a97dcfd5b4593db467fbd3 with SHA-1 8929f899ac is already in history

Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/1660606

Change-Id: I23eb24ff64e3be1a731b502f970f3f6501444d8b
2021-03-31 23:29:44 +00:00
Treehugger Robot
20c3f60afe Merge "Revert "Update ImageGenerator to match the latest font names."" am: 853dd83390 am: 4810c99f09
Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/1660606

Change-Id: Ic6f5008f010cc24cf7d78c3955ec6d535212e98b
2021-03-31 22:43:42 +00:00
Treehugger Robot
4810c99f09 Merge "Revert "Update ImageGenerator to match the latest font names."" am: 853dd83390
Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/1660606

Change-Id: Ib1a6d554c29ca3d8fb227c7a153bf810373e9922
2021-03-31 22:16:54 +00:00
Treehugger Robot
853dd83390 Merge "Revert "Update ImageGenerator to match the latest font names."" 2021-03-31 21:49:21 +00:00
Seigo Nonaka
e105751292 Revert "Update ImageGenerator to match the latest font names."
Revert "Rename font file with PostScript based names"

Revert submission 1606485-rename_fonts

Reason for revert: font file name requirement was removed.

Reverted Changes:
Iab8b9d65a:Update ImageGenerator to match the latest font nam...
Ifbe99d68c:Rename the font file with PostScript name based fi...
I307c21531:Rename font file with PostScript based names

Change-Id: Ic8174b4a4a736d9079dee4106bdfa5c440f877bb
Merged-In: I4499dafa3bb3bfcbb8a97dcfd5b4593db467fbd3
2021-03-31 20:38:07 +00:00
TreeHugger Robot
9ae11b3644 Merge "Revert "Update ImageGenerator to match the latest font names."" into sc-dev 2021-03-31 20:10:04 +00:00
Bill Yi
44acb4b964 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I8c748991e3e86d9892155c303c0ded675dfbef4f
2021-03-31 14:31:08 +00:00
Seigo Nonaka
8929f899ac Revert "Update ImageGenerator to match the latest font names."
This reverts commit 0a4e828357.

Reason for revert: font file name requirement has removed.

Change-Id: I4499dafa3bb3bfcbb8a97dcfd5b4593db467fbd3
2021-03-31 06:34:18 +00:00
android-build-team Robot
3978fd10a6 Snap for 7246159 from ec65618d0c to rvc-qpr3-release
Change-Id: Ie75dbec86a448ac434e9dfac7b6077c516212335
2021-03-30 22:01:50 +00:00
Bill Yi
e0988fb2b7 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: ec65618d0c -s ours am: 83881d1754 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/bootable/recovery/+/14020467

Change-Id: Iff57ac0a7d9d60ece22e8e9e9f7bb46b1e5cb350
2021-03-30 02:23:31 +00:00
Bill Yi
83881d1754 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: ec65618d0c -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/bootable/recovery/+/14020467

Change-Id: Id7a24045bf6f73401e76c108dbbd0c1d9da06e68
2021-03-30 01:36:43 +00:00