Commit graph

83972 commits

Author SHA1 Message Date
Dmitrii Merkurev
dec9caf1cc Merge "fastboot: get rid of manual transport memory management" into main am: f667b6d8ba
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2736776

Change-Id: Icf0624a7ee50d493c4a2e5a7417d9918fae411ef
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-05 14:42:30 +00:00
Dmitrii Merkurev
f667b6d8ba Merge "fastboot: get rid of manual transport memory management" into main 2023-09-05 14:04:54 +00:00
Thiébaud Weksteen
baced3df83 Merge "Remove SeamendcHostTest from TEST_MAPPING" into main am: 9fb6b49131
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2735076

Change-Id: I65ef081ba994aa4d36392d3eccbfe1f79d930845
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-05 06:15:32 +00:00
Thiébaud Weksteen
9fb6b49131 Merge "Remove SeamendcHostTest from TEST_MAPPING" into main 2023-09-05 05:10:01 +00:00
Dmitrii Merkurev
0b627d92c4 fastboot: get rid of manual transport memory management
Existing code has transport memory leaks. Use smart pointers
for transport to get rid of those cases and manual memory
management

Test: atest fastboot_test
Test: manually checked transport isn't leaking anymore
Bug: 296629925
Change-Id: Ifdf162d5084f61ae5c1d2b56a897464af58100da
Signed-off-by: Dmitrii Merkurev <dimorinny@google.com>
2023-09-03 17:30:46 +01:00
Treehugger Robot
149bfa5bdf Merge "Ignore 16K kernel modules when running on 4K kernel" into main am: a5c51c9cee
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2726056

Change-Id: Idd2c213430b70a928b11cfcde31b6c0c3fe02f71
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-01 22:19:08 +00:00
Treehugger Robot
a5c51c9cee Merge "Ignore 16K kernel modules when running on 4K kernel" into main 2023-09-01 21:27:25 +00:00
Kelvin Zhang
dba385edda Ignore 16K kernel modules when running on 4K kernel
Test: th
Bug: 293313353
Change-Id: I02ea01c8e67b9ded164c7492eea3be0aead75de1
2023-09-01 09:55:35 -07:00
Thiébaud Weksteen
18ff56d8d7 Remove SeamendcHostTest from TEST_MAPPING
Bug: 297794885
Test: TH
Change-Id: I49c6caa575ccd570085de15ddf51ea9a71abe90f
2023-08-31 14:22:48 +10:00
Daniel Zheng
e15c9ac64f Merge "Fixing optimization logic" into main am: 09a61fad87
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2726539

Change-Id: Ib1747dfcba4cf5a9109c2f426a95ababc05e927b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-30 18:23:03 +00:00
Daniel Zheng
09a61fad87 Merge "Fixing optimization logic" into main 2023-08-30 17:46:44 +00:00
Daniel Zheng
1ef66b70ff Fixing optimization logic
Adding a hard pattern check for optimized task formation. To keep
behavior consistent, we will remove the old initialization path and add
resize tasks after attempting optimization.

Test: fastboot_test
Bug: 297085098
Change-Id: Ie0e656af9be7abdd130290fe547ffbf385ce75d6
2023-08-30 09:39:30 -07:00
David Anderson
b8cf4b820f Merge "snapuserd: Add snapuserd_test to presubmit and VTS." into main am: 5b91ae9f4e
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2698913

Change-Id: Ia766fe856c9f507def6a4912f05a85c1c0c89631
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-29 23:12:42 +00:00
David Anderson
5b91ae9f4e Merge "snapuserd: Add snapuserd_test to presubmit and VTS." into main 2023-08-29 22:10:27 +00:00
Xin Li
fcae454545 Merge "Merge Android U (ab/10368041)" into aosp-main-future 2023-08-28 22:12:53 +00:00
Treehugger Robot
f148dbb40d Merge "Make simg2img host-only" into main am: 5aa25bf3ae
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2727087

