platform_system_core/fastboot/device
David Anderson 565577f926 Add support for compressed snapshot merges in fastboot.
SnapshotManager::New() is now preferred in recovery. Previously we used
NewForFirstStageMount(), which is technically incorrect as that enables
code paths specifically for first-stage init.

We also explicitly label the snapuserd context, since rootfs in recovery
has unlabelled files.

Finally, we add a timeout to internal calls to
CreateSnapshotsAndLogicalPartitions. Without this, WaitForDevice() calls
will terminate immediately, which breaks VABC given the more complex
device stacking that is created.

Bug: 168258606
Test: fastboot snapshot-update merge
Change-Id: I3a663b95c0b1eabaf14e6fde409c6902653c3c5e
2021-02-04 20:21:18 -08:00
..
commands.cpp Add support for compressed snapshot merges in fastboot. 2021-02-04 20:21:18 -08:00
commands.h Merge "fastboot: Implement helper commands for Virtual A/B." 2019-10-31 01:11:49 +00:00
fastboot_device.cpp fastbootd: Add more logging for when the USB transport fails. 2020-10-12 15:55:48 -07:00
fastboot_device.h fastboot: add new oem command for post wipe userdata 2020-10-01 05:09:26 +00:00
flashing.cpp Refactor fs_mgr_overlayfs_teardown() 2020-10-28 16:05:09 +08:00
flashing.h fastbootd: Remove metadata merging code. 2018-10-26 13:34:40 -07:00
main.cpp Add fastbootd. 2018-08-02 09:43:23 -07:00
tcp_client.cpp fastbootd: Support TCP protocol. 2020-05-19 19:11:25 +00:00
tcp_client.h fastbootd: Support TCP protocol. 2020-05-19 19:11:25 +00:00
usb.cpp Move adbd's legacy USB implementation to fastboot. 2020-03-31 16:05:36 -07:00
usb.h Move adbd's legacy USB implementation to fastboot. 2020-03-31 16:05:36 -07:00
usb_client.cpp fastbootd: Add more logging for when the USB transport fails. 2020-10-12 15:55:48 -07:00
usb_client.h Move adbd's legacy USB implementation to fastboot. 2020-03-31 16:05:36 -07:00
utility.cpp fastboot: Mount /metadata before overlayfs teardown. 2019-12-30 13:42:57 -08:00
utility.h fastboot: Mount /metadata before overlayfs teardown. 2019-12-30 13:42:57 -08:00
variables.cpp fastbootd: exporting more properties 2020-01-22 23:29:07 +08:00
variables.h fastbootd: exporting more properties 2020-01-22 23:29:07 +08:00