wlauto.workloads.recentfling package

Module contents

class wlauto.workloads.recentfling.Recentfling(device, **kwargs)[source]

Bases: wlauto.core.workload.Workload

aliases = AC([])
artifacts = AC([])
core_modules = []
description = '\n Tests UI jank on android devices.\n\n For this workload to work, ``recentfling.sh`` and ``defs.sh`` must be placed\n in ``~/.workload_automation/dependencies/recentfling/``. These can be found\n in the `AOSP Git repository <https://android.googlesource.com/platform/system/extras/+/master/tests/workloads>`_.\n\n To change the apps that are opened at the start of the workload you will need\n to modify the ``defs.sh`` file. You will need to add your app to ``dfltAppList``\n and then add a variable called ``{app_name}Activity`` with the name of the\n activity to launch (where ``{add_name}`` is the name you put into ``dfltAppList``).\n\n You can get a list of activities available on your device by running\n ``adb shell pm list packages -f``\n '
finalize(*args, **kwargs)
initialize(*args, **kwargs)
kind = 'workload'
name = 'recentfling'
parameters = AC(["Param({'kind': <type 'list'>, 'mandatory': None, 'name': 'modules', 'constraint': None, 'default': None, 'allowed_values': None, 'global_alias': None, 'override': False})", "Param({'kind': <function integer>, 'mandatory': None, 'name': 'loops', 'constraint': None, 'default': 3, 'allowed_values': None, 'global_alias': None, 'override': False})", "Param({'kind': <function boolean>, 'mandatory': None, 'name': 'start_apps', 'constraint': None, 'default': True, 'allowed_values': None, 'global_alias': None, 'override': False})", "Param({'kind': <type 'str'>, 'mandatory': None, 'name': 'device_name', 'constraint': None, 'default': None, 'allowed_values': None, 'global_alias': None, 'override': False})"])
supported_platforms = ['android']
validate(*args, **kwargs)