Commit graph

9379 commits

Author SHA1 Message Date
Bill Yi
d797be3366 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I043a1a7d053a6864e2cbd826888076fb97e8f8fe
2020-12-25 12:43:46 -08:00
TreeHugger Robot
00b9a54fd1 Merge "Update Indic scripts" 2020-12-16 14:02:13 +00:00
Kelvin Zhang
d7901f4758 Merge "Do not call exit() immediately after serving sideload" am: a8e394942e am: d7c894e0bc am: 51ee1b064a
Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/1523478

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I84984bafe0b6ffeaaa9b56b6508ae647789d6877
2020-12-15 19:28:47 +00:00
Kelvin Zhang
51ee1b064a Merge "Do not call exit() immediately after serving sideload" am: a8e394942e am: d7c894e0bc
Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/1523478

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I7908efc0ed88c908f20c2ce349961e4eb0398782
2020-12-15 19:12:18 +00:00
Kelvin Zhang
d7c894e0bc Merge "Do not call exit() immediately after serving sideload" am: a8e394942e
Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/1523478

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ie1fa8397edbabb570cc276a5c26a72d88caf41bb
2020-12-15 18:49:26 +00:00
Kelvin Zhang
a8e394942e Merge "Do not call exit() immediately after serving sideload" 2020-12-15 17:52:58 +00:00
Kelvin Zhang
e32c9f728e Do not call exit() immediately after serving sideload
Wait for socket to close before exit(), so that last "DONEDONE" message
is correctly sent.

Test: enter recovery, sideload an OTA, verify that no read error occured
      on client side. Repeat 5 times.
Bug: 155158483
Change-Id: Ibb02548d8c03fb77f8f60cb69cff84c33903adc0
2020-12-14 17:22:16 -05:00
Marek Z Jeziorek
b84e81b253 Update Indic scripts
Bug: 175510263

