Commit Graph

332 Commits

Author SHA1 Message Date
oSumAtrIX
4955fb15a9
build: Change group id to app.revanced 2023-10-09 15:06:59 +02:00
oSumAtrIX
d4a59ad40f
build: Bump version to 1.2.1 2023-10-09 15:05:59 +02:00
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
Samuel Carlsson
fd1a833e6d better assert messages on unit test fail 2022-02-12 20:57:18 +01:00
Samuel Carlsson
081154ee1e updating badge 2022-02-12 20:57:18 +01:00
Samuel Carlsson
469604206b use "master" in triggers 2022-02-12 20:57:18 +01:00
Samuel Carlsson
3207c50778 switch to github action 2022-02-08 16:37:07 +01:00
Samuel Carlsson
6dd039aeb5 bump version 2021-03-05 16:42:59 +01:00
Samuel Carlsson
cfc66ff87c
Merge pull request #136 from root-intruder/master
fix FakeADBServer testcases which expect certain commands
2021-03-05 14:48:51 +01:00
Kris Heid
3ace8c814d fix FakeADBServer testcases which expect certain commands...however due to previous commits these commands are now quoted 2021-03-05 14:37:12 +01:00
Samuel Carlsson
d7565382eb
Merge pull request #135 from root-intruder/master
filter not allowed characters out of the adb protocol
2021-03-04 16:23:18 +01:00
Kris Heid
597102ab83 simplify special character handling intregration test with Stream.readAll() 2021-03-04 13:28:52 +01:00
Kris Heid
f4f41efbc3 add unit test to verify special character handling for commands 2021-03-04 13:27:04 +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
Samuel Carlsson
0fe4484380
Merge pull request #131 from vidstige/dependabot/maven/junit-junit-4.13.1
Bump junit from 4.10 to 4.13.1
2020-11-17 11:37:18 +01:00
dependabot[bot]
9d016bef26
Bump junit from 4.10 to 4.13.1
Bumps [junit](https://github.com/junit-team/junit4) from 4.10 to 4.13.1.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.10.md)
- [Commits](https://github.com/junit-team/junit4/compare/r4.10...r4.13.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-13 04:38:16 +00:00
Samuel Carlsson
3e2a88faf1
Encourage adding automated tests 2020-09-25 11:14:41 +02:00
Samuel Carlsson
60a070132e
Merge pull request #130 from root-intruder/master
push apk to /data/local/tmp/ instead of sdcard, otherwise packagemanager cannot install from sdcard
2020-09-25 09:12:58 +00: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
Samuel Carlsson
d65c8b39d4
Merge pull request #127 from cfig/master
add 'rescue' into JadbDevice.State
2020-08-10 12:36:15 +02:00
cfig
b108f9d22f
jdk8 2020-01-20 16:19:48 +08: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
a38d528b3f
Merge pull request #119 from janosvitok/cleanup
Cleanup
2019-02-27 11:52:59 +01: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
8c6b868341 Fixing an erroneous import 2019-01-07 17:13:03 +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
8a057bc856 Merge remote-tracking branch 'origin/feature/add_ability_to_enable_tcpip' into feature/add_ability_to_enable_tcpip 2019-01-06 12:20:00 +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
Samuel Carlsson
02fc952764
Merge pull request #115 from dllewellyn/feature/add_extra_device_statuses
Adding a few missing device states (taken from https://github.com/aos
2019-01-06 08:42:35 +01:00
llewellynd
7138fccfc6 Adding a few missing device states (taken from 5fdd77b2f1/adb/transport.cpp) 2019-01-02 11:33:55 +00:00
llewellynd
6466ee461e Adding the ability to enable tcpip from the library as per https://github.com/aosp-mirror/platform_system_core/blob/master/adb/daemon/services.cpp 2018-12-31 10:58:07 +00:00
Daniel Llewellyn
7b99c48cb7 Adding the ability to enable tcpip from the library as per https://github.com/aosp-mirror/platform_system_core/blob/master/adb/daemon/services.cpp 2018-12-31 09:52:11 +00:00
Samuel Carlsson
4546c0583f
Merge pull request #112 from phantamanta44/master
Allow multi-byte characters in payload
2018-12-25 19:15:22 +01: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
Samuel Carlsson
075f29dd82
Merge pull request #95 from janosvitok/make-Transport-closeable-take-2
Make transport closeable take 2
2018-11-12 13:38:32 +01: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
Samuel Carlsson
9fe4111495 rm and build
It was obsolete, and possibly defunt. It confused and annoyed users.
2018-09-23 20:27:49 +02:00
Samuel Carlsson
98b5258ea1
Merge pull request #103 from vidstige/docker-build
script to build in docker image
2018-09-23 20:22:35 +02:00
Samuel Carlsson
e985821fd2
Merge pull request #106 from jevalen4868/bugfix-double-quoting-issue-105
Fix: PackageManager.remove() no longer calls Bash.quote() fixing remove of apk from device.
2018-09-20 10:09:57 +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