1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-04-09 04:11:00 +01:00

6 Commits

Author SHA1 Message Date
jummp01
1092ef07fd Adds Warm start time measurement
1- Launch enabled from WA for first app launch

2- Warm start requires stopping the first launched app, added in Applaunch class

3- markers moved in google photos and adobereader for launch call.

4- Backup popup watcher added in gmail

5- Tested for all workloads on s7
2016-11-24 16:08:39 +00:00
jummp01
b323d98e51 Adds AppLaunch class in Uiauto Base class
A new class AppLaunch added that facilitates launching applications from the uiautomator.
Moreover, applaunch measurement markers are placed to measure the cold-start time of applications.

1- Turns off WA-applaunch if uxperf markers enabled

Launching application from WA is disabled if uxperf markers are enabled.
The new applaunch class will be used to launch application from the uiautomator
so that application launch time can be measured.

2- Application activity name is passed as a parameter to the uiautomator as it is required
for launching certain applications.

3- Googlephotos: Adds the applaunch call in the workload

It looks for the text, Photos, on the screen to mark the end of the launch.

4- Adobereader: Adds the applaunch call in the workload

It looks for the text,RECENT,on the screen in the opening page after welcomepages for launch end.

5- Youtube: Adds the Applaunch call in the workload

It looks for the text,Home, for marking applaunch end time.

6- Googleplaybooks: Adds the applaunch call in the workload

It looks for the search icon for applaunch end.

6- Adds applaunch method for skype

Skype launches with an action name and data_uri unlike other applications.
For supporting this an overridden launch_main() method is introduced in the AppLaunch class.

7- Skype: Adds the applaunch call in the workload

The end marker is set to search for the search for contact icon.

8- Fixes sending empty activity as parameter

Activity name being sent as parameter throws error as android does not support sending empty string.
Fixed by sending the string None if the string is empty.

9- Tested for all the above workloads on s7.

All workloads ran with the new base class and jar files are added
2016-11-23 11:23:03 +00:00
John Richardson
2208d45bfb Add further convenience methods to BaseUiAutomation
Convenience methods to make it easier to get UiObjects and perform
UiDevice based gestures and operations.
2016-07-26 10:34:04 +01:00
John Richardson
c49c5c4121 Add per-action instrumentation for UX performance
- Implement a new Marker API in BaseUiAutomation so workload can
  generate start and end markers with string name. Outputs to logcat.

- Document the Marker output log format in the WA documentation

- Create a results processor to take existing instrument fps logs and
  parse them based on the workload markers. Produce per-action fps
  metrics.

- Add simple timing results based on the workload markers
2016-07-14 13:49:39 +01:00
Sebastian Goscik
46cd26e774 BaseUiAutomation: Added functions for checking version strings
Added splitVersion and compareVersions functions allow versions strings
like "3.2.045" to be compared.

Also fixed the build script to now copy to the correct folder
2016-05-16 17:22:09 +01:00
Sergei Trofimov
a747ec7e4c Initial commit of open source Workload Automation. 2015-03-10 13:09:31 +00:00