Test: Manual
Test: https://en.wikipedia.org/wiki/Bengali_(Unicode_block)
Test: https://en.wikipedia.org/wiki/Devanagari_(Unicode_block)
Test: https://en.wikipedia.org/wiki/Gujarati_(Unicode_block)
Test: https://en.wikipedia.org/wiki/Gurmukhi_(Unicode_block)
Test: https://en.wikipedia.org/wiki/Kannada_(Unicode_block)
Test: https://en.wikipedia.org/wiki/Malayalam_(Unicode_block)
Test: https://en.wikipedia.org/wiki/Sinhala_(Unicode_block)
Test: https://en.wikipedia.org/wiki/Tamil_(Unicode_block)
Test: https://en.wikipedia.org/wiki/Telugu_(Unicode_block)
Test: http://www.unicode.org/udhr/d/udhr_ben.html
Test: http://www.unicode.org/udhr/d/udhr_hin.html
Test: http://www.unicode.org/udhr/d/udhr_guj.html
Test: http://unicode.org/udhr/d/udhr_pan.html
Test: http://www.unicode.org/udhr/d/udhr_kan.html
Test: http://www.unicode.org/udhr/d/udhr_mal.html
Test: https://www.unicode.org/udhr/d/udhr_sin.html
Test: http://www.unicode.org/udhr/d/udhr_tam.html
Test: http://www.unicode.org/udhr/d/udhr_tel.html
Change-Id: I60c435f5c45595ed73df2ac4a9f688725f7aad07
2020-12-14 02:44:28 +00:00
Bill Yi
59bbe62d8a [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: b1b27d1113 -s ours am: 0919091d63 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ib5d22603e12aab32fc4ed9491cae4a9e6c3d6aa9
2020-12-04 10:16:07 +00:00
Bill Yi
0919091d63 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: b1b27d1113 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Id3d4b37ea10b416775abc6c4cb4c78889fa38aec
2020-12-04 09:29:33 +00:00
Bill Yi
b1b27d1113 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ic32d018d3999147ef0a9ef625006cf069e46bc74
2020-12-03 19:27:57 -08:00
TreeHugger Robot
1683a95f8a Merge "Add support for controlling recovery brightness at exynos-compatible sysfs path" 2020-12-04 00:11:11 +00:00
Lincoln Atkinson
fcf4b6bca0 Add support for controlling recovery brightness at exynos-compatible sysfs path
Test: manual
Bug: 139537581
Exempt-From-Owner-Approval: wear branch
Change-Id: I163ea0d5e716c9fad28fb2c64306ed24362c53c7
(cherry picked from commit c9c5fcf8d6c9a6be7a5e07bcf94a3f841eaaca25)
(cherry picked from commit 526bd581bca75f93778eb773674773de21fe8f54)
2020-12-03 22:24:19 +00:00
Xin Li
3bb3569d1a [automerger skipped] Merge rvc-qpr-dev-plus-aosp-without-vendor@6881855 am: ade32af710 -s ours am: 5a454d1810 -s ours
am skip reason: Change-Id Idc15c7280ab625d015801313ae71bf04a5abdf81 with SHA-1 1c87c957f5 is in history

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

Change-Id: I32b1f718aa85f80d6ef5f2b62778e4ccf74e238f
2020-12-03 04:39:36 +00:00
Xin Li
5a454d1810 [automerger skipped] Merge rvc-qpr-dev-plus-aosp-without-vendor@6881855 am: ade32af710 -s ours
am skip reason: Change-Id Idc15c7280ab625d015801313ae71bf04a5abdf81 with SHA-1 1c87c957f5 is in history

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

Change-Id: Iad075f593c320c9b56ccc6fe8a5b10b092c623a3
2020-12-03 04:25:16 +00:00
Xin Li
ade32af710 Merge rvc-qpr-dev-plus-aosp-without-vendor@6881855
Bug: 172690556
Merged-In: Idc15c7280ab625d015801313ae71bf04a5abdf81
Change-Id: I2d3ec29aa5b0c162c70e7712025eaa22ec769dcc
2020-11-23 13:12:20 -08:00
Will Coster
01e576e61a Merge "Add a fuzzer for OTA package verification" am: 6a4dbdf088 am: 923cdf3db1 am: ab1a7bb228 am: a66580cd75
Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/1495296

Change-Id: Ie628f4e8abaaed3609899fe9a24b80fb776b7760
2020-11-17 01:48:42 +00:00
Will Coster
a66580cd75 Merge "Add a fuzzer for OTA package verification" am: 6a4dbdf088 am: 923cdf3db1 am: ab1a7bb228
Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/1495296

Change-Id: I698733224a81087206eafc3ac1dab551f55d4904
2020-11-17 00:24:26 +00:00
Will Coster
ab1a7bb228 Merge "Add a fuzzer for OTA package verification" am: 6a4dbdf088 am: 923cdf3db1
Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/1495296

Change-Id: If5f5b827863fa792d60cba0962cec0737bc48b44
2020-11-17 00:10:37 +00:00
Will Coster
923cdf3db1 Merge "Add a fuzzer for OTA package verification" am: 6a4dbdf088
Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/1495296

Change-Id: I35603bcb3178373414b19bbaca94d270e88b827c
2020-11-16 22:59:34 +00:00
Will Coster
6a4dbdf088 Merge "Add a fuzzer for OTA package verification" 2020-11-16 22:43:19 +00:00
Will Coster
de455707e6 Add a fuzzer for OTA package verification
This is a pretty simplistic approach, it just shoves random data at the
verifier. The OTA format isn't too complicated so this should hopefully
be sufficient to let the fuzzer exercise the potentially interesting
parsing code.

Test: Let the fuzzer run on device for awhile:
      1) FUZZ=libinstall_verify_package_fuzzer
      2) SANITIZE_TARGET=hwaddress make ${FUZZ}
      3) cd ${ANDROID_PRODUCT_OUT} && adb root && adb sync data
      4) adb shell /data/fuzz/arm64/${FUZZ}/${FUZZ}
Change-Id: Icac6bde017b497d9f92c06191eb29e107ba9c0a7
2020-11-10 14:26:17 -08:00
TreeHugger Robot
c32fb5764d Merge "Import translations. DO NOT MERGE" 2020-11-10 19:57:19 +00:00
Bill Yi
a501d0b39a Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I01a663c6f8cb274551e120936bce5ae19866d24b
2020-11-10 13:45:48 +00:00
Treehugger Robot
dd7b8dd01a Merge "Expose EthernetDevice to custom UIs" am: 0feaf90f92 am: 6ab06e1de6 am: c115e8acb9 am: 849a2c44c7
Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/1491198

Change-Id: I66d49a4c45cdf21569e69066bd8832fc9861d607
2020-11-10 05:16:16 +00:00
Treehugger Robot
849a2c44c7 Merge "Expose EthernetDevice to custom UIs" am: 0feaf90f92 am: 6ab06e1de6 am: c115e8acb9
Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/1491198

Change-Id: Id05a6dc8f4a2380fd11b57fd51a8868f18f29daf
2020-11-10 04:50:34 +00:00
Treehugger Robot
c115e8acb9 Merge "Expose EthernetDevice to custom UIs" am: 0feaf90f92 am: 6ab06e1de6
Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/1491198

