Commit graph

22 commits

Author SHA1 Message Date
timoxa0 b062257995 Fix mod path 2024-06-11 21:25:58 +05:00
Evrins Hu d49e5ad793 fix: mod path 2020-10-29 10:18:51 +08:00
Evrins Hu 11bff25cc8 fix: import path 2020-07-13 14:31:19 +08:00
Evrins Hu 5532b49f7e migrate to go mod 2020-07-13 14:18:10 +08:00
Zach Klippenstein 701ea3a245 Moved error definitions to an internal package, deleted the confusing util package.
Public API for error querying and formatting lives in top-level package.
2016-05-22 10:49:34 -07:00
Zach Klippenstein b43886affb Renamed: HostClient -> Adb, DeviceClient -> Device, Server -> server. 2016-05-21 22:33:20 -07:00
Zach Klippenstein 5fb43080b6 Renamed top-level package from goadb to just adb. 2016-01-15 07:54:27 -08:00
Zach Klippenstein 325901c2c3 Fixed bug where tried closing a single net.Conn multiple times. 2015-12-30 00:02:30 -08:00
Zach Klippenstein d2cac01b63 Fixed a panic when reading an empty file. 2015-12-29 23:31:05 -08:00
Zach Klippenstein 340dcab2df Implemented sync file send and cmd/adb push command. 2015-12-28 19:59:07 -08:00
Zach Klippenstein cb7e06bdb9 OpenRead will now return an error if the server returns an error when trying to open a file.
All sync status reads now also check for failure status,
using the same logic as the normal Scanner (the only difference
being that for normal scanners, length is encoded as a hex
string, but for sync scanners it's in binary little-endian).
2015-12-28 19:46:14 -08:00
Zach Klippenstein 81043d7260 Handle newer adb servers' device not found error messages. 2015-09-12 15:30:32 -07:00
Zach Klippenstein 164ab27d25 Implemented device event watcher and improved errors. 2015-07-19 12:45:24 -07:00
Zach Klippenstein 946c9e8ff8 Fixed scanner tests. 2015-07-19 06:43:13 -07:00
Zach Klippenstein 34b3a07ca8 Richer error handling. 2015-07-12 00:37:58 -07:00
Zach Klippenstein 0817d29438 Decoupled clients from each other. 2015-07-11 23:21:10 -07:00
Zach Klippenstein 0be787db78 Better logging for connection failures. 2015-05-03 18:07:03 -07:00
Zach Klippenstein 925d93caef Removed nilSafeDialer and moved AdbPort into goadb package. 2015-05-03 07:39:11 -07:00
Zach Klippenstein a6b8a6fa03 Enhanced error messages. 2015-05-03 05:37:53 -07:00
Zach Klippenstein d0b99d9f57 Parse more bits out of file modes in sync mode. 2015-04-28 14:25:36 -05:00
Zach Klippenstein 4b9891533a Started host and local service clients.
Milestone: the demo app prints /proc/loadavg from the device.
2015-04-12 22:07:12 -07:00
Zach Klippenstein 8d46dec61d Initial commit – wire format implementation and some host client commands. 2015-04-11 16:58:49 -07:00