Marc Bonnici
987f4ec4f1
wa: Rename update_results
reference to update_output
...
To be consistant with the rename of output_processors, old references
to `update_results` have now been changed to `update_output`.
2018-01-15 10:24:03 +00:00
Sergei Trofimov
fabdcc5e30
workloads: port shellscript workload from WA2
...
Port shellscript workload that allows running an arbitrary shellscript
as a WA workload from WA2.
2018-01-10 09:16:44 +00:00
Marc Bonnici
d4f78afc30
workloads/rt-app: Port workload from WA2
2018-01-08 10:40:36 +00:00
Marc Bonnici
b1a15b3458
workloads/angrybirds_rio: Add missing package name
2018-01-08 10:34:51 +00:00
Sascha Bischoff
45738dfffe
workloads/dhrystone: Remove trailing whitespace
2017-12-08 10:46:29 +00:00
Sascha Bischoff
3544b716d2
workloads/dhrystone: do initialize/finalize once per run
...
Add in the "once" decorator for the initialize and finalize methods to
ensure that they only run once per run.
2017-12-08 10:46:29 +00:00
Sergei Trofimov
4069e37f6b
workloads/dhrystone: fix run with num loops and delay
...
Fix output when running for a specified number of loops (rather than
duration) and adding delay to threads. Previously, the output for the
last thread was not printed due to a missing check for a negative
duration.
2017-12-08 09:39:40 +00:00
Brendan Jackman
aa2abd16a3
Run autoflake to remove unused imports & variables
2017-12-07 15:37:49 +00:00
Sergei Trofimov
7796dabe90
framework: remove wa.framework.plugin.Artifact
...
Remove wa.framework.plugin.Artifact and associated references. The name
of the class clashes with the class from output and can potentially
cause confusion.
The original intention for this was to be an "expected artifact
descriptor" of sorts that plugins can specify for validation purposes,
but that functionality was never implemented. Given that the framework
has undergone significant changes since this was implemented, it's not
clear that this is the best way to go about the original goal.
Therefore remove this for now.
2017-12-06 16:25:54 +00:00
Marc Bonnici
0f28a07476
framework/workload: Rename ReventWorkload to ApkReventWorkload
...
To reflect that the current implementation of ReventWorkload uses an APK
file on the device the name has been changed appropriately and the
relevant workloads have been updated.
2017-11-30 17:17:18 +00:00
Marc Bonnici
07aa56f3bd
GooglePhotos: Remove unnecessary method parameter
2017-11-28 08:12:31 +00:00
Marc Bonnici
b42a6a67af
Gmail: Port Gmail Workload from WA2
2017-11-28 08:12:31 +00:00
Marc Bonnici
0786c25db5
GooglePlayBooks: Add support for applaunch
2017-11-28 08:12:31 +00:00
Marc Bonnici
247650141b
GooglePhotos: Add support for applaunch
2017-11-28 08:12:31 +00:00
Marc Bonnici
e61ba8ed84
AdobeReader: Add support for Applaunch
2017-11-28 08:12:31 +00:00
Marc Bonnici
9f8cf2a40e
Applaunch: Port workload from WA2
...
The report_results parameter has been removed as the parsing functionality
is now performed by the `uxperf` processor therefore to report the
results of the application launch time ensure the processor has been
enabled.
2017-11-28 08:12:31 +00:00
Sergei Trofimov
7cd2982b31
workloads/uxperf: change message format
...
Do not concatenate start/stop markers to the action string with a '_',
delimit them with a space instead. This will make easier to parse the
message afterwards.
2017-11-24 14:30:09 +00:00
Marc Bonnici
612646606d
GoogleSlides: Ported workload from WA2
2017-11-15 14:47:36 +00:00
Marc Bonnici
7aa50779e6
GooglePlayPhotos: Ported workload from WA
2017-11-15 14:47:36 +00:00
Marc Bonnici
57677e7e6c
GooglePlayBooks: Ported workload from WA2
2017-11-15 14:47:36 +00:00
Marc Bonnici
af3dda1b28
AdobeReader: Ported workload from WA2
2017-11-15 14:47:36 +00:00
Brendan Jackman
200aa84d0b
exoplayer: Add an ogg format option
2017-10-31 09:11:04 +00:00
Brendan Jackman
d749fe0f8e
exoplayer: call validate from init_resources
2017-10-31 09:11:04 +00:00
Brendan Jackman
df2ae3c451
exoplayer: Add metric for dropped frames
2017-10-31 09:11:04 +00:00
Brendan Jackman
b17a0d30c0
exoplayer: Add exoplayer workload
...
This is based heavily on a combination of WA2's video workload and LISA's
exoplayer workload.
2017-10-31 09:11:04 +00:00
Sascha Bischoff
9b58662ae7
workloads/dhrystone: Fix taskset
...
Was invoking busybox in a hardcoded way, and was not using
self.target.busybox. Updated to use the correct version.
2017-10-26 12:34:35 +01:00
Brendan Jackman
74bf1a82e0
geekbench: Allow on unrooted when disable_update_result
2017-10-25 19:38:40 +01:00
Brendan Jackman
a08d6262ba
geekbench: Use root to pull results XML file
...
This is required, I don't know why this was working before. Maybe only tested
after people had run 'adb root'?
2017-10-25 19:15:46 +01:00
Brendan Jackman
b36316c900
workloads/geekbench: Add requires_network attribute
2017-10-18 11:50:30 +01:00
Sergei Trofimov
0d54c5f070
workloads: add memcpy workload
...
Ported memcpy workload from WA2.
2017-10-06 15:04:02 +01:00
Brendan Jackman
6d6fc25e40
geekbench: Fix use of WA3 APIs
...
Seem I cherry-picked the geekbench workload from my WIP branch
without testing properly, and missed a fixup commit. Here's the
content of that commit, which fixes some missing updates from WA2 ->
WA3 APIs.
2017-10-06 14:51:50 +01:00
Brendan Jackman
b18db64be1
youtube_playback: Add youtube_playback workload
...
This is a very simple workload that just aims to allow collecting
instrumentation data on purely the video decoding aspect of Youtube.
2017-10-06 10:31:41 +01:00
setrofim
85d23421b9
Merge pull request #497 from bjackman/phone-home
...
Add feature to mark workloads unsafe for confidential devices
2017-10-04 15:57:41 +01:00
Brendan Jackman
73d45b69a5
geekbench: Mark as a workload that may phone home
2017-10-04 15:43:03 +01:00
Brendan Jackman
ba01d011c5
geekbench: Add missing package_names attribute
2017-10-04 13:27:57 +01:00
Marc Bonnici
049530fe41
Youtube: Removes reference to UxPerf
2017-10-03 11:12:22 +01:00
Marc Bonnici
52b84b4030
Vellamo: Updated to automatically generate PackageID
...
Now generates packageID instead of using hardcoded values and removed
unused reference to UxPerf.
2017-10-03 11:12:22 +01:00
Brendan Jackman
e4965096e6
geekbench: Error early if target isn't rooted
2017-10-02 16:24:26 +01:00
Brendan Jackman
84404da471
geekbench: Port Geekbench workload from WA2
...
Differences from original:
- Standard renaming and rearrangement of imports
- UiAutomation.java now uses the setup() and runWorkload() phases which weren't
present before.
2017-10-02 16:24:23 +01:00
Sergei Trofimov
ecd0dbd55b
Add templerun2 workload
2017-09-27 10:34:50 +01:00
Sergei Trofimov
df01d8aa22
Homescreen: Port homescreen workload to WA3
...
Just did: wlauto -> wa
self.device -> self.target
2017-09-15 18:03:24 +01:00
Marc Bonnici
3382036d6e
Vellamo: Ported workload to WA3
2017-07-10 11:18:32 +01:00
Marc Bonnici
b6cc845272
Youtube: Adds workload to WA3
2017-07-10 11:18:32 +01:00
Marc Bonnici
d015cce91e
BenchmarkPi: Updated for uiauto2 refactor
2017-07-10 11:08:44 +01:00
Marc Bonnici
6571d012c2
BenchmarkPi: Added default package name list
2017-06-15 17:44:41 +01:00
Marc Bonnici
ef3b80d296
Benchmarkpi: Updated to uiautomator2
2017-06-12 14:57:55 +01:00
Sergei Trofimov
ac86304f35
idle: do not attempt to turn off screen on Linux
...
In the teardown, if screen_off was not set, only ensure that the
screen is on for Android targets.
2017-05-15 10:54:13 +01:00
Sergei Trofimov
f1804300d4
idle: makes sure screen is off if was off before
...
In the case where the device screen was off prior to the execution of
the workload, but the user did not set screen_off, the screen will be
turned on during the setup. Previously, it would remain on for the
subsequent execution, however the correct behavior is for the workload
to always restore the screen to its previous state.
2017-05-15 10:46:21 +01:00
Sergei Trofimov
e7290c3f14
idle: Add idle workload.
...
Added a workload that idles on target. For Android targets, there are
options for turning off the screen and/or Android services while idling.
2017-05-15 10:32:36 +01:00
Marc Bonnici
3ad0c67c63
AngrybirdsRio: Added revent workload
2017-04-25 10:35:02 +01:00