platform_system_core/fastboot
David Pursell 0b15663830 fastboot: create Transport object (take 2).
(Second upload of this CL; original upload had the wrong version of
usb_windows.cpp that caused a compilation error. Fixed error and
re-tested.)

This CL creates a Transport object to provide a generic interface for
various transports. Specifically this is designed to be able to add UDP
support to fastboot in an upcoming CL without changing the main program
logic.

Also includes some minor code style fixes and replaces malloc/free
in the USB implementation files with smart pointers and std::string.

Bug: http://b/22029765
Change-Id: I1175bbce08690fbd15f51e68166be9b3e9973ea0
2015-11-16 09:31:07 -08:00
..
Android.mk fastboot: create Transport object (take 2). 2015-11-16 09:31:07 -08:00
bootimg_utils.cpp Use 64-bit file sizes in fastboot. 2015-08-25 19:11:52 -07:00
bootimg_utils.h Use 64-bit file sizes in fastboot. 2015-08-25 19:11:52 -07:00
engine.cpp fastboot: create Transport object (take 2). 2015-11-16 09:31:07 -08:00
fastboot.cpp fastboot: create Transport object (take 2). 2015-11-16 09:31:07 -08:00
fastboot.h fastboot: create Transport object (take 2). 2015-11-16 09:31:07 -08:00
fastboot_protocol.txt Use 64-bit file sizes in fastboot. 2015-08-25 19:11:52 -07:00
fs.cpp Clarify and fix the intent of the partition-type checking code. 2015-11-02 14:05:57 -08:00
fs.h Clarify and fix the intent of the partition-type checking code. 2015-11-02 14:05:57 -08:00
genkey.sh auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
protocol.cpp fastboot: create Transport object (take 2). 2015-11-16 09:31:07 -08:00
transport.h fastboot: create Transport object (take 2). 2015-11-16 09:31:07 -08:00
usb.h fastboot: create Transport object (take 2). 2015-11-16 09:31:07 -08:00
usb_linux.cpp fastboot: create Transport object (take 2). 2015-11-16 09:31:07 -08:00
usb_osx.cpp fastboot: create Transport object (take 2). 2015-11-16 09:31:07 -08:00
usb_windows.cpp fastboot: create Transport object (take 2). 2015-11-16 09:31:07 -08:00
usbtest.cpp fastboot: create Transport object (take 2). 2015-11-16 09:31:07 -08:00
util.cpp Move fastboot to C++. 2015-06-23 20:56:01 -07:00
util_linux.cpp Move fastboot to C++. 2015-06-23 20:56:01 -07:00
util_osx.cpp Move fastboot's Mac OS code to C++. 2015-06-24 11:17:28 -07:00
util_windows.cpp Move fastboot's Windows code to C++. 2015-06-24 10:48:43 -07:00