android_system_core/fastboot/device
Tom Cherry e4a6ed8534 fastbootd: sync() after flashing partitions or updating super
There is a chance that devices are failing to reboot in the lab due to
sync() taking explicitly long during reboot.  Let's add the sync()'s
here to ensure they get accounted for in the flashing process.

A side benefit is it's likely safer to sync immediately after
flashing than to hope init does it during reboot.

Bug: 150863651
Test: flash local devices successfully
Change-Id: I4c4b0114f3cde8af4b8b2cb283ec21f869ef9f6f
2020-03-31 10:54:58 -07:00
..
commands.cpp fastbootd: Unmount /cache before flashing. 2020-03-25 21:00:13 -07:00
commands.h Merge "fastboot: Implement helper commands for Virtual A/B." 2019-10-31 01:11:49 +00:00
fastboot_device.cpp fastbootd: Unmount /cache before flashing. 2020-03-25 21:00:13 -07:00
fastboot_device.h fastbootd: Disallow certain operations during snapshot updates. 2019-11-10 23:07:13 -08:00
flashing.cpp fastbootd: sync() after flashing partitions or updating super 2020-03-31 10:54:58 -07:00
flashing.h fastbootd: Remove metadata merging code. 2018-10-26 13:34:40 -07:00
main.cpp
usb.cpp Move adbd's legacy USB implementation to fastboot. 2020-03-30 16:43:06 -07:00
usb.h Move adbd's legacy USB implementation to fastboot. 2020-03-30 16:43:06 -07:00
usb_client.cpp Allow fuzzy_fastboot test devices over internet 2020-01-21 15:40:52 +00:00
usb_client.h Move adbd's legacy USB implementation to fastboot. 2020-03-30 16:43:06 -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