Commit Graph

50 Commits

Author SHA1 Message Date
Crepieux Pierre
4a8787891d Fix code style
Signed-off-by: Crepieux Pierre <pierre.crepieux@orange.com>
2021-06-01 09:46:35 +02:00
Crepieux Pierre
bb1c20d1f7 Introduce support for new VM based minicap to support Android 12
This commit introduce a new option to use a new minicap
implementation by specifying --screen-grabber or the env
variable SCREEN_GRABBER. The current native minicap is the default
and is refered as 'minicap-bin'. The new minicap which is packaged
in an apk is usable with 'minicap-apk' and will be used as a
fallback.
At the moment, this apk is expected to be included in
minicap-prebuilt node package at this location
minicap-prebuilt/prebuilt/noarch/minicap.apk.

STFService.apk has also been updated to take into account Android 12

Signed-off-by: Crepieux Pierre <pierre.crepieux@orange.com>
2021-05-31 18:00:28 +02:00
Karol Wrótniak
53acc928f5 Revert all adbkit upgrades (#207) 2021-03-10 19:22:32 +01:00
Karol Wrótniak
827cd1ed37 Adbkit revert (#204)
* Revert adbkit upgrade

* Update required STFService APK version
2021-03-10 17:31:06 +01:00
Karol Wrótniak
5dfdd9ac63 Fix adb invocations (#202) 2021-03-10 14:50:33 +01:00
Karol Wrótniak
50ee38c2ce Fix deviceClient invocations in minicap (#201) 2021-03-10 13:52:47 +01:00
Karol Wrótniak
463604f72e Update minicap.js (#199) 2021-03-10 12:39:14 +01:00
Karol Wrótniak
9378da4914 Add @devicefarmer to prebulit binaries paths (#33)
Signed-off-by: Karol Wrótniak <karol.wrotniak@droidsonroids.pl>
2020-07-11 01:04:14 +02:00
Karol Wrótniak
8e4f547048 Fix prebulit binaries paths (#32)
Signed-off-by: Karol Wrótniak <karol.wrotniak@droidsonroids.pl>
2020-07-11 00:46:21 +02:00
Karol Wrótniak
86bc95e72a Add namespace to npm dependencies (#28) 2020-07-05 12:31:15 +02:00
Karol Wrótniak
8665298464 Update required STFService.apk
Fixes https://github.com/openstf/stf/issues/1200
2020-05-18 18:35:39 +02:00
Denis Barbaron
71d9478a69 Required version of STFService.apk is now 2.4.2
.. for Android 10 support
2020-02-18 14:37:01 +01:00
Karol Wrótniak
9dfb09e32c Correct prebuilt binaries paths 2020-02-08 17:24:36 +01:00
Simo Kinnunen
f01dd4374a Later Android versions seem to be asking for verification when removing files. 2019-09-11 23:31:08 +09:00
Simo Kinnunen
ecd79eff81 Drop sdk.release from minicap.so search path. With Android P its value was "9", which conflicted with the android-9 (SDK 9) folder. 2018-08-09 02:38:03 +09:00
Simo Kinnunen
95562b5c35 STFService can now display the identity activity (red screen) automatically if a device gets disconnected from USB (or ADB), which can make maintenance easier. This feature is in beta, please enable it by running adb shell pm grant jp.co.cyberagent.stf android.permission.DUMP on the devices you want to try it on. 2018-07-14 11:59:38 +08:00
Simo Kinnunen
badb3ed3be Updated STFService.apk to fix an issue on high aspect ratio devices like the Mi Mix 2 where a portion of the screen may not have been visible. Closes #733. 2018-03-25 00:57:54 +09:00
Simo Kinnunen
e2a0447def Fix checkExecutable() not working correctly on Windows. 2017-09-06 16:35:47 +09:00
Simo Kinnunen
c922eb92e5 Android 8.0 support. 2017-08-31 03:04:40 +09:00
Simo Kinnunen
3447c927df Update minitouch for Blackberry PRIV and use minitouch-prebuilt for minitouch binaries instead of bundling them to the vendor dir. 2017-06-16 16:13:45 +09:00
Simo Kinnunen
43f0341297 Add support for Android O Developer Preview 1. 2017-04-08 23:21:19 +09:00
Simo Kinnunen
884c51b9b4 Add an alternate install location for binary resources. Fixes devices where /data/local/tmp is mounted as noexec, like ZUK Z1. Closes #436. 2017-02-10 04:45:14 +09:00
Simo Kinnunen
5839867619 Add IMSI to device details. 2017-01-13 13:52:11 +09:00
Simo Kinnunen
dd24a9fe4b Update minicap for Android 7.1 support. Use the new minicap-prebuilt
package instead of bundling the binaries in the repo.
2016-10-24 01:37:05 +09:00
Simo Kinnunen
33e4e617bb Update STFService.apk to 1.1.0. Switches to abstract sockets which fixes
adb getting stuck when tethering is being used.
2016-09-03 04:01:07 +09:00
Gunther Brunner
434f63b3a9 Fix all lib/ files with ESLint rules with 0 errors. 2016-01-19 20:52:38 +09:00
Gunther Brunner
342890e884 Start fixing npm test warnings. 2015-10-13 21:21:32 +09:00
Simo Kinnunen
dc0a6f4d96 Support Android M Developer Preview 3. 2015-09-28 03:21:06 +09:00
Simo Kinnunen
d9d47cc3bf Mute devices when they're being used if the --mute-master option is given. 2015-07-29 19:07:24 +09:00
Simo Kinnunen
cfcac31213 Update STFService to 1.0.0 for potential SDK 9 support. 2015-07-15 20:29:26 +09:00
Simo Kinnunen
a7a5258e51 Remove unused dep from resources/minitouch. 2015-06-22 11:24:20 +09:00
Simo Kinnunen
aa7eb6f8ec Remove vendor/remote as practically unused due to the stats plugin not being active. 2015-06-12 17:09:20 +09:00
Simo Kinnunen
810be9cfe3 Update minicap for Android M support. 2015-06-10 17:16:20 +09:00
Simo Kinnunen
a734b6e345 Model the touch plugin after the screen plugin's frame producer. This should allow more forgiving sudden deaths. 2015-06-08 17:48:39 +09:00
Simo Kinnunen
95e9dd0b82 Integrate new minicap along with a moderate rewrite. What's currently missing is recovering from socket death. 2015-04-15 18:55:46 +09:00
Simo Kinnunen
e4114d87af Use WebSockets for the screen. The screen directive works, but needs a serious cleanup. 2014-12-10 14:27:14 +09:00
Simo Kinnunen
80244dfda2 No need to limit remote to 32-bit binaries anymore. 2014-11-13 11:18:58 +09:00
Simo Kinnunen
6b5ecf3afb Nexus 9 support. Home button doesn't work, presumably due to auto-unlocking. 2014-11-10 11:42:59 +09:00
Simo Kinnunen
082c4c89c8 Switch to stf-syrup because someone stole the name. 2014-11-06 15:53:08 +09:00
Simo Kinnunen
2ff16baf7a Update remote binaries. 2014-10-29 20:46:35 +09:00
Simo Kinnunen
d1a01da8e8 Add separate no-PIE binaries for older devices or they segfault. 2014-10-17 19:27:10 +09:00
Simo Kinnunen
617e20522b Reverse port forwarding backend actually works now. UI needs some work for the "new vision". 2014-10-09 18:35:06 +09:00
Simo Kinnunen
4bb0c4cb82 Fix version check on Xiaomi devices by removing "open: Permission denied" from the output. 2014-09-30 12:05:49 +09:00
Simo Kinnunen
b08518c452 Use correct minitouch help argument. 2014-09-16 17:16:23 +09:00
Simo Kinnunen
6c09a53d55 New multitouch-compatible touch system. 2014-09-12 19:24:50 +09:00
Simo Kinnunen
f4d0071cc4 Fix uninstallable STFService due to testOnly flag. 2014-09-04 11:53:04 +09:00
Simo Kinnunen
9b0f1e1dca Update STFService to 0.7.22 to hopefully reduce service deaths. 2014-09-03 20:39:08 +09:00
Gunther Brunner
a0e0d2228a JSHint. 2014-09-02 12:24:07 +09:00
Simo Kinnunen
12eaf5182f Add x86 support. 2014-09-01 18:18:03 +09:00
Simo Kinnunen
3a9b193f68 Rename "roles" to "units". Put units in their own folders. 2014-08-26 14:34:34 +09:00