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
Sergei Trofimov
18e7ffb826
workload: adding basic UIAutomator workload implementation
...
Added a workload type to handle workloads that have both an APK with an
application and associated automation JAR. Added benchmarkpi
implementation using using the new workload.
2017-03-29 09:55:40 +01:00
Sergei Trofimov
0032e347fe
Implemeting target assistants
...
- Workload's update_result stage has now been broken up into two parts:
extract_results and update_output. This is to allow the assistant to
pull output from the target in between the two stages.
- Updated assistant implementations for Linux and Android targets from
the exisiting code.
- Extended target descriptor code to handle assistants and their
parameters as well.
- Updated the target manager to actually make use of the assistants.
2017-03-29 09:53:27 +01:00
Sergei Trofimov
84c1fc2bcf
Updated dhrystone to use the new resource resoultion mechanics.
2017-03-22 15:16:37 +00:00
Sergei Trofimov
9ba126d46d
dhrystone: fixed taskset_mask description.
2017-03-20 14:44:34 +00:00
Sergei Trofimov
4287e90153
dhrystone tidy
2017-03-17 09:36:35 +00:00
Sergei Trofimov
24402660c4
Initial implementation of state tracking and output handling.
2017-03-17 09:15:43 +00:00
Sergei Trofimov
42539bbe0d
New target description + moving target stuff under "framework"
...
Changing the way target descriptions work from a static mapping to
something that is dynamically generated and is extensible via plugins.
Also moving core target implementation stuff under "framework".
2017-03-06 11:10:25 +00:00
Marc Bonnici
1f1f2b12c6
WA3 Exsisting Code
2017-02-21 15:02:28 +00:00