-
- Downloads
fastbootd: Fix transport ownership.
This change moves Transport ownership back out of FastBootDriver. Callers of set_transport must ensure that the previous transport is destroyed. In addition, deleting a transport now ensures that it is closed. Bug: 78793464 Test: fastboot, fuzzy_fastboot works Change-Id: I8f9ed2f7d5b09fd0820b2677d087a027378f26db
Showing
- fastboot/engine.cpp 4 additions, 2 deletionsfastboot/engine.cpp
- fastboot/fastboot.cpp 4 additions, 0 deletionsfastboot/fastboot.cpp
- fastboot/fastboot_driver.cpp 3 additions, 7 deletionsfastboot/fastboot_driver.cpp
- fastboot/fastboot_driver.h 2 additions, 2 deletionsfastboot/fastboot_driver.h
- fastboot/fuzzy_fastboot/fixtures.cpp 0 additions, 3 deletionsfastboot/fuzzy_fastboot/fixtures.cpp
- fastboot/fuzzy_fastboot/usb_transport_sniffer.cpp 4 additions, 0 deletionsfastboot/fuzzy_fastboot/usb_transport_sniffer.cpp
- fastboot/fuzzy_fastboot/usb_transport_sniffer.h 1 addition, 0 deletionsfastboot/fuzzy_fastboot/usb_transport_sniffer.h
- fastboot/usb_linux.cpp 5 additions, 1 deletionfastboot/usb_linux.cpp
- fastboot/usb_osx.cpp 5 additions, 1 deletionfastboot/usb_osx.cpp
- fastboot/usb_windows.cpp 5 additions, 1 deletionfastboot/usb_windows.cpp
Loading
Please register or sign in to comment