Change-Id: I28713dd5572a3f602c8a784d0814ced3d42d5954
2020-11-10 04:22:59 +00:00
Treehugger Robot
6ab06e1de6 Merge "Expose EthernetDevice to custom UIs" am: 0feaf90f92
Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/1491198

Change-Id: I3bf249a154df6cbdc3a39212e537ff96ad694c3f
2020-11-10 04:05:16 +00:00
Treehugger Robot
0feaf90f92 Merge "Expose EthernetDevice to custom UIs" 2020-11-10 03:43:33 +00:00
Bill Rassieur
12e302cddb Merge sc-d1-dev 6958804 into master.
Change-Id: Ic23eb2998ca646064d3381d28b06a1df1cee46d3
BUG:171916167
2020-11-07 19:05:43 +00:00
Alistair Delva
f7b547171e Expose EthernetDevice to custom UIs
Make it possible to build a custom UI which uses EthernetRecoveryUI.

Since EthernetRecoveryUI must be used with EthernetDevice, but the
make_device() function is the only place a custom UI can be specified,
we need to move the common EthernetDevice to the recovery_ui core and
make a new "default_ethernet_device" which looks like the other
default device library stubs, for backwards compatibility.

This makes it possible to use EthernetRecoveryUI on cuttlefish.

Bug: 172693524
Change-Id: I6a66bb949ef97d06f532adb286d2db4c002d2924
2020-11-06 16:35:46 -08:00
Baligh Uddin
7468a9def3 [automerger skipped] Migrate system/core/adb to packages/modules/adb am: 1503248b79 -s ours am: 0010cf439e -s ours
am skip reason: Change-Id Ied65135d7c635d1675af591ccc64c26632935161 with SHA-1 3f325800af is in history

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

Change-Id: I27c6e7d341f380c32d4b723c18fee7891c3e65b6
2020-10-24 13:18:54 +00:00
Baligh Uddin
0010cf439e [automerger skipped] Migrate system/core/adb to packages/modules/adb am: 1503248b79 -s ours
am skip reason: Change-Id Ied65135d7c635d1675af591ccc64c26632935161 with SHA-1 3f325800af is in history

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

Change-Id: Ib79764dd99658c1723260b38385c59608d7d88b5
2020-10-24 13:04:28 +00:00
Baligh Uddin
1503248b79 Migrate system/core/adb to packages/modules/adb
BUG: 167963357
Test: TH
Merged-In: Ied65135d7c635d1675af591ccc64c26632935161
Change-Id: I9dc89eb980796b84bbfbc9d977bb473473a933e5
2020-10-23 22:46:09 +00:00
Baligh Uddin
39f52520ac [automerger skipped] Merge "Migrate system/core/adb to packages/modules/adb" am: 7bc92050e3 am: 7f4a3daee5 -s ours am: 7f3688598a -s ours am: a4fc503b41 -s ours am: ef4e02438c -s ours
am skip reason: Change-Id Ied3afa5d19d814155c5ecbe2363ba544f2ab96b7 with SHA-1 4f22d8699c is in history

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

Change-Id: Id9050d31a0e6a0ebbe7908d27a3d86eac603512f
2020-10-23 18:08:21 +00:00
Baligh Uddin
ef4e02438c [automerger skipped] Merge "Migrate system/core/adb to packages/modules/adb" am: 7bc92050e3 am: 7f4a3daee5 -s ours am: 7f3688598a -s ours am: a4fc503b41 -s ours
am skip reason: Change-Id Ied3afa5d19d814155c5ecbe2363ba544f2ab96b7 with SHA-1 4f22d8699c is in history

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

Change-Id: I8c65100cca5d9740f1ba002cc1dc66bf375ffe31
2020-10-23 17:55:45 +00:00
Baligh Uddin
a4fc503b41 [automerger skipped] Merge "Migrate system/core/adb to packages/modules/adb" am: 7bc92050e3 am: 7f4a3daee5 -s ours am: 7f3688598a -s ours
am skip reason: Change-Id Ied3afa5d19d814155c5ecbe2363ba544f2ab96b7 with SHA-1 4f22d8699c is in history

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

Change-Id: I9884463a640a2d49bc2fc4250bed310f0c8f6bef
2020-10-23 17:24:24 +00:00
Baligh Uddin
7f3688598a [automerger skipped] Merge "Migrate system/core/adb to packages/modules/adb" am: 7bc92050e3 am: 7f4a3daee5 -s ours
am skip reason: Change-Id Ied3afa5d19d814155c5ecbe2363ba544f2ab96b7 with SHA-1 4f22d8699c is in history

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

