1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-04 18:29:17 +02:00
Commit graph

35 commits

Author SHA1 Message Date
thinkhy
2dac3d1bbd
add the column of CPU Platform in device list (#777)
* add the column of CPU Platform in device list

* Update api.js

* Update solo.js

* Update devutil.js

* Update device-column-service.js

* Update device-list-controller.js
2017-12-16 16:50:25 +08:00
thinkhy
3dba33f071 replace "ps comm" with "ps" in the function listPidsByComm
There exists an incompatibility problem as the shell command "ps comm" is invalid in some devices such as Google Pixel.

Below is the output when I issued "ps com" in Pixel:

 1|sailfish:/ $ ps com
 bad pid 'com'
 1|sailfish:/ $ echo $?
 1

So I replaced "ps comm" with "ps" which is workable for all the Android device.
2017-06-11 23:08:47 +08:00
thinkhy
08d9220b58 Create devutil.js 2017-06-11 18:02:31 +08: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
Simo Kinnunen
b9484019a3 Update to new device DB. 2014-06-18 22:52:02 +09:00
Valverde Antonio
760e09290f Code adapted to the new interface of stf-device-db. 2014-06-18 22:52:02 +09:00
Simo Kinnunen
cd374dd072 Remove unused console logs. 2014-05-12 14:19:17 +09:00
Simo Kinnunen
d5c96dc50d Clean up the owner plugin (now called 'group'). 2014-04-16 19:00:17 +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
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
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
e6a9c646e3 Provider better provider debug output and make fix killProcsByComm hanging on Xperia Z1. 2014-02-17 20:14:56 +09:00
Simo Kinnunen
0a28757f62 devutil.killProcsByComm() was not falling back to SIGKILL like it should have been. Fixed. Also added a small delay between kill checks. 2014-02-05 23:08:09 +09:00
Simo Kinnunen
483bf1be7a Default to null operator if none can be found. Easier to work with than undefined. 2014-02-03 03:15:19 +09:00
Simo Kinnunen
3a0d177925 Make inviting/kicking work. 2014-02-03 01:31:18 +09:00
Simo Kinnunen
01339b089e Remove numeric flags in favor of plain string data. Scales better. 2014-01-31 19:38:53 +09:00
Simo Kinnunen
f173e6650a Add operator to device data. 2014-01-31 19:31:21 +09:00
Simo Kinnunen
aca775b7f7 Add SONY_ERICSSON to manufacturer list and try to be a bit more intelligent when detecting it. 2014-01-30 20:05:16 +09:00
Simo Kinnunen
cadc7a17d0 Move matchesRequirements to devutil. 2014-01-30 17:02:29 +09:00
Simo Kinnunen
e0426d01be Remove unused method devutil.startProp(). It was probably added by mistake. 2014-01-30 15:34:00 +09:00
Simo Kinnunen
e083855d61 Map PANASONIC. 2014-01-30 14:47:01 +09:00
Simo Kinnunen
a54f449987 Map NEC. 2014-01-30 14:41:42 +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
315418d790 Make absolutely sure that we kill old procs. 2014-01-29 17:00:45 +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
Simo Kinnunen
3c55f91ee9 Figure out how to kill monkey reliably. 2014-01-29 12:19:48 +09:00
Simo Kinnunen
403c29c60a Start HTTP API on device. 2014-01-29 11:44:28 +09:00
Simo Kinnunen
2f2e4b6f31 Rename vendor.so to vendor.lib. 2014-01-29 00:40:18 +09:00
Simo Kinnunen
216592a995 Push vendor files to devices. 2014-01-29 00:13:29 +09:00
Simo Kinnunen
48b4c2fd0e Save devices to database. 2014-01-28 15:57:19 +09:00
Simo Kinnunen
90e405a341 Switch to protocol buffers for communication. 2014-01-22 16:34:49 +09:00