Commit Graph

646 Commits

Author SHA1 Message Date
Simo Kinnunen
a9f7e0dd0d Revert "Use 'am stopservice' to stop the input service."
This reverts commit d97a10de0ace793a06a15bfdd6b667b7517e655e.
2014-03-24 11:20:25 +09:00
Simo Kinnunen
2683f36390 Use 'am stopservice' to stop the input service. 2014-03-23 22:16:14 +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
b4416b5f0f Fix all JSHint complaints in Node.js code. 2014-03-19 20:36:46 +09:00
Simo Kinnunen
09604c0142 Fall back to gsm.operator.alpha if gsm.sim.operator.alpha doesn't exist. 2014-03-19 19:52:28 +09:00
Simo Kinnunen
d817783b63 Do not reap instantly, there are timing issues that seem to cause it to override device registrations. 2014-03-19 19:39:44 +09:00
Simo Kinnunen
5601fe2829 Normalize device data in one place. 2014-03-19 18:49:41 +09:00
Simo Kinnunen
52416ebde4 Remove device owner if device is not present. 2014-03-19 18:06:34 +09:00
Simo Kinnunen
2555168345 Replace groupService's outdated member tracker with deviceService.trackGroup(). 2014-03-19 16:45:30 +09:00
Simo Kinnunen
d43d427dcb Fix devices not being updated correctly because table name was wrong. 2014-03-18 18:04:54 +09:00
Simo Kinnunen
dc076c6b15 Update device instead of upsert so that we don't lose data between unplugs. 2014-03-18 17:59:12 +09:00
Simo Kinnunen
912dd6b58a Fix missing dependency in logcat plugin. 2014-03-18 17:58:03 +09:00
Simo Kinnunen
aec95d87a4 Shut down stf local in proper order so that the console doesn't get ugly. 2014-03-18 17:15:21 +09:00
Simo Kinnunen
022977886c Rename "isOwnedByUser" to "using". 2014-03-18 15:19:39 +09:00
Simo Kinnunen
30b04ab2d2 Add convenience flags for knowing if a device is usable, ready, and owned by us. 2014-03-18 15:06:02 +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
590c96ea21 Remove old inputagent service. 2014-03-17 22:32:31 +09:00
Simo Kinnunen
ee8951e467 Reap instantly. 2014-03-17 19:33:26 +09:00
Simo Kinnunen
ed5709aa04 Expose identify functionality. Shows a red screen with important data. 2014-03-17 19:21:34 +09:00
Simo Kinnunen
9c50c1bcdc Remove remote files before installing, it seems to work more reliably (less "text busy"). 2014-03-17 16:45:57 +09:00
Simo Kinnunen
ccef3624df Send device logs to app. 2014-03-17 16:41:07 +09:00
Simo Kinnunen
f93e5423a8 Fix hipchat room option. 2014-03-17 16:28:09 +09:00
Simo Kinnunen
08ef58fb49 Remove unnecessary logger. 2014-03-17 16:13:04 +09:00
Simo Kinnunen
dc0d264d9d Wait longer until checking business of binary again. 2014-03-17 16:10:59 +09:00
Simo Kinnunen
d1b724ada0 Integrate device database. 2014-03-17 14:59:18 +09:00
Simo Kinnunen
698bb4064a Fix input plugin. 2014-03-17 11:51:15 +09:00
Simo Kinnunen
6293f8ef16 Fix monkey not being seen by touch plugin. 2014-03-17 11:51:15 +09:00
Simo Kinnunen
6efb7a8bd3 No need to access service sockets anymore. 2014-03-17 11:51:15 +09:00
Simo Kinnunen
4e5eef7458 Properly react to ProbeMessage. 2014-03-17 11:51:15 +09:00
Simo Kinnunen
ce45090ba0 Add display to identity. Remote's dependency on identity had to be removed. 2014-03-17 11:51:15 +09:00
Simo Kinnunen
18671477a6 Update support plugin loggers. 2014-03-17 11:31:11 +09:00
Simo Kinnunen
efbd2df083 Be more careful about preventing "text is busy" errors. 2014-03-17 11:14:24 +09:00
Simo Kinnunen
d349eabd67 Remove empty line. 2014-03-17 11:11:56 +09:00
Simo Kinnunen
07a06460bf Move support plugins to their own folder. 2014-03-17 11:03:20 +09:00
Simo Kinnunen
3d20b06f7f Separate device functionality into plugins. 2014-03-14 20:18:53 +09:00
Gunther Brunner
d61a70fda5 - Refactored out WebPack options. 2014-03-12 19:27:57 +09:00
Simo Kinnunen
d90d450400 Port to new adbkit. 2014-03-12 12:42:10 +09:00
Gunther Brunner
ca401d7b9c - Adding loaders for images/fonts.
- More styles working now.
2014-03-11 20:15:18 +09:00
Gunther Brunner
a3870f93e9 - Adding data folder for external data.
- Adding Layout Controller.
- Start adding STF 1 layout
- Refactored graphics to a common repository.
- Added all bower/npm dependencies needed for now.
2014-03-11 18:43:53 +09:00
Gunther Brunner
345f921fb9 - Renamed 'lib' to 'bower_components' because we need to easily differentiate npm/component/bower packages.
- Started to add CSS back.
2014-03-10 19:58:04 +09:00
Simo Kinnunen
667ba512ae Set a timeout on the APK version check. Old APK didn't support it which caused the check to stall. 2014-03-04 20:34:09 +09:00
Gunther Brunner
e0ab10adbd Merge branch 'develop' of ghe.amb.ca.local:stf/stf into develop 2014-03-04 19:53:40 +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
Gunther Brunner
d381d90446 - Added benchmark comparing JPEG, PNG, WEBP, DDS DXT1, and CRN DXT1 formats.
- Pixi Canvas and WebGL render was added for quick benchmarking but it's going away soon, because WebGL is even slower than Canvas for big textures. The browsers nowadays use OpenGL in the backend for rendering Canvas.
- There is 3 different WebGL Renders but they need adjusting so they work with Non Power Of Two textures.
- For now the winner is JPEG+Canvas, however CRN+WebGL will be better almost for sure if server side supports it.
2014-02-28 16:41:49 +09:00
Simo Kinnunen
2692f71219 Only track devices when we need to. 2014-02-27 15:05:50 +09:00
Simo Kinnunen
08be119883 Remove old utility methods. 2014-02-26 20:48:35 +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
b177d198b3 Don't try to be clever with cleanup. It's too tricky to get it right. 2014-02-25 21:01:21 +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