Change-Id: I370bb64af4ce8ed3bd8fcb1b72913f8a590bde26
2020-10-23 16:55:32 +00:00
Baligh Uddin
7f4a3daee5 Merge "Migrate system/core/adb to packages/modules/adb" am: 7bc92050e3
Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/1465385

Change-Id: I3596c39c29e7837a5ccc3850c1e6cb3d5177c365
2020-10-23 16:39:25 +00:00
Baligh Uddin
7bc92050e3 Merge "Migrate system/core/adb to packages/modules/adb" 2020-10-23 16:16:32 +00:00
Baligh Uddin
33bfac2f5e [automerger skipped] Migrate system/core/adb to packages/modules/adb am: 4f22d8699c -s ours am: 0e12979126 -s ours am: 366d64fc10 -s ours
am skip reason: Change-Id Ia6b4ff799d94a0509f971086e72a60f1f1734e49 with SHA-1 5528e50e56 is in history

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

Change-Id: Iad8b35c56b8c7698bd7401e455883a34beaea8ad
2020-10-23 13:25:57 +00:00
Baligh Uddin
366d64fc10 [automerger skipped] Migrate system/core/adb to packages/modules/adb am: 4f22d8699c -s ours am: 0e12979126 -s ours
am skip reason: Change-Id Ia6b4ff799d94a0509f971086e72a60f1f1734e49 with SHA-1 5528e50e56 is in history

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

Change-Id: I12e089b6035996e8e9c8d5cad4cb4363c4fb86f8
2020-10-23 13:06:39 +00:00
Baligh Uddin
0e12979126 [automerger skipped] Migrate system/core/adb to packages/modules/adb am: 4f22d8699c -s ours
am skip reason: Change-Id Ia6b4ff799d94a0509f971086e72a60f1f1734e49 with SHA-1 5528e50e56 is in history

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

Change-Id: I48fb841259fd9e993ab7969917be34d84f87cb11
2020-10-23 12:49:57 +00:00
Baligh Uddin
ec1c3fe2e7 [automerger skipped] Migrate system/core/adb to packages/modules/adb am: 5528e50e56 -s ours am: 3821213696 -s ours
am skip reason: Change-Id Ied65135d7c635d1675af591ccc64c26632935161 with SHA-1 3f325800af is in history

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

Change-Id: Idd399a840f913a2f26f744bf56944b2e6bf35a4d
2020-10-23 03:44:40 +00:00
Baligh Uddin
0e313c1c2c Migrate system/core/adb to packages/modules/adb
BUG: 167963357
Test: TH
Merged-In: Ied3afa5d19d814155c5ecbe2363ba544f2ab96b7
Change-Id: Ied65135d7c635d1675af591ccc64c26632935161
2020-10-23 03:42:07 +00:00
Baligh Uddin
3821213696 [automerger skipped] Migrate system/core/adb to packages/modules/adb am: 5528e50e56 -s ours
am skip reason: Change-Id Ied65135d7c635d1675af591ccc64c26632935161 with SHA-1 3f325800af is in history

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

Change-Id: I3324c7701c1b7fded7ae339e2484160233a3bd2b
2020-10-23 02:01:27 +00:00
Baligh Uddin
f4d73f4ca1 Migrate system/core/adb to packages/modules/adb am: 3f325800af
Original change: https://googleplex-android-review.googlesource.com/c/platform/bootable/recovery/+/12886590

Change-Id: I7fd34454133bdc907a1353798f5a0b8fbad9d9a6
2020-10-22 22:55:40 +00:00
Baligh Uddin
4f22d8699c Migrate system/core/adb to packages/modules/adb
BUG: 167963357
Test: TH
Merged-In: Ia6b4ff799d94a0509f971086e72a60f1f1734e49
Change-Id: Ied3afa5d19d814155c5ecbe2363ba544f2ab96b7
2020-10-22 22:21:03 +00:00
Baligh Uddin
5528e50e56 Migrate system/core/adb to packages/modules/adb
BUG: 167963357
Test: TH
Merged-In: Ied65135d7c635d1675af591ccc64c26632935161
Change-Id: Ia6b4ff799d94a0509f971086e72a60f1f1734e49
2020-10-22 20:15:06 +00:00
Baligh Uddin
3f325800af Migrate system/core/adb to packages/modules/adb
BUG: 167963357
Test: TH
Change-Id: Ied65135d7c635d1675af591ccc64c26632935161
2020-10-21 20:40:25 +00:00