/developtools/hiperf/script/test/ |
D | test_command_script.py | 26 parser = argparse.ArgumentParser() 27 parser.add_argument('-p', '--pid') 28 parser.add_argument('-app', '--package_name') 29 parser.add_argument('-l', '--local_program') 30 parser.add_argument('-c', '--cmd') 31 parser.add_argument('-t', '--tid') 32 parser.add_argument('-sw', '--system_wide', action='store_true') 33 parser.add_argument('-a', '--activity') 34 parser.add_argument('-n', '--not_hdc_root') 35 parser.add_argument('-lib', '--local_lib_dir') [all …]
|
/developtools/smartperf_host/trace_streamer/test/unittest/ |
D | ebpf_parser_test.cpp | 60 std::unique_ptr<EbpfDataParser> parser = variable 62 EXPECT_FALSE(parser->Init(dequeBuffer, dequeBuffer.size())); 78 std::unique_ptr<EbpfDataParser> parser = variable 80 EXPECT_FALSE(parser->Init(dequeBuffer, dequeBuffer.size())); 99 std::unique_ptr<EbpfDataParser> parser = variable 101 EXPECT_TRUE(parser->Init(dequeBuffer, dequeBuffer.size())); 102 parser->Finish(); 103 EXPECT_EQ(parser->reader_->ebpfDataHeader_->header.clock, EBPF_CLOCK_BOOTTIME); 104 EXPECT_EQ(parser->reader_->ebpfDataHeader_->header.cmdLineLen, 0); 105 …EXPECT_EQ(parser->reader_->ebpfDataHeader_->header.headSize, EbpfDataHeader::EBPF_DATA_HEADER_SIZE… [all …]
|
D | ebpf_file_system_test.cpp | 101 std::unique_ptr<EbpfDataParser> parser = variable 103 EXPECT_TRUE(parser->Init(dequeBuffer, dequeBuffer.size())); 104 EXPECT_TRUE(parser->reader_->GetFileSystemEventMap().size()); 105 parser->ParseFileSystemEvent(); 106 parser->Finish(); 107 EXPECT_TRUE(parser->reader_->ebpfDataHeader_->header.clock == EBPF_CLOCK_BOOTTIME); 118 auto ExpectReturnValue = parser->ConvertToHexTextIndex(RET_01); 130 auto ExpectFirstArg = parser->ConvertToHexTextIndex(ARGS_01[i++]); 133 auto ExpectSecondArg = parser->ConvertToHexTextIndex(ARGS_01[i++]); 136 auto ExpectThirdArg = parser->ConvertToHexTextIndex(ARGS_01[i++]); [all …]
|
/developtools/ace_ets2bundle/ |
D | build_ets_loader_library.py | 36 parser = argparse.ArgumentParser() 37 build_utils.add_depfile_option(parser) 39 parser.add_argument('--node', help='path to nodejs exetuable') 40 parser.add_argument('--babel-js', help='path to babel.js') 41 parser.add_argument('--ets-loader-src-dir', help='path to compiler/src') 42 parser.add_argument('--babel-config-js', help='path babel.config.js') 43 parser.add_argument('--uglify-source-js', help='path uglify-source.js') 44 parser.add_argument('--output-dir', help='path to output') 45 parser.add_argument('--declarations-file-dir', 47 parser.add_argument('--build-declarations-file-js', [all …]
|
D | generateSysResource.py | 71 parser = argparse.ArgumentParser() variable 72 parser.add_argument('--input-json', help='input path to id_defined.json') 73 parser.add_argument('--output-js', help='output path to sysResource.js') 74 options = parser.parse_args()
|
/developtools/integration_verification/tools/startup_guard/ |
D | startup_guard.py | 23 …parser = argparse.ArgumentParser(description='Check startup architecture information from compiled… 24 parser.add_argument('-i', '--input', 26 parser.add_argument('-r', '--rules', action='append', 28 parser.add_argument('-n', '--no_fail', 30 return parser 44 parser = __create_arg_parser() variable 45 args = parser.parse_args()
|
/developtools/ace_js2bundle/ |
D | build_ace_loader_library.py | 36 parser = argparse.ArgumentParser() 37 build_utils.add_depfile_option(parser) 39 parser.add_argument('--node', help='path to nodejs exetuable') 40 parser.add_argument('--babel-js', help='path to babel.js') 41 parser.add_argument('--ace-loader-src-dir', help='path to ace-loader/src') 42 parser.add_argument('--babel-config-js', help='path babel.config.js') 43 parser.add_argument('--tsc-js', help='path to parse5 module tsc') 44 parser.add_argument('--parse5-project', help='path to parse5 project') 45 parser.add_argument('--parse5-output-dir', help='path to parse5 output') 46 parser.add_argument('--module-source-js', help='path module-source.js') [all …]
|
/developtools/profiler/device/plugins/ftrace_plugin/test/unittest/ |
D | ftrace_parser_test.cpp | 103 FtraceParser parser; variable 104 EXPECT_TRUE(parser.Init()); 114 FtraceParser parser; variable 115 EXPECT_TRUE(parser.SetupEvent("sched", "sched_switch")); 125 FtraceParser parser; variable 126 EXPECT_TRUE(parser.ParseSavedTgid(FtraceFsOps::GetInstance().GetSavedTgids())); 136 FtraceParser parser; variable 137 EXPECT_TRUE(parser.ParseSavedCmdlines(FtraceFsOps::GetInstance().GetSavedCmdLines())); 147 FtraceParser parser; variable 149 EXPECT_FALSE(parser.ParsePerCpuStatus(perCpuStats, "")); [all …]
|
/developtools/integration_verification/tools/startup_guard/startup_checker/ |
D | cmds_rule.py | 43 def _get_start_cmds(self, parser): argument 45 for cmd in parser._cmds: 69 def _check_service(self, parser): argument 72 start_cmd_list = self._get_start_cmds(parser).keys() 73 for key, item in parser._services.items(): 90 def _check_cmdline_in_parser(self, parser): argument 94 parser_cmds = parser._cmds 100 for key, item in parser._files.items(): 108 def _check_selinux(self, parser): argument 109 if parser._selinux != 'enforcing': [all …]
|
/developtools/integration_verification/tools/deps_guard/ |
D | deps_guard.py | 24 …parser = argparse.ArgumentParser(description='Check architecture information from compiled output … 26 parser.add_argument('-i', '--input', 29 parser.add_argument('-r', '--rules', action='append', 32 parser.add_argument('-n', '--no-fail', 35 return parser 69 parser = __createArgParser() variable 70 args = parser.parse_args()
|
/developtools/packing_tool/ |
D | build.py | 28 parser = argparse.ArgumentParser() 29 parser.add_argument('--haptobin', required=True) 30 parser.add_argument('--haptobinOutput', required=True) 31 parser.add_argument('--unpackOutput', required=True) 32 parser.add_argument('--packOutput', required=True) 33 parser.add_argument('--outpath', required=True) 34 parser.add_argument('--toolchain', required=True) 35 parser.add_argument('--compileTarget', required=True) 36 args = parser.parse_args()
|
/developtools/integration_verification/tools/startup_guard/config_parser_mgr/cfg/ |
D | config_parser.py | 25 …parser = argparse.ArgumentParser(description='Collect init config information from xxxx/etc/init d… 26 parser.add_argument('-i', '--input', 30 parser.add_argument('-o', '--output', 32 parser.add_argument('-b', '--bootevent', 34 return parser 374 parser = JobParser(self) 375 parser.create(item, service, file_id) 376 self._jobs[parser.get_name()] = parser 379 parser = CmdParser(self) 380 parser.create(item, job, file_id) [all …]
|
/developtools/profiler/host/smartperf/trace_streamer/src/ |
D | BUILD.gn | 47 "parser", 57 "parser/htrace_pbreader_parser", 58 "parser/htrace_pbreader_parser/htrace_event_parser", 59 "parser/htrace_pbreader_parser/htrace_cpu_parser", 64 "parser/hiperf_parser", 104 "parser", 107 "parser/ebpf_parser", 123 "parser/htrace_pbreader_parser", 124 "parser/htrace_pbreader_parser/htrace_event_parser", 125 "parser/htrace_pbreader_parser/htrace_cpu_parser", [all …]
|
/developtools/hiperf/script/ |
D | make_report.py | 49 parser = argparse.ArgumentParser(description=""" To make a report, you 51 parser.add_argument('-i', '--perf_data', default='perf.data', 54 parser.add_argument('-r', '--report_html', default='hiperf_report.html', 56 parser.add_argument('-l', '--local_lib_dir', type=dir_check, default='./binary_cache', 59 parser.add_argument('-t', '--html_template', default='./', 62 args = parser.parse_args()
|
D | make_diff.py | 72 parser = argparse.ArgumentParser(description=""" To make a report, you 74 parser.add_argument('-b', '--base', default='perf.data', 77 parser.add_argument('-t', '--target', default='perf.data', 80 parser.add_argument('-r', '--report_html', default='hiperf_report.html', 82 parser.add_argument('-lb', '--lib_base_dir', type=dir_check, 85 parser.add_argument('-lt', '--lib_target_dir', type=dir_check, 88 args = parser.parse_args()
|
D | make_report_sample.py | 38 parser = argparse.ArgumentParser(description=""" To make a report, you 40 parser.add_argument('-i', '--perf_data', default='perf.data', 43 parser.add_argument('-l', '--local_lib_dir', type=dir_check, 46 parser.add_argument('-s', '--call_stack', action='store_true', 48 args = parser.parse_args()
|
D | command_script.py | 41 parser = argparse.ArgumentParser(description=description) 42 target_group = parser.add_argument_group(title='Select profiling target') \ 71 record_group = parser.add_argument_group('Select recording options') 98 other_group = parser.add_argument_group('Other options') 102 args = parser.parse_args()
|
D | record_control.py | 54 parser = argparse.ArgumentParser(description=description) 56 control_group = parser.add_argument_group( 72 target_group = parser.add_argument_group(title='Select profiling target') \ 102 record_group = parser.add_argument_group('Select recording options') 129 other_group = parser.add_argument_group('Other options') 134 args = parser.parse_args()
|
/developtools/global_resource_tool/src/ |
D | restool.cpp | 40 auto &parser = CmdParser<PackageParser>::GetInstance(); in main() local 41 if (parser.Parse(argc, argv) != RESTOOL_SUCCESS) { in main() 42 parser.ShowUseage(); in main() 46 auto &packageParser = parser.GetCmdParser(); in main()
|
/developtools/syscap_codec/tools/ |
D | syscap_config_merge.py | 136 parser = argparse.ArgumentParser() 137 parser.add_argument('--base', 139 parser.add_argument('--extern', 141 parser.add_argument('--output', 143 arguments = parser.parse_args()
|
/developtools/integration_verification/tools/startup_guard/config_parser_mgr/param/ |
D | system_parameter_parser.py | 150 …parser = argparse.ArgumentParser(description='Collect parameter information from xxxx/etc/param di… 151 parser.add_argument('-i', '--input', 153 return parser 156 parser = ParameterFileParser() 157 parser.scan_parameter_file(base_path) 158 …parser.load_parameter_file(base_path + "/packages/phone/system/etc/selinux/targeted/contexts/param… 160 return parser
|
/developtools/smartperf_host/trace_streamer/src/ |
D | BUILD.gn | 68 "parser", 71 "parser/ebpf_parser", 72 "parser/htrace_pbreader_parser", 73 "parser/htrace_pbreader_parser/htrace_event_parser", 74 "parser/htrace_pbreader_parser/htrace_cpu_parser", 75 "parser/hiperf_parser", 153 "parser:parser", 154 "parser/hiperf_parser:hiperf_parser",
|
/developtools/integration_verification/cases/daily/mini_system/ |
D | L0_mini_system_test.py | 74 parser = argparse.ArgumentParser(description='manual to this script') variable 75 parser.add_argument('--com_port', type=str, default = 'COM5') 76 parser.add_argument('--com_baudrate', type=int, default = 115200) 77 parser.add_argument('--save_path', type=str, default = 'D:\\DeviceTestTools\\screenshot') 78 …parser.add_argument('--archive_path', type=str, default = 'Z:\workspace\ohos_L2\ohos\out\hispark_p… 79 args = parser.parse_args()
|
/developtools/integration_verification/tools/startup_guard/config_parser_mgr/ |
D | config_parser_mgr.py | 27 …parser = argparse.ArgumentParser(description='Check startup architecture information from compiled… 28 parser.add_argument('-i', '--input', 30 return parser
|
/developtools/hdc/scripts/ |
D | hdc_hash_gen.py | 93 parser = argparse.ArgumentParser( 95 parser.add_argument('-f', dest='hdc_file', required=True, type=str, 97 parser.add_argument('-i', dest='input_dir', required=True, type=str, 99 parser.add_argument('-o', dest='output_dir', required=True, type=str, 102 args = parser.parse_args(sys.argv[1:])
|