Home
last modified time | relevance | path

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

123

/developtools/integration_verification/tools/startup_guard/config_parser_mgr/cfg/
Dconfig_parser.py37 def __init__(self, config): argument
40 def create(self, json_node, parent = None, fileId = None): argument
43 def update(self, json_node, parent = None, fileId = None): argument
46 def get_name(self): argument
49 def get(self, key): argument
55 def get_strings_value(self, jsonStrArray): argument
65 def __init__(self, config): argument
70 def create(self, json_node, parent = None, fileId = None): argument
83 def __str__(self): argument
87 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.py27 def __init__(self, file, prefix): argument
32 def __eq__(self, other): argument
38 def dependsOn(self, mod): argument
44 def __repr__(self): argument
47 def __str__(self): argument
51 def __init__(self, idx, caller, callee): argument
60 def __eq__(self, other): argument
66 def __repr__(self): argument
69 def __str__(self): argument
78 def __init__(self, product_out_path=None, elfFileClass=None, dependenceClass = None): argument
[all …]
Delf_file.py25 def __init__(self, file, prefix): argument
37 def __eq__(self, other): argument
43 def __extract_soname(self): argument
49 def __extract_elf_size(self): argument
63 def is_library(self): argument
68 def get_file(self): argument
72 def library_depends(self): argument
Delf_walker.py28 def __init__(self, product_out_path="/home/z00325844/demo/archinfo/assets/rk3568/3.2.7.5"): argument
34 def get_product_images_path(self): argument
37 def get_product_out_path(self): argument
40 def __walk_path(self, subdir): argument
62 def get_link_file_map(self): argument
68 def get_elf_files(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.py22 def __init__(self, prefix, parameter = None): argument
39 def decode(self, info): argument
44 def __repr__(self): argument
47 def __str__(self): argument
51 def __init__(self, prefix, parameter=None): argument
54 def decode(self, info): argument
68 def __init__(self, prefix, parameter=None): argument
71 def decode(self, info): argument
77 def __init__(self): argument
80 def _handle_param_info(self, file_name, param_info): argument
[all …]
/developtools/integration_verification/tools/startup_guard/startup_checker/
Dcmds_rule.py27 def __init__(self, mgr, args): argument
35 def _get_json_service(self): argument
43 def _get_start_cmds(self, parser): argument
51 def _parse_while_list(self): argument
61 def _check_condition_start_mode(self, cmd_list, service_name, passed): argument
69 def _check_service(self, parser): argument
81 def _check_file_id_in_cmds(self, cmdlist, cmdline): argument
90 def _check_cmdline_in_parser(self, parser): argument
108 def _check_selinux(self, parser): argument
121 def _check_start_cmd(self, parser): argument
[all …]
Dbase_rule.py25 def __init__(self, mgr, args): argument
30 def __load_files__(self, name): argument
48 def get_mgr(self): argument
51 def get_white_lists(self): argument
54 def log(self, info): argument
57 def warn(self, info): argument
60 def error(self, info): argument
63 def get_help_url(self): argument
67 def __check__(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_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 …]
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_L0_app.py25 def __init__(self, param_file): argument
31 def excute(self): argument
68 def getupgradeport(self): argument
95 def upgrade(self): argument
123 def download(self): argument
163 def excutedown(self, source_path, download_dir, suc_mark, is_file): argument
/developtools/integration_verification/tools/deps_guard/rules_checker/
Dbase_rule.py25 def __init__(self, mgr, args): argument
30 def load_files(self, name): argument
48 def get_mgr(self): argument
51 def get_white_lists(self): argument
54 def log(self, info): argument
57 def warn(self, info): argument
60 def error(self, info): argument
63 def get_help_url(self): argument
67 def check(self): argument
/developtools/smartperf_host/ide/server/
DsmarperfServer.py77 def log_message(self, format, *args): argument
80 def do_GET(self): argument
89 def do_POST(self): argument
100 def download_handler(self): argument
131 def post_form_value(self, key): argument
140 def clear_overdue_file(self): argument
153 def check_due(self, file_name): argument
159 def console_handler(self): argument
178 def check_dir(self, dir_path): argument
182 def application_handler(self, parse_result): argument
[all …]
/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/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/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 __increment_y(self, sheet_name: str, value: int = 1) -> int: argument
67 def __increment_x(self, sheet_name: str, value: int = 1) -> int: argument
74 def append_line(self, content: list, sheet_name: str = None): argument
86 def write_merge(self, x0: int, y0: int, x1: int, y1: int, content: typing.Any, argument
95 def set_sheet_header(self, headers: Iterable, sheet_name: str = None): argument
114 def add_sheet(self, sheet_name: str, cell_overwrite_ok=True) -> Optional[xlwt.Worksheet]: argument
123 def save(self, file_name: str): argument
/developtools/integration_verification/tools/rom_ram_analyzer/standard/pkgs/
Dsimple_excel_writer.py10 def __init__(self, default_sheet_name: str = "sheet1"): argument
43 def __increment_y(self, sheet_name: str, value: int = 1) -> int: argument
50 def __increment_x(self, sheet_name: str, value: int = 1) -> int: argument
57 def append_line(self, content: list, sheet_name: str = None): argument
69 def write_merge(self, x0: int, y0: int, x1: int, y1: int, content: typing.Any, argument
78 def set_sheet_header(self, headers: Iterable, sheet_name: str = None): argument
97 def add_sheet(self, sheet_name: str, cell_overwrite_ok=True) -> Optional[xlwt.Worksheet]: argument
106 def save(self, file_name: str): argument
/developtools/profiler/device/plugins/ftrace_plugin/tools/device_kernel_version/default/
Dftrace_cpp_generator.py106 def __init__(self, events_dir, allow_list): argument
109 def parser_file_path(self, category): argument
113 def generate_code(self): argument
151 def generate_parse_functions(self, category, f): argument
206 def __init__(self, events_dir, allow_list): argument
209 def formatter_file_path(self, category): argument
213 def generate_code(self): argument
269 def generate_format_functions(self, category, f): argument
721 def handle_field_name_functions(self, event, f, is_define_len=True): argument
787 def handle_format_ps_functions(self, event, f, filed_name, is_void=False): argument

123