1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2024-10-06 10:51:13 +01:00
Commit Graph

1121 Commits

Author SHA1 Message Date
Brendan Jackman
a533680e49 trace-cmd: remove cpufreq_interactive from default events
The interactive governor isn't standard any more (and was
Android-only anyway). Remove this default so you don't get errors for
kernels that don't support it.
2017-07-04 12:15:18 +01:00
setrofim
81fa5fdf81 Merge pull request #411 from bjackman/gfxinfo-ignore-extra-fields
fps: Ignore additional fields in gfxinfo frame data
2017-06-15 15:47:03 +01:00
Brendan Jackman
2702731532 fps: Ignore additional fields in gfxinfo frame data
Some versions of Android include additional fields in gfinxo which we
don't care about. The existing fields have the same order, so simply
ignore the extra ones.
2017-06-15 15:20:12 +01:00
setrofim
b95ea60213 Merge pull request #409 from marcbonnici/uiauto_timeout
Workload: Increased default uiautomator workload timeout
2017-06-15 11:27:32 +01:00
Marc Bonnici
8acebe12bd Workload: Increased default uiautomator workload timeout
After the upgrade to uiauto2 some workloads seem to take slightly longer
than previously.
2017-06-15 11:23:38 +01:00
setrofim
2172db5833 Merge pull request #406 from AnthonyARM/master
Replaced active_cpus by online_cpus in common/linux/device.py
2017-06-15 09:58:47 +01:00
Anthony Barbier
ff67ed1697 Replaced active_cpus by online_cpus in common/linux/device.py 2017-06-14 14:25:17 +01:00
setrofim
ae1a5019dc Merge pull request #399 from setrofim/master
ssh: Back-port ssh_get_shell from devlib
2017-06-14 13:13:23 +01:00
Sergei Trofimov
51db53d979 ssh: Back-port ssh_get_shell from devlib
This back-ports ssh_get_shell implementation from devlib. It includes
the following changes:

- original_prompt for Telnet verison of the connection can now be passed
  as an argument.
