Commit Graph

21 Commits

Author SHA1 Message Date
vchtchetkine
653de15590 Reformat .inf file for better reading and remove redundancies 2009-08-12 14:18:32 -07:00
vchtchetkine
acc6f82643 Split AdbWinApi.dll into two dlls to remove dependency on WINUSB.DLL
Move all WINUSB-dependent functionality into AdbWinUsbApi.dll in order to
enable ADB on condition that WINUSB has not been installed.
In this patch set new file (adb_winusb_api.h) has been added where I moved
typedef that broke the build. Aso, adb_api.cpp and AdbWinApi.cpp were changed
to include that new header file.
BUG 2033924
2009-08-07 11:07:53 -07:00
Raphael
3e44f3b231 Revert "Split AdbWinApi.dll into two dlls to remove dependency on WINUSB.DLL"
which breaks the Windows SDK on Donut.

This reverts commit f855c4e846.
2009-08-06 20:51:11 -07:00
vchtchetkine
f855c4e846 Split AdbWinApi.dll into two dlls to remove dependency on WINUSB.DLL
Move all WINUSB-dependent functionality into AdbWinUsbApi.dll in order to
enable ADB on condition that WINUSB has not been installed.
2009-08-05 17:21:15 -07:00
vchtchetkine
199aeb031d Move legacy driver binaries to the legacy driver directory 2009-07-30 15:05:01 -07:00
vchtchetkine
f5d51ce49f Add .inf file needed for WinUsb framework installation 2009-07-30 11:29:57 -07:00
vchtchetkine
17851887c2 Bump up AdbWinApi.dll version and submit prebuilt AdbWinApi.dll 2009-07-30 08:59:30 -07:00
vchtchetkine
71e765b54c Make changes to enable driver build in new location 2009-07-29 18:00:04 -07:00
vchtchetkine
1db5502159 Copy legacy driver source code as a sample for custom USB drivers
The primary usage for this code is to provide vendors / customers who for some
reasons are not satisfied with WinUsb, with a sample custom driver code that is
compliant with our AdbWinApi.dll. So vendors / customers can build their own
custom USB driver that can be recognized by AdbWinApi, and can be accessible from
adb.exe
2009-07-29 16:25:34 -07:00
vchtchetkine
39164844f1 Add classes encapsulatinglegacy USB API
Added implementation for endpoints and overlapped I/O support for legacy API support.
2009-07-28 13:09:51 -07:00
vchtchetkine
59fc68ba26 Fix SDK build break caused by including legacy support header into main API header
usb_windows.c doesn't build with adb_legacy_api.h included into adb_api.h
Since adb_legacy_api.h is not used anywhere outside AdbWinApi.dll project, the simplest
fix would be to remove its inclusion from adb_api.h
2009-07-28 10:07:09 -07:00
vchtchetkine
8267511c96 Refactor API classes to support both, WinUsb and Legacy API
To support both, WinUsb and Legacy driver APIs we need to abstract classes
that depend on driver API details and then implement two sets of the
actual classes: one for WinUsb, and another for the Legacy drivers, so
we can choose in runtime which objects should be instantiated, depending
on what type of driver we have underneath this API.
2009-07-25 11:14:04 -07:00
vchtchetkine
2be4a90641 Add test application 2009-07-23 15:28:06 -07:00
vchtchetkine
cd693f5739 Add build instructions, ignore list and remove obsolete .sln file 2009-07-23 13:38:37 -07:00
vchtchetkine
d79c237203 Delete files irrelevant for the new driver model
:x
2009-07-23 10:41:24 -07:00
vchtchetkine
dceaaa52ce Refactor ADB API dll to support WinUsb 2009-07-22 13:34:53 -07:00
The Android Open Source Project
52d4c30ca5 auto import from //depot/cupcake/@135843 2009-03-03 19:29:09 -08:00
The Android Open Source Project
d4aee0c0ca auto import from //depot/cupcake/@135843 2009-03-03 18:28:16 -08:00
The Android Open Source Project
e3c5766074 auto import from //branches/cupcake/...@130745 2009-02-10 15:43:58 -08:00
The Android Open Source Project
b8d704a517 auto import from //branches/cupcake/...@126645 2009-01-15 16:12:07 -08:00
The Android Open Source Project
5c11852110 Initial Contribution 2008-10-21 07:00:00 -07:00