1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-05 19:42:01 +02:00
Commit graph

61 commits

Author SHA1 Message Date
Simo Kinnunen
9041eabfc1 Rename "input" plugin to "service". It does many more things than just input. 2014-05-01 17:45:37 +09:00
Simo Kinnunen
1e18c991b4 Fix typo. 2014-04-21 11:51:48 +09:00
Simo Kinnunen
400e27d091 Rename 'logsender' to 'logger' because the old name was so bad. 2014-04-21 11:35:35 +09:00
Simo Kinnunen
d5c96dc50d Clean up the owner plugin (now called 'group'). 2014-04-16 19:00:17 +09:00
Simo Kinnunen
f5ac9d2315 Reverse port forwarding maybe works. 2014-04-14 20:57:40 +09:00
Simo Kinnunen
e43507b686 Refactor stream log output to a utility. 2014-04-01 21:55:50 +09:00
Simo Kinnunen
09eb8c539d Refactor InputAgent into STFService. Support copypasting (only pasting implemented in the UI right now though). 2014-04-01 11:50:16 +09:00
Simo Kinnunen
dfe3d97de3 APKs can now be drag & dropped to the device screen, which will install the application. Still lacking UI, and the app doesn't get launched. 2014-03-20 22:00:01 +09:00
Simo Kinnunen
cc42b7c51f It seems that it's simply impossible to run too many things in parallel over ADB on a single device. Really weird stuff happening, like completely unrelated shell calls using files created by other shell calls. Switch back to serial implementation. 2014-03-17 22:32:31 +09:00
Simo Kinnunen
ccef3624df Send device logs to app. 2014-03-17 16:41:07 +09:00
Simo Kinnunen
3d20b06f7f Separate device functionality into plugins. 2014-03-14 20:18:53 +09:00
Simo Kinnunen
d90d450400 Port to new adbkit. 2014-03-12 12:42:10 +09:00
Simo Kinnunen
e7a887ae45 Rename vital checkers. 2014-03-04 19:19:11 +09:00
Simo Kinnunen
a25df0b293 Wake up and unlock device when it's being used. A bit messy, pending refactor. 2014-03-04 18:00:31 +09:00
Simo Kinnunen
be9d1c9579 Invite/kick now uses transactions so that you can know whether the device actually joined or not. It's a bit messy right now, should introduce some sugar to make it cleaner. 2014-02-26 19:03:11 +09:00
Simo Kinnunen
4896ca406e Reap dead devices using timeouts. Previously, if a provider died without being able to clean up properly, the device would stay as a ghost. 2014-02-25 20:45:29 +09:00
Simo Kinnunen
8769b8040c Initial version of transactions. Shell command implemented as an example. Still needs channel cleanup on app side, handling a device dying in the middle of a transaction, and getting device list back to normal. 2014-02-21 15:55:23 +09:00
Simo Kinnunen
bc9d356d7f Use InputAgent for the keyboard. 2014-02-17 19:27:45 +09:00
Simo Kinnunen
6ae7c310e0 Send logcat messages to group. 2014-02-07 01:15:39 +09:00
Simo Kinnunen
a8fe5f6613 Add LogcatApplyFiltersMessage. 2014-02-07 00:58:39 +09:00
Simo Kinnunen
d17e86bc57 Implement device screen. 2014-02-06 22:45:19 +09:00
Simo Kinnunen
0e0783b649 Initial device control implementation. Works with touches and NUMERIC keycodes. 2014-02-06 11:54:19 +09:00
Simo Kinnunen
91097dc569 Don't rely on lucky timings when sending messages from the provider. 2014-02-05 15:37:28 +09:00
Simo Kinnunen
37303c5d92 Add owners to groups. 2014-02-04 20:33:53 +09:00
Simo Kinnunen
b50ec6b4b0 Expose input services. 2014-02-03 21:10:15 +09:00
Simo Kinnunen
eb332ff36a Merge DeviceIdentityMessage on the app side. 2014-02-03 19:56:01 +09:00
Simo Kinnunen
2086d7d439 Better device present/absent handling by separating it from the status event. 2014-02-03 19:42:20 +09:00
Simo Kinnunen
6a7e10882f Allow only a single group per device. 2014-02-03 02:28:58 +09:00
Simo Kinnunen
6141bdb5ce Formatting. 2014-02-03 01:55:01 +09:00
Simo Kinnunen
5c1c9fd344 Further simplify message handling by abstracting message mapping to library code. 2014-02-02 20:37:48 +09:00
Simo Kinnunen
b9ca8b04e1 Make wireutil a bit more normal. It now requires wire on its own. 2014-02-02 20:00:29 +09:00
Simo Kinnunen
48d5648b9d Get rid of switch statements in favor of an EventEmitter-based router for message handling. 2014-02-02 19:55:44 +09:00
Simo Kinnunen
f9da1cb0bf Fix typo in error logger. 2014-01-31 13:10:58 +09:00
Simo Kinnunen
9ed2524a7f Add socket.io with authentication and start rebuilding the device list. 2014-01-31 03:37:55 +09:00
Simo Kinnunen
f1c4e68ef7 Properly require the split module. 2014-01-30 21:29:31 +09:00
Simo Kinnunen
bc162676e3 Make it easier to see which devices are ready. 2014-01-30 21:18:41 +09:00
Simo Kinnunen
f8cceffe91 More useful logs. 2014-01-30 19:42:21 +09:00
Simo Kinnunen
88de7d1578 Fix issues with the proxy. 2014-01-30 19:36:43 +09:00
Simo Kinnunen
8bc9592a79 Add HTTP API proxy. 2014-01-30 19:29:42 +09:00
Simo Kinnunen
cadc7a17d0 Move matchesRequirements to devutil. 2014-01-30 17:02:29 +09:00
Simo Kinnunen
1616840818 Add display information to device identity. 2014-01-30 16:53:49 +09:00
Simo Kinnunen
3e3b98891f Fix monkey command to not break due to auto-escaping. 2014-01-30 14:26:06 +09:00
Simo Kinnunen
4b934f5c66 Give monkey EXTERNAL_STORAGE. 2014-01-30 14:22:23 +09:00
Simo Kinnunen
8db22952bf Initiate monkey directly from stream. On some devices monkey crashes if we just connect and disconnect. 2014-01-30 10:49:54 +09:00
Simo Kinnunen
4cf3d242a5 Add HipChat notifier role. 2014-01-30 00:21:34 +09:00
Simo Kinnunen
07f611b361 Add logcat. 2014-01-29 22:01:22 +09:00
Simo Kinnunen
389db73f08 Save device logs to rethinkdb. 2014-01-29 19:50:47 +09:00
Simo Kinnunen
a8914297ad Trap more errors. 2014-01-29 16:47:25 +09:00
Simo Kinnunen
ae4e4d3075 Keep better track of vital streams. Add monkey. 2014-01-29 16:24:07 +09:00
Simo Kinnunen
6c350d0068 Move more work to devutil. 2014-01-29 14:17:41 +09:00