Lucaskyy
|
2531a28109
|
feat: Add support for shell v2 commands (vidstige/jadb#121)
|
2022-06-11 18:14:23 +02:00 |
js6pak
|
fedca18ae1
|
Fix last modified time when pushing a local file
|
2022-02-13 19:49:29 +01:00 |
Samuel Carlsson
|
f738b9f86c
|
adbserver: no client threads
|
2022-02-12 20:57:18 +01: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 |
Kris Heid
|
423ccb3a89
|
always quote command since not only whitespaces require quoting
|
2021-03-02 10:11:00 +01:00 |
root-intruder
|
163fa7f07f
|
push apk to /data/local/tmp/ instead of sdcard, otherwise packagemanager cannot install from sdcard
|
2020-09-25 09:13:13 +02:00 |
cfig
|
da3f09ff5f
|
add 'rescue' into JadbDevice.State
'rescue' mode was added in below CL:
https://android-review.googlesource.com/c/platform/system/core/+/946765
|
2020-01-20 15:46:43 +08:00 |
Jano Svitok
|
3c4b0c6997
|
Small fixes
- replace if with switch
- remove unnecessary toString()
|
2019-02-19 15:32:32 +01:00 |
Jano Svitok
|
a6dcb3ec38
|
Replace long with int in RemoteFile.getLastModified()
It seems that only ints are passed in and out...
|
2019-02-19 15:30:04 +01:00 |
Jano Svitok
|
293796fcc6
|
Remove unnecessary boxing/unboxing
(causes warning about loosing precision)
|
2019-02-19 15:14:03 +01:00 |
Samuel Carlsson
|
6876adc9df
|
Merge pull request #116 from dllewellyn/feature/add_ability_to_enable_tcpip
Feature/add ability to enable tcpip
|
2019-01-10 07:47:47 +01:00 |
Daniel Llewellyn
|
d0f2d7ff59
|
Updating for pull request changes:
* Renaming of main function
* Returning void instead of a boolean
|
2019-01-08 18:50:38 +00:00 |
Daniel Llewellyn
|
4dd168bb16
|
Code review changes
Adding the following changes:
* Adding a unit test
* Removing a readToStringFunction
* Adding handler into AdbProtocolHandler to enable testing
*
|
2019-01-06 19:09:15 +00:00 |
Daniel Llewellyn
|
01b5022d65
|
Adding the ability to enable tcpip from the jadb
Using the information from https://github.com/aosp-mirror/platform_system_core/blob/master/adb/daemon/services.cpp
for the spec on how to construct the response. Usage is simply
```JadbDevice jadbDevice = ...; jadbDevice.enableTcpip()```
|
2019-01-06 12:18:38 +00:00 |
llewellynd
|
7138fccfc6
|
Adding a few missing device states (taken from 5fdd77b2f1/adb/transport.cpp )
|
2019-01-02 11:33:55 +00:00 |
phantamanta44
|
2959e5fb6f
|
Force utf-8 and write test cases for file listing
|
2018-12-25 00:12:51 -06:00 |
phantamanta44
|
1519b31162
|
Allow multi-byte characters in payload
|
2018-12-08 18:04:18 -06:00 |
Jano Svitok
|
5e1f1ec522
|
Move creation of Data{Input|Output}Stream to Transport
|
2018-10-25 14:18:26 +02:00 |
Jano Svitok
|
9d7f4f7846
|
Add try-with-resources for Transport
|
2018-10-25 14:18:25 +02:00 |
Jano Svitok
|
6a4f5c38a1
|
Add Closeable to Transport
|
2018-10-25 14:18:24 +02:00 |
jevalen4868
|
836f0bca1f
|
Fix: PackageManager.remove() no longer calls Bash.quote() fixing remove of apk from device.
|
2018-09-19 19:30:58 -05:00 |
Mieras Made
|
93101d290b
|
#100 Various methods can be made less accessible to increase encapsulation
|
2018-09-11 20:15:06 +02:00 |
Samuel Carlsson
|
6c84fe6542
|
Merge pull request #94 from janosvitok/cleanup
Cleanup
|
2018-09-10 21:21:02 +02:00 |
Mieras Made
|
93c9506708
|
#84 PackageManager problems: Fixes issue 1 & 2 - after review
|
2018-09-09 20:22:39 +02:00 |
Mieras Made
|
b0fbb4b75f
|
#84 PackageManager problems: Fixes issue 1 & 2
|
2018-09-04 23:08:44 +02:00 |
Jano Svitok
|
e4f4137108
|
Remove unnecessary escapes from RegExp
|
2018-08-06 13:45:33 +02:00 |
Jano Svitok
|
3fd68d337f
|
Various small fixes found by IDEA inspection
|
2018-08-06 13:45:33 +02:00 |
Jano Svitok
|
6dd5ad2566
|
Remove public from interfaces
|
2018-08-06 13:45:32 +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 |
Jano Svitok
|
b255b3b618
|
Use more general DataOutput instead of DataOutputStream where possible
|
2018-08-06 13:45:30 +02:00 |
Jano Svitok
|
c39c0d16ee
|
Replace hardcoded method with constant
|
2018-08-06 13:41:54 +02:00 |
Jano Svitok
|
eb853f2b01
|
Remove unused parameter
|
2018-08-06 13:41:53 +02:00 |
Jano Svitok
|
45c67bad0a
|
Use try-with-resources for reading/writing files
|
2018-08-06 13:41:40 +02:00 |
Jano Svitok
|
cb989acfa9
|
Simplify "if"s
|
2018-08-06 13:40:33 +02:00 |
Jano Svitok
|
d5e464e52d
|
Convert "if"s to ternary operators
|
2018-08-06 13:40:14 +02:00 |
Jano Svitok
|
1bd60cd946
|
Use JadbDevice.send() where possible
|
2018-08-06 13:39:44 +02:00 |
Jano Svitok
|
3f8b86d8e5
|
Extract common code to HostConnectionCommand class
|
2018-08-02 11:28:03 +02:00 |
Jano Svitok
|
063d7ec1cb
|
AdbProtocolHandler: move try-catch block to sync method
|
2018-07-31 09:08:08 +02:00 |
Jano Svitok
|
f679f387eb
|
AdbProtocolHandler: extract command handlers to separate methods
|
2018-07-31 09:08:08 +02:00 |
Jano Svitok
|
4761259137
|
AdbProtocolHandler: refactor reading command from input stream
|
2018-07-31 09:08:08 +02:00 |
Jano Svitok
|
69695c5a4b
|
AdbProtocolHandler: use try-with-resources
|
2018-07-31 09:08:08 +02:00 |
Jano Svitok
|
bc2c76486a
|
AdbProtocolHandler: extract loop body to new method
|
2018-07-31 09:08:08 +02:00 |
Jano Svitok
|
ebf5d6b223
|
AdbProtocolHandler: extract SyncTransport creation
|
2018-07-31 09:08:08 +02:00 |
Jano Svitok
|
b9a86b85fa
|
Fix: Try-with-resources should be used (squid:S2093)
|
2018-07-30 14:00:27 +02:00 |
Jano Svitok
|
9cd5f509ae
|
Fix: "Object.wait(...)" and "Condition.await(...)" should be called inside a "while" loop (squid:S2274)
|
2018-07-30 13:39:37 +02:00 |
Jano Svitok
|
1eeaee1da8
|
Fix: "notifyAll" should be used (squid:S2446)
|
2018-07-30 13:39:27 +02:00 |
Jano Svitok
|
42f0de589b
|
Fix: Utility classes should not have public constructors (squid:S1118)
|
2018-07-30 13:39:16 +02:00 |
Jano Svitok
|
aec31abf1f
|
Fix: String literals should not be duplicated (squid:S1192)
|
2018-07-30 13:39:07 +02:00 |
Jano Svitok
|
9b6074ce2d
|
Fix: String function use should be optimized for single characters (squid:S3027)
|
2018-07-30 13:38:57 +02:00 |
Jano Svitok
|
23b4dd6b4d
|
Fix: Nested blocks of code should not be left empty (squid:S00108)
|
2018-07-30 13:38:45 +02:00 |