Commit Graph

217 Commits

Author SHA1 Message Date
Simo Kinnunen
8eae848897 Fix SH-06DNERV's data mapping. 2014-04-02 12:37:20 +09:00
Simo Kinnunen
df8dfdb321 Wait 1 minute for boot to complete, then fail. 2014-04-02 12:36:18 +09:00
Simo Kinnunen
0ce65687c5 Add timeouts everywhere. Should help if the ADB socket gets stuck like it sometimes does. 2014-04-02 11:58:53 +09:00
Simo Kinnunen
64d4782436 Enable STFService version check again. 2014-04-01 22:15:10 +09:00
Simo Kinnunen
e43507b686 Refactor stream log output to a utility. 2014-04-01 21:55:50 +09:00
Simo Kinnunen
d6604bcda8 Replace device:support:quit with util:lifecycle, which is usable by non-device processes too. 2014-04-01 21:41:58 +09:00
Simo Kinnunen
e17f306d30 Add browser list to device identity. 2014-04-01 19:29:28 +09:00
Simo Kinnunen
2bf8f2352b Fix major oversight in MessageStream that was causing multi-chunk messages to fail. 2014-04-01 17:54:31 +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
514fc3554d Add a varint-delimiting stream as well. 2014-04-01 11:50:16 +09:00
Simo Kinnunen
1c611232f5 Add utility for reading varint32-delimited streams. 2014-04-01 11:50:16 +09:00
Gunther Brunner
3c8efab212 - Tabs are nice now. 2014-03-27 20:03:22 +09:00
Gunther Brunner
7037789251 Merge remote-tracking branch 'origin/develop' into develop
Conflicts:
	.gitignore
	package.json
2014-03-26 21:41:40 +09:00
Gunther Brunner
c17176a985 - Adding languages support.
- Adding webpack bundle building support.
2014-03-26 21:38:57 +09:00
Simo Kinnunen
1880d52075 Poor UI for installation progress. 2014-03-26 21:13:48 +09:00
Simo Kinnunen
27443d5a92 Be more verbose about install progress. 2014-03-26 19:29:32 +09:00
Simo Kinnunen
796cdf94b6 Only use websocket transport. Currently we cannot guarantee state integrity on reconnect, so let's disable it for now. 2014-03-26 14:08:41 +09:00
Simo Kinnunen
a4a1cd89f0 Emit progress events on APK installation. 2014-03-26 13:50:10 +09:00
Simo Kinnunen
60cc74c3db Update InputAgent APK to hopefully solve InputService getting killed every now and then. 2014-03-26 13:34:23 +09:00
Simo Kinnunen
8ed3ae1784 First version of apps launching automatically after installation. 2014-03-25 21:12:51 +09:00
Gunther Brunner
8a4f4f5638 -Added favicon. 2014-03-25 19:29:58 +09:00
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