SYMBOL INDEX (2654 symbols across 165 files) FILE: dev_scripts/pylint_plugins.py function register (line 16) | def register(linter): function transform (line 20) | def transform(mod): FILE: doc/build_instrument_method_map.py function generate_instrument_method_map (line 28) | def generate_instrument_method_map(outfile): FILE: doc/build_plugin_docs.py function insert_contents_table (line 35) | def insert_contents_table(title='', depth=1): function generate_plugin_documentation (line 48) | def generate_plugin_documentation(source_dir, outdir, ignore_paths): function generate_target_documentation (line 74) | def generate_target_documentation(outdir): function generate_run_config_documentation (line 111) | def generate_run_config_documentation(outdir): function generate_meta_config_documentation (line 115) | def generate_meta_config_documentation(outdir): function generate_config_documentation (line 119) | def generate_config_documentation(config, outdir): FILE: doc/source/conf.py function setup (line 310) | def setup(app): FILE: setup.py class sdist (line 123) | class sdist(orig_sdist): method initialize_options (line 130) | def initialize_options(self): method run (line 134) | def run(self): FILE: tests/data/extensions/devices/test_device.py class MockDevice (line 20) | class MockDevice(Plugin): method __init__ (line 25) | def __init__(self, *args, **kwargs): method boot (line 33) | def boot(self): method push_file (line 36) | def push_file(self, source, dest): method pull_file (line 39) | def pull_file(self, source, dest): method execute (line 42) | def execute(self, command): method set_sysfile_int (line 45) | def set_sysfile_int(self, file, value): method close (line 48) | def close(self, command): FILE: tests/test_agenda_parser.py class AgendaTest (line 127) | class AgendaTest(TestCase): method setUp (line 129) | def setUp(self): method test_yaml_load (line 134) | def test_yaml_load(self): method test_duplicate_id (line 138) | def test_duplicate_id(self): method test_yaml_missing_field (line 148) | def test_yaml_missing_field(self): method test_defaults (line 158) | def test_defaults(self): method test_default_id_assignment (line 167) | def test_default_id_assignment(self): method test_sections (line 175) | def test_sections(self): method test_yaml_anchors (line 188) | def test_yaml_anchors(self): method test_dup_sections (line 202) | def test_dup_sections(self): method test_bad_syntax (line 207) | def test_bad_syntax(self): class FakeTargetManager (line 211) | class FakeTargetManager: method merge_runtime_parameters (line 213) | def merge_runtime_parameters(self, params): method validate_runtime_parameters (line 216) | def validate_runtime_parameters(self, params): class IncludesTest (line 220) | class IncludesTest(TestCase): method test_includes (line 222) | def test_includes(self): FILE: tests/test_config.py class TestConfigUtils (line 23) | class TestConfigUtils(unittest.TestCase): method test_merge_values (line 25) | def test_merge_values(self): class TestConfigParser (line 44) | class TestConfigParser(unittest.TestCase): method test_param_merge (line 46) | def test_param_merge(self): FILE: tests/test_diff.py class InterruptDiffTest (line 28) | class InterruptDiffTest(TestCase): method test_interrupt_diff (line 30) | def test_interrupt_diff(self): FILE: tests/test_exec_control.py class MockClass (line 27) | class MockClass(object): method __init__ (line 31) | def __init__(self): method called_once (line 35) | def called_once(self): method initilize_once (line 39) | def initilize_once(self): method initilize_once_per_class (line 43) | def initilize_once_per_class(self): method initilize_once_per_instance (line 47) | def initilize_once_per_instance(self): method __repr__ (line 50) | def __repr__(self): class SubClass (line 54) | class SubClass(MockClass): method __init__ (line 56) | def __init__(self): method initilize_once (line 60) | def initilize_once(self): method initilize_once_per_class (line 65) | def initilize_once_per_class(self): method initilize_once_per_instance (line 70) | def initilize_once_per_instance(self): class SubSubClass (line 75) | class SubSubClass(SubClass): method __init__ (line 77) | def __init__(self): method initilize_once (line 81) | def initilize_once(self): method initilize_once_per_class (line 86) | def initilize_once_per_class(self): method initilize_once_per_instance (line 91) | def initilize_once_per_instance(self): class AnotherClass (line 96) | class AnotherClass(object): method __init__ (line 98) | def __init__(self): method initilize_once (line 102) | def initilize_once(self): method initilize_once_per_class (line 106) | def initilize_once_per_class(self): method initilize_once_per_instance (line 110) | def initilize_once_per_instance(self): class NamedClass (line 114) | class NamedClass: method __init__ (line 118) | def __init__(self, name): method initilize (line 122) | def initilize(self): class AnotherSubClass (line 126) | class AnotherSubClass(MockClass): method __init__ (line 128) | def __init__(self): method initilize_once (line 132) | def initilize_once(self): method initilize_once_per_class (line 137) | def initilize_once_per_class(self): method initilize_once_per_instance (line 142) | def initilize_once_per_instance(self): class EnvironmentManagementTest (line 147) | class EnvironmentManagementTest(TestCase): method test_duplicate_environment (line 149) | def test_duplicate_environment(self): method test_reset_missing_environment (line 153) | def test_reset_missing_environment(self): method test_reset_current_environment (line 156) | def test_reset_current_environment(self): method test_switch_environment (line 166) | def test_switch_environment(self): method test_reset_environment_name (line 180) | def test_reset_environment_name(self): class ParentOnlyOnceEvironmentTest (line 191) | class ParentOnlyOnceEvironmentTest(TestCase): method test_sub_classes (line 192) | def test_sub_classes(self): class OnlyOnceEnvironmentTest (line 202) | class OnlyOnceEnvironmentTest(TestCase): method setUp (line 204) | def setUp(self): method tearDown (line 207) | def tearDown(self): method test_single_instance (line 210) | def test_single_instance(self): method test_mulitple_instances (line 224) | def test_mulitple_instances(self): method test_sub_classes (line 235) | def test_sub_classes(self): class OncePerClassEnvironmentTest (line 257) | class OncePerClassEnvironmentTest(TestCase): method setUp (line 259) | def setUp(self): method tearDown (line 262) | def tearDown(self): method test_single_instance (line 265) | def test_single_instance(self): method test_mulitple_instances (line 279) | def test_mulitple_instances(self): method test_sub_classes (line 290) | def test_sub_classes(self): class OncePerInstanceEnvironmentTest (line 315) | class OncePerInstanceEnvironmentTest(TestCase): method setUp (line 317) | def setUp(self): method tearDown (line 320) | def tearDown(self): method test_single_instance (line 323) | def test_single_instance(self): method test_mulitple_instances (line 337) | def test_mulitple_instances(self): method test_sub_classes (line 348) | def test_sub_classes(self): class OncePerAttributeValueTest (line 370) | class OncePerAttributeValueTest(TestCase): method setUp (line 372) | def setUp(self): method tearDown (line 375) | def tearDown(self): method test_once_attribute_value (line 378) | def test_once_attribute_value(self): FILE: tests/test_execution.py class MockConfigManager (line 35) | class MockConfigManager(Mock): method jobs (line 38) | def jobs(self): method loaded_config_sources (line 42) | def loaded_config_sources(self): method plugin_cache (line 46) | def plugin_cache(self): method __init__ (line 49) | def __init__(self, *args, **kwargs): method to_pod (line 54) | def to_pod(self): class MockPluginCache (line 58) | class MockPluginCache(Mock): method list_plugins (line 60) | def list_plugins(self, kind=None): class MockProcessorManager (line 64) | class MockProcessorManager(Mock): method __init__ (line 66) | def __init__(self, *args, **kwargs): method get_enabled (line 69) | def get_enabled(self): class JobState_force_retry (line 73) | class JobState_force_retry(JobState): method status (line 76) | def status(self): method status (line 80) | def status(self, value): method __init__ (line 90) | def __init__(self, to_retry, *args, **kwargs): class Job_force_retry (line 98) | class Job_force_retry(Job): method __init__ (line 102) | def __init__(self, to_retry, *args, **kwargs): method initialize (line 108) | def initialize(self, context): method finalize (line 112) | def finalize(self, context): class TestRunState (line 117) | class TestRunState(TestCase): method setUp (line 119) | def setUp(self): method tearDown (line 126) | def tearDown(self): method test_job_state_transitions_pass (line 135) | def test_job_state_transitions_pass(self): method test_job_state_transitions_fail (line 146) | def test_job_state_transitions_fail(self): method test_job_state_transitions_retry (line 157) | def test_job_state_transitions_retry(self): method initialise_signals (line 168) | def initialise_signals(self): method _verify_serialized_state (line 177) | def _verify_serialized_state(self, _): class TestJobState (line 192) | class TestJobState(TestCase): method test_job_retry_status (line 194) | def test_job_retry_status(self): method test_skipped_job_state (line 211) | def test_skipped_job_state(self): method test_normal_job_finalized (line 236) | def test_normal_job_finalized(self): method test_skipped_job_finalized (line 253) | def test_skipped_job_finalized(self): method test_failed_job_finalized (line 277) | def test_failed_job_finalized(self): function get_context (line 300) | def get_context(path=None): function get_jobspec (line 311) | def get_jobspec(): FILE: tests/test_plugin.py class PluginLoaderTest (line 31) | class PluginLoaderTest(TestCase): method setUp (line 33) | def setUp(self): method test_load_device (line 36) | def test_load_device(self): method test_list_by_kind (line 40) | def test_list_by_kind(self): class MyBasePlugin (line 47) | class MyBasePlugin(Plugin): method __init__ (line 56) | def __init__(self, **kwargs): method virtual1 (line 62) | def virtual1(self): method virtual2 (line 66) | def virtual2(self): class MyAcidPlugin (line 70) | class MyAcidPlugin(MyBasePlugin): method __init__ (line 80) | def __init__(self, **kwargs): method virtual1 (line 85) | def virtual1(self): method virtual2 (line 89) | def virtual2(self): class MyOtherPlugin (line 93) | class MyOtherPlugin(MyBasePlugin): class MyOtherOtherPlugin (line 102) | class MyOtherOtherPlugin(MyOtherPlugin): class MyOverridingPlugin (line 111) | class MyOverridingPlugin(MyAcidPlugin): class MyThirdTeerPlugin (line 120) | class MyThirdTeerPlugin(MyOverridingPlugin): class MultiValueParamExt (line 125) | class MultiValueParamExt(Plugin): class PluginMetaTest (line 135) | class PluginMetaTest(TestCase): method test_propagation (line 137) | def test_propagation(self): method test_duplicate_param_spec (line 142) | def test_duplicate_param_spec(self): method test_param_override (line 148) | def test_param_override(self): method test_invalid_param_spec (line 156) | def test_invalid_param_spec(self): class ParametersTest (line 163) | class ParametersTest(TestCase): method test_setting (line 165) | def test_setting(self): method test_validation_ok (line 171) | def test_validation_ok(self): method test_default_override (line 175) | def test_default_override(self): method test_multivalue_param (line 181) | def test_multivalue_param(self): method test_bad_multivalue_param (line 187) | def test_bad_multivalue_param(self): method test_validation_no_mandatory (line 192) | def test_validation_no_mandatory(self): method test_validation_no_mandatory_in_derived (line 197) | def test_validation_no_mandatory_in_derived(self): method test_validation_bad_value (line 201) | def test_validation_bad_value(self): FILE: tests/test_runtime_param_utils.py class TestRuntimeParameterUtils (line 22) | class TestRuntimeParameterUtils(unittest.TestCase): method test_resolve_cpu (line 24) | def test_resolve_cpu(self): FILE: tests/test_signal.py class Callable (line 24) | class Callable(object): method __init__ (line 26) | def __init__(self, val): method __call__ (line 29) | def __call__(self): class TestSignalDisconnect (line 33) | class TestSignalDisconnect(unittest.TestCase): method __init__ (line 35) | def __init__(self, *args, **kwargs): method setUp (line 39) | def setUp(self): method test_handler_disconnected (line 43) | def test_handler_disconnected(self): method _call_me_once (line 47) | def _call_me_once(self): class TestPriorityDispatcher (line 54) | class TestPriorityDispatcher(unittest.TestCase): method setUp (line 56) | def setUp(self): method test_ConnectNotify (line 61) | def test_ConnectNotify(self): method test_wrap_propagate (line 83) | def test_wrap_propagate(self): FILE: tests/test_utils.py class TestPriorityList (line 28) | class TestPriorityList(TestCase): method test_insert (line 30) | def test_insert(self): method test_delete (line 45) | def test_delete(self): method test_multiple (line 61) | def test_multiple(self): method test_iterator_break (line 73) | def test_iterator_break(self): method test_add_before_after (line 84) | def test_add_before_after(self): class TestEnumLevel (line 98) | class TestEnumLevel(TestCase): method test_enum_creation (line 100) | def test_enum_creation(self): method test_enum_name_conflicts (line 110) | def test_enum_name_conflicts(self): method test_enum_behavior (line 120) | def test_enum_behavior(self): method test_serialize_level (line 141) | def test_serialize_level(self): method test_deserialize_enum (line 147) | def test_deserialize_enum(self): class TestToggleSet (line 154) | class TestToggleSet(TestCase): method test_equality (line 156) | def test_equality(self): method test_merge (line 164) | def test_merge(self): method test_drop_all_previous (line 180) | def test_drop_all_previous(self): method test_order_on_create (line 194) | def test_order_on_create(self): FILE: wa/commands/create.py function copy_tree (line 46) | def copy_tree(src, dst): function copy_tree (line 57) | def copy_tree(src, dst): class CreateDatabaseSubcommand (line 67) | class CreateDatabaseSubcommand(SubCommand): method __init__ (line 78) | def __init__(self, *args, **kwargs): method initialize (line 91) | def initialize(self, context): method execute (line 123) | def execute(self, state, args): # pylint: disable=too-many-branches method create_database (line 196) | def create_database(self): method update_schema (line 208) | def update_schema(self): method _update_schema_minors (line 219) | def _update_schema_minors(self, major, minor, meta_oid): method _update_schema_major (line 236) | def _update_schema_major(self, current_major, current_minor, meta_oid): method _validate_version (line 251) | def _validate_version(self): method _get_database_schema_version (line 258) | def _get_database_schema_version(self): method _check_database_existence (line 270) | def _check_database_existence(self): method _create_database_postgres (line 285) | def _create_database_postgres(self): method _apply_database_schema (line 296) | def _apply_database_schema(self, sql_commands, schema_major, schema_mi... method _update_configuration_file (line 321) | def _update_configuration_file(self, config): method _parse_args (line 331) | def _parse_args(self, args): class CreateAgendaSubcommand (line 341) | class CreateAgendaSubcommand(SubCommand): method initialize (line 349) | def initialize(self, context): method execute (line 358) | def execute(self, state, args): class CreateWorkloadSubcommand (line 410) | class CreateWorkloadSubcommand(SubCommand): method initialize (line 416) | def initialize(self, context): method execute (line 429) | def execute(self, state, args): # pylint: disable=R0201 class CreatePackageSubcommand (line 439) | class CreatePackageSubcommand(SubCommand): method initialize (line 446) | def initialize(self, context): method execute (line 456) | def execute(self, state, args): # pylint: disable=R0201 method create_extensions_package (line 461) | def create_extensions_package(self, location, name, setup_template_pat... class CreateCommand (line 477) | class CreateCommand(ComplexCommand): function create_workload (line 493) | def create_workload(name, kind='basic', where='local', check_name=True, ... function create_template_workload (line 515) | def create_template_workload(path, name, kind, class_name): function create_uiautomator_template_workload (line 521) | def create_uiautomator_template_workload(path, name, kind, class_name): function create_uiauto_project (line 527) | def create_uiauto_project(path, name): function render_template (line 570) | def render_template(name, params): function get_class_name (line 578) | def get_class_name(name, postfix=''): function touch (line 583) | def touch(path): FILE: wa/commands/list.py class ListCommand (line 24) | class ListCommand(Command): method initialize (line 29) | def initialize(self, context): method execute (line 51) | def execute(self, state, args): function get_kinds (line 77) | def get_kinds(): function list_targets (line 86) | def list_targets(): function list_plugins (line 97) | def list_plugins(args, filters): function check_platform (line 123) | def check_platform(plugin, platform): FILE: wa/commands/postgres_schemas/postgres_schema.sql type DatabaseMeta (line 31) | CREATE TABLE DatabaseMeta ( type Runs (line 38) | CREATE TABLE Runs ( type Jobs (line 62) | CREATE TABLE Jobs ( type Targets (line 77) | CREATE TABLE Targets ( type Events (line 104) | CREATE TABLE Events ( type Resource_Getters (line 115) | CREATE TABLE Resource_Getters ( type Augmentations (line 122) | CREATE TABLE Augmentations ( type Jobs_Augs (line 129) | CREATE TABLE Jobs_Augs ( type Metrics (line 136) | CREATE TABLE Metrics ( type LargeObjects (line 149) | CREATE TABLE LargeObjects ( type Artifacts (line 159) | CREATE TABLE Artifacts ( type Classifiers (line 179) | CREATE TABLE Classifiers ( type Parameters (line 190) | CREATE TABLE Parameters ( FILE: wa/commands/process.py class ProcessContext (line 27) | class ProcessContext(object): method __init__ (line 29) | def __init__(self): method add_augmentation (line 34) | def add_augmentation(self, aug): class ProcessCommand (line 38) | class ProcessCommand(Command): method initialize (line 43) | def initialize(self, context): method execute (line 72) | def execute(self, config, args): # pylint: disable=arguments-differ,t... FILE: wa/commands/report.py class ReportCommand (line 14) | class ReportCommand(Command): method initialize (line 50) | def initialize(self, context): method execute (line 58) | def execute(self, state, args): class RunMonitor (line 95) | class RunMonitor: method elapsed_time (line 98) | def elapsed_time(self): method job_outputs (line 107) | def job_outputs(self): method projected_duration (line 115) | def projected_duration(self): method __init__ (line 120) | def __init__(self, ro): method get_data (line 129) | def get_data(self): method generate_run_header (line 138) | def generate_run_header(self): method generate_job_summary (line 168) | def generate_job_summary(self): method generate_job_detail (line 188) | def generate_job_detail(self): method generate_run_detail (line 206) | def generate_run_detail(self): method generate_output (line 214) | def generate_output(self, verbose): function _seconds_as_smh (line 228) | def _seconds_as_smh(seconds): function segment_jobs_by_state (line 236) | def segment_jobs_by_state(jobstates, max_retries, retry_status): class _simple_formatter (line 264) | class _simple_formatter: method __init__ (line 272) | def __init__(self): method fit_term_width (line 276) | def fit_term_width(self, text): method highlight_keyword (line 283) | def highlight_keyword(self, kw): FILE: wa/commands/revent.py class RecordCommand (line 28) | class RecordCommand(Command): method __init__ (line 56) | def __init__(self, **kwargs): method initialize (line 62) | def initialize(self, context): method validate_args (line 88) | def validate_args(self, args): method execute (line 103) | def execute(self, state, args): method record (line 133) | def record(self, revent_file, name, output_path): method manual_record (line 161) | def manual_record(self, args): method package_record (line 168) | def package_record(self, args): method workload_record (line 185) | def workload_record(self, args): method _split_revent_location (line 218) | def _split_revent_location(self, output): class ReplayCommand (line 232) | class ReplayCommand(Command): method initialize (line 242) | def initialize(self, context): method execute (line 251) | def execute(self, state, args): class LightContext (line 287) | class LightContext(object): method __init__ (line 289) | def __init__(self, tm): method get_resource (line 294) | def get_resource(self, resource, strict=True): method update_metadata (line 297) | def update_metadata(self, key, *args): FILE: wa/commands/run.py class RunCommand (line 32) | class RunCommand(Command): method initialize (line 40) | def initialize(self, context): method execute (line 87) | def execute(self, config, args): # pylint: disable=arguments-differ method set_up_output_directory (line 123) | def set_up_output_directory(self, config, args): FILE: wa/commands/show.py class ShowCommand (line 38) | class ShowCommand(Command): method initialize (line 43) | def initialize(self, context): method execute (line 47) | def execute(self, state, args): function get_target_description (line 102) | def get_target_description(name): function get_rst_from_target (line 109) | def get_rst_from_target(target): function get_rst_for_global_config (line 123) | def get_rst_for_global_config(): function get_rst_for_envars (line 135) | def get_rst_for_envars(): FILE: wa/commands/templates/uiauto/UiAutomation.java class UiAutomation (line 24) | @RunWith(AndroidJUnit4.class) method initialize (line 33) | @Before method setup (line 41) | @Test method runWorkload (line 47) | @Test method extractResults (line 52) | @Test method teardown (line 57) | @Test FILE: wa/framework/command.py function init_argument_parser (line 24) | def init_argument_parser(parser): class SubCommand (line 34) | class SubCommand(object): method __init__ (line 50) | def __init__(self, logger, subparsers): method initialize (line 62) | def initialize(self, context): method execute (line 69) | def execute(self, state, args): class Command (line 84) | class Command(Plugin, SubCommand): # pylint: disable=abstract-method method __init__ (line 95) | def __init__(self, subparsers): class ComplexCommand (line 100) | class ComplexCommand(Command): method __init__ (line 108) | def __init__(self, subparsers): method initialize (line 112) | def initialize(self, context): method execute (line 119) | def execute(self, state, args): FILE: wa/framework/configuration/core.py class RebootPolicy (line 48) | class RebootPolicy(object): method from_pod (line 68) | def from_pod(pod): method __init__ (line 71) | def __init__(self, policy): method can_reboot (line 81) | def can_reboot(self): method perform_initial_reboot (line 85) | def perform_initial_reboot(self): method reboot_on_each_job (line 89) | def reboot_on_each_job(self): method reboot_on_each_spec (line 93) | def reboot_on_each_spec(self): method reboot_on_run_completion (line 97) | def reboot_on_run_completion(self): method __str__ (line 100) | def __str__(self): method __eq__ (line 105) | def __eq__(self, other): method to_pod (line 111) | def to_pod(self): class status_list (line 115) | class status_list(list): method append (line 117) | def append(self, item): class LoggingConfig (line 121) | class LoggingConfig(Podable, dict): method from_pod (line 133) | def from_pod(pod): method __init__ (line 140) | def __init__(self, config=None): method to_pod (line 159) | def to_pod(self): method _pod_upgrade_v1 (line 165) | def _pod_upgrade_v1(pod): function expanded_path (line 170) | def expanded_path(path): function get_type_name (line 177) | def get_type_name(kind): class ConfigurationPoint (line 186) | class ConfigurationPoint(object): method __init__ (line 193) | def __init__(self, name, method match (line 288) | def match(self, name): method set_value (line 295) | def set_value(self, obj, value=None, check_mandatory=True): method validate (line 321) | def validate(self, obj, check_mandatory=True): method validate_value (line 332) | def validate_value(self, name, value): method validate_allowed_values (line 338) | def validate_allowed_values(self, name, value): method validate_constraint (line 349) | def validate_constraint(self, name, value): method __repr__ (line 361) | def __repr__(self): function _to_pod (line 374) | def _to_pod(cfg_point, value): class Configuration (line 383) | class Configuration(Podable): method from_pod (line 393) | def from_pod(cls, pod): method __init__ (line 406) | def __init__(self): method set (line 411) | def set(self, name, value, check_mandatory=True): method update_config (line 422) | def update_config(self, values, check_mandatory=True): method validate (line 426) | def validate(self): method to_pod (line 430) | def to_pod(self): method _pod_upgrade_v1 (line 438) | def _pod_upgrade_v1(pod): class MetaConfiguration (line 444) | class MetaConfiguration(Configuration): method dependencies_directory (line 518) | def dependencies_directory(self): method plugins_directory (line 522) | def plugins_directory(self): method cache_directory (line 526) | def cache_directory(self): method plugin_paths (line 530) | def plugin_paths(self): method user_config_file (line 534) | def user_config_file(self): method additional_packages_file (line 538) | def additional_packages_file(self): method target_info_cache_file (line 542) | def target_info_cache_file(self): method apk_info_cache_file (line 546) | def apk_info_cache_file(self): method __init__ (line 549) | def __init__(self, environ=None): class RunConfiguration (line 569) | class RunConfiguration(Configuration): method from_pod (line 763) | def from_pod(cls, pod): method __init__ (line 780) | def __init__(self): method merge_device_config (line 788) | def merge_device_config(self, plugin_cache): method add_augmentation (line 800) | def add_augmentation(self, aug): method add_resource_getter (line 805) | def add_resource_getter(self, getter): method to_pod (line 810) | def to_pod(self): class JobSpec (line 818) | class JobSpec(Configuration): method from_pod (line 883) | def from_pod(cls, pod): method section_id (line 890) | def section_id(self): method workload_id (line 895) | def workload_id(self): method __init__ (line 899) | def __init__(self): method to_pod (line 911) | def to_pod(self): method update_config (line 916) | def update_config(self, source, check_mandatory=True): # pylint: disa... method merge_workload_parameters (line 932) | def merge_workload_parameters(self, plugin_cache): method merge_runtime_parameters (line 955) | def merge_runtime_parameters(self, plugin_cache, target_manager): method finalize (line 974) | def finalize(self): class JobGenerator (line 988) | class JobGenerator(object): method enabled_instruments (line 993) | def enabled_instruments(self): method enabled_processors (line 1004) | def enabled_processors(self): method __init__ (line 1014) | def __init__(self, plugin_cache): method set_global_value (line 1033) | def set_global_value(self, name, value): method add_section (line 1039) | def add_section(self, section, workloads, group): method add_workload (line 1045) | def add_workload(self, workload): method disable_augmentations (line 1048) | def disable_augmentations(self, augmentations): method update_augmentations (line 1060) | def update_augmentations(self, value): method only_run_ids (line 1066) | def only_run_ids(self, ids): method generate_job_specs (line 1071) | def generate_job_specs(self, target_manager): function create_job_spec (line 1095) | def create_job_spec(workload_entry, sections, target_manager, plugin_cache, function get_config_point_map (line 1124) | def get_config_point_map(params): FILE: wa/framework/configuration/default.py function _format_yaml_comment (line 31) | def _format_yaml_comment(param, short_description=False): function _format_augmentations (line 41) | def _format_augmentations(output): function generate_default_config (line 51) | def generate_default_config(path): function write_param_yaml (line 59) | def write_param_yaml(entry, param, output): FILE: wa/framework/configuration/execution.py class CombinedConfig (line 33) | class CombinedConfig(Podable): method from_pod (line 38) | def from_pod(pod): method __init__ (line 44) | def __init__(self, settings=None, run_config=None): # pylint: disable... method to_pod (line 49) | def to_pod(self): method _pod_upgrade_v1 (line 56) | def _pod_upgrade_v1(pod): class ConfigManager (line 61) | class ConfigManager(object): method enabled_instruments (line 71) | def enabled_instruments(self): method enabled_processors (line 75) | def enabled_processors(self): method job_specs (line 79) | def job_specs(self): method jobs (line 87) | def jobs(self): method __init__ (line 94) | def __init__(self, settings=settings): # pylint: disable=redefined-ou... method load_config_file (line 105) | def load_config_file(self, filepath): method load_config (line 110) | def load_config(self, values, source): method get_plugin (line 114) | def get_plugin(self, name=None, kind=None, *args, **kwargs): method get_instruments (line 117) | def get_instruments(self, target): method get_processors (line 128) | def get_processors(self): method get_config (line 139) | def get_config(self): method finalize (line 142) | def finalize(self): method generate_jobs (line 149) | def generate_jobs(self, context): function permute_by_workload (line 165) | def permute_by_workload(specs): function permute_by_iteration (line 176) | def permute_by_iteration(specs): function permute_by_section (line 203) | def permute_by_section(specs): function permute_randomly (line 229) | def permute_randomly(specs): function permute_iterations (line 251) | def permute_iterations(specs, exec_order): FILE: wa/framework/configuration/parsers.py class ConfigParser (line 34) | class ConfigParser(object): method load_from_path (line 36) | def load_from_path(self, state, filepath): method load (line 41) | def load(self, state, raw, source, wrap_exceptions=True): # pylint: d... class AgendaParser (line 92) | class AgendaParser(object): method load_from_path (line 94) | def load_from_path(self, state, filepath): method load (line 99) | def load(self, state, raw, source): method _populate_and_validate_config (line 129) | def _populate_and_validate_config(self, state, raw, source): method _pop_sections (line 146) | def _pop_sections(self, raw): method _pop_workloads (line 155) | def _pop_workloads(self, raw): method _collect_ids (line 161) | def _collect_ids(self, sections, global_workloads): method _process_global_workloads (line 178) | def _process_global_workloads(self, state, global_workloads, seen_wkl_... method _process_sections (line 184) | def _process_sections(self, state, sections, seen_sect_ids, seen_wkl_i... function pop_aliased_param (line 209) | def pop_aliased_param(cfg_point, d, default=None): function _load_file (line 227) | def _load_file(filepath, error_name): function _config_values_from_includes (line 241) | def _config_values_from_includes(filepath, include_path, error_name): function _process_includes (line 271) | def _process_includes(raw, filepath, error_name): function merge_augmentations (line 300) | def merge_augmentations(raw): function _pop_aliased (line 342) | def _pop_aliased(d, names, entry_id): function _construct_valid_entry (line 354) | def _construct_valid_entry(raw, seen_ids, prefix, jobs_config): function _collect_valid_id (line 393) | def _collect_valid_id(entry_id, seen_ids, entry_type): function _get_workload_entry (line 409) | def _get_workload_entry(workload): function _process_workload_entry (line 417) | def _process_workload_entry(workload, seen_workload_ids, jobs_config): FILE: wa/framework/configuration/plugin_cache.py class PluginCache (line 31) | class PluginCache(object): method __init__ (line 40) | def __init__(self, loader=pluginloader): method add_source (line 56) | def add_source(self, source): method add_global_alias (line 62) | def add_global_alias(self, alias, value, source): method add_configs (line 73) | def add_configs(self, plugin_name, values, source): method is_global_alias (line 105) | def is_global_alias(self, name): method list_plugins (line 108) | def list_plugins(self, kind=None): method get_plugin_config (line 111) | def get_plugin_config(self, plugin_name, generic_name=None, is_final=T... method get_plugin (line 137) | def get_plugin(self, name, kind=None, *args, **kwargs): method get_plugin_class (line 142) | def get_plugin_class(self, name, kind=None): method get_plugin_parameters (line 146) | def get_plugin_parameters(self, name): method resolve_alias (line 152) | def resolve_alias(self, name): method _set_plugin_defaults (line 155) | def _set_plugin_defaults(self, plugin_name, config): method _set_from_global_aliases (line 167) | def _set_from_global_aliases(self, plugin_name, config): method _get_target_params (line 176) | def _get_target_params(self, name): method _merge_using_priority_specificity (line 181) | def _merge_using_priority_specificity(self, specific_name, method __getattr__ (line 236) | def __getattr__(self, name): class MergeState (line 273) | class MergeState(object): method __init__ (line 275) | def __init__(self): function update_config_from_source (line 284) | def update_config_from_source(final_config, source, state): FILE: wa/framework/configuration/tree.py class JobSpecSource (line 23) | class JobSpecSource(object): method __init__ (line 27) | def __init__(self, config, parent=None): method id (line 33) | def id(self): method name (line 37) | def name(self): method _log_self (line 40) | def _log_self(self): class WorkloadEntry (line 47) | class WorkloadEntry(JobSpecSource): method name (line 51) | def name(self): class SectionNode (line 58) | class SectionNode(JobSpecSource): method name (line 63) | def name(self): method is_leaf (line 70) | def is_leaf(self): method __init__ (line 73) | def __init__(self, config, parent=None, group=None): method add_section (line 79) | def add_section(self, section, group=None): method add_workload (line 89) | def add_workload(self, workload_config): method descendants (line 92) | def descendants(self): method ancestors (line 98) | def ancestors(self): method leaves (line 104) | def leaves(self): FILE: wa/framework/entrypoint.py function load_commands (line 49) | def load_commands(subparsers): function split_joined_options (line 62) | def split_joined_options(argv): function check_devlib_version (line 74) | def check_devlib_version(): function check_system_encoding (line 84) | def check_system_encoding(): function main (line 94) | def main(): FILE: wa/framework/exception.py class WAError (line 22) | class WAError(Exception): method message (line 25) | def message(self): class NotFoundError (line 31) | class NotFoundError(WAError): class ValidationError (line 35) | class ValidationError(WAError): class ExecutionError (line 39) | class ExecutionError(WAError): class WorkloadError (line 43) | class WorkloadError(WAError): class JobError (line 47) | class JobError(WAError): class InstrumentError (line 51) | class InstrumentError(WAError): class OutputProcessorError (line 55) | class OutputProcessorError(WAError): class ResourceError (line 59) | class ResourceError(WAError): class CommandError (line 63) | class CommandError(WAError): class ToolError (line 68) | class ToolError(WAError): class ConfigError (line 73) | class ConfigError(WAError): class SerializerSyntaxError (line 78) | class SerializerSyntaxError(Exception): method message (line 83) | def message(self): method __init__ (line 88) | def __init__(self, message, line=None, column=None): method __str__ (line 93) | def __str__(self): class PluginLoaderError (line 100) | class PluginLoaderError(WAError): method __init__ (line 107) | def __init__(self, message, exc_info=None): method __str__ (line 111) | def __str__(self): class WorkerThreadError (line 125) | class WorkerThreadError(WAError): method __init__ (line 136) | def __init__(self, thread, exc_info): FILE: wa/framework/execution.py class ExecutionContext (line 39) | class ExecutionContext(object): method previous_job (line 42) | def previous_job(self): method next_job (line 48) | def next_job(self): method spec_changed (line 54) | def spec_changed(self): method spec_will_change (line 62) | def spec_will_change(self): method workload (line 70) | def workload(self): method job_output (line 75) | def job_output(self): method output (line 80) | def output(self): method output_directory (line 86) | def output_directory(self): method reboot_policy (line 90) | def reboot_policy(self): method target_info (line 94) | def target_info(self): method __init__ (line 97) | def __init__(self, cm, tm, output): method start_run (line 111) | def start_run(self): method end_run (line 120) | def end_run(self): method finalize (line 135) | def finalize(self): method start_job (line 138) | def start_job(self): method end_job (line 146) | def end_job(self): method set_status (line 153) | def set_status(self, status, force=False, write=True): method set_job_status (line 158) | def set_job_status(self, job, status, force=False, write=True): method extract_results (line 163) | def extract_results(self): method move_failed (line 166) | def move_failed(self, job): method skip_job (line 169) | def skip_job(self, job): method skip_remaining_jobs (line 173) | def skip_remaining_jobs(self): method write_config (line 179) | def write_config(self): method write_state (line 182) | def write_state(self): method write_output (line 185) | def write_output(self): method write_job_specs (line 190) | def write_job_specs(self): method add_augmentation (line 193) | def add_augmentation(self, aug): method get_resource (line 196) | def get_resource(self, resource, strict=True): method get_metric (line 209) | def get_metric(self, name): method add_metric (line 217) | def add_metric(self, name, value, units=None, lower_is_better=False, method get_artifact (line 224) | def get_artifact(self, name): method get_artifact_path (line 232) | def get_artifact_path(self, name): method add_artifact (line 240) | def add_artifact(self, name, path, kind, description=None, classifiers... method add_run_artifact (line 243) | def add_run_artifact(self, name, path, kind, description=None, method add_event (line 247) | def add_event(self, message): method add_classifier (line 250) | def add_classifier(self, name, value, overwrite=False): method add_metadata (line 255) | def add_metadata(self, key, *args, **kwargs): method update_metadata (line 258) | def update_metadata(self, key, *args): method take_screenshot (line 261) | def take_screenshot(self, filename): method take_uiautomator_dump (line 267) | def take_uiautomator_dump(self, filename): method record_ui_state (line 272) | def record_ui_state(self, basename): method initialize_jobs (line 280) | def initialize_jobs(self): method _load_resource_getters (line 306) | def _load_resource_getters(self): method _get_unique_filepath (line 313) | def _get_unique_filepath(self, filename): class Executor (line 332) | class Executor(object): method __init__ (line 347) | def __init__(self): method execute (line 353) | def execute(self, config_manager, output): method do_execute (line 397) | def do_execute(self, context): method execute_postamble (line 440) | def execute_postamble(self, context, output): method _error_signalled_callback (line 463) | def _error_signalled_callback(self, _): method _warning_signalled_callback (line 467) | def _warning_signalled_callback(self, _): method __str__ (line 471) | def __str__(self): class Runner (line 477) | class Runner(object): method __init__ (line 486) | def __init__(self, context, pm): method run (line 493) | def run(self): method initialize_run (line 518) | def initialize_run(self): method finalize_run (line 528) | def finalize_run(self): method run_next_job (line 547) | def run_next_job(self, context): method do_run_job (line 585) | def do_run_job(self, job, context): method check_job (line 649) | def check_job(self, job): method retry_job (line 675) | def retry_job(self, job): method send (line 684) | def send(self, s): method _error_signalled_callback (line 687) | def _error_signalled_callback(self, record): method _warning_signalled_callback (line 690) | def _warning_signalled_callback(self, record): method __str__ (line 693) | def __str__(self): FILE: wa/framework/getters.py function get_by_extension (line 47) | def get_by_extension(path, ext): function get_generic_resource (line 60) | def get_generic_resource(resource, files): function get_path_matches (line 73) | def get_path_matches(resource, files): function get_from_location (line 82) | def get_from_location(basepath, resource): class Package (line 111) | class Package(ResourceGetter): method register (line 115) | def register(self, resolver): method get (line 119) | def get(self, resource): class UserDirectory (line 128) | class UserDirectory(ResourceGetter): method register (line 132) | def register(self, resolver): method get (line 136) | def get(self, resource): class Http (line 142) | class Http(ResourceGetter): method __init__ (line 208) | def __init__(self, **kwargs): method register (line 213) | def register(self, resolver): method get (line 216) | def get(self, resource): method fetch_index (line 236) | def fetch_index(self): method download_asset (line 250) | def download_asset(self, asset, owner_name): method geturl (line 274) | def geturl(self, url, stream=False): method resolve_apk (line 281) | def resolve_apk(self, resource): method resolve_resource (line 295) | def resolve_resource(self, resource): class Filer (line 317) | class Filer(ResourceGetter): method register (line 342) | def register(self, resolver): method get (line 345) | def get(self, resource): method try_get_resource (line 362) | def try_get_resource(self, resource, remote_path, local_path): FILE: wa/framework/host.py function init_user_directory (line 33) | def init_user_directory(overwrite_existing=False): # pylint: disable=R0914 function init_config (line 66) | def init_config(): function convert_wa2_agenda (line 79) | def convert_wa2_agenda(filepath, output_path): function format_parameter (line 145) | def format_parameter(param): FILE: wa/framework/instrument.py function get_priority (line 163) | def get_priority(func): function priority (line 168) | def priority(priority): # pylint: disable=redefined-outer-name function hostside (line 193) | def hostside(func): function is_hostside (line 205) | def is_hostside(func): function is_installed (line 212) | def is_installed(instrument): function is_enabled (line 227) | def is_enabled(instrument): function reset_failures (line 242) | def reset_failures(): function check_failures (line 247) | def check_failures(): class ManagedCallback (line 253) | class ManagedCallback(object): method __init__ (line 260) | def __init__(self, instrument, callback): method __call__ (line 265) | def __call__(self, context): method __repr__ (line 290) | def __repr__(self): function install (line 303) | def install(instrument, context): function uninstall (line 351) | def uninstall(instrument): function validate (line 356) | def validate(): function get_instrument (line 361) | def get_instrument(inst): function disable_all (line 370) | def disable_all(): function enable_all (line 375) | def enable_all(): function enable (line 380) | def enable(to_enable): function disable (line 388) | def disable(to_disable): function _enable_instrument (line 396) | def _enable_instrument(inst): function _disable_instrument (line 405) | def _disable_instrument(inst): function get_enabled (line 412) | def get_enabled(): function get_disabled (line 416) | def get_disabled(): class Instrument (line 420) | class Instrument(TargetedPlugin): method __init__ (line 426) | def __init__(self, *args, **kwargs): FILE: wa/framework/job.py class Job (line 29) | class Job(object): method id (line 34) | def id(self): method label (line 38) | def label(self): method status (line 42) | def status(self): method has_been_initialized (line 46) | def has_been_initialized(self): method retries (line 50) | def retries(self): method status (line 54) | def status(self, value): method retries (line 61) | def retries(self, value): method __init__ (line 64) | def __init__(self, spec, iteration, context): method load (line 76) | def load(self, target, loader=pluginloader): method set_output (line 88) | def set_output(self, output): method initialize (line 92) | def initialize(self, context): method configure_augmentations (line 101) | def configure_augmentations(self, context, pm): method configure_target (line 130) | def configure_target(self, context): method setup (line 135) | def setup(self, context): method run (line 141) | def run(self, context): method process_output (line 151) | def process_output(self, context): method teardown (line 164) | def teardown(self, context): method finalize (line 173) | def finalize(self, context): method set_status (line 184) | def set_status(self, status, force=False): method add_classifier (line 189) | def add_classifier(self, name, value, overwrite=False): method __str__ (line 194) | def __str__(self): method __repr__ (line 197) | def __repr__(self): FILE: wa/framework/output.py class Output (line 52) | class Output(object): method resultfile (line 57) | def resultfile(self): method event_summary (line 61) | def event_summary(self): method status (line 72) | def status(self): method status (line 78) | def status(self, value): method metrics (line 82) | def metrics(self): method artifacts (line 88) | def artifacts(self): method classifiers (line 94) | def classifiers(self): method classifiers (line 100) | def classifiers(self, value): method events (line 107) | def events(self): method metadata (line 113) | def metadata(self): method __init__ (line 118) | def __init__(self, path): method reload (line 122) | def reload(self): method write_result (line 135) | def write_result(self): method get_path (line 138) | def get_path(self, subpath): method add_metric (line 141) | def add_metric(self, name, value, units=None, lower_is_better=False, method add_artifact (line 145) | def add_artifact(self, name, path, kind, description=None, classifiers... method add_event (line 156) | def add_event(self, message): method get_metric (line 159) | def get_metric(self, name): method get_artifact (line 162) | def get_artifact(self, name): method get_artifact_path (line 165) | def get_artifact_path(self, name): method add_classifier (line 169) | def add_classifier(self, name, value, overwrite=False): method add_metadata (line 172) | def add_metadata(self, key, *args, **kwargs): method update_metadata (line 175) | def update_metadata(self, key, *args): method __repr__ (line 178) | def __repr__(self): method __str__ (line 182) | def __str__(self): class RunOutputCommon (line 186) | class RunOutputCommon(object): method run_config (line 191) | def run_config(self): method settings (line 196) | def settings(self): method get_job_spec (line 200) | def get_job_spec(self, spec_id): method list_workloads (line 206) | def list_workloads(self): class RunOutput (line 214) | class RunOutput(Output, RunOutputCommon): method logfile (line 219) | def logfile(self): method metadir (line 223) | def metadir(self): method infofile (line 227) | def infofile(self): method statefile (line 231) | def statefile(self): method configfile (line 235) | def configfile(self): method targetfile (line 239) | def targetfile(self): method jobsfile (line 243) | def jobsfile(self): method raw_config_dir (line 247) | def raw_config_dir(self): method failed_dir (line 251) | def failed_dir(self): method augmentations (line 256) | def augmentations(self): method __init__ (line 263) | def __init__(self, path): method reload (line 278) | def reload(self): method write_info (line 300) | def write_info(self): method write_state (line 303) | def write_state(self): method write_config (line 306) | def write_config(self, config): method read_config (line 310) | def read_config(self): method set_target_info (line 315) | def set_target_info(self, ti): method write_job_specs (line 319) | def write_job_specs(self, job_specs): method read_job_specs (line 324) | def read_job_specs(self): method move_failed (line 330) | def move_failed(self, job_output): class JobOutput (line 341) | class JobOutput(Output): method __init__ (line 346) | def __init__(self, path, id, label, iteration, retry): method augmentations (line 357) | def augmentations(self): class Result (line 364) | class Result(Podable): method from_pod (line 369) | def from_pod(pod): method __init__ (line 379) | def __init__(self): method add_metric (line 389) | def add_metric(self, name, value, units=None, lower_is_better=False, method add_artifact (line 395) | def add_artifact(self, name, path, kind, description=None, classifiers... method add_event (line 402) | def add_event(self, message): method get_metric (line 405) | def get_metric(self, name): method get_artifact (line 411) | def get_artifact(self, name): method add_classifier (line 417) | def add_classifier(self, name, value, overwrite=False): method add_metadata (line 432) | def add_metadata(self, key, *args, **kwargs): method update_metadata (line 453) | def update_metadata(self, key, *args): method to_pod (line 480) | def to_pod(self): method _pod_upgrade_v1 (line 491) | def _pod_upgrade_v1(pod): class Artifact (line 501) | class Artifact(Podable): method from_pod (line 552) | def from_pod(pod): method __init__ (line 561) | def __init__(self, name, path, kind, description=None, classifiers=None, method to_pod (line 591) | def to_pod(self): method _pod_upgrade_v1 (line 599) | def _pod_upgrade_v1(pod): method _pod_upgrade_v2 (line 604) | def _pod_upgrade_v2(pod): method __str__ (line 608) | def __str__(self): method __repr__ (line 611) | def __repr__(self): class Metric (line 616) | class Metric(Podable): method from_pod (line 637) | def from_pod(pod): method label (line 645) | def label(self): method __init__ (line 650) | def __init__(self, name, value, units=None, lower_is_better=False, method to_pod (line 659) | def to_pod(self): method _pod_upgrade_v1 (line 669) | def _pod_upgrade_v1(pod): method __str__ (line 673) | def __str__(self): method __repr__ (line 680) | def __repr__(self): class Event (line 688) | class Event(Podable): method from_pod (line 698) | def from_pod(pod): method summary (line 707) | def summary(self): method __init__ (line 714) | def __init__(self, message): method to_pod (line 719) | def to_pod(self): method _pod_upgrade_v1 (line 726) | def _pod_upgrade_v1(pod): method __str__ (line 730) | def __str__(self): function init_run_output (line 736) | def init_run_output(path, wa_state, force=False): function init_job_output (line 767) | def init_job_output(run_output, job): function discover_wa_outputs (line 779) | def discover_wa_outputs(path): function _save_raw_config (line 789) | def _save_raw_config(meta_dir, state): class DatabaseOutput (line 801) | class DatabaseOutput(Output): method resultfile (line 806) | def resultfile(self): method _build_command (line 818) | def _build_command(columns, tables, conditions=None, joins=None): method __init__ (line 827) | def __init__(self, conn, oid=None, reload=True): # pylint: disable=su... method __repr__ (line 834) | def __repr__(self): method __str__ (line 837) | def __str__(self): method reload (line 840) | def reload(self): method get_artifact_path (line 848) | def get_artifact_path(self, name): method _read_dir_artifact (line 855) | def _read_dir_artifact(self, artifact): method _read_file_artifact (line 862) | def _read_file_artifact(self, artifact): method _read_db (line 868) | def _read_db(self, columns, tables, conditions=None, join=None, as_dic... method _get_pod_version (line 902) | def _get_pod_version(self): method _populate_classifers (line 912) | def _populate_classifers(self, pod, kind): method _get_classifiers (line 918) | def _get_classifiers(self, oid, kind): method _get_metrics (line 928) | def _get_metrics(self): method _get_status (line 939) | def _get_status(self): method _get_artifacts (line 949) | def _get_artifacts(self): method _get_events (line 965) | def _get_events(self): function kernel_config_from_db (line 972) | def kernel_config_from_db(raw): class RunDatabaseOutput (line 980) | class RunDatabaseOutput(DatabaseOutput, RunOutputCommon): method basepath (line 985) | def basepath(self): method augmentations (line 990) | def augmentations(self): method _db_infofile (line 998) | def _db_infofile(self): method _db_targetfile (line 1009) | def _db_targetfile(self): method _db_statefile (line 1030) | def _db_statefile(self): method _db_jobsfile (line 1055) | def _db_jobsfile(self): method _db_run_config (line 1073) | def _db_run_config(self): method __init__ (line 1104) | def __init__(self, method read_job_specs (line 1159) | def read_job_specs(self): method connect (line 1165) | def connect(self): method disconnect (line 1177) | def disconnect(self): method reload (line 1181) | def reload(self): method _get_oid (line 1205) | def _get_oid(self): method _get_parameters (line 1216) | def _get_parameters(self, param_type): method _get_job_augmentations (line 1230) | def _get_job_augmentations(self, job_oid): method _list_runs (line 1239) | def _list_runs(self): class JobDatabaseOutput (line 1270) | class JobDatabaseOutput(DatabaseOutput): method __init__ (line 1274) | def __init__(self, conn, oid, job_id, label, iteration, retry): method __repr__ (line 1284) | def __repr__(self): method __str__ (line 1288) | def __str__(self): method augmentations (line 1292) | def augmentations(self): FILE: wa/framework/output_processor.py class OutputProcessor (line 27) | class OutputProcessor(Plugin): method __init__ (line 32) | def __init__(self, **kwargs): method validate (line 36) | def validate(self): method initialize (line 43) | def initialize(self, context): method finalize (line 46) | def finalize(self, context): class ProcessorManager (line 50) | class ProcessorManager(object): method __init__ (line 52) | def __init__(self, loader=pluginloader): method install (line 57) | def install(self, processor, context): method disable_all (line 65) | def disable_all(self): method enable_all (line 69) | def enable_all(self): method enable (line 73) | def enable(self, to_enable): method disable (line 80) | def disable(self, to_disable): method get_output_processor (line 87) | def get_output_processor(self, processor): method get_enabled (line 97) | def get_enabled(self): method get_disabled (line 100) | def get_disabled(self): method validate (line 103) | def validate(self): method initialize (line 107) | def initialize(self, context): method finalize (line 111) | def finalize(self, context): method process_job_output (line 115) | def process_job_output(self, context): method export_job_output (line 120) | def export_job_output(self, context): method process_run_output (line 125) | def process_run_output(self, context): method export_run_output (line 129) | def export_run_output(self, context): method do_for_each_proc (line 133) | def do_for_each_proc(self, method_name, message, *args): method _enable_output_processor (line 148) | def _enable_output_processor(self, inst): method _disable_output_processor (line 154) | def _disable_output_processor(self, inst): FILE: wa/framework/plugin.py class AttributeCollection (line 37) | class AttributeCollection(object): method values (line 49) | def values(self): method __init__ (line 52) | def __init__(self, attrcls): method add (line 56) | def add(self, p): method __str__ (line 76) | def __str__(self): method _to_attrcls (line 81) | def _to_attrcls(self, p): method __iadd__ (line 88) | def __iadd__(self, other): method __iter__ (line 93) | def __iter__(self): method __contains__ (line 96) | def __contains__(self, p): method __getitem__ (line 99) | def __getitem__(self, i): method __len__ (line 102) | def __len__(self): class AliasCollection (line 106) | class AliasCollection(AttributeCollection): method __init__ (line 108) | def __init__(self): method _to_attrcls (line 111) | def _to_attrcls(self, p): class ListCollection (line 123) | class ListCollection(list): method __init__ (line 125) | def __init__(self, attrcls): # pylint: disable=unused-argument class Alias (line 129) | class Alias(object): method __init__ (line 137) | def __init__(self, name, **kwargs): method validate (line 142) | def validate(self, ext): class PluginMeta (line 153) | class PluginMeta(type): method __new__ (line 169) | def __new__(mcs, clsname, bases, attrs): method _propagate_attributes (line 176) | def _propagate_attributes(mcs, bases, attrs, clsname): # pylint: disa... method _setup_aliases (line 210) | def _setup_aliases(mcs, cls): class Plugin (line 221) | class Plugin(with_metaclass(PluginMeta, object)): method get_default_config (line 241) | def get_default_config(cls): method dependencies_directory (line 245) | def dependencies_directory(self): method _classname (line 249) | def _classname(self): method __init__ (line 252) | def __init__(self, **kwargs): method get_config (line 263) | def get_config(self): method validate (line 273) | def validate(self): method __getattr__ (line 291) | def __getattr__(self, name): method load_modules (line 299) | def load_modules(self, loader): method has (line 322) | def has(self, capability): method _load_module (line 334) | def _load_module(self, loader, module_spec): method _install_module (line 356) | def _install_module(self, module): method __str__ (line 362) | def __str__(self): method __repr__ (line 365) | def __repr__(self): class TargetedPlugin (line 373) | class TargetedPlugin(Plugin): method check_compatible (line 392) | def check_compatible(cls, target): method __init__ (line 398) | def __init__(self, target, **kwargs): class PluginLoaderItem (line 404) | class PluginLoaderItem(object): method __init__ (line 406) | def __init__(self, ext_tuple): class PluginLoader (line 413) | class PluginLoader(object): method __init__ (line 423) | def __init__(self, packages=None, paths=None, ignore_paths=None, method update (line 449) | def update(self, packages=None, paths=None, ignore_paths=None): method clear (line 462) | def clear(self): method reload (line 469) | def reload(self): method get_plugin_class (line 476) | def get_plugin_class(self, name, kind=None): method get_plugin (line 495) | def get_plugin(self, name=None, kind=None, *args, **kwargs): # pylint... method get_default_config (line 507) | def get_default_config(self, name): method list_plugins (line 518) | def list_plugins(self, kind=None): method has_plugin (line 530) | def has_plugin(self, name, kind=None): method resolve_alias (line 543) | def resolve_alias(self, alias_name): method __getattr__ (line 561) | def __getattr__(self, name): method _discover_from_packages (line 597) | def _discover_from_packages(self, packages): method _discover_from_paths (line 608) | def _discover_from_paths(self, paths, ignore_paths): method _discover_from_file (line 638) | def _discover_from_file(self, filepath): method _discover_in_module (line 653) | def _discover_in_module(self, module): # NOQA pylint: disable=too-man... method _add_found_plugin (line 678) | def _add_found_plugin(self, obj): FILE: wa/framework/pluginloader.py class __LoaderWrapper (line 18) | class __LoaderWrapper(object): method kinds (line 21) | def kinds(self): method kind_map (line 27) | def kind_map(self): method __init__ (line 32) | def __init__(self): method reset (line 35) | def reset(self): method update (line 44) | def update(self, packages=None, paths=None, ignore_paths=None): method reload (line 49) | def reload(self): method list_plugins (line 54) | def list_plugins(self, kind=None): method has_plugin (line 59) | def has_plugin(self, name, kind=None): method get_plugin_class (line 64) | def get_plugin_class(self, name, kind=None): method get_plugin (line 69) | def get_plugin(self, name=None, kind=None, *args, **kwargs): # pylint... method get_default_config (line 74) | def get_default_config(self, name): method resolve_alias (line 79) | def resolve_alias(self, name): method __getattr__ (line 84) | def __getattr__(self, name): FILE: wa/framework/resource.py class __NullOwner (line 33) | class __NullOwner(object): method __getattr__ (line 39) | def __getattr__(self, name): method __str__ (line 42) | def __str__(self): class Resource (line 51) | class Resource(object): method __init__ (line 64) | def __init__(self, owner=NO_ONE): method match (line 67) | def match(self, path): method match_path (line 70) | def match_path(self, path): method __str__ (line 73) | def __str__(self): class File (line 77) | class File(Resource): method __init__ (line 81) | def __init__(self, owner, path): method match_path (line 85) | def match_path(self, path): method __str__ (line 88) | def __str__(self): class Executable (line 92) | class Executable(Resource): method __init__ (line 96) | def __init__(self, owner, abi, filename): method match_path (line 101) | def match_path(self, path): method __str__ (line 104) | def __str__(self): class ReventFile (line 108) | class ReventFile(Resource): method __init__ (line 112) | def __init__(self, owner, stage, target): method match_path (line 117) | def match_path(self, path): class JarFile (line 128) | class JarFile(Resource): method match_path (line 132) | def match_path(self, path): class ApkFile (line 138) | class ApkFile(Resource): method __init__ (line 142) | def __init__(self, owner, variant=None, version=None, method match_path (line 155) | def match_path(self, path): method match (line 159) | def match(self, path): method __str__ (line 182) | def __str__(self): class ResourceGetter (line 194) | class ResourceGetter(Plugin): method register (line 217) | def register(self, resolver): method initialize (line 220) | def initialize(self): method __str__ (line 223) | def __str__(self): class ResourceResolver (line 227) | class ResourceResolver(object): method __init__ (line 234) | def __init__(self, loader=pluginloader): method load (line 240) | def load(self): method register (line 250) | def register(self, source, priority=SourcePriority.local): method get (line 255) | def get(self, resource, strict=True): function apk_version_matches (line 280) | def apk_version_matches(path, version): function apk_version_matches_range (line 291) | def apk_version_matches_range(path, min_version=None, max_version=None): function range_version_matching (line 296) | def range_version_matching(apk_version, min_version=None, max_version=No... function loose_version_matching (line 312) | def loose_version_matching(config_version, apk_version): function file_name_matches (line 325) | def file_name_matches(path, pattern): function uiauto_test_matches (line 334) | def uiauto_test_matches(path, uiauto): function package_name_matches (line 339) | def package_name_matches(path, package): function apk_abi_matches (line 344) | def apk_abi_matches(path, supported_abi, exact_abi=False): FILE: wa/framework/run.py class RunInfo (line 28) | class RunInfo(Podable): method from_pod (line 37) | def from_pod(pod): method __init__ (line 50) | def __init__(self, run_name=None, project=None, project_stage=None, method to_pod (line 61) | def to_pod(self): method _pod_upgrade_v1 (line 72) | def _pod_upgrade_v1(pod): class RunState (line 77) | class RunState(Podable): method from_pod (line 85) | def from_pod(pod): method num_completed_jobs (line 94) | def num_completed_jobs(self): method __init__ (line 98) | def __init__(self): method add_job (line 104) | def add_job(self, job): method get_status_counts (line 107) | def get_status_counts(self): method to_pod (line 113) | def to_pod(self): method _pod_upgrade_v1 (line 121) | def _pod_upgrade_v1(pod): class JobState (line 127) | class JobState(Podable): method from_pod (line 132) | def from_pod(pod): method output_name (line 141) | def output_name(self): method __init__ (line 144) | def __init__(self, id, label, iteration, status): method to_pod (line 154) | def to_pod(self): method _pod_upgrade_v1 (line 165) | def _pod_upgrade_v1(pod): FILE: wa/framework/signal.py class Signal (line 36) | class Signal(object): method __init__ (line 44) | def __init__(self, name, description='no description', invert_priority... method __str__ (line 64) | def __str__(self): method __hash__ (line 69) | def __hash__(self): class _prioritylist_wrapper (line 190) | class _prioritylist_wrapper(prioritylist): method append (line 198) | def append(self, *args, **kwargs): function connect (line 202) | def connect(handler, signal, sender=dispatcher.Any, priority=0): function disconnect (line 250) | def disconnect(handler, signal, sender=dispatcher.Any): function send (line 268) | def send(signal, sender=dispatcher.Anonymous, *args, **kwargs): function safe_send (line 291) | def safe_send(signal, sender=dispatcher.Anonymous, function wrap (line 310) | def wrap(signal_name, sender=dispatcher.Anonymous, *args, **kwargs): # ... function wrapped (line 333) | def wrapped(signal_name, sender=dispatcher.Anonymous, safe=False): FILE: wa/framework/target/assistant.py class LinuxAssistant (line 31) | class LinuxAssistant(object): method __init__ (line 35) | def __init__(self, target): method initialize (line 38) | def initialize(self): method start (line 41) | def start(self): method extract_results (line 44) | def extract_results(self, context): method stop (line 47) | def stop(self): method finalize (line 50) | def finalize(self): class AndroidAssistant (line 54) | class AndroidAssistant(object): method __init__ (line 94) | def __init__(self, target, logcat_poll_period=None, disable_selinux=Tr... method initialize (line 108) | def initialize(self): method start (line 114) | def start(self): method stop (line 123) | def stop(self): method finalize (line 127) | def finalize(self): method extract_results (line 131) | def extract_results(self, context): method dump_logcat (line 142) | def dump_logcat(self, outfile): method clear_logcat (line 148) | def clear_logcat(self): method _before_workload (line 154) | def _before_workload(self, _): method _after_workload (line 160) | def _after_workload(self, _): method _check_logcat_nowrap (line 163) | def _check_logcat_nowrap(self, outfile): method insert_logcat_marker (line 175) | def insert_logcat_marker(self): method do_disable_selinux (line 183) | def do_disable_selinux(self): class LogcatPoller (line 192) | class LogcatPoller(threading.Thread): method __init__ (line 194) | def __init__(self, target, period=60, timeout=30): method run (line 212) | def run(self): method stop (line 229) | def stop(self): method clear_buffer (line 238) | def clear_buffer(self): method write_log (line 244) | def write_log(self, outfile): method close (line 252) | def close(self): method poll (line 257) | def poll(self): method insert_logcat_marker (line 262) | def insert_logcat_marker(self): method check_logcat_nowrap (line 273) | def check_logcat_nowrap(self, outfile): method start_logcat_wrap_detect (line 293) | def start_logcat_wrap_detect(self): method stop_logcat_wrap_detect (line 298) | def stop_logcat_wrap_detect(self): class ChromeOsAssistant (line 303) | class ChromeOsAssistant(LinuxAssistant): method __init__ (line 307) | def __init__(self, target, logcat_poll_period=None, disable_selinux=Tr... method start (line 315) | def start(self): method extract_results (line 320) | def extract_results(self, context): method stop (line 325) | def stop(self): FILE: wa/framework/target/config.py class TargetConfig (line 19) | class TargetConfig(dict): method __init__ (line 24) | def __init__(self, config=None): method set (line 34) | def set(self, name, value): FILE: wa/framework/target/descriptor.py function list_target_descriptions (line 34) | def list_target_descriptions(loader=pluginloader): function get_target_description (line 48) | def get_target_description(name, loader=pluginloader): function instantiate_target (line 55) | def instantiate_target(tdesc, params, connect=None, extra_platform_param... function instantiate_assistant (line 101) | def instantiate_assistant(tdesc, params, target): class TargetDescription (line 111) | class TargetDescription(object): method __init__ (line 113) | def __init__(self, name, source, description=None, target=None, platfo... method get_default_config (line 128) | def get_default_config(self): method _set (line 138) | def _set(self, attr, vals): class TargetDescriptor (line 150) | class TargetDescriptor(Plugin): method get_descriptions (line 154) | def get_descriptions(self): # pylint: disable=no-self-use class DefaultTargetDescriptor (line 679) | class DefaultTargetDescriptor(TargetDescriptor): method get_descriptions (line 691) | def get_descriptions(self): method _override_params (line 726) | def _override_params(self, params, overrides): # pylint: disable=no-se... method _get_item (line 738) | def _get_item(self, item_tuple): function create_target_description (line 747) | def create_target_description(name, *args, **kwargs): function _get_target_defaults (line 771) | def _get_target_defaults(target): function add_description_for_target (line 783) | def add_description_for_target(target, description=None, **kwargs): class SimpleTargetDescriptor (line 810) | class SimpleTargetDescriptor(TargetDescriptor): method get_descriptions (line 819) | def get_descriptions(self): FILE: wa/framework/target/info.py function cpuinfo_from_pod (line 29) | def cpuinfo_from_pod(pod): function kernel_version_from_pod (line 42) | def kernel_version_from_pod(pod): function kernel_config_from_pod (line 55) | def kernel_config_from_pod(pod): class CpufreqInfo (line 68) | class CpufreqInfo(Podable): method from_pod (line 73) | def from_pod(pod): method __init__ (line 77) | def __init__(self, **kwargs): method to_pod (line 85) | def to_pod(self): method _pod_upgrade_v1 (line 91) | def _pod_upgrade_v1(pod): method __repr__ (line 95) | def __repr__(self): class IdleStateInfo (line 101) | class IdleStateInfo(Podable): method from_pod (line 106) | def from_pod(pod): method __init__ (line 110) | def __init__(self, **kwargs): method to_pod (line 118) | def to_pod(self): method _pod_upgrade_v1 (line 124) | def _pod_upgrade_v1(pod): method __repr__ (line 128) | def __repr__(self): class CpuidleInfo (line 134) | class CpuidleInfo(Podable): method from_pod (line 139) | def from_pod(pod): method num_states (line 149) | def num_states(self): method __init__ (line 152) | def __init__(self): method to_pod (line 158) | def to_pod(self): method _pod_upgrade_v1 (line 166) | def _pod_upgrade_v1(pod): method __repr__ (line 170) | def __repr__(self): class CpuInfo (line 177) | class CpuInfo(Podable): method from_pod (line 182) | def from_pod(pod): method __init__ (line 192) | def __init__(self): method to_pod (line 201) | def to_pod(self): method _pod_upgrade_v1 (line 212) | def _pod_upgrade_v1(pod): method __repr__ (line 216) | def __repr__(self): function get_target_info (line 222) | def get_target_info(target): function read_target_info_cache (line 278) | def read_target_info_cache(): function write_target_info_cache (line 286) | def write_target_info_cache(cache): function get_target_info_from_cache (line 293) | def get_target_info_from_cache(system_id, cache=None): function cache_target_info (line 309) | def cache_target_info(target_info, overwrite=False, cache=None): class TargetInfo (line 318) | class TargetInfo(Podable): method from_pod (line 323) | def from_pod(pod): method __init__ (line 348) | def __init__(self): method to_pod (line 368) | def to_pod(self): method _pod_upgrade_v1 (line 394) | def _pod_upgrade_v1(pod): method _pod_upgrade_v2 (line 407) | def _pod_upgrade_v2(pod): method _pod_upgrade_v3 (line 413) | def _pod_upgrade_v3(pod): method _pod_upgrade_v4 (line 421) | def _pod_upgrade_v4(pod): method _pod_upgrade_v5 (line 425) | def _pod_upgrade_v5(pod): FILE: wa/framework/target/manager.py class TargetManager (line 33) | class TargetManager(object): method __init__ (line 46) | def __init__(self, name, parameters, outdir): method initialize (line 58) | def initialize(self): method finalize (line 78) | def finalize(self): method start (line 88) | def start(self): method stop (line 91) | def stop(self): method extract_results (line 94) | def extract_results(self, context): method get_target_info (line 98) | def get_target_info(self): method reboot (line 115) | def reboot(self, context, hard=False): method merge_runtime_parameters (line 119) | def merge_runtime_parameters(self, parameters): method validate_runtime_parameters (line 122) | def validate_runtime_parameters(self, parameters): method commit_runtime_parameters (line 125) | def commit_runtime_parameters(self, parameters): method verify_target_responsive (line 128) | def verify_target_responsive(self, context): method _init_target (line 142) | def _init_target(self): FILE: wa/framework/target/runtime_config.py class RuntimeParameter (line 34) | class RuntimeParameter(Parameter): method __init__ (line 35) | def __init__(self, name, setter, setter_params=None, **kwargs): method set (line 40) | def set(self, obj, value): class RuntimeConfig (line 45) | class RuntimeConfig(Plugin): method supported_parameters (line 51) | def supported_parameters(self): method core_names (line 55) | def core_names(self): method __init__ (line 58) | def __init__(self, target, **kwargs): method initialize (line 70) | def initialize(self): method commit (line 73) | def commit(self): method set_runtime_parameter (line 76) | def set_runtime_parameter(self, name, value): method set_defaults (line 82) | def set_defaults(self): method validate_parameters (line 87) | def validate_parameters(self): method check_target (line 90) | def check_target(self): method clear (line 93) | def clear(self): class HotplugRuntimeConfig (line 97) | class HotplugRuntimeConfig(RuntimeConfig): method set_num_cores (line 106) | def set_num_cores(obj, value, core): method __init__ (line 126) | def __init__(self, target): method initialize (line 130) | def initialize(self): method check_target (line 176) | def check_target(self): method validate_parameters (line 180) | def validate_parameters(self): method commit (line 185) | def commit(self): method clear (line 195) | def clear(self): class SysfileValuesRuntimeConfig (line 199) | class SysfileValuesRuntimeConfig(RuntimeConfig): method set_sysfile (line 205) | def set_sysfile(obj, values, core): method __init__ (line 218) | def __init__(self, target): method initialize (line 222) | def initialize(self): method check_target (line 231) | def check_target(self): method validate_parameters (line 234) | def validate_parameters(self): method commit (line 237) | def commit(self): method clear (line 241) | def clear(self): method check_exists (line 244) | def check_exists(self, path): class FreqValue (line 249) | class FreqValue(object): method __init__ (line 251) | def __init__(self, values): method __call__ (line 257) | def __call__(self, value): method __str__ (line 279) | def __str__(self): class CpufreqRuntimeConfig (line 283) | class CpufreqRuntimeConfig(RuntimeConfig): method set_frequency (line 288) | def set_frequency(obj, value, core): method set_max_frequency (line 292) | def set_max_frequency(obj, value, core): method set_min_frequency (line 296) | def set_min_frequency(obj, value, core): method set_governor (line 300) | def set_governor(obj, value, core): method set_governor_tunables (line 304) | def set_governor_tunables(obj, value, core): method set_param (line 308) | def set_param(obj, value, core, parameter): method __init__ (line 317) | def __init__(self, target): method initialize (line 323) | def initialize(self): method check_target (line 547) | def check_target(self): method validate_parameters (line 551) | def validate_parameters(self): method commit (line 570) | def commit(self): method clear (line 582) | def clear(self): method configure_governor (line 585) | def configure_governor(self, cpu, governor=None, gov_tunables=None): method configure_frequency (line 597) | def configure_frequency(self, cpu, freq=None, min_freq=None, max_freq=... method _resolve_freq (line 611) | def _resolve_freq(self, value, cpu): method _set_frequency (line 618) | def _set_frequency(self, cpu, freq, governor): method _set_min_max_frequencies (line 635) | def _set_min_max_frequencies(self, cpu, min_freq, max_freq): method _retrive_cpufreq_info (line 657) | def _retrive_cpufreq_info(self): method _get_common_values (line 682) | def _get_common_values(self): class IdleStateValue (line 702) | class IdleStateValue(object): method __init__ (line 704) | def __init__(self, values): method __call__ (line 710) | def __call__(self, value): method _get_state_ID (line 731) | def _get_state_ID(self, value): method __str__ (line 740) | def __str__(self): class CpuidleRuntimeConfig (line 744) | class CpuidleRuntimeConfig(RuntimeConfig): method set_idle_state (line 749) | def set_idle_state(obj, value, core): method __init__ (line 756) | def __init__(self, target): method initialize (line 761) | def initialize(self): method check_target (line 820) | def check_target(self): method validate_parameters (line 824) | def validate_parameters(self): method clear (line 827) | def clear(self): method commit (line 830) | def commit(self): method _retrieve_device_idle_info (line 840) | def _retrieve_device_idle_info(self): method _get_common_idle_values (line 844) | def _get_common_idle_values(self): class AndroidRuntimeConfig (line 857) | class AndroidRuntimeConfig(RuntimeConfig): method set_brightness (line 862) | def set_brightness(obj, value): method set_airplane_mode (line 867) | def set_airplane_mode(obj, value): method set_rotation (line 872) | def set_rotation(obj, value): method set_screen_state (line 877) | def set_screen_state(obj, value): method set_unlock_screen (line 882) | def set_unlock_screen(obj, value): method __init__ (line 886) | def __init__(self, target): method initialize (line 890) | def initialize(self): method check_target (line 948) | def check_target(self): method validate_parameters (line 954) | def validate_parameters(self): method commit (line 957) | def commit(self): method clear (line 998) | def clear(self): FILE: wa/framework/target/runtime_parameter_manager.py class RuntimeParameterManager (line 28) | class RuntimeParameterManager(object): method __init__ (line 39) | def __init__(self, target): method merge_runtime_parameters (line 62) | def merge_runtime_parameters(self, parameters): method validate_runtime_parameters (line 71) | def validate_runtime_parameters(self, parameters): method commit_runtime_parameters (line 78) | def commit_runtime_parameters(self, parameters): method set_runtime_parameters (line 85) | def set_runtime_parameters(self, parameters): method clear_runtime_parameters (line 93) | def clear_runtime_parameters(self): method get_config_for_name (line 98) | def get_config_for_name(self, name): method get_cfg_point (line 105) | def get_cfg_point(self, name): FILE: wa/framework/uiauto/app/src/main/java/com/arm/wa/uiauto/ActionLogger.java class ActionLogger (line 39) | public class ActionLogger { method ActionLogger (line 44) | public ActionLogger(String testTag, Bundle parameters) { method start (line 49) | public void start() { method stop (line 55) | public void stop() throws Exception { FILE: wa/framework/uiauto/app/src/main/java/com/arm/wa/uiauto/ApplaunchInterface.java type ApplaunchInterface (line 28) | public interface ApplaunchInterface { method getLaunchEndObject (line 34) | public UiObject getLaunchEndObject(); method runApplicationSetup (line 40) | public void runApplicationSetup() throws Exception; method getLaunchCommand (line 46) | public String getLaunchCommand(); method setWorkloadParameters (line 49) | public void setWorkloadParameters(Bundle parameters); method initialize_instrumentation (line 52) | public void initialize_instrumentation(); FILE: wa/framework/uiauto/app/src/main/java/com/arm/wa/uiauto/BaseUiAutomation.java class BaseUiAutomation (line 44) | public class BaseUiAutomation { type FindByCriteria (line 46) | public enum FindByCriteria { BY_ID, BY_TEXT, BY_DESC } type Direction (line 47) | public enum Direction { UP, DOWN, LEFT, RIGHT, NULL } type ScreenOrientation (line 48) | public enum ScreenOrientation { RIGHT, NATURAL, LEFT, PORTRAIT, LANDSC... type PinchType (line 49) | public enum PinchType { IN, OUT, NULL } method initialize_instrumentation (line 61) | @Before method setup (line 68) | @Test method runWorkload (line 72) | @Test method extractResults (line 76) | @Test method teardown (line 80) | @Test method sleep (line 84) | public void sleep(int second) { method getPackageID (line 89) | public String getPackageID(Bundle parameters) { method takeScreenshot (line 94) | public boolean takeScreenshot(String name) { method waitText (line 105) | public void waitText(String text) throws UiObjectNotFoundException { method waitText (line 109) | public void waitText(String text, int second) throws UiObjectNotFoundE... method waitObject (line 116) | public void waitObject(UiObject obj) throws UiObjectNotFoundException { method waitObject (line 120) | public void waitObject(UiObject obj, int second) throws UiObjectNotFou... method waitUntilNoObject (line 127) | public boolean waitUntilNoObject(UiObject obj, int second) { method clearLogcat (line 131) | public void clearLogcat() throws Exception { method waitForLogcatText (line 135) | public void waitForLogcatText(String searchText, long timeout) throws ... method registerWatcher (line 166) | public void registerWatcher(String name, UiWatcher watcher) { method runWatchers (line 170) | public void runWatchers() { method removeWatcher (line 174) | public void removeWatcher(String name) { method setScreenOrientation (line 178) | public void setScreenOrientation(ScreenOrientation orientation) throws... method unsetScreenOrientation (line 220) | public void unsetScreenOrientation() throws Exception { method uiObjectPerformLongClick (line 224) | public void uiObjectPerformLongClick(UiObject view, int steps) throws ... method getDisplayHeight (line 230) | public int getDisplayHeight() { method getDisplayWidth (line 234) | public int getDisplayWidth() { method getDisplayCentreWidth (line 238) | public int getDisplayCentreWidth() { method getDisplayCentreHeight (line 242) | public int getDisplayCentreHeight() { method tapDisplayCentre (line 246) | public void tapDisplayCentre() { method tapDisplay (line 250) | public void tapDisplay(int x, int y) { method pressEnter (line 254) | public void pressEnter() { method pressHome (line 258) | public void pressHome() { method pressBack (line 262) | public void pressBack() { method uiObjectSwipe (line 266) | public void uiObjectSwipe(UiObject view, Direction direction, int step... method uiDeviceSwipeVertical (line 287) | public void uiDeviceSwipeVertical(int startY, int endY, int xCoordinat... method uiDeviceSwipeHorizontal (line 291) | public void uiDeviceSwipeHorizontal(int startX, int endX, int yCoordin... method uiObjectVertPinchIn (line 295) | public void uiObjectVertPinchIn(UiObject view, int steps, int percent)... method uiObjectVertPinchOut (line 321) | public void uiObjectVertPinchOut(UiObject view, int steps, int percent... method uiObjectVertPinch (line 347) | public void uiObjectVertPinch(UiObject view, PinchType direction, method uiDeviceSwipeUp (line 356) | public void uiDeviceSwipeUp(int steps) { method uiDeviceSwipeDown (line 365) | public void uiDeviceSwipeDown(int steps) { method uiDeviceSwipeLeft (line 374) | public void uiDeviceSwipeLeft(int steps) { method uiDeviceSwipeRight (line 383) | public void uiDeviceSwipeRight(int steps) { method uiDeviceSwipe (line 392) | public void uiDeviceSwipe(Direction direction, int steps) throws Excep... method repeatClickUiObject (line 413) | public void repeatClickUiObject(UiObject view, int repeatCount, int in... method clickUiObject (line 427) | public UiObject clickUiObject(FindByCriteria criteria, String matching... method clickUiObject (line 431) | public UiObject clickUiObject(FindByCriteria criteria, String matching... method clickUiObject (line 435) | public UiObject clickUiObject(FindByCriteria criteria, String matching... method clickUiObject (line 439) | public UiObject clickUiObject(FindByCriteria criteria, String matching... method getUiObjectByResourceId (line 466) | public UiObject getUiObjectByResourceId(String resourceId, String clas... method getUiObjectByResourceId (line 470) | public UiObject getUiObjectByResourceId(String resourceId, String clas... method getUiObjectByResourceId (line 480) | public UiObject getUiObjectByResourceId(String id) throws Exception { method getUiObjectByDescription (line 489) | public UiObject getUiObjectByDescription(String description, String cl... method getUiObjectByDescription (line 493) | public UiObject getUiObjectByDescription(String description, String cl... method getUiObjectByDescription (line 503) | public UiObject getUiObjectByDescription(String desc) throws Exception { method getUiObjectByText (line 512) | public UiObject getUiObjectByText(String text, String className) throw... method getUiObjectByText (line 516) | public UiObject getUiObjectByText(String text, String className, long ... method getUiObjectByText (line 526) | public UiObject getUiObjectByText(String text) throws Exception { method selectGalleryFolder (line 536) | public void selectGalleryFolder(String directory) throws Exception { method dismissAndroidPermissionPopup (line 579) | public void dismissAndroidPermissionPopup() throws Exception { method dismissAndroidVersionPopup (line 594) | public void dismissAndroidVersionPopup() throws Exception { method dismissChromePopup (line 613) | public void dismissChromePopup() throws Exception { method getParams (line 636) | public Bundle getParams() { method decode (line 656) | private Bundle decode(Bundle parameters, String key, String value) { method decodeArray (line 690) | private Bundle decodeArray(Bundle parameters, String key, char type, S... FILE: wa/framework/uiauto/app/src/main/java/com/arm/wa/uiauto/UiAutoUtils.java class UiAutoUtils (line 20) | public final class UiAutoUtils { method createLaunchCommand (line 23) | public static String createLaunchCommand(Bundle parameters) { FILE: wa/framework/uiauto/app/src/main/java/com/arm/wa/uiauto/UxPerfUiAutomation.java class UxPerfUiAutomation (line 26) | public class UxPerfUiAutomation { type GestureType (line 30) | public enum GestureType { UIDEVICE_SWIPE, UIOBJECT_SWIPE, PINCH } class GestureTestParams (line 32) | public static class GestureTestParams { method GestureTestParams (line 39) | public GestureTestParams(GestureType gesture, Direction direction, i... method GestureTestParams (line 47) | public GestureTestParams(GestureType gesture, PinchType pinchType, i... FILE: wa/framework/version.py function format_version (line 29) | def format_version(v): function get_wa_version (line 37) | def get_wa_version(): function get_wa_version_with_commit (line 41) | def get_wa_version_with_commit(): function get_commit (line 50) | def get_commit(): FILE: wa/framework/workload.py class Workload (line 38) | class Workload(TargetedPlugin): method __init__ (line 75) | def __init__(self, target, **kwargs): method init_resources (line 86) | def init_resources(self, context): method initialize (line 99) | def initialize(self, context): method setup (line 108) | def setup(self, context): method run (line 122) | def run(self, context): method extract_results (line 128) | def extract_results(self, context): method update_output (line 133) | def update_output(self, context): method teardown (line 140) | def teardown(self, context): method finalize (line 144) | def finalize(self, context): method deploy_assets (line 148) | def deploy_assets(self, context): method remove_assets (line 161) | def remove_assets(self, context): method __str__ (line 167) | def __str__(self): class ApkWorkload (line 171) | class ApkWorkload(Workload): method package (line 263) | def package(self): method __init__ (line 266) | def __init__(self, target, **kwargs): method validate (line 296) | def validate(self): method initialize (line 303) | def initialize(self, context): method setup (line 313) | def setup(self, context): method setup_rerun (line 321) | def setup_rerun(self): method teardown (line 327) | def teardown(self, context): method deploy_assets (line 331) | def deploy_assets(self, context): class ApkUIWorkload (line 336) | class ApkUIWorkload(ApkWorkload): method __init__ (line 338) | def __init__(self, target, **kwargs): method init_resources (line 342) | def init_resources(self, context): method initialize (line 347) | def initialize(self, context): method setup (line 351) | def setup(self, context): method run (line 355) | def run(self, context): method extract_results (line 359) | def extract_results(self, context): method teardown (line 363) | def teardown(self, context): method finalize (line 368) | def finalize(self, context): class ApkUiautoWorkload (line 374) | class ApkUiautoWorkload(ApkUIWorkload): method __init__ (line 387) | def __init__(self, target, **kwargs): method setup (line 391) | def setup(self, context): class ApkReventWorkload (line 398) | class ApkReventWorkload(ApkUIWorkload): method __init__ (line 407) | def __init__(self, target, **kwargs): class UIWorkload (line 416) | class UIWorkload(Workload): method __init__ (line 418) | def __init__(self, target, **kwargs): method init_resources (line 422) | def init_resources(self, context): method initialize (line 427) | def initialize(self, context): method setup (line 431) | def setup(self, context): method run (line 435) | def run(self, context): method extract_results (line 439) | def extract_results(self, context): method teardown (line 443) | def teardown(self, context): method finalize (line 448) | def finalize(self, context): class UiautoWorkload (line 454) | class UiautoWorkload(UIWorkload): method __init__ (line 469) | def __init__(self, target, **kwargs): method setup (line 479) | def setup(self, context): class ReventWorkload (line 485) | class ReventWorkload(UIWorkload): method __init__ (line 494) | def __init__(self, target, **kwargs): class UiAutomatorGUI (line 503) | class UiAutomatorGUI(object): method __init__ (line 509) | def __init__(self, owner, package=None, klass='UiAutomation', timeout=... method init_resources (line 520) | def init_resources(self, resolver): method init_commands (line 526) | def init_commands(self): method deploy (line 542) | def deploy(self): method set (line 547) | def set(self, name, value): method setup (line 550) | def setup(self, timeout=None): method run (line 556) | def run(self, timeout=None): method extract_results (line 561) | def extract_results(self, timeout=None): method teardown (line 566) | def teardown(self, timeout=None): method remove (line 571) | def remove(self): method _execute (line 574) | def _execute(self, stage, timeout): class ReventGUI (line 583) | class ReventGUI(object): method __init__ (line 585) | def __init__(self, workload, target, setup_timeout, run_timeout, method init_resources (line 605) | def init_resources(self, resolver): method deploy (line 622) | def deploy(self): method setup (line 625) | def setup(self): method run (line 631) | def run(self): method extract_results (line 639) | def extract_results(self): method teardown (line 644) | def teardown(self): method remove (line 649) | def remove(self): method _check_revent_files (line 656) | def _check_revent_files(self): class PackageHandler (line 672) | class PackageHandler(object): method package (line 675) | def package(self): method activity (line 681) | def activity(self): method __init__ (line 689) | def __init__(self, owner, install_timeout=300, version=None, variant=N... method initialize (line 717) | def initialize(self, context): method setup (line 720) | def setup(self, context): method resolve_package (line 728) | def resolve_package(self, context): method resolve_package_from_host (line 760) | def resolve_package_from_host(self, context): method resolve_package_from_target (line 791) | def resolve_package_from_target(self): # pylint: disable=too-many-bra... method initialize_package (line 832) | def initialize_package(self, context): method start_activity (line 859) | def start_activity(self): method restart_activity (line 871) | def restart_activity(self): method reset (line 875) | def reset(self, context): # pylint: disable=W0613 method install_apk (line 880) | def install_apk(self, context): method pull_apk (line 893) | def pull_apk(self, package): method teardown (line 905) | def teardown(self): method _get_package_name (line 910) | def _get_package_name(self, apk_path): method _get_package_error_msg (line 913) | def _get_package_error_msg(self, location): class TestPackageHandler (line 928) | class TestPackageHandler(PackageHandler): method __init__ (line 931) | def __init__(self, owner, instrument_args=None, raw_output=False, method setup (line 946) | def setup(self, context): method start_activity (line 966) | def start_activity(self): method wait_instrument_over (line 969) | def wait_instrument_over(self): method _start_instrument (line 976) | def _start_instrument(self): method _get_package_name (line 980) | def _get_package_name(self, apk_path): method instrument_output (line 984) | def instrument_output(self): FILE: wa/instruments/delay.py class DelayInstrument (line 26) | class DelayInstrument(Instrument): method initialize (line 140) | def initialize(self, context): method start (line 158) | def start(self, context): method before_job (line 168) | def before_job(self, context): method wait_for_temperature (line 184) | def wait_for_temperature(self, temperature): method do_wait_for_temperature (line 192) | def do_wait_for_temperature(self, temperature): method validate (line 203) | def validate(self): method _discover_cooling_module (line 221) | def _discover_cooling_module(self): FILE: wa/instruments/dmesg.py class DmesgInstrument (line 25) | class DmesgInstrument(Instrument): method initialize (line 41) | def initialize(self, context): # pylint: disable=unused-argument method setup (line 46) | def setup(self, context): method start (line 54) | def start(self, context): method stop (line 62) | def stop(self, context): method teardown (line 67) | def teardown(self, context): # pylint: disable=unused-argument FILE: wa/instruments/energy_measurement.py class EnergyInstrumentBackend (line 42) | class EnergyInstrumentBackend(Plugin): method get_parameters (line 50) | def get_parameters(self): method validate_parameters (line 53) | def validate_parameters(self, params): method get_instruments (line 56) | def get_instruments(self, target, metadir, **kwargs): class DAQBackend (line 66) | class DAQBackend(EnergyInstrumentBackend): method validate_parameters (line 158) | def validate_parameters(self, params): class EnergyProbeBackend (line 167) | class EnergyProbeBackend(EnergyInstrumentBackend): method validate_parameters (line 208) | def validate_parameters(self, params): class ArmEnergyProbeBackend (line 217) | class ArmEnergyProbeBackend(EnergyInstrumentBackend): method get_instruments (line 249) | def get_instruments(self, target, metadir, **kwargs): method validate_parameters (line 261) | def validate_parameters(self, params): class AcmeCapeBackend (line 269) | class AcmeCapeBackend(EnergyInstrumentBackend): method get_instruments (line 312) | def get_instruments(self, target, metadir, class MonsoonBackend (line 338) | class MonsoonBackend(EnergyInstrumentBackend): class JunoEnergyBackend (line 371) | class JunoEnergyBackend(EnergyInstrumentBackend): class EnergyMeasurement (line 386) | class EnergyMeasurement(Instrument): method __init__ (line 436) | def __init__(self, target, loader=pluginloader, **kwargs): method initialize (line 455) | def initialize(self, context): method setup (line 472) | def setup(self, context): method start (line 478) | def start(self, context): method stop (line 482) | def stop(self, context): method update_output (line 486) | def update_output(self, context): method extract_metrics (line 507) | def extract_metrics(self, context): method teardown (line 538) | def teardown(self, context): FILE: wa/instruments/fps.py class FpsInstrument (line 26) | class FpsInstrument(Instrument): method __init__ (line 101) | def __init__(self, target, **kwargs): method setup (line 107) | def setup(self, context): method start (line 130) | def start(self, context): # pylint: disable=unused-argument method stop (line 135) | def stop(self, context): # pylint: disable=unused-argument method update_output (line 140) | def update_output(self, context): method check_for_crash (line 173) | def check_for_crash(self, context, fps, frames, exec_time): FILE: wa/instruments/hwmon.py class HwmonInstrument (line 25) | class HwmonInstrument(Instrument): method initialize (line 44) | def initialize(self, context): # pylint: disable=unused-argument method setup (line 47) | def setup(self, context): # pylint: disable=unused-argument method start (line 51) | def start(self, context): # pylint: disable=unused-argument method stop (line 55) | def stop(self, context): # pylint: disable=unused-argument method update_output (line 58) | def update_output(self, context): method teardown (line 88) | def teardown(self, context): # pylint: disable=unused-argument FILE: wa/instruments/misc.py class SysfsExtractor (line 50) | class SysfsExtractor(Instrument): method initialize (line 85) | def initialize(self, context): method setup (line 100) | def setup(self, context): method start (line 129) | def start(self, context): method stop (line 142) | def stop(self, context): method update_output (line 154) | def update_output(self, context): method teardown (line 186) | def teardown(self, context): method finalize (line 189) | def finalize(self, context): method validate (line 199) | def validate(self): method _local_dir (line 203) | def _local_dir(self, directory): class ExecutionTimeInstrument (line 207) | class ExecutionTimeInstrument(Instrument): method __init__ (line 215) | def __init__(self, target, **kwargs): method start (line 221) | def start(self, context): method stop (line 225) | def stop(self, context): method update_output (line 228) | def update_output(self, context): class ApkVersion (line 233) | class ApkVersion(Instrument): method __init__ (line 241) | def __init__(self, device, **kwargs): method setup (line 245) | def setup(self, context): method update_output (line 251) | def update_output(self, context): class InterruptStatsInstrument (line 256) | class InterruptStatsInstrument(Instrument): method __init__ (line 265) | def __init__(self, target, **kwargs): method setup (line 271) | def setup(self, context): method start (line 276) | def start(self, context): method stop (line 280) | def stop(self, context): method update_output (line 284) | def update_output(self, context): class DynamicFrequencyInstrument (line 296) | class DynamicFrequencyInstrument(SysfsExtractor): method setup (line 310) | def setup(self, context): method validate (line 316) | def validate(self): FILE: wa/instruments/perf.py class PerfInstrument (line 30) | class PerfInstrument(Instrument): method __init__ (line 118) | def __init__(self, target, **kwargs): method validate (line 123) | def validate(self): method initialize (line 131) | def initialize(self, context): method setup (line 147) | def setup(self, context): method start (line 152) | def start(self, context): method stop (line 155) | def stop(self, context): method update_output (line 158) | def update_output(self, context): method teardown (line 167) | def teardown(self, context): method _process_perf_output (line 170) | def _process_perf_output(self, context): method _process_simpleperf_output (line 176) | def _process_simpleperf_output(self, context): method _process_perf_stat_output (line 182) | def _process_perf_stat_output(self, context): method _add_perf_stat_metric (line 202) | def _add_perf_stat_metric(line, label, context): method _process_perf_record_output (line 215) | def _process_perf_record_output(self, context): method _get_report_event_type (line 241) | def _get_report_event_type(words, event_type): method _process_simpleperf_stat_output (line 249) | def _process_simpleperf_stat_output(self, context): method _process_simpleperf_stat_from_csv (line 261) | def _process_simpleperf_stat_from_csv(stat_file, context, label): method _process_simpleperf_stat_from_raw (line 274) | def _process_simpleperf_stat_from_raw(stat_file, context, label): method _process_simpleperf_record_output (line 293) | def _process_simpleperf_record_output(self, context): method _get_report_column_headers (line 323) | def _get_report_column_headers(column_headers, words, perf_type): method _add_report_metric (line 337) | def _add_report_metric(column_headers, column_header_indeces, line, wo... FILE: wa/instruments/perfetto.py class PerfettoInstrument (line 28) | class PerfettoInstrument(Instrument): method __init__ (line 62) | def __init__(self, target, **kwargs): method initialize (line 66) | def initialize(self, context): # pylint: disable=unused-argument method start (line 77) | def start(self, context): # pylint: disable=unused-argument method stop (line 81) | def stop(self, context): # pylint: disable=unused-argument method update_output (line 84) | def update_output(self, context): method teardown (line 91) | def teardown(self, context): # pylint: disable=unused-argument method finalize (line 94) | def finalize(self, context): # pylint: disable=unused-argument method validate (line 97) | def validate(self): FILE: wa/instruments/poller/__init__.py class FilePoller (line 26) | class FilePoller(Instrument): method validate (line 70) | def validate(self): method initialize (line 76) | def initialize(self, context): method start (line 112) | def start(self, context): method stop (line 115) | def stop(self, context): method update_output (line 118) | def update_output(self, context): method teardown (line 134) | def teardown(self, context): method _generate_labels (line 138) | def _generate_labels(self): method _adjust_timestamps (line 153) | def _adjust_timestamps(self, context): FILE: wa/instruments/poller/poller.c function term (line 27) | void term(int signum) function strip (line 32) | void strip(char *s) { type poll_source_t (line 44) | typedef struct { function write_trace_marker (line 50) | int write_trace_marker(char *marker, int size) function main (line 66) | int main(int argc, char ** argv) { FILE: wa/instruments/proc_stat/__init__.py class ProcStatCollector (line 24) | class ProcStatCollector(Instrument): method initialize (line 39) | def initialize(self, context): # pylint: disable=unused-argument method setup (line 45) | def setup(self, context): # pylint: disable=unused-argument method start (line 57) | def start(self, context): # pylint: disable=unused-argument method stop (line 60) | def stop(self, context): # pylint: disable=unused-argument method update_output (line 63) | def update_output(self, context): method finalize (line 83) | def finalize(self, context): # pylint: disable=unused-argument method _wait_for_script (line 88) | def _wait_for_script(self): FILE: wa/instruments/screencap.py class ScreenCaptureInstrument (line 23) | class ScreenCaptureInstrument(Instrument): method __init__ (line 41) | def __init__(self, target, **kwargs): method setup (line 45) | def setup(self, context): method start (line 54) | def start(self, context): # pylint: disable=unused-argument method stop (line 57) | def stop(self, context): # pylint: disable=unused-argument FILE: wa/instruments/serialmon.py class SerialMon (line 23) | class SerialMon(Instrument): method __init__ (line 47) | def __init__(self, target, **kwargs): method start_logging (line 51) | def start_logging(self, context, filename="serial.log"): method stop_logging (line 60) | def stop_logging(self, context, identifier="job"): method on_run_start (line 69) | def on_run_start(self, context): method before_job_queue_execution (line 72) | def before_job_queue_execution(self, context): method after_job_queue_execution (line 75) | def after_job_queue_execution(self, context): method on_run_end (line 78) | def on_run_end(self, context): method on_job_start (line 81) | def on_job_start(self, context): method on_job_end (line 84) | def on_job_end(self, context): method before_reboot (line 88) | def before_reboot(self, context): FILE: wa/instruments/trace_cmd.py class TraceCmdInstrument (line 36) | class TraceCmdInstrument(Instrument): method __init__ (line 174) | def __init__(self, target, **kwargs): method initialize (line 178) | def initialize(self, context): method setup (line 208) | def setup(self, context): method start (line 213) | def start(self, context): method stop (line 218) | def stop(self, context): method update_output (line 222) | def update_output(self, context): # NOQA pylint: disable=R0912 method teardown (line 238) | def teardown(self, context): method validate (line 245) | def validate(self): method mark_start (line 251) | def mark_start(self, context): method mark_stop (line 255) | def mark_stop(self, context): FILE: wa/output_processors/cpustates.py function _get_cpustates_description (line 24) | def _get_cpustates_description(): class CpuStatesProcessor (line 44) | class CpuStatesProcessor(OutputProcessor): method __init__ (line 88) | def __init__(self, *args, **kwargs): method process_job_output (line 92) | def process_job_output(self, output, target_info, run_output): # pyli... method process_run_output (line 121) | def process_run_output(self, output, target_info): FILE: wa/output_processors/csvproc.py class CsvReportProcessor (line 23) | class CsvReportProcessor(OutputProcessor): method __init__ (line 52) | def __init__(self, *args, **kwargs): method validate (line 57) | def validate(self): method process_job_output (line 65) | def process_job_output(self, output, target_info, run_output): method process_run_output (line 72) | def process_run_output(self, output, target_info): # pylint: disable=... method _write_outputs (line 79) | def _write_outputs(self, outputs, output): FILE: wa/output_processors/postgresql.py class PostgresqlResultProcessor (line 41) | class PostgresqlResultProcessor(OutputProcessor): method __init__ (line 116) | def __init__(self, *args, **kwargs): method initialize (line 123) | def initialize(self, context): method export_job_output (line 222) | def export_job_output(self, job_output, target_info, run_output): # ... method export_run_output (line 305) | def export_run_output(self, run_output, target_info): # pylint: disab... method sql_upload_resource_getters (line 352) | def sql_upload_resource_getters(self, output_object): method sql_upload_events (line 369) | def sql_upload_events(self, output_object, job_uuid=None): method sql_upload_job_augmentations (line 385) | def sql_upload_job_augmentations(self, output_object, job_uuid=None): method sql_upload_augmentations (line 407) | def sql_upload_augmentations(self, output_object): method sql_upload_metrics (line 427) | def sql_upload_metrics(self, output_object, record_in_added=False, che... method sql_upload_artifacts (line 463) | def sql_upload_artifacts(self, output_object, record_in_added=False, c... method sql_upload_parameters (line 478) | def sql_upload_parameters(self, parameter_type, parameter_dict, owner_... method connect_to_database (line 511) | def connect_to_database(self): method execute_sql_line_by_line (line 523) | def execute_sql_line_by_line(self, sql): method verify_schema_versions (line 532) | def verify_schema_versions(self): method _sql_write_file_lobject (line 544) | def _sql_write_file_lobject(self, source, lobject): method _sql_write_dir_lobject (line 552) | def _sql_write_dir_lobject(self, source, lobject): method _sql_update_artifact (line 557) | def _sql_update_artifact(self, artifact, output_object): method _sql_create_artifact (line 565) | def _sql_create_artifact(self, artifact, output_object, record_in_adde... FILE: wa/output_processors/sqlite.py class SqliteResultProcessor (line 75) | class SqliteResultProcessor(OutputProcessor): method __init__ (line 111) | def __init__(self, *args, **kwargs): method export_job_output (line 118) | def export_job_output(self, job_output, target_info, run_output): # p... method export_run_output (line 131) | def export_run_output(self, run_output, target_info): # pylint: disab... method _init_run (line 146) | def _init_run(self, run_output): method _init_db (line 167) | def _init_db(self): method _validate_schema_version (line 172) | def _validate_schema_version(self): method _update_run (line 184) | def _update_run(self, run_uuid): method _update_spec (line 191) | def _update_spec(self, spec): method _open_connection (line 204) | def _open_connection(self): FILE: wa/output_processors/status.py class StatusTxtReporter (line 26) | class StatusTxtReporter(OutputProcessor): method process_run_output (line 34) | def process_run_output(self, output, target_info): # pylint: disable=... FILE: wa/output_processors/targz.py class TargzProcessor (line 23) | class TargzProcessor(OutputProcessor): method initialize (line 59) | def initialize(self, context): method export_run_output (line 64) | def export_run_output(self, run_output, target_info): # pylint: disab... method delete_output_directory (line 74) | def delete_output_directory(self, context): FILE: wa/output_processors/uxperf.py class UxperfProcessor (line 21) | class UxperfProcessor(OutputProcessor): method process_job_output (line 34) | def process_job_output(self, output, target_info, job_output): FILE: wa/tools/revent/revent.c type bool_t (line 58) | typedef enum { type recording_mode_t (line 63) | typedef enum { type revent_command_t (line 69) | typedef enum { type absinfo_t (line 77) | typedef struct { type device_info_t (line 82) | typedef struct { type revent_args_t (line 93) | typedef struct { type input_devices_t (line 101) | typedef struct { type replay_event_t (line 108) | typedef struct { type revent_record_desc_t (line 113) | typedef struct { type revent_recording_t (line 118) | typedef struct { function bool_t (line 131) | bool_t is_numeric(char *string) function test_bit (line 146) | int test_bit(const char *mask, int bit) { function count_bits (line 150) | int count_bits(const char *mask) { function bool_t (line 170) | bool_t is_gamepad(device_info_t *dev) function off_t (line 181) | off_t get_file_size(const char *filename) { function get_device_info (line 190) | int get_device_info(int fd, device_info_t *info) { function destroy_replay_device (line 228) | void destroy_replay_device(int fd) function set_evbit (line 234) | inline void set_evbit(int fd, int bit) function set_keybit (line 240) | inline void set_keybit(int fd, int bit) function set_absbit (line 246) | inline void set_absbit(int fd, int bit) function set_relbit (line 252) | inline void set_relbit(int fd, int bit) function block_sigterm (line 258) | inline void block_sigterm(sigset_t *oldset) function adjust_timestamps (line 268) | void adjust_timestamps(revent_recording_t *recording) function write_record_header (line 286) | int write_record_header(int fd, const revent_record_desc_t *desc) function read_record_header (line 311) | int read_record_header(int fd, revent_record_desc_t *desc) function write_general_input_devices (line 346) | int write_general_input_devices(const input_devices_t *devices, FILE *fout) function read_general_input_devices (line 373) | int read_general_input_devices(input_devices_t *devices, FILE *fin) function write_input_id (line 410) | int write_input_id(FILE *fout, const struct input_id *id) function read_input_id (line 422) | int read_input_id(FILE *fin, struct input_id *id) function write_absinfo (line 434) | int write_absinfo(FILE *fout, const absinfo_t *info) function read_absinfo (line 449) | int read_absinfo(FILE *fin, absinfo_t *info) function write_device_info (line 464) | int write_device_info(FILE *fout, const device_info_t *info) function read_device_info (line 499) | int read_device_info(FILE *fin, device_info_t *info) function print_device_info (line 536) | void print_device_info(device_info_t *info) function read_record_timestamps (line 567) | int read_record_timestamps(FILE *fin, revent_recording_t *recording) function write_replay_event (line 589) | int write_replay_event(FILE *fout, const replay_event_t *ev) function read_replay_event (line 623) | int read_replay_event(FILE *fin, replay_event_t *ev) function read_legacy_replay_event (line 654) | int read_legacy_replay_event(int fdin, replay_event_t* ev) function open_revent_recording (line 699) | int open_revent_recording(const char *filepath, revent_record_desc_t *de... function FILE (line 715) | FILE *init_recording(const char *pathname, recording_mode_t mode) function init_input_devices (line 728) | void init_input_devices(input_devices_t *devices) function init_general_input_devices (line 736) | int init_general_input_devices(input_devices_t *devices) function fini_general_input_devices (line 792) | void fini_general_input_devices(input_devices_t *devices) function init_gamepad_input_devices (line 806) | int init_gamepad_input_devices(input_devices_t *devices, device_info_t *... function fini_gamepad_input_devices (line 872) | void fini_gamepad_input_devices(input_devices_t *devices) function init_revent_recording (line 877) | void init_revent_recording(revent_recording_t *recording) function fini_revent_recording (line 887) | void fini_revent_recording(revent_recording_t *recording) function open_general_input_devices_for_playback_or_die (line 906) | void open_general_input_devices_for_playback_or_die(input_devices_t *dev... function create_replay_device_or_die (line 927) | int create_replay_device_or_die(const device_info_t *info) function read_revent_recording_or_die (line 986) | inline void read_revent_recording_or_die(const char *filepath, revent_re... function open_gamepad_input_devices_for_playback_or_die (line 1084) | void open_gamepad_input_devices_for_playback_or_die(input_devices_t *dev... function exitHandler (line 1097) | void exitHandler(int z) { function record (line 1101) | void record(const char *filepath, int delay, recording_mode_t mode) function dump (line 1262) | void dump(const char *filepath) function replay (line 1302) | void replay(const char *filepath) function info (line 1391) | void info(void) function usage (line 1420) | void usage() function revent_args_init (line 1471) | void revent_args_init(revent_args_t **rargs, int argc, char** argv) function revent_args_close (line 1563) | int revent_args_close(revent_args_t *rargs) function main (line 1569) | int main(int argc, char** argv) FILE: wa/utils/android.py class LogcatEvent (line 39) | class LogcatEvent(object): method __init__ (line 43) | def __init__(self, timestamp, pid, tid, level, tag, message): method __repr__ (line 51) | def __repr__(self): class LogcatParser (line 61) | class LogcatParser(object): method parse (line 63) | def parse(self, filepath): method parse_line (line 70) | def parse_line(self, line): # pylint: disable=no-self-use class ApkInfo (line 94) | class ApkInfo(_ApkInfo, Podable): method from_pod (line 100) | def from_pod(pod): method __init__ (line 115) | def __init__(self, path=None): method to_pod (line 119) | def to_pod(self): method _pod_upgrade_v1 (line 135) | def _pod_upgrade_v1(pod): class ApkInfoCache (line 140) | class ApkInfoCache: method _check_env (line 143) | def _check_env(): method __init__ (line 147) | def __init__(self, path=settings.apk_info_cache_file): method store (line 154) | def store(self, apk_info, apk_id, overwrite=True): method get_info (line 163) | def get_info(self, key): method _update_cache (line 170) | def _update_cache(self): function get_cacheable_apk_info (line 179) | def get_cacheable_apk_info(path): function build_apk_launch_command (line 202) | def build_apk_launch_command(package, activity=None, apk_args=None): FILE: wa/utils/cpustates.py class CorePowerTransitionEvent (line 34) | class CorePowerTransitionEvent(object): method __init__ (line 39) | def __init__(self, timestamp, cpu_id, frequency=None, idle_state=None): method __str__ (line 47) | def __str__(self): method __repr__ (line 51) | def __repr__(self): class CorePowerDroppedEvents (line 56) | class CorePowerDroppedEvents(object): method __init__ (line 61) | def __init__(self, cpu_id): method __str__ (line 64) | def __str__(self): class TraceMarkerEvent (line 70) | class TraceMarkerEvent(object): method __init__ (line 75) | def __init__(self, name): method __str__ (line 78) | def __str__(self): class CpuPowerState (line 82) | class CpuPowerState(object): method is_idling (line 87) | def is_idling(self): method is_active (line 91) | def is_active(self): method __init__ (line 94) | def __init__(self, frequency=None, idle_state=None): method __str__ (line 98) | def __str__(self): class SystemPowerState (line 104) | class SystemPowerState(object): method num_cores (line 109) | def num_cores(self): method __init__ (line 112) | def __init__(self, num_cores, no_idle=False): method copy (line 119) | def copy(self): method __str__ (line 127) | def __str__(self): class PowerStateProcessor (line 133) | class PowerStateProcessor(object): method cpu_states (line 141) | def cpu_states(self): method current_time (line 145) | def current_time(self): method current_time (line 149) | def current_time(self, value): method __init__ (line 152) | def __init__(self, cpus, wait_for_marker=True, no_idle=None): method process (line 164) | def process(self, event_stream): method update_power_state (line 178) | def update_power_state(self, event): method _process_transition (line 197) | def _process_transition(self, event): method _process_dropped_events (line 207) | def _process_dropped_events(self, event): method _process_idle_entry (line 216) | def _process_idle_entry(self, event): method _process_idle_exit (line 222) | def _process_idle_exit(self, event): method _try_transition_to_idle_state (line 236) | def _try_transition_to_idle_state(self, cpu_id, idle_state): method _can_enter_state (line 258) | def _can_enter_state(self, related_ids, state): function stream_cpu_power_transitions (line 277) | def stream_cpu_power_transitions(events): function gather_core_states (line 302) | def gather_core_states(system_state_stream, freq_dependent_idle_states=N... function record_state_transitions (line 320) | def record_state_transitions(reporter, stream): class PowerStateTransitions (line 327) | class PowerStateTransitions(object): method __init__ (line 331) | def __init__(self, output_directory): method update (line 337) | def update(self, timestamp, core_states): # NOQA method record_transition (line 342) | def record_transition(self, transition): method report (line 347) | def report(self): method write (line 350) | def write(self): class PowerStateTimeline (line 354) | class PowerStateTimeline(object): method __init__ (line 358) | def __init__(self, output_directory, cpus): method update (line 365) | def update(self, timestamp, core_states): # NOQA method report (line 387) | def report(self): method write (line 390) | def write(self): class ParallelStats (line 394) | class ParallelStats(object): method __init__ (line 396) | def __init__(self, output_directory, cpus, use_ratios=False): method update (line 416) | def update(self, timestamp, core_states): method report (line 432) | def report(self): # NOQA class ParallelReport (line 464) | class ParallelReport(object): method __init__ (line 468) | def __init__(self, filepath): method add (line 472) | def add(self, value): method write (line 475) | def write(self): class PowerStateStats (line 481) | class PowerStateStats(object): method __init__ (line 483) | def __init__(self, output_directory, cpus, use_ratios=False): method update (line 493) | def update(self, timestamp, core_states): # NOQA method report (line 515) | def report(self): class PowerStateStatsReport (line 533) | class PowerStateStatsReport(object): method __init__ (line 537) | def __init__(self, filepath, state_stats, core_names, precision=2): method write (line 543) | def write(self): class CpuUtilizationTimeline (line 555) | class CpuUtilizationTimeline(object): method __init__ (line 559) | def __init__(self, output_directory, cpus): method update (line 567) | def update(self, timestamp, core_states): # NOQA method report (line 577) | def report(self): method write (line 580) | def write(self): function build_idle_state_map (line 584) | def build_idle_state_map(cpus): function report_power_stats (line 597) | def report_power_stats(trace_file, cpus, output_basedir, use_ratios=Fals... FILE: wa/utils/diff.py function diff_interrupt_files (line 30) | def diff_interrupt_files(before, after, result): # pylint: disable=R0914 function diff_sysfs_dirs (line 72) | def diff_sysfs_dirs(before, after, result): # pylint: disable=R0914 FILE: wa/utils/doc.py function get_summary (line 31) | def get_summary(aclass): function get_description (line 42) | def get_description(aclass): function get_type_name (line 56) | def get_type_name(obj): function count_leading_spaces (line 78) | def count_leading_spaces(text): function format_column (line 95) | def format_column(text, width): function format_bullets (line 123) | def format_bullets(text, width, char='-', shift=3, outchar=None): function format_simple_table (line 163) | def format_simple_table(rows, headers=None, align='>', show_borders=True... function format_paragraph (line 195) | def format_paragraph(text, width): function format_body (line 206) | def format_body(text, width): function strip_inlined_text (line 225) | def strip_inlined_text(text): function indent (line 250) | def indent(text, spaces=4): function format_literal (line 261) | def format_literal(lit): function get_params_rst (line 273) | def get_params_rst(parameters): function get_aliases_rst (line 297) | def get_aliases_rst(aliases): function underline (line 306) | def underline(text, symbol='='): function line_break (line 310) | def line_break(length=10, symbol='-'): function get_rst_from_plugin (line 315) | def get_rst_from_plugin(plugin): FILE: wa/utils/exec_control.py function activate_environment (line 21) | def activate_environment(name): function init_environment (line 35) | def init_environment(name): function reset_environment (line 49) | def reset_environment(name=None): function once_per_instance (line 70) | def once_per_instance(method): function once_per_class (line 88) | def once_per_class(method): function once_per_attribute_value (line 108) | def once_per_attribute_value(attr_name): function once (line 132) | def once(method): FILE: wa/utils/formatter.py class TextFormatter (line 23) | class TextFormatter(object): method __init__ (line 35) | def __init__(self): method add_item (line 38) | def add_item(self, new_data, item_title): method format_data (line 47) | def format_data(self): class DescriptionListFormatter (line 54) | class DescriptionListFormatter(TextFormatter): method get_text_width (line 59) | def get_text_width(self): method set_text_width (line 64) | def set_text_width(self, value): method __init__ (line 69) | def __init__(self, title=None, width=None): method add_item (line 76) | def add_item(self, new_data, item_title): method format_data (line 81) | def format_data(self): method _remove_newlines (line 110) | def _remove_newlines(self, new_data): # pylint: disable=R0201 method _break_lines (line 130) | def _break_lines(self, parag_list, line_width): # pylint: disable=R0201 FILE: wa/utils/log.py function init (line 54) | def init(verbosity=logging.INFO, color=True, indent_with=4, function set_level (line 95) | def set_level(level): function add_file (line 100) | def add_file(filepath, level=logging.DEBUG, function enable (line 116) | def enable(logs): function disable (line 124) | def disable(logs): function __enable_logger (line 132) | def __enable_logger(logger): function __disable_logger (line 138) | def __disable_logger(logger): function indent (line 145) | def indent(): function dedent (line 151) | def dedent(): function indentcontext (line 157) | def indentcontext(): function set_indent_level (line 166) | def set_indent_level(level): function log_error (line 173) | def log_error(e, logger, critical=False): class ErrorSignalHandler (line 220) | class ErrorSignalHandler(logging.Handler): method emit (line 226) | def emit(self, record): class InitHandler (line 233) | class InitHandler(logging.handlers.BufferingHandler): method __init__ (line 239) | def __init__(self, capacity): method emit (line 243) | def emit(self, record): method flush (line 247) | def flush(self): method add_target (line 252) | def add_target(self, target): method flush_to_target (line 256) | def flush_to_target(self, target): class LineFormatter (line 261) | class LineFormatter(logging.Formatter): method format (line 267) | def format(self, record): class ColorFormatter (line 284) | class ColorFormatter(LineFormatter): method __init__ (line 297) | def __init__(self, fmt=None, datefmt=None): method format (line 303) | def format(self, record): method _set_color (line 307) | def _set_color(self, color): class BaseLogWriter (line 311) | class BaseLogWriter(object): method __init__ (line 313) | def __init__(self, name, level=logging.DEBUG): method flush (line 335) | def flush(self): method close (line 339) | def close(self): method __del__ (line 345) | def __del__(self): class LogWriter (line 350) | class LogWriter(BaseLogWriter): method write (line 352) | def write(self, data): class LineLogWriter (line 365) | class LineLogWriter(BaseLogWriter): method write (line 367) | def write(self, data): class StreamLogger (line 371) | class StreamLogger(threading.Thread): method __init__ (line 377) | def __init__(self, name, stream, level=logging.DEBUG, klass=LogWriter): method run (line 383) | def run(self): FILE: wa/utils/misc.py function diff_tokens (line 71) | def diff_tokens(before_token, after_token): function prepare_table_rows (line 99) | def prepare_table_rows(rows): function write_table (line 111) | def write_table(rows, wfh, align='>', headers=None): # pylint: disable=... function get_null (line 139) | def get_null(): function get_traceback (line 144) | def get_traceback(exc=None): function _check_remove_item (line 161) | def _check_remove_item(the_list, item): function parse_value (line 189) | def parse_value(value_string): function get_meansd (line 204) | def get_meansd(values): function geomean (line 213) | def geomean(values): function capitalize (line 218) | def capitalize(text): function utc_to_local (line 226) | def utc_to_local(dt): function local_to_utc (line 231) | def local_to_utc(dt): function load_class (line 236) | def load_class(classpath): function get_pager (line 248) | def get_pager(): function strip_bash_colors (line 261) | def strip_bash_colors(text): function format_duration (line 265) | def format_duration(seconds, sep=' ', order=['day', 'hour', 'minute', 's... function get_article (line 287) | def get_article(word): function get_random_string (line 299) | def get_random_string(length): function import_path (line 304) | def import_path(filepath, module_name=None): function load_struct_from_python (line 336) | def load_struct_from_python(filepath): function open_file (line 352) | def open_file(filepath): function sha256 (line 365) | def sha256(path, chunk=2048): function urljoin (line 376) | def urljoin(*parts): function istextfile (line 381) | def istextfile(fileobj, blocksize=512): function categorize (line 404) | def categorize(v): function merge_config_values (line 418) | def merge_config_values(base, other): function merge_sequencies (line 515) | def merge_sequencies(s1, s2): function merge_maps (line 519) | def merge_maps(m1, m2): function merge_dicts_simple (line 523) | def merge_dicts_simple(base, other): function touch (line 530) | def touch(path): function get_object_name (line 535) | def get_object_name(obj): function resolve_cpus (line 550) | def resolve_cpus(name, target): function resolve_unique_domain_cpus (line 603) | def resolve_unique_domain_cpus(name, target): function format_ordered_dict (line 624) | def format_ordered_dict(od): function atomic_write_path (line 635) | def atomic_write_path(path, mode='w'): function safe_move (line 656) | def safe_move(src, dst): function lock_file (line 692) | def lock_file(path, timeout=30): FILE: wa/utils/postgres.py function cast_level (line 49) | def cast_level(value, cur): # pylint: disable=unused-argument function cast_vanilla (line 66) | def cast_vanilla(value, cur): # pylint: disable=unused-argument function adapt_level (line 79) | def adapt_level(a_level): class ListOfLevel (line 84) | class ListOfLevel(object): method __init__ (line 87) | def __init__(self, a_level): method return_original (line 90) | def return_original(self): function adapt_ListOfX (line 94) | def adapt_ListOfX(adapt_X): function return_as_is (line 151) | def return_as_is(adapt_X): function adapt_vanilla (line 166) | def adapt_vanilla(param): function create_iterable_adapter (line 173) | def create_iterable_adapter(array_columns, explicit_iterate=False): function adapt_list (line 215) | def adapt_list(param): function get_schema (line 227) | def get_schema(schemafilepath): function get_database_schema_version (line 243) | def get_database_schema_version(conn): function get_schema_versions (line 254) | def get_schema_versions(conn): FILE: wa/utils/revent.py function read_struct (line 51) | def read_struct(fh, struct_spec): function read_string (line 56) | def read_string(fh): function count_bits (line 62) | def count_bits(bitarr): function is_set (line 66) | def is_set(bitarr, bit): class UinputDeviceInfo (line 75) | class UinputDeviceInfo(object): method __init__ (line 77) | def __init__(self, fh): method __str__ (line 95) | def __str__(self): class ReventEvent (line 99) | class ReventEvent(object): method __init__ (line 101) | def __init__(self, fh, legacy=False): method __str__ (line 112) | def __str__(self): class ReventRecording (line 116) | class ReventRecording(object): method duration (line 145) | def duration(self): method events (line 164) | def events(self): method __init__ (line 170) | def __init__(self, f, stream=True): method close (line 197) | def close(self): method _parse_header_and_devices (line 203) | def _parse_header_and_devices(self, fh): method _read_devices (line 233) | def _read_devices(self, fh): method _read_gamepad_info (line 238) | def _read_gamepad_info(self, fh): method _iter_events (line 242) | def _iter_events(self): method __iter__ (line 255) | def __iter__(self): method __enter__ (line 259) | def __enter__(self): method __exit__ (line 262) | def __exit__(self, *args): method __del__ (line 265) | def __del__(self): function get_revent_binary (line 269) | def get_revent_binary(abi): class ReventRecorder (line 276) | class ReventRecorder(object): method __init__ (line 281) | def __init__(self, target): method deploy (line 288) | def deploy(self): method remove (line 295) | def remove(self): method start_record (line 299) | def start_record(self, revent_file): method stop_record (line 304) | def stop_record(self): method replay (line 307) | def replay(self, revent_file, timeout=None): method _get_target_path (line 315) | def _get_target_path(target): FILE: wa/utils/serializer.py class WAJSONEncoder (line 112) | class WAJSONEncoder(_json.JSONEncoder): method default (line 114) | def default(self, obj): # pylint: disable=method-hidden,arguments-differ class WAJSONDecoder (line 127) | class WAJSONDecoder(_json.JSONDecoder): method decode (line 129) | def decode(self, s, **kwargs): # pylint: disable=arguments-differ class json (line 165) | class json(object): method dump (line 168) | def dump(o, wfh, indent=4, *args, **kwargs): method dumps (line 172) | def dumps(o, indent=4, *args, **kwargs): method load (line 176) | def load(fh, *args, **kwargs): method loads (line 183) | def loads(s, *args, **kwargs): function _wa_dict_representer (line 196) | def _wa_dict_representer(dumper, data): function _wa_regex_representer (line 200) | def _wa_regex_representer(dumper, data): function _wa_level_representer (line 205) | def _wa_level_representer(dumper, data): function _wa_cpu_mask_representer (line 210) | def _wa_cpu_mask_representer(dumper, data): function _wa_regex_constructor (line 214) | def _wa_regex_constructor(loader, node): function _wa_level_constructor (line 220) | def _wa_level_constructor(loader, node): function _wa_cpu_mask_constructor (line 226) | def _wa_cpu_mask_constructor(loader, node): class _WaYamlLoader (line 231) | class _WaYamlLoader(_yaml_loader): # pylint: disable=too-many-ancestors method construct_mapping (line 233) | def construct_mapping(self, node, deep=False): class yaml (line 261) | class yaml(object): method dump (line 264) | def dump(o, wfh, *args, **kwargs): method load (line 268) | def load(fh, *args, **kwargs): class python (line 281) | class python(object): method dump (line 284) | def dump(o, wfh, *args, **kwargs): method load (line 288) | def load(cls, fh, *args, **kwargs): method loads (line 292) | def loads(s, *args, **kwargs): function read_pod (line 304) | def read_pod(source, fmt=None): function write_pod (line 315) | def write_pod(pod, dest, fmt=None): function dump (line 326) | def dump(o, wfh, fmt='json', *args, **kwargs): function load (line 337) | def load(s, fmt='json', *args, **kwargs): function _read_pod (line 341) | def _read_pod(fh, fmt=None): function _write_pod (line 360) | def _write_pod(pod, wfh, fmt=None): function is_pod (line 373) | def is_pod(obj): class Podable (line 387) | class Podable(object): method from_pod (line 392) | def from_pod(cls, pod): method _upgrade_pod (line 399) | def _upgrade_pod(cls, pod): method __init__ (line 407) | def __init__(self): method to_pod (line 410) | def to_pod(self): FILE: wa/utils/terminalsize.py function get_terminal_size (line 26) | def get_terminal_size(): function _get_terminal_size_windows (line 47) | def _get_terminal_size_windows(): function _get_terminal_size_tput (line 68) | def _get_terminal_size_tput(): function _get_terminal_size_linux (line 79) | def _get_terminal_size_linux(): FILE: wa/utils/trace_cmd.py class TraceCmdEvent (line 29) | class TraceCmdEvent(object): method __init__ (line 42) | def __init__(self, thread, cpu_id, ts, name, body, parser=None): method __getattr__ (line 79) | def __getattr__(self, name): method __str__ (line 85) | def __str__(self): class DroppedEventsEvent (line 91) | class DroppedEventsEvent(object): method __init__ (line 95) | def __init__(self, cpu_id): method __getattr__ (line 103) | def __getattr__(self, name): method __str__ (line 109) | def __str__(self): function try_convert_to_numeric (line 115) | def try_convert_to_numeric(v): function default_body_parser (line 125) | def default_body_parser(event, text): function regex_body_parser (line 145) | def regex_body_parser(regex, flags=0): function sched_switch_parser (line 172) | def sched_switch_parser(event, text): function sched_stat_parser (line 190) | def sched_stat_parser(event, text): function sched_wakeup_parser (line 198) | def sched_wakeup_parser(event, text): class TraceCmdParser (line 233) | class TraceCmdParser(object): method __init__ (line 239) | def __init__(self, filter_markers=True, check_for_markers=True, events... method parse (line 261) | def parse(self, filepath): # pylint: disable=too-many-branches,too-ma... function trace_has_marker (line 331) | def trace_has_marker(filepath, max_lines_to_check=2000000): FILE: wa/utils/types.py function list_of_strs (line 48) | def list_of_strs(value): function list_of_ints (line 61) | def list_of_ints(value): function list_of_numbers (line 74) | def list_of_numbers(value): function list_of_bools (line 85) | def list_of_bools(value, interpret_strings=True): function list_of (line 103) | def list_of(type_): function list_or_string (line 136) | def list_or_string(value): function list_or_caseless_string (line 151) | def list_or_caseless_string(value): function list_or (line 166) | def list_or(type_): function regex (line 195) | def regex(value): function version_tuple (line 207) | def version_tuple(v): function module_name_set (line 216) | def module_name_set(l): # noqa: E741 function reset_counter (line 233) | def reset_counter(name=None, value=0): function reset_all_counters (line 237) | def reset_all_counters(value=0): function counter (line 242) | def counter(name=None): class arguments (line 256) | class arguments(list): method __init__ (line 262) | def __init__(self, value=None): method append (line 273) | def append(self, value): method extend (line 276) | def extend(self, values): method __str__ (line 279) | def __str__(self): class prioritylist (line 283) | class prioritylist(object): method __init__ (line 285) | def __init__(self): method add (line 297) | def add(self, new_element, priority=0): method add_before (line 307) | def add_before(self, new_element, element): method add_after (line 311) | def add_after(self, new_element, element): method index (line 315) | def index(self, element): method remove (line 318) | def remove(self, element): method _priority_index (line 322) | def _priority_index(self, element): method _to_list (line 328) | def _to_list(self): method _add_element (line 335) | def _add_element(self, element, priority, index=None): method _delete (line 345) | def _delete(self, priority, priority_index): method __iter__ (line 352) | def __iter__(self): method __getitem__ (line 357) | def __getitem__(self, index): method __delitem__ (line 360) | def __delitem__(self, index): method __len__ (line 389) | def __len__(self): class toggle_set (line 393) | class toggle_set(set): method from_pod (line 403) | def from_pod(pod): method merge (line 407) | def merge(dest, source): method __init__ (line 423) | def __init__(self, *args): method merge_with (line 439) | def merge_with(self, other): method merge_into (line 442) | def merge_into(self, other): method add (line 445) | def add(self, item): method values (line 455) | def values(self): method conflicts_with (line 461) | def conflicts_with(self, other): method to_pod (line 479) | def to_pod(self): class ID (line 483) | class ID(str): method merge_with (line 485) | def merge_with(self, other): method merge_into (line 488) | def merge_into(self, other): class obj_dict (line 492) | class obj_dict(MutableMapping): method from_pod (line 502) | def from_pod(pod): method __init__ (line 506) | def __init__(self, values=None, not_in_dict=None): method to_pod (line 510) | def to_pod(self): method __getitem__ (line 513) | def __getitem__(self, key): method __setitem__ (line 519) | def __setitem__(self, key, value): method __delitem__ (line 522) | def __delitem__(self, key): method __len__ (line 525) | def __len__(self): method __iter__ (line 528) | def __iter__(self): method __repr__ (line 533) | def __repr__(self): method __str__ (line 536) | def __str__(self): method __setattr__ (line 539) | def __setattr__(self, name, value): method __delattr__ (line 542) | def __delattr__(self, name): method __getattr__ (line 548) | def __getattr__(self, name): class level (line 558) | class level(object): method from_pod (line 566) | def from_pod(pod): method __init__ (line 570) | def __init__(self, name, value): method to_pod (line 574) | def to_pod(self): method __str__ (line 577) | def __str__(self): method __repr__ (line 580) | def __repr__(self): method __hash__ (line 583) | def __hash__(self): method __eq__ (line 586) | def __eq__(self, other): method __lt__ (line 594) | def __lt__(self, other): method __ne__ (line 602) | def __ne__(self, other): class _EnumMeta (line 611) | class _EnumMeta(type): method __str__ (line 613) | def __str__(cls): method __getattr__ (line 616) | def __getattr__(cls, name): function enum (line 622) | def enum(args, start=0, step=1): class ParameterDict (line 691) | class ParameterDict(dict): method _get_prefix (line 701) | def _get_prefix(obj): method _encode (line 718) | def _encode(obj): method _decode (line 734) | def _decode(string): method __init__ (line 757) | def __init__(self, *args, **kwargs): method __setitem__ (line 762) | def __setitem__(self, name, value): method __getitem__ (line 765) | def __getitem__(self, name): method __contains__ (line 768) | def __contains__(self, item): method __iter__ (line 771) | def __iter__(self): method iteritems (line 774) | def iteritems(self): method get (line 777) | def get(self, name): method pop (line 780) | def pop(self, key): method popitem (line 783) | def popitem(self): method iter_encoded_items (line 787) | def iter_encoded_items(self): method get_encoded_value (line 790) | def get_encoded_value(self, name): method values (line 793) | def values(self): method update (line 796) | def update(self, *args, **kwargs): class cpu_mask (line 802) | class cpu_mask(object): method from_pod (line 810) | def from_pod(pod): method __init__ (line 813) | def __init__(self, cpus): method __bool__ (line 830) | def __bool__(self): method __repr__ (line 836) | def __repr__(self): method list (line 841) | def list(self): method mask (line 845) | def mask(self, prefix=True): method ranges (line 852) | def ranges(self): method to_pod (line 856) | def to_pod(self): FILE: wa/workloads/adobereader/__init__.py class AdobeReader (line 23) | class AdobeReader(ApkUiautoWorkload): method __init__ (line 66) | def __init__(self, target, **kwargs): method init_resources (line 73) | def init_resources(self, context): method setup (line 81) | def setup(self, context): FILE: wa/workloads/adobereader/uiauto/app/src/main/java/com/arm/wa/uiauto/adobereader/UiAutomation.java class UiAutomation (line 47) | @RunWith(AndroidJUnit4.class) method initialize (line 59) | @Before method setup (line 67) | @Test method runWorkload (line 72) | @Test method teardown (line 80) | @Test method runApplicationSetup (line 85) | public void runApplicationSetup() throws Exception { method getLaunchCommand (line 91) | public String getLaunchCommand() { method setWorkloadParameters (line 98) | public void setWorkloadParameters(Bundle workload_parameters) { method getLaunchEndObject (line 104) | public UiObject getLaunchEndObject() { method dismissWelcomeView (line 112) | private void dismissWelcomeView() throws Exception { method openFile (line 172) | private void openFile(final String filename) throws Exception { method findFileObject (line 190) | private UiObject findFileObject(String filename) throws Exception { method gesturesTest (line 252) | private void gesturesTest() throws Exception { method searchPdfTest (line 306) | private void searchPdfTest(final String[] searchStrings) throws Except... method exitDocument (line 357) | private void exitDocument() throws Exception { FILE: wa/workloads/aitutu/__init__.py class Aitutu (line 21) | class Aitutu(ApkUiautoWorkload): method __init__ (line 45) | def __init__(self, target, **kwargs): method update_output (line 49) | def update_output(self, context): FILE: wa/workloads/aitutu/uiauto/app/src/main/java/com/arm/wa/uiauto/aitutu/UiAutomation.java class UiAutomation (line 39) | @RunWith(AndroidJUnit4.class) method setup (line 44) | @Test method runWorkload (line 50) | @Test method extractResults (line 55) | @Test method clearPopups (line 60) | public void clearPopups() throws Exception { method downloadAssets (line 79) | public void downloadAssets() throws Exception { method runBenchmark (line 92) | public void runBenchmark() throws Exception { method getScores (line 103) | public void getScores() throws Exception { FILE: wa/workloads/androbench/__init__.py class Androbench (line 21) | class Androbench(ApkUiautoWorkload): method update_output (line 42) | def update_output(self, context): FILE: wa/workloads/androbench/uiauto/app/src/main/java/com/arm/wa/uiauto/androbench/UiAutomation.java class UiAutomation (line 39) | @RunWith(AndroidJUnit4.class) method setup (line 44) | @Test method dismissPermissions (line 50) | @Test method runWorkload (line 60) | @Test method extractResults (line 65) | @Test method runBenchmark (line 70) | public void runBenchmark() throws Exception { method getScores (line 93) | public void getScores() throws Exception { FILE: wa/workloads/angrybirds_rio/__init__.py class AngryBirdsRio (line 20) | class AngryBirdsRio(ApkReventWorkload): FILE: wa/workloads/antutu/__init__.py class Antutu (line 22) | class Antutu(ApkUiautoWorkload): method __init__ (line 114) | def __init__(self, device, **kwargs): method initialize (line 118) | def initialize(self, context): method setup (line 126) | def setup(self, context): method extract_scores (line 130) | def extract_scores(self, context, regex_version): method update_output (line 176) | def update_output(self, context): class AntutuBDP (line 188) | class AntutuBDP(ApkWorkload): method initialize (line 203) | def initialize(self, context): method setup (line 212) | def setup(self, context): method run (line 228) | def run(self, context): method update_output (line 246) | def update_output(self, context): method teardown (line 251) | def teardown(self, context): FILE: wa/workloads/antutu/uiauto/app/src/main/java/com/arm/wa/uiauto/antutu/UiAutomation.java class UiAutomation (line 38) | @RunWith(AndroidJUnit4.class) method initialize (line 48) | @Before method setup (line 54) | @Test method runWorkload (line 60) | @Test method extractResults (line 66) | @Test method hitTest (line 77) | public void hitTest() throws Exception { method clearPopups (line 84) | public void clearPopups() throws Exception { method waitforCompletion (line 100) | public void waitforCompletion() throws Exception { method getScoresv7 (line 106) | public void getScoresv7() throws Exception { method getScoresv8 (line 168) | public void getScoresv8() throws Exception { method getScoresv9 (line 278) | public void getScoresv9() throws Exception { FILE: wa/workloads/apache.py class ApacheBenchmark (line 29) | class ApacheBenchmark(Workload): method initialize (line 71) | def initialize(self, context): method setup (line 83) | def setup(self, context): method run (line 92) | def run(self, context): method extract_results (line 96) | def extract_results(self, context): method update_output (line 102) | def update_output(self, context): # pylint: disable=too-many-locals function get_line (line 139) | def get_line(fh, text): FILE: wa/workloads/applaunch/__init__.py class Applaunch (line 21) | class Applaunch(ApkUiautoWorkload): method init_resources (line 92) | def init_resources(self, context): method pass_parameters (line 105) | def pass_parameters(self): method setup (line 116) | def setup(self, context): method finalize (line 122) | def finalize(self, context): FILE: wa/workloads/applaunch/uiauto/app/src/main/java/com/arm/wa/uiauto/applaunch/UiAutomation.java class UiAutomation (line 38) | @RunWith(AndroidJUnit4.class) method initialize (line 56) | @Before method setup (line 105) | @Test method runWorkload (line 113) | @Test method teardown (line 125) | @Test method runApplaunchIteration (line 134) | public void runApplaunchIteration(Integer iteration_count) throws Exce... class AppLaunch (line 151) | private class AppLaunch { method AppLaunch (line 158) | public AppLaunch(String testTag, String launchCommand) { method startLaunch (line 165) | public void startLaunch() throws Exception{ method launchMain (line 171) | public void launchMain() throws Exception{ method launchValidate (line 177) | public void launchValidate(Process launch_p) throws Exception { method endLaunch (line 186) | public void endLaunch() throws Exception{ method closeApplication (line 194) | public void closeApplication() throws Exception{ method killApplication (line 205) | public void killApplication() throws Exception{ method killBackground (line 214) | public void killBackground() throws Exception{ method dropCaches (line 222) | public void dropCaches() throws Exception{ FILE: wa/workloads/benchmarkpi/__init__.py class BenchmarkPi (line 22) | class BenchmarkPi(ApkUiautoWorkload): method update_output (line 51) | def update_output(self, context): FILE: wa/workloads/benchmarkpi/uiauto/app/src/main/java/com/arm/wa/uiauto/benchmarkpi/UiAutomation.java class UiAutomation (line 31) | @RunWith(AndroidJUnit4.class) method setup (line 39) | @Test method runWorkload (line 44) | @Test method extractResults (line 50) | @Test method startTest (line 58) | public void startTest() throws Exception{ method waitForResults (line 65) | public void waitForResults() throws Exception{ FILE: wa/workloads/chrome/__init__.py class Chrome (line 20) | class Chrome(ApkUiautoWorkload): method requires_network (line 65) | def requires_network(self): method requires_rerun (line 69) | def requires_rerun(self): method __init__ (line 73) | def __init__(self, target, **kwargs): method initialize (line 79) | def initialize(self, context): method setup_rerun (line 84) | def setup_rerun(self): FILE: wa/workloads/chrome/uiauto/app/src/main/java/com/arm/wa/uiauto/UiAutomation.java class UiAutomation (line 40) | @RunWith(AndroidJUnit4.class) method initialize (line 48) | @Before method setup (line 54) | @Test method navigateToPage (line 60) | public void navigateToPage(String url, boolean from_new_tab) throws Ex... method newTab (line 78) | public void newTab() throws Exception { method followTextLink (line 102) | public void followTextLink(String text) throws Exception { method runWorkload (line 108) | @Test method teardown (line 151) | @Test method runApplicationSetup (line 156) | public void runApplicationSetup() throws Exception { method getLaunchEndObject (line 173) | public UiObject getLaunchEndObject() { method getLaunchCommand (line 178) | public String getLaunchCommand() { method setWorkloadParameters (line 183) | public void setWorkloadParameters(Bundle workload_parameters) { FILE: wa/workloads/deepbench/__init__.py class Deepbench (line 27) | class Deepbench(Workload): method initialize (line 92) | def initialize(self, context): method setup (line 101) | def setup(self, context): method run (line 104) | def run(self, context): method extract_results (line 113) | def extract_results(self, context): method update_output (line 120) | def update_output(self, context): method finalize (line 137) | def finalize(self, context): function numeric_best_effort (line 144) | def numeric_best_effort(value): function read_result_table (line 151) | def read_result_table(filepath): FILE: wa/workloads/dhrystone/__init__.py class Dhrystone (line 26) | class Dhrystone(Workload): method initialize (line 77) | def initialize(self, context): method setup (line 82) | def setup(self, context): method run (line 103) | def run(self, context): method extract_results (line 113) | def extract_results(self, context): method update_output (line 120) | def update_output(self, context): method finalize (line 155) | def finalize(self, context): method validate (line 159) | def validate(self): FILE: wa/workloads/dhrystone/src/dhrystone.c type Enumeration (line 448) | typedef int Enumeration; type Enumeration (line 450) | typedef enum {Ident1, Ident2, Ident3, Ident4, Ident5} Enumeration; type OneToThirty (line 453) | typedef int OneToThirty; type OneToFifty (line 454) | typedef int OneToFifty; type CapitalLetter (line 455) | typedef char CapitalLetter; type Record (line 460) | struct Record type RecordType (line 469) | typedef struct Record RecordType; type RecordType (line 470) | typedef RecordType * RecordPtr; type boolean (line 471) | typedef int boolean; type tms (line 660) | struct tms type rusage (line 668) | struct rusage type rusage (line 669) | struct rusage type timeval (line 670) | struct timeval function Enumeration (line 899) | Enumeration Func1(CharPar1, CharPar2) function boolean (line 914) | boolean Func2(StrParI1, StrParI2) function boolean (line 944) | boolean Func3(EnumParIn) FILE: wa/workloads/drarm/__init__.py class DrArm (line 23) | class DrArm(ApkWorkload): method apk_arguments (line 62) | def apk_arguments(self): method run (line 85) | def run(self, context): method update_output (line 88) | def update_output(self, context): FILE: wa/workloads/exoplayer/__init__.py class ExoPlayer (line 54) | class ExoPlayer(ApkWorkload): method validate (line 117) | def validate(self): method _find_host_video_file (line 124) | def _find_host_video_file(self): method init_resources (line 159) | def init_resources(self, context): # pylint: disable=unused-argument method setup (line 167) | def setup(self, context): method run (line 187) | def run(self, context): method update_output (line 213) | def update_output(self, context): method teardown (line 225) | def teardown(self, context): FILE: wa/workloads/geekbench/__init__.py class Geekbench (line 30) | class Geekbench(ApkUiautoWorkload): method initialize (line 87) | def initialize(self, context): method setup (line 99) | def setup(self, context): method update_output (line 103) | def update_output(self, context): method validate (line 110) | def validate(self): method update_result_2 (line 114) | def update_result_2(self, context): method update_result_3 (line 119) | def update_result_3(self, context): method update_result (line 141) | def update_result(self, context): class GBWorkload (line 170) | class GBWorkload(object): method __init__ (line 189) | def __init__(self, wlid, name, pmac_g5_st_score, pmac_g5_mt_score): method add_result (line 206) | def add_result(self, value, units): method convert_to_kilo (line 209) | def convert_to_kilo(self, value, units): method clear (line 212) | def clear(self): method get_scores (line 215) | def get_scores(self): method _calculate (line 238) | def _calculate(self, values, scale_factor): method __str__ (line 241) | def __str__(self): class GBScoreCalculator (line 247) | class GBScoreCalculator(object): method __init__ (line 290) | def __init__(self): method parse (line 293) | def parse(self, filepath): method update_results (line 314) | def update_results(self, context): class GeekbenchCorproate (line 359) | class GeekbenchCorproate(Geekbench): # pylint: disable=too-many-ancestors function namemify (line 372) | def namemify(basename, i): class GeekbenchCmdline (line 376) | class GeekbenchCmdline(Workload): method __init__ (line 474) | def __init__(self, target, **kwargs): method init_resources (line 486) | def init_resources(self, context): method initialize (line 510) | def initialize(self, context): method setup (line 525) | def setup(self, context): method run (line 564) | def run(self, context): method update_output (line 576) | def update_output(self, context): method extract_results (line 594) | def extract_results(self, context): method finalize (line 601) | def finalize(self, context): FILE: wa/workloads/geekbench/uiauto/app/src/main/java/com/arm/wa/uiauto/geekbench/UiAutomation.java class UiAutomation (line 37) | @RunWith(AndroidJUnit4.class) method initialize (line 51) | @Before method setup (line 62) | @Test method runWorkload (line 72) | @Test method dismissEula (line 118) | public void dismissEula() throws Exception { method runBenchmarks (line 129) | public void runBenchmarks() throws Exception { method runCpuBenchmarks (line 139) | public void runCpuBenchmarks(boolean isCorporate) throws Exception { method waitForResultsv2 (line 155) | public void waitForResultsv2() throws Exception { method waitForResultsv3onwards (line 163) | public void waitForResultsv3onwards() throws Exception { method scrollThroughResults (line 173) | public void scrollThroughResults() throws Exception { method shareResults (line 184) | public void shareResults() throws Exception { method scrollPage (line 194) | public void scrollPage() throws Exception { FILE: wa/workloads/gfxbench/__init__.py class Gfxbench (line 21) | class Gfxbench(ApkUiautoWorkload): method __init__ (line 58) | def __init__(self, target, **kwargs): method update_output (line 64) | def update_output(self, context): class GfxbenchCorporate (line 105) | class GfxbenchCorporate(Gfxbench): # pylint: disable=too-many-ancestors FILE: wa/workloads/gfxbench/uiauto/app/src/main/java/com/arm/wa/uiauto/gfxbench/UiAutomation.java class UiAutomation (line 37) | @RunWith(AndroidJUnit4.class) method initialize (line 49) | @Before method setup (line 57) | @Test method runWorkload (line 96) | @Test method extractResults (line 101) | @Test method teardown (line 106) | @Test method clearFirstRun (line 111) | public void clearFirstRun() throws Exception { method runBenchmark (line 139) | public void runBenchmark() throws Exception { method getScores (line 156) | public void getScores() throws Exception { method toggleTest (line 189) | public void toggleTest(String testname) throws Exception { FILE: wa/workloads/glbenchmark/__init__.py class Glb (line 36) | class Glb(ApkUiautoWorkload): method initialize (line 108) | def initialize(self, context): method update_output (line 125) | def update_output(self, context): FILE: wa/workloads/glbenchmark/uiauto/app/src/main/java/com/arm/wa/uiauto/glbenchmark/UiAutomation.java class UiAutomation (line 36) | @RunWith(AndroidJUnit4.class) method initialize (line 49) | @Before method setup (line 58) | @Test method runWorkload (line 64) | @Test method extractResults (line 70) | @Test method goToPreformanceTestsMenu (line 75) | public void goToPreformanceTestsMenu() throws Exception { method selectUseCase (line 82) | public void selectUseCase(String version, String useCase, String type)... method hitStart (line 121) | public void hitStart() throws Exception { method waitForResults (line 127) | public void waitForResults(String version, String useCase, int timeout... method extractBenchmarkResults (line 156) | public void extractBenchmarkResults() throws Exception { FILE: wa/workloads/gmail/__init__.py class Gmail (line 22) | class Gmail(ApkUiautoWorkload): method requires_network (line 71) | def requires_network(self): method requires_rerun (line 75) | def requires_rerun(self): method __init__ (line 79) | def __init__(self, target, **kwargs): method initialize (line 86) | def initialize(self, context): method init_resources (line 91) | def init_resources(self, context): method setup_rerun (line 104) | def setup_rerun(self): FILE: wa/workloads/gmail/uiauto/app/src/main/java/com/arm/wa/uiauto/gmail/UiAutomation.java class UiAutomation (line 36) | @RunWith(AndroidJUnit4.class) method initialize (line 49) | @Before method setup (line 59) | @Test method runWorkload (line 65) | @Test method teardown (line 75) | @Test method runApplicationSetup (line 80) | public void runApplicationSetup() throws Exception { method getLaunchEndObject (line 85) | public UiObject getLaunchEndObject() { method getLaunchCommand (line 92) | public String getLaunchCommand() { method setWorkloadParameters (line 99) | public void setWorkloadParameters(Bundle workload_parameters) { method clearFirstRunDialogues (line 104) | public void clearFirstRunDialogues() throws Exception { method clickNewMail (line 205) | public void clickNewMail() throws Exception { method attachImage (line 217) | public void attachImage() throws Exception { method setToField (line 296) | public void setToField(String recipient) throws Exception { method setSubjectField (line 311) | public void setSubjectField() throws Exception { method setComposeField (line 324) | public void setComposeField() throws Exception { method clickSendButton (line 343) | public void clickSendButton() throws Exception { FILE: wa/workloads/googlemaps/__init__.py class GoogleMaps (line 19) | class GoogleMaps(ApkUiautoWorkload): method requires_network (line 55) | def requires_network(self): method requires_rerun (line 59) | def requires_rerun(self): method __init__ (line 63) | def __init__(self, target, **kwargs): method initialize (line 69) | def initialize(self, context): method init_resources (line 74) | def init_resources(self, context): method setup_rerun (line 78) | def setup_rerun(self): FILE: wa/workloads/googlemaps/uiauto/app/src/main/java/com/arm/wa/uiauto/UiAutomation.java class UiAutomation (line 42) | @RunWith(AndroidJUnit4.class) method initialize (line 51) | @Before method setup (line 58) | @Test method runWorkload (line 64) | @Test method search (line 123) | public void search(String query, String box) throws Exception { method selectSearchResultContaining (line 137) | public void selectSearchResultContaining(String str) throws Exception { method getDirectionsFromLocation (line 146) | public void getDirectionsFromLocation() throws Exception { method dismissLocationTutorial (line 154) | public void dismissLocationTutorial() throws Exception { method viewRouteSteps (line 162) | public void viewRouteSteps() throws Exception { method previewRoute (line 170) | public void previewRoute() throws Exception { method previewNextRouteStep (line 175) | public void previewNextRouteStep() throws Exception { method teardown (line 180) | @Test method runApplicationSetup (line 185) | public void runApplicationSetup() throws Exception { FILE: wa/workloads/googlephotos/__init__.py class Googlephotos (line 24) | class Googlephotos(ApkUiautoWorkload): method __init__ (line 62) | def __init__(self, target, **kwargs): method init_resources (line 66) | def init_resources(self, context): method deploy_assets (line 73) | def deploy_assets(self, context): method remove_assets (line 97) | def remove_assets(self, context): FILE: wa/workloads/googlephotos/uiauto/app/src/main/java/com/arm/wa/uiauto/googlephotos/UiAutomation.java class UiAutomation (line 47) | @RunWith(AndroidJUnit4.class) method initialize (line 55) | @Before method setup (line 61) | @Test method runWorkload (line 66) | @Test method teardown (line 91) | @Test method runApplicationSetup (line 98) | public void runApplicationSetup() throws Exception { method getLaunchCommand (line 109) | public String getLaunchCommand() { method setWorkloadParameters (line 116) | public void setWorkloadParameters(Bundle workload_parameters) { method getLaunchEndObject (line 122) | public UiObject getLaunchEndObject() { method dismissWelcomeView (line 128) | public void dismissWelcomeView() throws Exception { method closePromotionPopUp (line 172) | public void closePromotionPopUp() throws Exception { method closeMissingOutPopUp (line 180) | public void closeMissingOutPopUp() throws Exception { method selectFirstImage (line 189) | public void selectFirstImage() throws Exception { method closeAndReturn (line 210) | public void closeAndReturn(final boolean dontsave) throws Exception { method navigateUp (line 239) | public void navigateUp() throws Exception { method gesturesTest (line 249) | private void gesturesTest() throws Exception { type Position (line 288) | public enum Position { LEFT, RIGHT, CENTRE } class PositionPair (line 290) | private class PositionPair { method PositionPair (line 294) | PositionPair(final Position start, final Position end) { method editPhotoColorTest (line 300) | private void editPhotoColorTest() throws Exception { method cropPhotoTest (line 361) | private void cropPhotoTest() throws Exception { method rotatePhotoTest (line 393) | private void rotatePhotoTest() throws Exception { method clickCropRotateButton (line 413) | private void clickCropRotateButton() throws Exception { method seekBarTest (line 427) | private void seekBarTest(final UiObject view, final Position start, fi... method slideBarTest (line 466) | private void slideBarTest(final UiObject view, final Position pos, fin... FILE: wa/workloads/googleplaybooks/__init__.py class Googleplaybooks (line 19) | class Googleplaybooks(ApkUiautoWorkload): method init_resources (line 91) | def init_resources(self, context): FILE: wa/workloads/googleplaybooks/uiauto/app/src/main/java/com/arm/wa/uiauto/googleplaybooks/UiAutomation.java class UiAutomation (line 50) | @RunWith(AndroidJUnit4.class) method initialize (line 65) | @Before method setup (line 79) | @Test method runWorkload (line 92) | @Test method teardown (line 105) | @Test method runApplicationSetup (line 112) | public void runApplicationSetup() throws Exception { method getLaunchCommand (line 121) | public String getLaunchCommand() { method setWorkloadParameters (line 128) | public void setWorkloadParameters(Bundle workload_parameters) { method getLaunchEndObject (line 134) | public UiObject getLaunchEndObject() { method chooseAccount (line 144) | private void chooseAccount(String account) throws Exception { method clearFirstRunDialogues (line 175) | private void clearFirstRunDialogues() throws Exception { method dismissSendBooksAsGiftsDialog (line 199) | private void dismissSendBooksAsGiftsDialog() throws Exception { method dismissSync (line 207) | private void dismissSync() throws Exception { method searchForBook (line 217) | private void searchForBook(final String bookTitle) throws Exception { method addToLibrary (line 277) | private void addToLibrary() throws Exception { method openMyLibrary (line 306) | private void openMyLibrary() throws Exception { method openBook (line 337) | private void openBook(final String bookTitle) throws Exception { method createPopUpWatcher (line 373) | private UiWatcher createPopUpWatcher() throws Exception { method selectChapter (line 398) | private void selectChapter(final int chapterPageNumber) throws Excepti... method gesturesTest (line 415) | private void gesturesTest() throws Exception { method addNote (line 459) | private void addNote(final String text) throws Exception { method removeNote (line 493) | private void removeNote() throws Exception { method searchForWord (line 520) | private void searchForWord(final String text) throws Exception { method switchPageStyles (line 559) | private void switchPageStyles() throws Exception { method aboutBook (line 597) | private void aboutBook(final String bookTitle) throws Exception { method waitForPage (line 621) | private UiObject waitForPage() throws Exception { method getDropdownMenu (line 640) | private void getDropdownMenu() throws Exception { method hideDropDownMenu (line 673) | private void hideDropDownMenu() throws Exception { method searchPage (line 686) | private UiObject searchPage(final UiObject view, final int pagenum, fi... method dismissNightLight (line 708) | private void dismissNightLight() throws Exception { FILE: wa/workloads/googleslides/__init__.py class GoogleSlides (line 22) | class GoogleSlides(ApkUiautoWorkload): method __init__ (line 103) | def __init__(self, target, **kwargs): method init_resources (line 108) | def init_resources(self, context): FILE: wa/workloads/googleslides/uiauto/app/src/main/java/com/arm/wa/uiauto/googleslides/UiAutomation.java class UiAutomation (line 42) | @RunWith(AndroidJUnit4.class) method initialize (line 59) | @Before method setup (line 71) | @Test method runWorkload (line 86) | @Test method teardown (line 94) | @Test method dismissWorkOfflineBanner (line 99) | public void dismissWorkOfflineBanner() throws Exception { method dismissUpdateDialog (line 107) | public void dismissUpdateDialog() throws Exception { method enterTextInSlide (line 115) | public void enterTextInSlide(String viewName, String textToEnter) thro... method insertSlide (line 132) | public void insertSlide(String slideLayout) throws Exception { method insertImage (line 157) | public void insertImage(String workingDirectoryName) throws Exception { method insertShape (line 214) | public void insertShape(String shapeName) throws Exception { method modifyShape (line 232) | public void modifyShape(String shapeName) throws Exception { method openDocument (line 257) | public void openDocument(String docName, String workingDirectoryName) ... method newDocument (line 312) | public void newDocument() throws Exception { method saveDocument (line 322) | public void saveDocument(String docName) throws Exception { method deleteDocument (line 366) | public void deleteDocument(String docName) throws Exception { method skipWelcomeScreen (line 420) | protected void skipWelcomeScreen() throws Exception { method enablePowerpointCompat (line 428) | protected void enablePowerpointCompat() throws Exception { method testEditNewSlidesDocument (line 442) | protected void testEditNewSlidesDocument(String docName, String workin... method testSlideshowFromStorage (line 488) | protected void testSlideshowFromStorage(int slideCount) throws Excepti... method waitForProgress (line 577) | protected boolean waitForProgress(int timeout) throws Exception { method changeAckTimeout (line 586) | private long changeAckTimeout(long newTimeout) { method tapOpenArea (line 593) | private void tapOpenArea() throws Exception { method windowApplication (line 600) | public void windowApplication() throws Exception { method showRoots (line 608) | private void showRoots() throws Exception { FILE: wa/workloads/hackbench/__init__.py class Hackbench (line 36) | class Hackbench(Workload): method initialize (line 64) | def initialize(self, context): method setup (line 68) | def setup(self, context): method run (line 75) | def run(self, context): method extract_results (line 78) | def extract_results(self, context): method update_output (line 83) | def update_output(self, context): method teardown (line 92) | def teardown(self, context): method finalize (line 97) | def finalize(self, context): FILE: wa/workloads/homescreen/__init__.py class HomeScreen (line 21) | class HomeScreen(Workload): method setup (line 36) | def setup(self, context): method run (line 40) | def run(self, context): FILE: wa/workloads/honorofkings/__init__.py class HoK (line 21) | class HoK(ApkReventWorkload): method setup (line 50) | def setup(self, context): FILE: wa/workloads/hwuitest/__init__.py class HWUITest (line 31) | class HWUITest(Workload): method __init__ (line 59) | def __init__(self, target, *args, **kwargs): method initialize (line 64) | def initialize(self, context): method run (line 70) | def run(self, context): method extract_results (line 77) | def extract_results(self, context): method update_output (line 85) | def update_output(self, context): method finalize (line 122) | def finalize(self, context): FILE: wa/workloads/idle.py class IdleWorkload (line 21) | class IdleWorkload(Workload): method initialize (line 53) | def initialize(self, context): method setup (line 64) | def setup(self, context): method run (line 72) | def run(self, context): method teardown (line 81) | def teardown(self, context): FILE: wa/workloads/jankbench/__init__.py class Jankbench (line 38) | class Jankbench(ApkWorkload): method setup (line 92) | def setup(self, context): method run (line 107) | def run(self, context): method extract_results (line 116) | def extract_results(self, context): method update_output (line 125) | def update_output(self, context): # NOQA method extract_metrics_from_db (line 132) | def extract_metrics_from_db(self, context): # pylint: disable=no-self... method extract_metrics_from_logcat (line 153) | def extract_metrics_from_logcat(self, context): method _build_command (line 189) | def _build_command(self): class JankbenchRunMonitor (line 201) | class JankbenchRunMonitor(threading.Thread): method __init__ (line 205) | def __init__(self, device): method run (line 217) | def run(self): method stop (line 231) | def stop(self): method wait_for_run_end (line 235) | def wait_for_run_end(self, timeout): FILE: wa/workloads/lmbench/__init__.py class Lmbench (line 25) | class Lmbench(Workload): method setup (line 92) | def setup(self, context): method run (line 106) | def run(self, context): method extract_results (line 111) | def extract_results(self, context): method teardown (line 119) | def teardown(self, context): method _setup_lat_mem_rd (line 126) | def _setup_lat_mem_rd(self): method _setup_bw_mem (line 139) | def _setup_bw_mem(self): method _setup_common (line 150) | def _setup_common(self): FILE: wa/workloads/manual/__init__.py class ManualWorkload (line 22) | class ManualWorkload(Workload): method validate (line 65) | def validate(self): method setup (line 77) | def setup(self, context): method run (line 85) | def run(self, context): FILE: wa/workloads/meabo/__init__.py class Meabo (line 29) | class Meabo(Workload): method validate (line 236) | def validate(self): method initialize (line 241) | def initialize(self, context): method setup (line 245) | def setup(self, context): method run (line 248) | def run(self, context): method update_output (line 252) | def update_output(self, context): method finalize (line 285) | def finalize(self, context): method _build_command (line 289) | def _build_command(self): method _install_executable (line 311) | def _install_executable(self, context): method _uninstall_executable (line 317) | def _uninstall_executable(self): FILE: wa/workloads/memcpy/__init__.py class Memcpy (line 32) | class Memcpy(Workload): method initialize (line 66) | def initialize(self, context): method setup (line 72) | def setup(self, context): method run (line 78) | def run(self, context): method extract_results (line 81) | def extract_results(self, context): method finalize (line 88) | def finalize(self, context): FILE: wa/workloads/memcpy/src/memcopy.c function set_affinity (line 31) | int set_affinity(size_t cpus_size, int* cpus) function main (line 44) | int main(int argc, char** argv) FILE: wa/workloads/mongoperf/__init__.py class Mongoperf (line 26) | class Mongoperf(Workload): method validate (line 97) | def validate(self): method initialize (line 104) | def initialize(self, context): method setup (line 110) | def setup(self, context): method run (line 125) | def run(self, context): method extract_results (line 130) | def extract_results(self, context): method update_output (line 135) | def update_output(self, context): method teardown (line 156) | def teardown(self, context): FILE: wa/workloads/motionmark/__init__.py class Motionmark (line 24) | class Motionmark(UiautoWorkload): method __init__ (line 52) | def __init__(self, target, **kwargs): method setup (line 56) | def setup(self, context): method update_output (line 60) | def update_output(self, context): FILE: wa/workloads/motionmark/uiauto/app/src/main/java/com/arm/wa/uiauto/motionmark/UiAutomation.java class UiAutomation (line 35) | @RunWith(AndroidJUnit4.class) method initialize (line 43) | @Before method setup (line 48) | @Test method runWorkload (line 53) | @Test method teardown (line 58) | @Test method clearFirstRun (line 64) | public void clearFirstRun() throws Exception { method runBenchmark (line 78) | public void runBenchmark() throws Exception { method clearTabs (line 172) | public void clearTabs() throws Exception { FILE: wa/workloads/openssl/__init__.py class Openssl (line 33) | class Openssl(Workload): method initialize (line 70) | def initialize(self, context): method setup (line 88) | def setup(self, context): method run (line 96) | def run(self, context): method extract_results (line 99) | def extract_results(self, context): method update_output (line 108) | def update_output(self, context): method finalize (line 158) | def finalize(self, context): FILE: wa/workloads/pcmark/__init__.py class PcMark (line 24) | class PcMark(ApkUiautoWorkload): method __init__ (line 68) | def __init__(self, target, **kwargs): method initialize (line 72) | def initialize(self, context): method extract_results (line 76) | def extract_results(self, context): method update_output (line 89) | def update_output(self, context): FILE: wa/workloads/pcmark/uiauto/app/src/main/java/com/arm/wa/uiauto/pcmark/UiAutomation.java class UiAutomation (line 34) | @RunWith(AndroidJUnit4.class) method initialize (line 42) | @Before method setup (line 47) | @Test method runWorkload (line 56) | @Test method teardown (line 61) | @Test method clearPopups (line 66) | private void clearPopups() throws Exception{ method loadBenchmarks (line 83) | private void loadBenchmarks() throws Exception { method installBenchmark (line 102) | private void installBenchmark() throws Exception { method runBenchmark (line 141) | private void runBenchmark() throws Exception { FILE: wa/workloads/recentfling/__init__.py class Recentfling (line 26) | class Recentfling(Workload): method initialize (line 69) | def initialize(self, context): # pylint: disable=no-self-use method setup (line 79) | def setup(self, context): method run (line 93) | def run(self, context): method update_output (line 101) | def update_output(self, context): method finalize (line 121) | def finalize(self, context): method _kill_recentfling (line 125) | def _kill_recentfling(self): FILE: wa/workloads/rt_app/__init__.py class RtApp (line 40) | class RtApp(Workload): method initialize (line 147) | def initialize(self, context): method setup (line 159) | def setup(self, context): method run (line 171) | def run(self, context): method update_output (line 179) | def update_output(self, context): method finalize (line 215) | def finalize(self, context): method _deploy_rt_app_binary_if_necessary (line 221) | def _deploy_rt_app_binary_if_necessary(self): method _load_json_config (line 231) | def _load_json_config(self, context): method _get_raw_json_config (line 250) | def _get_raw_json_config(self, resolver): method _generate_workgen_config (line 258) | def _generate_workgen_config(self, user_file, output_directory): method _update_rt_app_config (line 272) | def _update_rt_app_config(self, config_data): method _pull_rt_app_logs (line 279) | def _pull_rt_app_logs(self, context): FILE: wa/workloads/schbench/__init__.py class Schbench (line 35) | class Schbench(Workload): method initialize (line 68) | def initialize(self, context): method setup (line 73) | def setup(self, context): method run (line 85) | def run(self, context): method extract_results (line 89) | def extract_results(self, context): method update_output (line 96) | def update_output(self, context): method finalize (line 107) | def finalize(self, context): FILE: wa/workloads/shellscript/__init__.py class ShellScript (line 24) | class ShellScript(Workload): method initialize (line 46) | def initialize(self, context): method setup (line 57) | def setup(self, context): method run (line 62) | def run(self, context): method extract_results (line 65) | def extract_results(self, context): method teardown (line 69) | def teardown(self, context): FILE: wa/workloads/speedometer/__init__.py class Speedometer (line 35) | class Speedometer(Workload): method __init__ (line 135) | def __init__(self, target, **kwargs): method initialize (line 141) | def initialize(self, context): method setup (line 179) | def setup(self, context): method run (line 248) | def run(self, context): method target_file_was_created (line 273) | def target_file_was_created(self, f): method wait_for_benchmark_to_complete (line 281) | def wait_for_benchmark_to_complete(self, report_end_id): method read_score (line 338) | def read_score(self): method update_output (line 353) | def update_output(self, context): method teardown (line 378) | def teardown(self, context): method finalize (line 397) | def finalize(self, context): class ArchiveServerThread (line 404) | class ArchiveServerThread(threading.Thread): method __init__ (line 407) | def __init__(self, httpd): method run (line 411) | def run(self): class DifferentDirectoryHTTPRequestHandler (line 415) | class DifferentDirectoryHTTPRequestHandler(SimpleHTTPRequestHandler): method translate_path (line 421) | def translate_path(self, path): method log_message (line 429) | def log_message(self, format, *args): class ArchiveServer (line 433) | class ArchiveServer(object): method __init__ (line 434) | def __init__(self): method start (line 437) | def start(self, document_root): method stop (line 448) | def stop(self): method expose_to_device (line 452) | def expose_to_device(self, target): method hide_from_device (line 455) | def hide_from_device(self, target): method get_port (line 458) | def get_port(self): FILE: wa/workloads/stress_ng/__init__.py class StressNg (line 25) | class StressNg(Workload): method initialize (line 79) | def initialize(self, context): method setup (line 87) | def setup(self, context): method run (line 99) | def run(self, context): method extract_results (line 103) | def extract_results(self, context): method update_output (line 114) | def update_output(self, context): method validate (line 128) | def validate(self): method finalize (line 133) | def finalize(self, context): FILE: wa/workloads/sysbench/__init__.py class Sysbench (line 26) | class Sysbench(Workload): method validate (line 95) | def validate(self): method initialize (line 107) | def initialize(self, context): method setup (line 112) | def setup(self, context): method run (line 123) | def run(self, context): method extract_results (line 126) | def extract_results(self, context): method update_output (line 131) | def update_output(self, context): method teardown (line 149) | def teardown(self, context): method finalize (line 154) | def finalize(self, context): method _build_command (line 158) | def _build_command(self, **parameters): function find_line_with (line 173) | def find_line_with(text, fh): function extract_metric (line 181) | def extract_metric(metric, line, output, prefix='', lower_is_better=True): function extract_threads_fairness_metric (line 205) | def extract_threads_fairness_metric(metric, line, output): FILE: wa/workloads/templerun2/__init__.py class TempleRun2 (line 20) | class TempleRun2(ApkReventWorkload): FILE: wa/workloads/the_chase/__init__.py class TheChase (line 20) | class TheChase(ApkWorkload): method run (line 41) | def run(self, context): FILE: wa/workloads/uibench/__init__.py class Uibench (line 18) | class Uibench(ApkWorkload): method run (line 50) | def run(self, context): FILE: wa/workloads/uibenchjanktests/__init__.py class Uibenchjanktests (line 22) | class Uibenchjanktests(ApkWorkload): method __init__ (line 76) | def __init__(self, target, **kwargs): method validate (line 111) | def validate(self): method initialize (line 115) | def initialize(self, context): method run (line 144) | def run(self, context): method update_output (line 165) | def update_output(self, context): method teardown (line 176) | def teardown(self, context): FILE: wa/workloads/vellamo/__init__.py class Vellamo (line 27) | class Vellamo(ApkUiautoWorkload): method setup (line 68) | def setup(self, context): method initialize (line 76) | def initialize(self, context): method update_output (line 85) | def update_output(self, context): method update_output_v3 (line 98) | def update_output_v3(self, context): method update_output_v3_2 (line 128) | def update_output_v3_2(self, context): method non_root_update_output (line 145) | def non_root_update_output(self, context): class VellamoResult (line 165) | class VellamoResult(object): method __init__ (line 167) | def __init__(self, name): method add_metric (line 172) | def add_metric(self, data): class VellamoResultParser (line 182) | class VellamoResultParser(HTMLParser): class StopParsingException (line 184) | class StopParsingException(Exception): method __init__ (line 187) | def __init__(self): method feed (line 196) | def feed(self, data): method handle_starttag (line 202) | def handle_starttag(self, tag, attrs): method handle_endtag (line 210) | def handle_endtag(self, tag): method handle_data (line 219) | def handle_data(self, data): method error (line 234) | def error(self, message): FILE: wa/workloads/vellamo/uiauto/app/src/main/java/com/arm/wa/uiauto/vellamo/UiAutomation.java class UiAutomation (line 37) | @RunWith(AndroidJUnit4.class) method initialize (line 52) | @Before method setup (line 63) | @Test method runWorkload (line 77) | @Test method extractResults (line 100) | @Test method startTest (line 108) | public void startTest() throws Exception { method startBrowserTest (line 122) | public void startBrowserTest(int browserToUse, String version) throws ... method startTestV3 (line 165) | public void startTestV3(int run, String version) throws Exception { method proccessTest (line 210) | public void proccessTest(String metric) throws Exception{ method getScore (line 222) | public void getScore(String metric, String resourceID) throws Exception { method waitForTestCompletion (line 233) | public void waitForTestCompletion(int timeout, String resourceID) thro... method dismissEULA (line 242) | public void dismissEULA() throws Exception { method dissmissWelcomebanner (line 252) | public void dissmissWelcomebanner() throws Exception { method dismissLetsRoll (line 262) | public void dismissLetsRoll() throws Exception { method dismissArrow (line 279) | public void dismissArrow() throws Exception { method dismissNetworkConnectionDialogIfNecessary (line 289) | public void dismissNetworkConnectionDialogIfNecessary() throws Excepti... method dismissExplanationDialogIfNecessary (line 300) | public void dismissExplanationDialogIfNecessary() throws Exception { FILE: wa/workloads/youtube/__init__.py class Youtube (line 20) | class Youtube(ApkUiautoWorkload): method __init__ (line 79) | def __init__(self, device, **kwargs): method validate (line 83) | def validate(self): FILE: wa/workloads/youtube/uiauto/app/src/main/java/com/arm/wa/uiauto/youtube/UiAutomation.java class UiAutomation (line 37) | @RunWith(AndroidJUnit4.class) method initialize (line 52) | @Before method setup (line 58) | @Test method runWorkload (line 64) | @Test method teardown (line 76) | @Test method runApplicationInitialization (line 82) | public void runApplicationInitialization() throws Exception { method getLaunchEndObject (line 88) | public UiObject getLaunchEndObject() { method clearFirstRunDialogues (line 94) | public void clearFirstRunDialogues() throws Exception { method disableAutoplay (line 124) | public void disableAutoplay() throws Exception { method playFirstVideo (line 154) | private void playFirstVideo() throws Exception { method testPlayVideo (line 162) | public void testPlayVideo(String source, String searchTerm) throws Exc... method dismissAdvert (line 213) | public void dismissAdvert() throws Exception { method checkPlayerError (line 226) | public void checkPlayerError() throws Exception { method pausePlayVideo (line 236) | public void pausePlayVideo() throws Exception { method checkVideoInfo (line 245) | public void checkVideoInfo() throws Exception { method scrollRelated (line 257) | public void scrollRelated() throws Exception { FILE: wa/workloads/youtube_playback/__init__.py class YoutubePlayback (line 21) | class YoutubePlayback(ApkWorkload): method setup (line 44) | def setup(self, context): method run (line 49) | def run(self, context):