Home
last modified time | relevance | path

Searched defs:cls (Results 1 – 20 of 20) sorted by relevance

/developtools/integration_verification/tools/rom_ram_analyzer/lite_small/pkgs/
Dgn_common_tool.py37 def is_gn_variable(cls, target: str, quote_processed: bool = False): argument
64 def contains_gn_variable(cls, s: str, quote_processed: bool = False): argument
74 …def find_variables_in_gn(cls, var_name_tuple: tuple, path: str, stop_tail: str = "home", use_cache… argument
118 def replace_gn_variables(cls, s: str, gn_path: str, stop_tail: str) -> str: argument
136 def find_values_of_variable(cls, var_name: str, path: str, stop_tail: str = "home") -> list: argument
163 def _find_gn_variable_list(cls, content: str) -> List: argument
185 def string_parser(cls, var: str, content: str) -> str: argument
197 def list_parser(cls, var: str, content: str) -> List[str]: argument
Dbasic_tool.py70 …def find_files_with_pattern(cls, folder: str, pattern: str = "/**", recursive: bool = True, apply_… argument
101 …def match_paragraph(cls, content: str, start_pattern: str = r"\w+\(\".*?\"\) *{", end_pattern: str… argument
118 def re_group_1(cls, content: str, pattern: str, **kwargs) -> str: argument
134 def abspath(cls, path: str) -> str: argument
143 def grep_ern(cls, pattern: str, path: str, include: str = str(), exclude: tuple = tuple(), argument
167 def execute(cls, cmd: str, post_processor: Callable[[Text], Text] = do_nothing) -> Any: argument
Drom_ram_baseline_collector.py33 def collect(cls, oh_path: str) -> Dict[str, Dict]: argument
61 …def _put(cls, result_dict: Dict, subsystem_name: str, component_name: str, rom_size: str, ram_size… argument
Dsimple_yaml_tool.py25 def read_yaml(cls, file_name: str, mode: str = "r", encoding: str = "utf-8") -> Dict: argument
/developtools/integration_verification/tools/rom_ram_analyzer/lite_small/src/
Drom_analysis.py52 def analysis(cls, product_info: str, product_dict: Dict[str, List[str]], output_file_name: str): argument
91 def collect_gn_info(cls): argument
104 def collect_product_info(cls, product_name: str): argument
112 … def _add_rest_dir(cls, top_dir: str, rela_path: str, sub_path: str, dir_list: List[str]) -> None: argument
150 def _find_files(cls, product_name: str) -> Dict[str, List[str]]: argument
191 …def _put(cls, sub: str, com: str, unit: Dict, rom_size_dict: Dict, com_size_baseline: str = str()): argument
218 …def _fuzzy_match(cls, file_name: str, filter_path_keyword: Tuple[str] = tuple()) -> Tuple[str, str… argument
276 …def _get_one_line(cls, baseline_info, subsystem_name, component_name, component_baseline, file_nam… argument
285 …def _save_as_xls(cls, result_dict_info: Dict, product_name_info: str, baseline_info: bool) -> None: argument
340 def _result_unit_adaptive(cls, output_result_dict: Dict[str, Dict]) -> None: argument
[all …]
Dget_subsystem_component.py134 def run(cls, project_path: str, output_path: str = None, save_result: bool = True): argument
Dmisc.py81 def single_parser(cls, paragraph: Text) -> str: argument
90 def second_parser(cls, paragraph: Text) -> str: argument
/developtools/integration_verification/tools/components_deps/
Dcomponents_deps_analyzer.py26 def analysis(cls, gn_path_list, new_line_nums, gn_name, config_path: str, open_components_path, argument
62 def __get_open_components(cls, xml_path): argument
77 def __deal_config_json(cls, config_json): argument
86 def __get_required_components(cls, config_path: str): argument
97 def __get_line(cls, txt_list, key_words: str): argument
104 …def __judge_deps(cls, gn_path: str, new_line_num: str, open_components_list, optional_components, … argument
139 def __get_scan_line_num(cls, gn_lines, new_line_num): argument
159 def __get_line_num(cls, txt_line_list): argument
/developtools/integration_verification/tools/rom_ram_analyzer/standard/
Dram_analyzer.py40 def verify_hdc(cls, verify_str: str = "OpenHarmony") -> bool: argument
52 def verify_device(cls, device_num: str) -> bool: argument
64 def exec(cls, args: list, output_from: str = "stdout"): argument
83 def analysis(cls, cfg_path: str, json_path: str, rom_result_json: str, device_num: str, argument
131 def process_hidumper_info(cls, device_num: str, ss: str) -> typing.Dict[str, int]: argument
152 …def get_elf_info_from_rom_result(cls, rom_result_json: str) -> typing.Dict[str, typing.Dict[str, s… argument
181 def get_process_so_relationship(cls, cfg_path: str, profile_path: str) -> typing.Dict[ argument
201 …def find_elf_size_from_rom_result(cls, service_name: str, subsystem_name: str, component_name: str, argument
246 def inside_refactored_result_unit_adaptive(cls, process_info): argument
252 def refactored_result_unit_adaptive(cls, result_dict: Dict[str, Dict]) -> None: argument
[all …]
Drom_analyzer.py80 def analysis(cls, system_module_info_json: Text, product_dirs: List[str], argument
145 def __collect_product_info(cls, system_module_info_json: Text, argument
206 def __inside_save_result_as_excel(cls, add_baseline, subsystem_name, component_name, argument
215 def __save_result_as_excel(cls, result_dict: dict, output_name: str, add_baseline: bool): argument
268 …def __put(cls, unit: typing.Dict[Text, Any], result_dict: typing.Dict[Text, Dict], baseline_dict: … argument
/developtools/integration_verification/tools/rom_ram_analyzer/standard/pkgs/
Dgn_common_tool.py33 def is_gn_variable(cls, target: str, has_quote: bool = True): argument
59 … def find_variables_in_gn(cls, var_name_tuple: tuple, path: str, stop_tail: str = "home") -> tuple: argument
90 def find_part_subsystem(cls, gn_file: str, project_path: str) -> tuple: argument
118 def __find_part_subsystem_from_bundle(cls, gnpath: str, stop_tail: str = "home") -> tuple: argument
151 …def _parse_part_subsystem(cls, part_var_flag: bool, subsystem_var_flag: bool, var_list: List[str],… argument
191 def string_parser(cls, var: str, content: str) -> str: argument
203 def list_parser(cls, var: str, content: str) -> List[str]: argument
Dbasic_tool.py39 …def match_paragraph(cls, content: str, start_pattern: str = r"\w+\(\".*?\"\) *{", end_pattern: str… argument
56 …def find_all_files(cls, folder: str, real_path: bool = True, apply_abs: bool = True, de_duplicate:… argument
71 def get_abs_path(cls, path: str) -> str: argument
75 def re_group_1(cls, content: str, pattern: str, **kwargs) -> str: argument
91 def execute(cls, cmd: str, post_processor: Callable[[Text], Text] = lambda x: x) -> Any: argument
Drom_ram_baseline_collector.py33 def collect(cls, oh_path: str) -> Dict[str, Dict]: argument
61 …def _put(cls, result_dict: Dict, subsystem_name: str, component_name: str, rom_size: str, ram_size… argument
/developtools/integration_verification/tools/opensource_tools/test/
Dtest_spdx_license_matcher.py24 def setUpClass(cls): argument
47 def tearDownClass(cls): argument
/developtools/hdc/test/scripts/testModule/
Dutils.py58 def init(cls): argument
72 def start_host(cls): argument
78 def list_targets(cls): argument
90 def get_device(cls): argument
112 def dump(cls): argument
127 def load(cls): argument
146 def print_options(cls): argument
163 def tconn_tcp(cls): argument
172 def set_options(cls): argument
200 def change_testcase(cls): argument
[all …]
/developtools/profiler/hidebug/interfaces/ets/ani/hidebug/src/
Dani_hidebug.cpp60 ani_class cls = nullptr; in IsArrayForAniValue() local
232 static ani_object ConvertThreadCpuUsageToEts(ani_env *env, ani_class cls, uint32_t threadIdValue, d… in ConvertThreadCpuUsageToEts()
247 ani_class cls = nullptr; in ConvertThreadCpuUsageMapToEts() local
278 ani_class cls = nullptr; in GetAppNativeMemInfo() local
304 ani_class cls = nullptr; in GetSystemMemInfo() local
/developtools/hdc/test/unittest/host/
Dhost_uds_server_test.cpp38 HdcServerForClient *cls = new HdcServerForClient(true, std::string("uds"), nullptr, &loopMain); variable
/developtools/integration_verification/DeployDevice/src/util/
Dlog_info.py10 def __new__(cls, *args, **kw): argument
/developtools/integration_verification/cases/smoke/basic/screenshot32/new_script/utils/
Ddevice.py14 def _execute_cmd(cls, cmd): argument
/developtools/profiler/hiebpf/include/
Dvmlinux.h6060 __u32 cls; member