Home
last modified time | relevance | path

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

12345

/developtools/profiler/test/scripts/testRoot/
Dtest_nativehook.py590 def test_sa(self): argument
594 def test_startup_statistics_sample(self): argument
598 def test_complete_data(self): argument
602 def test_dwarf(self): argument
606 def test_dwarf_stringcompress(self): argument
610 def test_dwarf_stringcompress_callframecompress(self): argument
614 def test_dwarf_offline(self): argument
618 def test_match(self): argument
623 def test_jsreport(self): argument
627 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/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/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/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 …]
Delf_file.py26 def __init__(self, file, prefix): argument
38 def __eq__(self, other): argument
44 def is_library(self): argument
49 def get_file(self): argument
53 def library_depends(self): argument
76 def __extract_soname(self): argument
82 def __extract_elf_size(self): argument
/developtools/hdc/test/scripts/testModule/
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.py32 def setup_class(self): argument
36 def test_list_targets(self): argument
43 def test_hdcd_rom(self): argument
50 def test_version_cmd(self): argument
59 def test_target_key(self): argument
67 def test_target_cmd(self): argument
80 def test_target_mount(self): argument
95 def test_file_switch_off(self): argument
105 def test_file_switch_on(self): argument
Dtest_hdc_file_fd.py107 def setup_class(self): argument
125 def test_file_normal(self, is_compress, is_directory, is_zero): argument
131 def test_file_mix(self, is_compress): argument
136 def test_file_fd_leak_proc(self): argument
141 def test_file_fd_count(self): argument
155 def teardown_class(self): argument
161 def re_create_file(self, num=600): argument
170 def re_send_file(self, is_compress=False, is_directory=False, is_zero=False, is_mix=False): argument
200 def setup_class(self): argument
225 def test_file_normal(self, is_compress, is_directory, is_zero): argument
[all …]
/developtools/integration_verification/tools/deps_guard/rules_checker/
Dchipsetsdk.py28 def __init__(self, mgr, args): argument
33 def get_white_lists(self): argument
36 def get_out_path(self): argument
39 def load_chipsetsdk_json(self, name): argument
62 def check(self): argument
84 def __parser_rules_file(self, rules_file, res): argument
102 def __is_chipsetsdk_tagged(self, mod): argument
109 def __is_chipsetsdk_indirect(self, mod): argument
116 def __write_innerkits_header_files(self): argument
151 def __check_chipsetsdk_indirect(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
/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
Dtest_command_script.py43 def setUp(self): argument
46 def tearDown(self): argument
49 def test_host_elf_entry(self): argument
54 def test_parser_add_argument(self): argument
60 def test_check_args(self): argument
65 def test_main(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/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 …]
/developtools/integration_verification/tools/opensource_tools/test/
Dtest_validate_readme_opensource.py26 def test_find_all_readmes(self, mock_os_walk): argument
45 def test_validate_format_valid(self, mock_open): argument
67 def test_validate_format_invalid_missing_field(self, mock_open): argument
89 def test_validate_content_valid(self, mock_open): argument
127 def test_validate_content_valid(self, mock_exists, mock_open): argument
164 def test_validate_license_file_valid(self, mock_exists): argument
175 def test_validate_license_file_invalid(self, mock_exists): argument
187 def test_validate_dependencies_valid(self, mock_exists, mock_open): argument
211 def test_validate_dependencies_invalid(self, mock_open): argument
/developtools/integration_verification/tools/startup_guard/config_parser_mgr/user_group/
Duser_group_parser.py24 def __init__(self): argument
27 def load_file(self, file_name): argument
46 def dump(self): argument
50 def _handle_group_info(self, group_info): argument
66 def __init__(self): argument
72 def load_file(self, file_name): argument
91 def dump(self): argument
95 def _handle_passwd_info(self, passwd_info): argument
/developtools/integration_verification/DeployDevice/src/util/
Dfile_locker.py17 def __init__(self, timeout=7200, delay=3): argument
25 def _setLockFileName(self, file_name): argument
28 def acquire(self): argument
57 def release(self): argument
68 def lockFile(self, file_name): argument
77 def releaseFile(self): argument
84 def __del__(self): argument
/developtools/integration_verification/DeployDevice/resource/common/
Dportalocker.py16 def __init__(self, timeout=7200, delay=30): argument
24 def _setLockFileName(self, file_name): argument
27 def acquire(self): argument
56 def release(self): argument
67 def lockFile(self, file_name): argument
76 def releaseFile(self): argument
83 def __del__(self): argument
/developtools/integration_verification/tools/opensource_tools/src/
Dvalidate_readme_opensource.py35 self, argument
57 def find_all_readmes(self) -> List[str]: argument
65 def validate_format(self, readme_path: str) -> bool: argument
103 def load_reference_data(self, reference_data_path: str): argument
113 def find_reference_data(self, name: str) -> Optional[Dict[str, str]]: argument
120 def validate_content(self, readme_path: str) -> bool: argument
175 def validate_license_file(self, readme_path: str, license_file: str) -> bool: argument
198 def validate_dependencies(self, dependencies: Optional[List[str]], readme_path: str) -> bool: argument
215 def run_validation(self, validate_format: bool = True, validate_content: bool = False): argument

12345