Change-Id: Iafb0bb217f3c72d579c90cb0a8b005ce877ec1b6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-28 18:35:38 +00:00
Treehugger Robot
5aa25bf3ae Merge "Make simg2img host-only" into main 2023-08-28 17:44:24 +00:00
Cole Faust
81c4e225bf Make simg2img host-only
This is supposed to be a host tool, but was being installed on
cuttlefish devices.

Bug: 205632228
Test: Presubmits
Change-Id: I9eb1ae1a5c171253617fa12283e2ec651afb5539
2023-08-28 09:53:30 -07:00
Xin Li
4484eb1bfd Merge Android U (ab/10368041)
Bug: 291102124
Merged-In: I849958d9e9de3be48e32f57acc7b3526e184482c
Change-Id: Ic765b54aa981b6370b5dff6b4cf046bbe9fbdbaf
2023-08-25 13:54:47 -07:00
Treehugger Robot
0bb51f7606 Merge "Migrate from android::String isEmpty to empty" into main am: 18560efc30
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2705823

Change-Id: I0e36482d480ab8396c42095239e88f560f4d1d99
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-25 17:41:56 +00:00
Treehugger Robot
18560efc30 Merge "Migrate from android::String isEmpty to empty" into main 2023-08-25 17:07:42 +00:00
David Anderson
9077049910 Merge "snapuserd: Fix race condition in MergeWorker::WaitForMergeBegin." into main am: c718295a58
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2701653

Change-Id: I62acd8492c2e2761584f2490c8b2db27dcfe3838
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-25 17:01:19 +00:00
David Anderson
c718295a58 Merge "snapuserd: Fix race condition in MergeWorker::WaitForMergeBegin." into main 2023-08-25 16:09:35 +00:00
Snehal Koukuntla
17a2bf47b6 Merge "Add UUIDs to profraw filenames" into main am: c174f14617
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2706079

Change-Id: I312a8d2833acc4e89e5974f30e0d8226dafc2642
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-25 14:56:05 +00:00
Snehal Koukuntla
c174f14617 Merge "Add UUIDs to profraw filenames" into main 2023-08-25 14:21:23 +00:00
Treehugger Robot
0b3c8ca0b2 Merge "Increase the number of service supplementary group" into main am: 89b4f96d50
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2727414

Change-Id: Ied5f18880bfdc7cc29a975378e6265df9a598a10
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-25 10:05:50 +00:00
Treehugger Robot
89b4f96d50 Merge "Increase the number of service supplementary group" into main 2023-08-25 09:37:25 +00:00
Yinchu Chen
3343ca2380 Increase the number of service supplementary group
OEM can add self-owned groups, but the system init cannot support if the group numbers are over than 12, relax some restrictions as appropriate.

Bug: b/296826987

Signed-off-by: Haichao Li <liuhc3@motorola.com>
Change-Id: I231d9f6c82e93c08bc97ca32df70e5b28760acbc
2023-08-25 04:24:48 +00:00
Tomasz Wasilczyk
80738a1e0b Merge "Implement String8|16::empty and String16::length" into main am: 9578c774a9
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2705822

Change-Id: If14f11f1ec862554e698f443195751b8a997eba9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-24 19:28:24 +00:00
Tomasz Wasilczyk
9578c774a9 Merge "Implement String8|16::empty and String16::length" into main 2023-08-24 18:31:56 +00:00
Tomasz Wasilczyk
5ba379817d Merge "Lose convertToResPath to aapt." into main am: 92ad0d32c0
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1764798

Change-Id: I8d3aa01961aae5760f5c476014deeaea516e6bd8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-24 17:23:48 +00:00
Tomasz Wasilczyk
92ad0d32c0 Merge "Lose convertToResPath to aapt." into main 2023-08-24 16:46:49 +00:00
Treehugger Robot
0168cc256a Merge "Update bug component from Android Systems to OTA client" into main am: c728c39121
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2719636

Change-Id: I42b8305056a3e9b153b6f8d44808b5dc5092da45
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-24 11:32:12 +00:00
Treehugger Robot
c728c39121 Merge "Update bug component from Android Systems to OTA client" into main 2023-08-24 11:13:12 +00:00
Elliott Hughes
1d98fe0d39 Lose convertToResPath to aapt.
aapt (not aapt2) is the only user.

