Commit Graph

19 Commits

Author SHA1 Message Date
Lucaskyy
2531a28109
feat: Add support for shell v2 commands (vidstige/jadb#121) 2022-06-11 18:14:23 +02:00
Kris Heid
ecf5a605fb calculate the correct length of the command to be transmitted for special characters like ä,ö... 2021-03-02 10:13:09 +01:00
Jano Svitok
5e1f1ec522 Move creation of Data{Input|Output}Stream to Transport 2018-10-25 14:18:26 +02:00
Jano Svitok
6a4f5c38a1 Add Closeable to Transport 2018-10-25 14:18:24 +02:00
Mieras Made
93101d290b #100 Various methods can be made less accessible to increase encapsulation 2018-09-11 20:15:06 +02:00
Jano Svitok
71689e4757 Use StandardCharsets.UTF_8 instead of Charset.forName("utf-8); add charset where needed
Application should always work with utf-8 strings regardless of locale.
2018-08-06 13:45:31 +02:00
Samuel Carlsson
8cee1088a8 The shell command now returns InputStream. 2016-04-27 20:39:14 +02:00
Samuel Carlsson
41872e3bb9 Refactor: Consistent whitespace & brace style 2016-03-20 09:13:59 +01:00
Samuel Carlsson
84950ceadb Refactor: Avoids having stale transport lingering around. 2016-03-02 21:14:32 +01:00
Samuel Carlsson
92506f643d Using streams rather than byte arrays. 2016-03-02 21:06:19 +01:00
Gergő Törcsvári
27bed5a88a fix (codeorg): small code cleanup
fix (test): bugfix
2016-03-02 00:10:05 +01:00
Gergő Törcsvári
722ecc4f8b bytearray shell execution added 2016-02-28 10:54:33 +01:00
Gergő Törcsvári
5ab126ddbe reuseable jadbDevices and the shell command returns a string 2016-02-28 03:04:59 +01:00
Samuel Carlsson
dbe57d0279 Refactor: Fixing warnings 2014-03-20 10:35:08 +01:00
Samuel Carlsson
88faded23d Adding truly mocked test case. 2014-03-20 10:31:13 +01:00
Samuel Carlsson
272a29a750 Now possible to list files on device 2014-03-19 10:06:40 +01:00
Samuel Carlsson
5723a7ce27 The error message is now included in the thrown exception. 2014-03-18 21:33:18 +01:00
Samuel Carlsson
8e9b82ee74 Using extra socket for listing devices as server closes connection after that command. 2013-07-25 23:36:18 +02:00
Samuel Carlsson
831ee1ecbc Refactor: Moving out transport code into its own class. 2013-07-25 21:38:44 +02:00