android_system_core/fastboot/device
David Anderson c8ac4e7644 fastbootd: Wait for /dev/block paths when opening logical partitions.
Note that in addition to waiting for the path to appear, we must also
wait for it to be unlinked. Otherwise, we could accidentally access an
older device when opening and closing the same partition twice in a row.

Bug: 114198005
Test: fastboot flashall works
Change-Id: Iddffc34e1ac8aa066c28e7b1a92b09b6dfd7945c
2018-09-06 17:38:06 -07:00
..
commands.cpp fastbootd: Implement getvar hw-revision. 2018-09-05 12:52:15 -07:00
commands.h fastbootd: Add an update-super command to sync the super partition. 2018-08-22 15:05:03 -07:00
fastboot_device.cpp fastbootd: Implement getvar all. 2018-08-31 18:39:28 -07:00
fastboot_device.h fastbootd: Implement getvar all. 2018-08-31 18:39:28 -07:00
flashing.cpp fastbootd: Perform CRC check when flashing sparse images. 2018-09-05 12:52:15 -07:00
flashing.h fastbootd: Add an update-super command to sync the super partition. 2018-08-22 15:05:03 -07:00
main.cpp Add fastbootd. 2018-08-02 09:43:23 -07:00
usb_client.cpp adbd: use unique_fd for the usb file descriptors. 2018-08-22 15:33:08 -07:00
usb_client.h Add fastbootd. 2018-08-02 09:43:23 -07:00
utility.cpp fastbootd: Wait for /dev/block paths when opening logical partitions. 2018-09-06 17:38:06 -07:00
utility.h fastbootd: Implement getvar all. 2018-08-31 18:39:28 -07:00
variables.cpp fastbootd: Implement getvar hw-revision. 2018-09-05 12:52:15 -07:00
variables.h fastbootd: Implement getvar hw-revision. 2018-09-05 12:52:15 -07:00