- Multiple attempts to connect with a timeout.
- Some additional implementation to the tty, including setting the size.
2017-06-13 09:14:26 +01:00
setrofim
42a4831092 Merge pull request #405 from marcbonnici/online_cores
Online cores
2017-06-13 08:55:47 +01:00
Marc Bonnici
8e94b79ed8 LinuxDevice: Now raises an error if trying to hotplug all cores.
Previously this would try to automatically enable an additional core to ensure
that all cores were not hot-plugged, however it would do this unnecessarily if
another core that wasn't the first of its types was already online.
2017-06-12 17:56:06 +01:00
Marc Bonnici
37d99e4a5d LinuxDevice: Remove duplicate method and rename for consistency
These function were duplicated of each other so one has been removed and the
remaining methods renamed for consistency with WA terminology and the relevant
calls updated.
2017-06-12 17:27:21 +01:00
marcbonnici
0683427acd Merge pull request #404 from marcbonnici/signal_fix
EntryPoint: Fixes local package being used over system level
2017-06-09 12:59:28 +01:00
Marc Bonnici
64574b1d4c EntryPoint: Fixes local package being used over system level
Due to a local file named 'signal.py' this was being imported instead of the system level 'signal' package. This commit ensures the the system level is used instead.
2017-06-09 11:10:44 +01:00
setrofim
3653e1b507 Merge pull request #403 from marcbonnici/uiauto2
Uiauto2 - Fixes
2017-06-08 17:52:38 +01:00
Marc Bonnici
e62262dbb3 Uiauto2 Workloads: Fixes applaunch bug in androind N
In order to workaround an bug in applaunch running on android N, all of the
workloads have been updated to the latest gradle build system, the timeout in
the baseclass has been changed from a TimeUnit to a regualr long and a
duplicately declared parameter bundle has been removed.
2017-06-08 16:55:47 +01:00
Marc Bonnici
18e47c89c5 Skype: Fixes launch command for intrumented testing.
Without specifying user `-3' for the launch command, the application is by default
attempted to be launched with permissions that are only grantable to system
apps.
2017-06-08 16:55:41 +01:00
marcbonnici
389a1ecf76 Merge pull request #402 from AnthonyARM/master
Convert TERM signals into INT to allow WA to exit cleanly
2017-06-08 15:16:48 +01:00
Anthony Barbier
260e9563b3 Convert TERM signals into INT to allow WA to exit cleanly 2017-06-08 14:09:15 +01:00
setrofim
48d0e1196c Merge pull request #401 from marcbonnici/uiauto2
Uiauto2: Fixes leftover references to `.uiautoapk`
2017-06-08 11:41:51 +01:00
Marc Bonnici
b64c615e8e Uiauto2: Fixes leftover references to .uiautoapk 2017-06-08 11:23:45 +01:00
setrofim
a4e27128e5 Merge pull request #397 from marcbonnici/uiauto2
Uiautomator2: Fix for newer adb versions.
2017-06-08 10:57:49 +01:00
Marc Bonnici
242cf7e33a Revert "Android Device: Add force flag to install_apk"
This reverts commit 5d8305cfdc.
2017-06-05 17:00:40 +01:00
Marc Bonnici
cc641e8dac UiautoWorkloads: Updated to use apk files for uiautoamtion tests. 2017-06-05 17:00:40 +01:00
Marc Bonnici
bb17590689 ResourceGetter: Updated to check if an apk is a uiautomation test apk.
The getter now checks the apk package name to distinguish between a regular
android apk and a uiautomator apk.
2017-06-05 17:00:40 +01:00
Marc Bonnici
4ce38fcd55 Revert "ResourceGetters: Added support for finding uiautoapk files."
This reverts commit b948d28c62.
2017-06-05 16:55:47 +01:00
Marc Bonnici
bf694ffdf1 Revert "AndroidResource: Add a UiautoApk resource type."
This reverts commit bc6af25366.
2017-06-05 16:55:47 +01:00
Marc Bonnici
b36e0061e1 AndroidWorkload: Updated to use an 'APK' file instead of a 'uiautoapk' 2017-06-05 16:55:47 +01:00
Marc Bonnici
526ad15c01 AndroidResource: Updated APKFile to add support for uiautomator tests.
In newer versions of adb, files cannot be installed unless they use the
`.apk` extension therefore we need to be able to distinguish between
regular apks and instrumented test files.
2017-06-05 16:55:38 +01:00
Sergei Trofimov
0694ab6792 LinuxDevice: rename get_number_of_online_cpus arg
Renamed "c" to "core", as that gets passed as a keyword argument inside
get_runtime_parameters().
2017-06-01 14:29:19 +01:00
setrofim
2fd7614d97 Merge pull request #392 from marcbonnici/uiauto2
Upgrading to UiAutomator2
2017-05-31 11:22:45 +01:00
marcbonnici
c75c102cd2 Merge pull request #393 from setrofim/master
utils/trace_cmd: add parsers for more sched events
2017-05-31 10:48:14 +01:00
Sergei Trofimov
c86ce64408 utils/trace_cmd: add parsers for more sched events
Added parsers for sched_wakeup(_new) and sched_stat_* events that have
non-standard text.
2017-05-31 10:42:55 +01:00
Marc Bonnici
d6909c5e6a PowerUtils: Pylint Fix 2017-05-31 10:36:38 +01:00
Marc Bonnici
55e140f20a Caffeinemark: Updated to Uiautomator2 2017-05-31 10:36:38 +01:00
Marc Bonnici
0c7a7e4dca BenchmarkPi: Updated to uiautomator2 2017-05-31 10:36:38 +01:00
Marc Bonnici
a7ed00d9ed Googleslides: Add workaround for opening navigation drawer
On Android N running under the instrumentation uiautomator appears to have
trouble retrieving the root node for the home screen of google slides. Therefore
we open the navigation drawer via a swipe which allows the node to be found again.
2017-05-31 10:36:38 +01:00
Marc Bonnici
89aa3e1208 GoogleSlides: Updated to uiautomator2
The latest version of uiautomator2 seems to have an issue with google slides not
being able to interact with any elements on the slide therefore we are using a
slightly older version which doesn't have this issue.
2017-05-31 10:36:38 +01:00
Marc Bonnici
f33fd97705 Videostreaming: Updated to uiautomator2 2017-05-31 10:36:38 +01:00
Marc Bonnici
bf598d1873 Camerarecord: Updated to only use root if device is rooted.
Previously the workload would always try and use root to pull framestats file
causing it to fail on unrooted devices.
2017-05-31 10:36:38 +01:00
Marc Bonnici
c094a47f12 Camerarecord: Updated to uiautomator2 2017-05-31 10:36:38 +01:00
Marc Bonnici
6dab2b48ab Cameracapture: Updated to uiautomator2 2017-05-31 10:36:38 +01:00
Marc Bonnici
1809def83f Peacekeeper: Updated to Uiautomator2 2017-05-31 10:36:37 +01:00
Marc Bonnici
1158c62c55 Appshare: Updated to Uiautomator2 2017-05-31 10:36:37 +01:00
Marc Bonnici
d13defe242 Glbenchmark: Updated to Uiautomator2 2017-05-31 10:36:37 +01:00
Marc Bonnici
a9c5ab9bc8 Facebook: Updated to Uiautomator2 2017-05-31 10:36:37 +01:00
Marc Bonnici
27af97b795 Quadrant: Updated to Uiautomator2 2017-05-31 10:36:37 +01:00
Marc Bonnici
a0a189044e Applaunch: Updated to Uiautomator2
Certain configurations of this workload requires root and therefore on some
android devices, this will prompt to grant the app su permissions by default. To
ensure this does not interfere with the run, ensure that either, re-request
permission after reinstall/upgrade is not selected or grant access by default.
2017-05-31 10:36:37 +01:00
Marc Bonnici
eca6c10a75 Andebench: Updated to Uiautomator2 2017-05-31 10:36:37 +01:00
Marc Bonnici
01efbe1807 Googlephotos: Updated to Uiautomator2 2017-05-31 10:36:37 +01:00