Home
last modified time | relevance | path

Searched defs:self (Results 1 – 25 of 148) sorted by relevance

123456

/developtools/profiler/test/scripts/testRoot/
Dtest_nativehook.py621 def test_sa(self): argument
625 def test_startup_statistics_sample(self): argument
629 def test_complete_data(self): argument
633 def test_dwarf(self): argument
637 def test_dwarf_stringcompress(self): argument
641 def test_dwarf_stringcompress_callframecompress(self): argument
645 def test_dwarf_offline(self): argument
649 def test_match(self): argument
654 def test_jsreport(self): argument
658 def test_dwarf_jsreport(self): argument
[all …]
/developtools/integration_verification/cases/smoke/basic/screenshot32/new_script/utils/
Ddevice.py25 def __init__(self, sn): argument
35 def hdc_shell(self, cmd): argument
47 def hdc(self, cmd): argument
50 def hdc_version(self): argument
53 def hdc_list_targets(self): argument
59 def install_hap(self, hap_path, replace=True): argument
73 def install_multi_hap(self, hap_list: list): argument
84 def bm_install(self, hap_list: list): argument
95 def uninstall_hap(self, bundle_name): argument
101 def bm_uninstall(self, bundle_name): argument
[all …]
Dlayout.py7 def __init__(self, json_data): argument
10 def parse_attribute_nodes(self, json_obj, attr_list=None): argument
25 def get_elements_by_text(self, text): argument
32 def get_element_by_text(self, text, index=0): argument
38 def assert_text_exist(self, text): argument
44 def get_elements_by_type(self, _type): argument
51 def get_element_by_type(self, _type, index=0): argument
57 def assert_type_exist(self, _type): argument
63 def get_elements_by_key(self, key): argument
70 def get_element_by_key(self, key, index=0): argument
[all …]
/developtools/profiler/device/plugins/ftrace_plugin/tools/
Dftrace_format_parser.py46 def __init__(self, format_path, event_category, event_name): argument
51 def __str__(self): argument
56 def __repr__(self): argument
63 def __init__(self, tid, size=0, signed=False): argument
68 def __str__(self): argument
71 def __repr__(self): argument
74 def to_string(self): argument
94 def __init__(self, event, field, name, offset, size, signed): argument
102 def __str__(self): argument
107 def __repr__(self): argument
[all …]
/developtools/hdc/test/scripts/testModule/
Dtest_hdc_return_value_check.py55 def test_hdc_help(self): argument
80 def test_hdc_version(self): argument
95 def test_hdc_list_targets(self): argument
114 def test_hdc_start(self): argument
124 def test_hdc_target_mount(self): argument
135 def test_hdc_wait(self): argument
145 def test_hdc_target_boot(self): argument
159 def test_hdc_smode(self): argument
171 def test_hdc_tmode(self): argument
182 def test_hdc_file(self): argument
[all …]
Dtest_hdc_ide_interface.py67 def is_ohos(self): # 此项依赖toybox和实际的OS argument
79 def test_target_key(self): argument
86 def test_check_ide_sdk_compatible(self): argument
104 def test_check_sdk_support_bundle_file(self): argument
110 def test_check_daemon_support_bundle_file(self): argument
116 def test_check_software_version(self): argument
124 def test_check_is_hongmeng_os(self): argument
132 def test_check_support_ftp(self): argument
140 def test_check_hiview_service_started(self): argument
145 def test_check_bm_dump_support_options(self): argument
[all …]
Dtest_hdc_file.py41 def test_file_compress(self, local_path, remote_path): argument
59 def test_file_normal(self, local_path, remote_path): argument
68 def test_empty_dir(self): argument
78 def test_long_path(self): argument
88 def test_recv_dir(self): argument
103 def setup_class(self): argument
107 def teardown_class(self): argument
115 def test_mix_file(self, test_item): argument
128 def test_no_exist_path(self, test_item): argument
149 def test_no_exist_path_with_seperate(self, test_item): argument
[all …]
Dtest_hdc_base.py34 def setup_class(self): argument
38 def test_list_targets(self): argument
45 def test_hdcd_rom(self): argument
52 def test_version_cmd(self): argument
58 def test_version_match(self): argument
85 def test_target_key(self): argument
93 def test_target_cmd(self): argument
106 def test_target_mount(self): argument
124 def test_file_switch_off(self): argument
134 def test_file_switch_on(self): argument
Dtest_hdc_install.py39 def test_hap_install(self, package_hap, hap_name_default): argument
47 def test_install_hap(self, package_hap, hap_name_default): argument
67 def test_install_hsp(self, package_hsp, hsp_name_default): argument
74 def test_install_multi_hap(self): argument
85 def test_install_multi_hsp(self): argument
93 def test_install_hsp_and_hap(self): argument
100 def test_install_dir(self): argument
108 def test_install_hsp_not_exist(self): argument
115 def test_install_hap_not_exist(self): argument
122 def test_install_dir_not_exist(self): argument
/developtools/integration_verification/tools/startup_guard/config_parser_mgr/cfg/
Dconfig_parser.py40 def __init__(self, config): argument
44 def create(self, json_node, parent=None, file_id=None): argument
47 def update(self, json_node, parent=None, file_id=None): argument
50 def get_name(self): argument
53 def get(self, key): argument
59 def get_strings_value(self, json_str_array): argument
70 def __init__(self, config): argument
75 def __str__(self): argument
78 def create(self, json_node, parent=None, fileId=None): argument
94 def __init__(self, config): argument
[all …]
/developtools/integration_verification/tools/deps_guard/elf_file_mgr/
Delf_file_mgr.py32 def __init__(self, file, prefix): argument
37 def __eq__(self, other): argument
43 def __repr__(self): argument
46 def __str__(self): argument
49 def depends_on(self, mod): argument
57 def __init__(self, idx, caller, callee): argument
66 def __eq__(self, other): argument
72 def __repr__(self): argument
75 def __str__(self): argument
80 def __init__(self, product_out_path=None, elf_file_class=None, dependence_class=None): argument
[all …]
/developtools/integration_verification/tools/gated_check_in/
Dace_engine_tdd.py24 def __init__(self, root_dir, ace_root): argument
61 def execute(self): argument
85 def parse_build_gn(self, file_path, pattern): argument
101 def extract_gn_block(self, content, start_condition): argument
149 def set_type(self, type, content, file_path): argument
154 def process_file(self, file_path): argument
162 def parse_groups(self, file_path): argument
170 def process_changes(self): argument
193 def generate_output(self): argument
200 def analyze_impact(self, change_files): argument
[all …]
/developtools/hiperf/script/test/
Dtest_utils.py30 def setUp(self): argument
33 def tearDown(self): argument
36 def test_get_lib(self): argument
41 def test_is_elf_file(self): argument
45 def test_remove(self): argument
51 def test_get_hiperf_binary_path(self): argument
57 def test_str_to_bytes(self): argument
61 def test_bytes_to_str(self): argument
65 def test_executable_file_available(self): argument
69 def test_find_tool_path(self): argument
/developtools/hiperf/script/
Dhiperf_utils.py194 def __init__(self, root_authority=True): argument
201 def run_hdc_cmd(self, hdc_args, log_output=True): argument
218 def check_run(self, hdc_args): argument
224 def _not_use_root(self): argument
233 def switch_root(self): argument
251 def get_attribute(self, name): argument
257 def get_device_architecture(self): argument
263 def __init__(self, path, lib_name): argument
270 def __init__(self, device_arch, hdc): argument
279 def get_host_local_libs(self, local_lib_dir): argument
[all …]
Drecv_binary_cache.py33 def __init__(self): argument
39 def recv_binary_cache(self, perf_data, lib_dirs, copy): argument
47 def get_used_binaries(self, perf_data): argument
70 def copy_binaries_from_lib_dirs(self, lib_dirs): argument
83 def get_local_bin_map(self, file_dict): argument
92 def confirm_copy_file(self, root, files, file_dict): argument
108 def copy_to_binary_cache(self, from_path, target_file): argument
121 def recv_binaries_from_device(self): argument
134 def check_and_recv_binary(self, binary, local_cache_file): argument
163 def pull_file_from_device(self, device_path, host_path): argument
[all …]
/developtools/integration_verification/tools/deps_guard/rules_checker/
Dchipsetsdk.py28 def __init__(self, mgr, args): argument
36 def get_white_lists(self): argument
39 def get_out_path(self): argument
42 def load_chipsetsdk_json(self, name): argument
65 def check(self): argument
97 def __parser_rules_file(self, rules_file, res): argument
115 def __is_chipsetsdk_tagged(self, mod): argument
122 def __is_chipsetsdk_indirect(self, mod): argument
129 def __write_innerkits_header_files(self): argument
164 def __check_depends_on_chipsetsdk(self): argument
[all …]
Dchipsetsdk_sp.py28 def __init__(self, mgr, args): argument
35 def get_white_lists(self): argument
38 def get_out_path(self): argument
41 def load_chipsetsdk_json(self, name): argument
64 def check(self): argument
96 def __parser_rules_file(self, rules_file, res): argument
114 def __is_chipsetsdk_sp_tagged(self, mod): argument
121 def __is_chipsetsdk_sp_indirect(self, mod): argument
128 def __write_innerkits_header_files(self): argument
154 def __check_depends_on_chipsetsdk_sp(self): argument
[all …]
Dpassthrough.py28 def __init__(self, mgr, args): argument
35 def get_white_lists(self): argument
38 def get_out_path(self): argument
41 def load_passthrough_json(self, name): argument
64 def check(self): argument
96 def __parser_rules_file(self, rules_file, res): argument
114 def __is_passthrough_tagged(self, mod): argument
121 def __is_passthrough_indirect(self, mod): argument
128 def __write_innerkits_header_files(self): argument
155 def __check_depends_on_passthrough(self): argument
[all …]
Dbase_rule.py26 def __init__(self, mgr, args): argument
31 def load_files(self, name): argument
49 def get_mgr(self): argument
52 def get_white_lists(self): argument
55 def log(self, info): argument
58 def warn(self, info): argument
61 def error(self, info): argument
64 def get_help_url(self): argument
68 def check(self): argument
72 def check_if_deps_correctly(self, check_modules, valid_mod_tags, valid_dep_tags, white_lists): argument
/developtools/hiperf/script/testModule/
Dtest_02_recv_binary_cache.py33 def __init__(self): argument
39 def recv_binary_cache(self, perf_data, lib_dirs, copy): argument
47 def get_used_binaries(self, perf_data): argument
70 def copy_binaries_from_lib_dirs(self, lib_dirs): argument
83 def get_local_bin_map(self, file_dict): argument
92 def confirm_copy_file(self, root, files, file_dict): argument
108 def copy_to_binary_cache(self, from_path, target_file): argument
121 def recv_binaries_from_device(self): argument
134 def check_and_recv_binary(self, binary, local_cache_file): argument
163 def pull_file_from_device(self, device_path, host_path): argument
[all …]
Dhiperf_utils.py295 def __init__(self, root_authority=True): argument
302 def run_hdc_cmd(self, hdc_args, log_output=True): argument
319 def check_run(self, hdc_args): argument
325 def switch_root(self): argument
343 def get_attribute(self, name): argument
349 def get_device_architecture(self): argument
353 def _not_use_root(self): argument
364 def __init__(self, path, lib_name): argument
371 def __init__(self, device_arch, hdc): argument
381 def __get_need_architectures(self, device_arch): argument
[all …]
/developtools/integration_verification/tools/startup_guard/config_parser_mgr/param/
Dsystem_parameter_parser.py23 def __init__(self, prefix, parameter=None): argument
40 def __repr__(self): argument
43 def __str__(self): argument
48 def decode(self, info): argument
54 def __init__(self, prefix, parameter=None): argument
57 def decode(self, info): argument
72 def __init__(self, prefix, parameter=None): argument
75 def decode(self, info): argument
81 def __init__(self): argument
84 def load_parameter_file(self, file_name, delimiter="="): argument
[all …]
/developtools/integration_verification/tools/startup_guard/startup_checker/
Dcmds_rule.py28 def __init__(self, mgr, args): argument
36 def __check__(self): argument
39 def check_config_cmd(self): argument
52 def _get_json_service(self): argument
60 def _get_start_cmds(self, parser): argument
68 def _parse_while_list(self): argument
78 def _check_condition_start_mode(self, cmd_list, service_name, passed): argument
86 def _check_service(self, parser): argument
98 def _check_file_id_in_cmds(self, cmdlist, cmdline): argument
105 def _check_cmdline_in_parser(self, parser): argument
[all …]
Dbase_rule.py26 def __init__(self, mgr, args): argument
32 def __check__(self): argument
36 def __load_files__(self, name): argument
54 def get_mgr(self): argument
57 def get_white_lists(self): argument
60 def log(self, info): argument
63 def warn(self, info): argument
66 def error(self, info): argument
69 def get_help_url(self): argument
/developtools/integration_verification/DeployDevice/src/func/liteOsUpgrade/
DliteOsUpgrade_L3_app.py33 def __init__(self, param_file): argument
38 def excute(self): argument
76 def download(self): argument
128 def excutedown(self, source_path, download_dir, suc_mark, is_file): argument
191 def modifyHttpLink(self,link): argument
207 def upgrade(self): argument
235 def enterTheDevice(self): argument
248 def isFastbootStatus(self): argument
276 def flashSystemImg(self): argument
291 def isFlashSuccess(self): argument
[all …]

123456