Daniel Zheng
85c0f3e567
Updated location of initialization
...
Test: tested flashall on raven
Bug: 194686221
Change-Id: Ie0dd7acd65833a938623e374e2b21e6bd6079d08
2023-03-20 20:21:31 +00:00
Daniel Zheng
f1ddba9dfd
Updating FlashTask to require img-name
...
Test: tested flash {partition} on pixel
Bug: 194686221
Change-Id: I8018e48f68606ec9c559d06973154d79e7c0634a
2023-03-20 20:20:43 +00:00
Daniel Zheng
980985af6e
Removed hardcoded check to copy AVB Footer
...
Test: tested flashall on raven
Bug: 194686221
Change-Id: Iaca03bde51fcd6b2886dc8ba84da4f67174a9c3f
2023-03-20 16:24:40 +00:00
Jingwen Chen
095374cde7
Merge "Make the host_init_verifier init.rc parser follow symlinks."
2023-03-17 06:42:04 +00:00
Treehugger Robot
fad4ded860
Merge "charger: fix show qustion mark when start to draw UI"
2023-03-17 03:17:50 +00:00
Treehugger Robot
0ceca7145a
Merge "Match the arm/arm64 style in the x86/x86-64 files."
2023-03-17 02:51:49 +00:00
Jingwen Chen
f643b354fe
Make the host_init_verifier init.rc parser follow symlinks.
...
Bazel's intermediates/inputs are symlinks in its execution root, unlike Soong.
e.g.
$ file $(readlink -f out/bazel/output/execroot/__main__/packages/modules/adb/apex/adbd.rc)
/usr/local/google/home/jingwen/aosp/master-with-phones/packages/modules/adb/apex/adbd.rc:
ASCII text
Test: presubmits
Change-Id: I3977a37ee989e07bee56abb019a21055b8cef567
2023-03-17 02:47:21 +00:00
Jack Wu
9ac8d76c11
charger: fix show qustion mark when start to draw UI
...
skip drawing UI for max 5 seconds if battery level is not ready.
Bug: 265896703
Test: confirm offmode charge UI behavior
Change-Id: I11ae3419749be8d3c1d8d8e61eb4446d276ac1ad
Signed-off-by: Jack Wu <wjack@google.com>
2023-03-17 01:28:56 +00:00
Elliott Hughes
d5c90b0337
Match the arm/arm64 style in the x86/x86-64 files.
...
Test: treehugger
Change-Id: Id67cfeab293c7530aa1905a39455e8513d51e978
2023-03-17 00:40:26 +00:00
Daniel Zheng
db2372b310
Merge "Changing FlashTask to take in apply_vbmeta"
2023-03-16 15:43:08 +00:00
Steven Moreland
bc21816d5b
Merge "init_kill_services_test: clearer logs"
2023-03-15 23:59:10 +00:00
Steven Moreland
d9d4034d0b
init_kill_services_test: clearer logs
...
Don't continue with a specific run if a service
is already dead.
Bug: 272618190
Test: init_kill_services_test
Change-Id: I1b1c0b4e87fd7a5200bd6e6e6af2eb9686d7367d
2023-03-15 21:47:38 +00:00
Treehugger Robot
1d25c20ada
Merge "libprocessgroup: Add argument checks in KillProcessGroup()"
2023-03-15 21:32:07 +00:00
Treehugger Robot
89d8fdf3ed
Merge "init tests: libhidl-gen-utils static"
2023-03-15 21:16:50 +00:00
Steven Moreland
973aadeff5
init tests: libhidl-gen-utils static
...
No longer installed on device, so we need to include
it as a static lib. This library was actually specified
as a dependency on vts_ibase_test in two places, so this
is the second CL doing the same thing but in another
project.
Fixes: 270497432
Test: readelf -d $ANDROID_BUILD_TOP/out/target/product/vsoc_x86_64/data/nativetest/vts_ibase_test/vts_ibase_test
no longer shows libhidl-gen-utils
Change-Id: Icf427085e3978906e82231c8faacb7bdbcbf4569
2023-03-15 19:40:56 +00:00
David Anderson
674b650c8d
Merge "Remove the libsnapshot fuzzer."
2023-03-15 16:40:15 +00:00
Bart Van Assche
51e58aced4
libprocessgroup: Add argument checks in KillProcessGroup()
...
Apparently there is Java code that calls KillProcessGroup() with an
invalid initialPid argument. Hence this CL that makes KillProcessGroup()
fail early if one of its arguments is invalid.
Change-Id: I42f98eed139d9d0950428d04180e4613ba74b4e6
Signed-off-by: Bart Van Assche <bvanassche@google.com>
2023-03-15 09:35:06 -07:00
Sam Dubey
55f9fa3911
Remove the libsnapshot fuzzer.
...
Follow u aosp/2480175
Test Breakage: http://shortn/_YhuHhWTtnw
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:a3faea8551c03d55924f013b479e869dda8fb166 )
Change-Id: I82b0bc9be70fab249b17d6a5b96af09ee14b1586
2023-03-14 11:23:15 +00:00
Tri Vo
dc8a0b820e
Merge "Remove RemoteProvisioner" am: 3aa6c71d43
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2485616
Change-Id: I11527a0542ee6524947c674599ae877cf5aea9d0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-14 04:29:01 +00:00
Tri Vo
3aa6c71d43
Merge "Remove RemoteProvisioner"
2023-03-14 03:54:17 +00:00
Christopher Ferris
eece71ae8a
Merge "Fix unwind information for crash assembler." am: e6453c54d9
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2485457
Change-Id: Ib632c471cee8b10ac8f81830406d9d86033e116e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-14 02:33:31 +00:00
Christopher Ferris
e6453c54d9
Merge "Fix unwind information for crash assembler."
2023-03-14 02:01:34 +00:00
Treehugger Robot
270959a336
Merge "Stop respawning serial console if disabled" am: a6b295b95e
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2485621
Change-Id: I7cd7e1bd58b65e52dbfff4b3b2ba197f10cc8b9f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-14 01:17:55 +00:00
Treehugger Robot
a6b295b95e
Merge "Stop respawning serial console if disabled"
2023-03-14 00:49:16 +00:00
Alistair Delva
f9bfe0d16d
Stop respawning serial console if disabled
...
After introducing ro.boot.serialconsole=0, the console will no longer be
spawned, but a step was missed to disable the service to prevent
respawns.
Bug: 266982931
Bug: 223797063
Bug: 267428635
Change-Id: I12b159eaa1999781aec31c05ce431b55e2ba4017
2023-03-13 16:09:36 -07:00
Christopher Ferris
4761355a54
Fix unwind information for crash assembler.
...
Test: Crash on arm, arm64, x86, x86_64 and verified full stack is
Test: found in tombstone.
Change-Id: I809ec66d6ce9af378c8e8b04cc1c85b51a61779f
2023-03-13 14:44:22 -07:00
Tri Vo
ee45e23798
Remove RemoteProvisioner
...
RemoteProvisioner is deprecated in favor of RKPD
Bug: 273325840
Test: m
Change-Id: I71abe9e0173ef399f9bca65814995aa7e66f1ebe
2023-03-13 13:55:32 -07:00
David Anderson
09047e2366
Merge changes Ife319450,I2ecf838b am: 10c200db28
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2481033
Change-Id: I5a0cfc2355204203cc8d02f2d581a2da344139c2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-13 19:40:28 +00:00
David Anderson
10c200db28
Merge changes Ife319450,I2ecf838b
...
* changes:
snapshotctl: Display merge progress and phases.
Remove the libsnapshot fuzzer.
2023-03-13 19:27:06 +00:00
Daniel Zheng
cfefe87d96
Merge "Added support for Wipe Task" am: bc1789b153
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2485335
Change-Id: I11211bd2f0e595dd41282448fca06c41ff8c9d9a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-13 19:24:11 +00:00
David Anderson
20c34a1d1d
Merge changes I262391dd,I18aad4a5,I0786e475 am: 8845b1d9c7
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2443802
Change-Id: Ia4de33f6df7f10e6439c40bdab8ace687c063265
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-13 19:24:00 +00:00
Daniel Zheng
bc1789b153
Merge "Added support for Wipe Task"
2023-03-13 18:58:10 +00:00
David Anderson
8845b1d9c7
Merge changes I262391dd,I18aad4a5,I0786e475
...
* changes:
snapuserd: Move socket and io_uring status out of core and into the server.
snapuserd: Rename UserSnapshotDmUserHandler to HandlerThread.
snapuserd: Split out the implementation into a libsnapuserd component.
2023-03-13 18:53:28 +00:00
Daniel Zheng
403657d998
Changing FlashTask to take in apply_vbmeta
...
Test: tested on Raven
Change-Id: I709842d87aa4ad6a7772e4f441886d127c3028a7
2023-03-13 18:28:14 +00:00
David Anderson
efcc9ae010
snapshotctl: Display merge progress and phases.
...
Bug: N/A
Test: snapshotctl dump during merge phase
Change-Id: Ife319450b28c8c58268a03127e9f58c47fc224d8
2023-03-13 10:53:54 -07:00
Daniel Zheng
15e7783263
Added support for Wipe Task
...
Test: tested wipe on Raven
Bug: 194686221
Change-Id: I582800a279cbe8a3e733a1e75447e5b5142d4120
2023-03-13 17:37:31 +00:00
Treehugger Robot
813557252a
Merge "Add RKPD unit tests to trusty keymaster changes." am: f8b5e48eee
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2475212
Change-Id: I817079656f664304af1df708e4ea5d87282a8958
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-13 10:04:42 +00:00
Treehugger Robot
f8b5e48eee
Merge "Add RKPD unit tests to trusty keymaster changes."
2023-03-13 09:35:18 +00:00
Daniel Zheng
fe7e896215
Merge changes Ieb949243,I04f07c81 am: 915ea84dca
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2475405
Change-Id: Iafcc53663e82623a3c3f35333719a065282c79dc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-09 19:14:52 +00:00
Daniel Zheng
915ea84dca
Merge changes Ieb949243,I04f07c81
...
* changes:
Fixed parameter styling and minor error in tasks
Added support for Delete Task
2023-03-09 18:34:00 +00:00
Daniel Zheng
4985bb717c
Merge "Added support for Resize Task" am: 62ee449de1
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2473865
Change-Id: Ia33abbbeefcbbd896f98c5c7abda76e904bfa62d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-09 17:30:59 +00:00
Daniel Zheng
7256acc6c6
Merge "Added support for Update Super Task" am: db94b51c74
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2469300
Change-Id: Ic60e10ce663c72b7e052bab62ff089c27788c5f5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-09 17:30:44 +00:00
Daniel Zheng
6d3b90c1fd
Merge "Added support for FlashSuperLayoutTask" am: 769ea81c4c
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2448347
Change-Id: If1bdbcef4e831f08c19b921a7e9094bff1766a6e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-09 17:30:28 +00:00
Daniel Zheng
62ee449de1
Merge "Added support for Resize Task"
2023-03-09 16:59:07 +00:00
Daniel Zheng
db94b51c74
Merge "Added support for Update Super Task"
2023-03-09 16:58:55 +00:00
Daniel Zheng
769ea81c4c
Merge "Added support for FlashSuperLayoutTask"
2023-03-09 16:58:39 +00:00
David Anderson
6aaae78047
Remove the libsnapshot fuzzer.
...
The only bugs in the corpus here were bugs in the fuzzer itself. Part
of the reason is its speed - it's limited by the dm layer so can't fuzz
optimally. That also makes it difficult to maintain, since it's
effectively a functional OTA fuzzer, and is very sensitive to the
implementation of libsnapshot.
After discussing this through with the team, we think the best course is
to sunset this and aim for improved unit and functional OTA testing.
Bug: 227656961
Test: builds
Change-Id: I2ecf838be336ee06459988ef282f0694cebfce51
2023-03-09 08:35:49 -08:00
David Drysdale
c0adf2626b
Merge "Add more Gatekeeper OWNERS" am: 79faee9035
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2477515
Change-Id: I7f297b624136fa8dd8d7919983f1e40e7017cd68
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-09 06:53:34 +00:00
David Drysdale
79faee9035
Merge "Add more Gatekeeper OWNERS"
2023-03-09 06:30:37 +00:00
Max Bires
fea7f85a4e
Add RKPD unit tests to trusty keymaster changes.
...
This ensures that full integration testing is done when changes are made
to the KM/IRPC client HAL service for Trusty.
Test: The tests are run.
Change-Id: Id22bbac119f76653a5b2338e97f28032822741f0
2023-03-08 17:40:18 -08:00