Home
last modified time | relevance | path

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

12345

/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
Delf_walker.py29 def __init__(self, product_out_path="./demo/archinfo/assets/rk3568/3.2.7.5"): argument
35 def get_product_images_path(self): argument
38 def get_product_out_path(self): argument
41 def get_link_file_map(self): argument
47 def get_elf_files(self): argument
53 def __walk_path(self, subdir): argument
/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/
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): argument
46 def get_used_binaries(self, perf_data): argument
69 def copy_binaries_from_lib_dirs(self, lib_dirs): argument
82 def get_local_bin_map(self, file_dict): argument
91 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/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/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 …]
DliteOsUpgrade_linux_app.py38 def __init__(self, param_file): argument
45 def excute(self): argument
80 def download(self): argument
121 def excutedown(self, source_path, download_dir, suc_mark, is_file): argument
185 def upgrade(self): argument
311 def bootUpUboot(self,ser,scriptfile): argument
350 def configureIp(self,ser,flash_type, device_ip, device_netmask, device_gatewayip): argument
381 def afterRebootDvConfigure(self,ser, device_ip, device_netmask, device_gatewayip): argument
388 def afterRebootEvConfigure(self,ser): argument
416 def eraseDevice(self, cmd, usb_port): argument
[all …]
DliteOsUpgrade_L1_shequ_app.py36 def __init__(self, param_file): argument
43 def excute(self): argument
78 def download(self): argument
119 def excutedown(self, source_path, download_dir, suc_mark, is_file): argument
183 def upgrade(self): argument
311 def bootUpUboot(self,ser,scriptfile): argument
350 def configureIp(self,ser,flash_type, device_ip, device_netmask, device_gatewayip): argument
381 def afterRebootDvConfigure(self,ser, device_ip, device_netmask, device_gatewayip): argument
388 def afterRebootEvConfigure(self,ser): argument
416 def eraseDevice(self, cmd, usb_port): argument
[all …]
/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
Dlog_info.py27 def __init__(self): argument
31 def switchFilePath(self, path): argument
36 def __printMessage(self, type, msg, log_level='developer'): argument
64 def printIntoLogFile(self, log_message, log_level): argument
74 def printLog(self, log_message): argument
77 def info(self, msg): argument
92 def error(self, msg): argument
107 def debug(self, msg): argument
123 def warning(self, msg): 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/DeployDevice/src/aw/Telnet/
DTelnetClient.py23 def __init__(self, telip, telport): argument
30 def tellogin(self, username, password, endwaittag, timeout): argument
47 def sendCmd(self, send_cmd, endtag, timeout): argument
57 def sendEnterCmd(self, endtag, timeout): argument
73 def sendCmdAndCheckResult(self, cmd, endtag, timeout): argument
86 def sendCmdAndCheckSucTag(self, cmd, endtag, suctag , timeout): argument
99 def sendUpgradeCmd(self, sendcmd, endwaittag, suctag, timeout): argument
107 def sendResetCmd(self, endtag, timeout): argument
121 def getBoardType(self, endtag, timeout): argument
134 def close(self): argument
/developtools/integration_verification/tools/rom_ram_analyzer/lite_small/pkgs/
Dsimple_excel_writer.py28 def __init__(self, default_sheet_name: str = "sheet1"): argument
60 def append_line(self, content: list, sheet_name: str = None): argument
72 def write_merge(self, x0: int, y0: int, x1: int, y1: int, content: typing.Any, argument
81 def set_sheet_header(self, headers: Iterable, sheet_name: str = None): argument
100 def add_sheet(self, sheet_name: str, cell_overwrite_ok=True) -> Optional[xlwt.Worksheet]: argument
109 def save(self, file_name: str): argument
112 def __increment_y(self, sheet_name: str, value: int = 1) -> int: argument
119 def __increment_x(self, sheet_name: str, value: int = 1) -> int: argument

12345