Commit graph

80863 commits

Author SHA1 Message Date
Daniel Zheng
51a3661421 Merge "Removed hardcoded check to copy AVB Footer" 2023-03-20 23:24:56 +00:00
Elliott Hughes
fa4dd04889 Merge "Fix riscv64's crash glue." 2023-03-20 22:16:50 +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
Treehugger Robot
3feefa8b17 Merge "trusty: Add IStatsSetter interface" 2023-03-18 02:01:33 +00:00
Treehugger Robot
a4aab52663 Merge "Remove floating point register cruft." 2023-03-18 00:15:36 +00:00
Andrei Homescu
2de07e82f2 trusty: Add IStatsSetter interface
Add android.trusty.stats.nw.setter.IStatsSetter interface
for sending an IStats interface from Android to Trusty.

Bug: 259517277
Test: /data/nativetest64/vendor/trusty_stats_test/trusty_stats_test
Change-Id: Ie3976cdf069dd47b51477a70eb597c76de79f522
2023-03-17 20:14:55 +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
d284414786 Fix riscv64's crash glue.
When this was translated to riscv64, someone "fixed" the crashing bugs
that were the whole point of these two functions. Fix them back so they
actually crash, and add the CFI directives.

Test: treehugger
Change-Id: I312c51fa4c893d27b0f4e39383521657a5870a0d
2023-03-17 00:42:15 +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
Elliott Hughes
f9cd73f851 Remove floating point register cruft.
We stopped showing floating point registers years ago, but some cruft
remains.

Test: treehugger
Change-Id: Ib89032db90a31a49d090bc5d99f9c401af734e7a
2023-03-17 00:38: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