Test: treehugger
Change-Id: Ie69f84f4f805c69f838e345b44755a316b9f9b06
2023-08-24 04:33:05 +00:00
Treehugger Robot
68c2432f77 Merge "Drop String::empty()" into main am: 47fc3df9a0
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2707114

Change-Id: If551ac01d8dcfc5862888b561f3a99a01c1f6540
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-24 04:21:44 +00:00
Treehugger Robot
47fc3df9a0 Merge "Drop String::empty()" into main 2023-08-24 03:58:55 +00:00
Daniel Zheng
b1cbaa77de Merge "Add unit test for cow compressor performance" into main am: f278b54731
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2722633

Change-Id: I0d25885f62daf3f5e750be2ceeecb29a34083645
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-23 20:34:10 +00:00
Daniel Zheng
12a3909628 Merge "Add documentation to README" into main am: beeeef7b34
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2722494

Change-Id: I719ca310a39789edaab5df56c729c3b7ac175fbe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-23 20:33:58 +00:00
Daniel Zheng
f278b54731 Merge "Add unit test for cow compressor performance" into main 2023-08-23 19:45:55 +00:00
Daniel Zheng
beeeef7b34 Merge "Add documentation to README" into main 2023-08-23 19:45:27 +00:00
Treehugger Robot
a310c0743d Merge "Fix one liner" into main am: b5f51166e7
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2721418

Change-Id: Id2058ba14e0e049e99e8b2f90599fd155177ee8b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-23 18:36:23 +00:00
Treehugger Robot
b5f51166e7 Merge "Fix one liner" into main 2023-08-23 18:09:32 +00:00
Daniel Zheng
eb70926ad6 Add unit test for cow compressor performance
Adding test to measure performance differences between cow compression
algorithms + levels. This gives us an easy way to test performance
between the tunables without having to run an OTA every time. Ultimately we want this to be separate from
cow_api_test so it would be nice to have this be it's own binary. Can
add some tests for decompression + compressing from a part of an actual
img file too.

Test: m cow_benchmark
Change-Id: Iba92ae3c0b2ad4ff6f842556b701b223d7d37823
2023-08-23 10:20:15 -07:00
Daniel Zheng
b497e6f317 Fix one liner
Ensuring that the expression is evaluated before being outputed. In
response to comment from aosp/2708333

Test: th
Change-Id: I073c143f1c4e32af11e235ce782947b250117dc5
2023-08-22 14:45:15 -07:00
Daniel Zheng
2326e056bd Add documentation to README
adding documentation on how to use fastboot-info inside of fastboot
README

Test: na
Bug: 297084293
Change-Id: Ic2d17c92a776f1cae9ef80f6b615ddbc841afb74
2023-08-22 14:27:16 -07:00
Treehugger Robot
052542d0fd Merge "Run boringssl tests according to ro.zygote" into main am: a2bac909ce
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2702893

Change-Id: I2ce4e4ebb22ec65dc4b5108131f9df21cf4a3200
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-22 13:12:05 +00:00
Treehugger Robot
a2bac909ce Merge "Run boringssl tests according to ro.zygote" into main 2023-08-22 12:55:07 +00:00
Alessio Balsini
d35715c021 Update bug component from Android Systems to OTA client
It's been a while since the Android Systems bug component does not
access the creation of new bugs for triage, instead, new bugs must
be created in the subcomponents of the team.
This change updates the bug component originally associated to this
subsystem from the Android Systems' 30545 to OTA client's 1014951.

Test: none
Bug: 270571229
Change-Id: I5455086bf777dd20abb2e2f0360f76a003120126
Signed-off-by: Alessio Balsini <balsini@google.com>
2023-08-22 10:18:47 +01:00
Treehugger Robot
6011f614b4 Merge "init: reset errno in do_start" into main am: 0508911496
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2720693

Change-Id: I85ae93eb5c013d766c4bcd5fee93376981f28882
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-22 08:57:42 +00:00