1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-01-19 12:24:32 +00:00

303 Commits

Author SHA1 Message Date
Marc Bonnici
b64c615e8e Uiauto2: Fixes leftover references to .uiautoapk 2017-06-08 11:23:45 +01:00
Marc Bonnici
cc641e8dac UiautoWorkloads: Updated to use apk files for uiautoamtion tests. 2017-06-05 17:00:40 +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
Marc Bonnici
81f7f92b84 real_linpack: Updated to Uiautomator2 2017-05-31 10:36:37 +01:00
Marc Bonnici
95c98fd458 Antutu: Updated to Uiautomator2 2017-05-31 10:36:37 +01:00
Marc Bonnici
428abfb6a6 Geekbench: Updated to Uiautomator2 2017-05-31 10:36:37 +01:00
Marc Bonnici
a8bf8458ec Youtube: Updated to Uiautomator2 2017-05-31 10:36:37 +01:00
Marc Bonnici
862eeadb39 Vellamo: Updated to Uiautomator2 2017-05-31 10:36:36 +01:00
Marc Bonnici
ec66e1d166 Sqlitebm: Updated to Uiautomator2 2017-05-31 10:36:36 +01:00
Marc Bonnici
3e4ffa8cd5 Smartbench: Updated to Uiautomator2 2017-05-31 10:36:36 +01:00
Marc Bonnici
dc14e6ed11 Linpack: Updated to Uiautomator2 2017-05-31 10:36:36 +01:00
Marc Bonnici
47ccae1a6b Googleplaybooks: Updated to Uiautomator2 2017-05-31 10:36:36 +01:00
Marc Bonnici
a2eef179ef Gmail: Updated to work on new app version. 2017-05-31 10:36:36 +01:00
Marc Bonnici
7eb36b959b Gmail: Updated to Uiautomator2 2017-05-31 10:36:36 +01:00
Marc Bonnici
b5563113b1 Cfbench: Updated to Uiautomator2 2017-05-31 10:36:36 +01:00
Marc Bonnici
5720d3f214 Androbench: Updated to Uiautomator2 2017-05-31 10:36:36 +01:00
Marc Bonnici
5b82b90939 Skype: Updated to Uiautomator2 2017-05-31 10:36:36 +01:00
Marc Bonnici
bfcb829ab0 AdobeReader: Updated to Uiautomator2 2017-05-31 10:36:36 +01:00
Marc Bonnici
51c92cb2f5 Workloads: Updated to use new media refresh method
Updated the base android workload and google photos workload to pass a list of
updated files rather than their directory.
2017-05-11 18:17:38 +01:00
James Hartley
a3011accf8 Fix geekbench to use new ParameterDict types
Tested using Huawei P10
2017-04-25 18:12:48 +01:00
Sergei Trofimov
7c79c24865 rt-app: fix classifer update
rt-app inserts its own classifiers into the results. Previosly, if was
replacing the existing classifier if there were any. Now, classifiers
are updated, rather than replaced.
2017-04-07 16:33:24 +01:00
scott
935edcdd01 Appshare .jar rebuild
Rebuilding the .jar file as it is not up to date with the current source.
2017-03-22 12:23:35 +00:00
scott
773bf26ff2 Googleplaybooks: Updating workload to work with change in parameter t…
…ypes

Due to a change in the parameter kind we have to update the googleplaybooks workload to work with integers for page numbers as opposed to strings.

This was missed in the previous update: 8f12066
2017-03-09 16:50:26 +00:00
Marc Bonnici
4dc0aaa724 Facebook: Updated workload to work with server changes.
Fixed being unable to find the 'update status' box.
Now selects a 'do you know' notification rather than the latest,
as this is now a link on how to upgrade the app which opens in
external browser.
2017-03-03 16:38:23 +00:00
Sascha Bischoff
4abbe7602a Extend device with sleep functionality
This changeset adds the ability to sleep on the device via a
device.sleep() method. This invokes sleep on the target device. This
is useful for situations where the passage of time on the target
device does not match that of the host, e.g., gem5.

This changeset also updates a number of workloads to use this new
sleep method.
2017-03-02 14:22:05 +00:00
Sascha Bischoff
441ecfa98c Remove stale browser-specific commands from audio workload
In this changeset we remove some left over browser specific commands
which are no longer required as part of the audio workload.
2017-03-02 10:40:11 +00:00
Sergei Trofimov
7130b3a4ab Removing browser launch from audio and video
For historical reasons audio and video workloads were launching the
browser as part of their setup. This is no longer necessary. Not only
that, since on recent devices the default Android browser is missing,
this causes problems with the workloads. This commit removes the browser
launch.
2017-03-02 10:29:00 +00:00
Michael McGeagh
c4025cad66 Changed ActionLogger class to use nano timestamps. This is because fps instrument collects data in ns as well so is possible to match the two 2017-02-24 16:11:35 +00:00
Marc Bonnici
2e97bcce70 Appshare: Fixed typo 2017-02-22 16:25:59 +00:00
Marc Bonnici
9b13f65895 AppShare: Added check to see if additional back press is required.
On some devices after signing into skype, the back button press only
hides the keyboard and a second is required to return to the previous
app.
2017-02-22 16:25:55 +00:00
Marc Bonnici
78c1a80a51 Appshare: Updated to work with new sharing selector name.
On nexus 10 the app share selector has a new name, this commit
checks for either and uses the appropriate one.
2017-02-22 16:22:55 +00:00
Marc Bonnici
7f85da6633 AppShare: Updated to use new method of uiautomator parameter passing. 2017-02-22 16:22:55 +00:00
Marc Bonnici
f76d9f9a1f Appshare: Updated to use new methods in UxPerf.
The appshare workload has been updated to use the new getter/setter
methods added to UXPerf rather than accessing protect variables.
2017-02-22 16:21:37 +00:00
Marc Bonnici
8f1206678a UiAutomatorWorkloads: Updated to use the new parameter passing functionality.
Each workload has be modfied to remove the old manual paremeter conversion
and instead to retrieve the desired type from the parameter bundle directly.
2017-02-20 16:44:24 +00:00
Marc Bonnici
8f40e6aa40 PEP8 / Pylint Fixes 2017-02-20 16:44:24 +00:00