History log of /external/lisa/libs/utils/android/__init__.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
30939cc99bf6803d7ce18e5d9e07958caa4eb4fd 12-Jun-2017 Valentin Schneider <valentin.schneider@arm.com> utils/android: Add generic viewer workload

This workload uses the action.VIEW intent. It will use the
most appropriate package for a given URI, e.g. Gmaps app for
a Gmaps location url. If the device doesn't have Google services,
it will open Gmaps in the browser, and so on.
/external/lisa/libs/utils/android/__init__.py
e77ae1847a37c6da74c0aaf4384214c8bb2ab260 25-Jan-2017 Patrick Bellasi <patrick.bellasi@arm.com> utils/android/workloads: move workloads loading at module initialisation

This "seems" to be required to make workloads plugins visible from
external python scripts.

Signed-off-by: Patrick Bellasi <patrick.bellasi@arm.com>
/external/lisa/libs/utils/android/__init__.py
6c4aec9441efd6069b6fbf7cc5d920bbb2f095e4 13-Jun-2016 Patrick Bellasi <patrick.bellasi@arm.com> libs/utils/android: add initial support for system utilities

The Android::System module is meant to collect functions related to system
tunables. For the time being we add just one function which allows to
toggle the AIRPLANE mode of an Android target.

Signed-off-by: Patrick Bellasi <patrick.bellasi@arm.com>
/external/lisa/libs/utils/android/__init__.py
f1553b2a0b726922830ff93d5144b22d6619a876 10-May-2016 Patrick Bellasi <patrick.bellasi@arm.com> libs/utils/android: Add Workload base class

Some workloads can be easily automated for an Android target by just
issuing a proper set of ADB commands. This patch adds a base class to
run workloads on Android.

The goal of this base class is to make it simple to add new ADB-based
automation to run specific workloads on Android. An Android workload is
required to extend this class with a new one which is defined in a
single Python source located under:
libs/utils/android/workloads

The base class is defined to list all the python files available under
that folder and check if the (optionally) required package is installed
in the target.

The base class provides also a factory method which allows to get an
instance of a specified workload, if available on the target.
For example, a basic usage of this class is:

wload = Workload.get(test_env,
wload_name="YouTube")
if wload:
wload.run(test_env.res_dir,
video_url="https://youtu.be/XSGBVzeBUbk?t=45s",
video_duration_s=15)

Signed-off-by: Patrick Bellasi <patrick.bellasi@arm.com>
/external/lisa/libs/utils/android/__init__.py
19477157cbabd28f6c132a28b1c7716658445589 10-May-2016 Patrick Bellasi <patrick.bellasi@arm.com> libs/utils/android: Add Screen control class

When working on an Android target, some experiments requires to properly
setup some components, especially to reduce variations on energy
consumptions. The screen is one of the most energy consuming componets.

This patch adds a Screen module which exposes some of the most common
operations to tune the Screen settings of an Android target.

Signed-off-by: Patrick Bellasi <patrick.bellasi@arm.com>
/external/lisa/libs/utils/android/__init__.py