Home
last modified time | relevance | path

Searched refs:nargs (Results 1 – 22 of 22) sorted by relevance

/system/extras/simpleperf/scripts/
Dapi_profiler.py97 prepare_parser.add_argument('--max-sample-rate', nargs=1, type=int, default=[100000], help="""
99 prepare_parser.add_argument('--max-cpu-percent', nargs=1, type=int, default=[25], help="""
101 prepare_parser.add_argument('--max-memory-in-kb', nargs=1, type=int,
108 collect_parser.add_argument('-p', '--app', nargs=1, required=True, help="""
Dannotate.py465 parser.add_argument('-i', '--perf_data_list', nargs='+', action='append', help="""
467 parser.add_argument('-s', '--source_dirs', type=extant_dir, nargs='+', action='append', help="""
469 parser.add_argument('--comm', nargs='+', action='append', help="""
471 parser.add_argument('--pid', nargs='+', action='append', help="""
473 parser.add_argument('--tid', nargs='+', action='append', help="""
475 parser.add_argument('--dso', nargs='+', action='append', help="""
Dreport_sample.py70 parser.add_argument('record_file', nargs='?', default='perf.data',
Dbinary_cache_builder.py221 parser.add_argument('-lib', '--native_lib_dir', type=extant_dir, nargs='+', help="""
225 parser.add_argument('--ndk_path', nargs=1, help='Find tools in the ndk path.')
Dpprof_proto_generator.py550 parser.add_argument('--show', nargs='?', action='append', help='print existing pprof.profile.')
555 parser.add_argument('--comm', nargs='+', action='append', help="""
557 parser.add_argument('--pid', nargs='+', action='append', help="""
559 parser.add_argument('--tid', nargs='+', action='append', help="""
561 parser.add_argument('--dso', nargs='+', action='append', help="""
Dapp_profiler.py362 target_group.add_argument('--pid', nargs='+', help="""Profile native processes running on device
365 target_group.add_argument('--tid', nargs='+', help="""Profile native threads running on device
Dreport_html.py814 parser.add_argument('-i', '--record_file', nargs='+', default=['perf.data'], help="""
828 parser.add_argument('--source_dirs', nargs='+', help='Source code directories.')
830 parser.add_argument('--binary_filter', nargs='+', help="""Annotate source code and disassembly
832 parser.add_argument('--ndk_path', nargs=1, help='Find tools in the ndk path.')
Ddebug_unwind_reporter.py460 parser.add_argument('-i', '--record_file', nargs=1, default=['perf.data.debug'], help="""
Dtest.py1298 parser.add_argument('--test-from', nargs=1, help='Run left tests from the selected test.')
1301 parser.add_argument('pattern', nargs='*', help='Run tests matching the selected pattern.')
/system/ca-certificates/google/
Dextract_from_pem.py62 parser.add_argument('--pem_file', nargs='?', default='roots.pem')
63 parser.add_argument('--output_dir', nargs='?', default='files')
64 parser.add_argument('--timestamp_file', nargs='?', default='TIMESTAMP')
/system/sepolicy/build/
Dbuild_sepolicy.py111 parser.add_argument('-f', '--filter_out_files', nargs='+',
113 parser.add_argument('-d', '--dependent_cils', nargs='+',
133 parser.add_argument('-f', '--filter_out_files', required=True, nargs='+',
/system/update_engine/scripts/
Dpaycheck.py103 check_args.add_argument('--part_sizes', metavar='NUM', nargs='+', type=int,
132 apply_args.add_argument('--src_part_paths', metavar='FILE', nargs='+',
134 apply_args.add_argument('--dst_part_paths', metavar='FILE', nargs='+',
136 apply_args.add_argument('--out_dst_part_paths', metavar='FILE', nargs='+',
140 parser.add_argument('--part_names', metavar='NAME', nargs='+',
/system/sepolicy/tests/
Dsearchpolicy.py9 parser.add_argument("policy", help="Path to the SELinux policy to search.", nargs="?")
10 parser.add_argument("--libpath", dest="libpath", help="Path to the libsepolwrap.so", nargs="?")
/system/bt/test/
Drun_host_unit_tests.py169 nargs='?',
177 nargs='?',
184 nargs=argparse.REMAINDER,
/system/libufdt/utils/src/
Dmkdtboimg.py564 parser.add_argument('dt_file', nargs='?',
771 parser.add_argument('--output', '-o', nargs='?',
775 parser.add_argument('--dtb', '-b', nargs='?', type=str,
791 parser.add_argument('conf_file', nargs='?',
795 parser.add_argument('--dtb-dir', '-d', nargs='?', type=str,
978 create_parser.add_argument('argfile', nargs='?',
984 config_parser.add_argument('argfile', nargs='?',
990 dump_parser.add_argument('argfile', nargs='?',
996 help_parser.add_argument('argfile', nargs='?', action='store')
/system/core/lmkd/
Dlmkd.c874 int nargs; in ctrl_command_handler() local
888 nargs = len / sizeof(int) - 1; in ctrl_command_handler()
889 if (nargs < 0) in ctrl_command_handler()
894 targets = nargs / 2; in ctrl_command_handler()
895 if (nargs & 0x1 || targets > (int)ARRAY_SIZE(lowmem_adj)) in ctrl_command_handler()
900 if (nargs != 3) in ctrl_command_handler()
905 if (nargs != 1) in ctrl_command_handler()
910 if (nargs != 0) in ctrl_command_handler()
915 if (nargs != 2) in ctrl_command_handler()
/system/extras/perfprofd/scripts/
Dperf_proto_stack.py557 parser.add_argument('file', help='proto file to parse', metavar='file', nargs='+')
558 parser.add_argument('--syms', help='directory for symbols', nargs=1)
559 parser.add_argument('--json-out', help='output file for JSON', nargs=1)
Dperf_proto_json2sqlite.py145 parser.add_argument('file', help='JSON files to parse and combine', metavar='file', nargs='+')
/system/extras/ext4_utils/
Dmkuserimg_mke2fs.py59 parser.add_argument("file_contexts", nargs='?',
/system/extras/tests/bootloader/
Dbootloadertest.py217 parser.add_argument("extra_args", nargs="*")
/system/core/mkbootimg/
Dmkbootimg.py123 def __init__(self, option_strings, dest, nargs=None, **kwargs): argument
/system/extras/boottime_tools/bootanalyze/
Dbugreport_anayze.py62 parser.add_argument('bugreport_file', nargs=1, help='bugreport txt file',