wlauto.workloads.camerarecord package

Module contents

class wlauto.workloads.camerarecord.Camerarecord(device, _call_super=True, **kwargs)[source]

Bases: wlauto.common.android.workload.UiAutomatorWorkload

activity = 'com.android.camera.CameraActivity'
aliases = AC([])
api_packages = {1: 'com.google.android.gallery3d', 23: 'com.google.android.GoogleCamera'}
artifacts = AC([])
camera_modes = ['normal', 'slow_motion']
core_modules = []
description = '\n Uses in-built Android camera app to record the video for given interval\n of time.\n\n '
finalize(*args, **kwargs)
initialize(*args, **kwargs)
kind = 'workload'
name = 'camerarecord'
package = 'com.google.android.gallery3d'
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': 'recording_time', 'constraint': None, 'default': 60, 'allowed_values': None, 'global_alias': None, 'override': False})", "Param({'kind': <type 'str'>, 'mandatory': None, 'name': 'recording_mode', 'constraint': None, 'default': 'normal', 'allowed_values': ['normal', 'slow_motion'], 'global_alias': None, 'override': False})"])
run_timeout = 0
validate(*args, **kwargs)