Home
last modified time | relevance | path

Searched refs:args (Results 1 – 25 of 30) sorted by relevance

12

/build/tools/signtos/
DSignTos.java264 public static void main(String[] args) throws Exception { in main() argument
265 if (args.length < 3) { in main()
273 while (argstart < args.length && args[argstart].startsWith("-")) { in main()
274 if ("-providerClass".equals(args[argstart])) { in main()
275 if (argstart + 1 >= args.length) { in main()
278 providerClass = args[++argstart]; in main()
288 if (argstart != args.length - 3) { in main()
297 String keyFilename = args[args.length - 3]; in main()
298 String inputFilename = args[args.length - 2]; in main()
299 String outputFilename = args[args.length - 1]; in main()
/build/tools/
Djava-event-log-tags.py38 opts, args = getopt.getopt(sys.argv[1:], "ho:") variable
54 if len(args) != 2:
55 print "need exactly two input files, not %d" % (len(args),)
59 fn = args[0]
65 merged_fn = args[1]
136 args = [arg.strip("() ").split("|") for arg in t.description.split(",")] variable
138 args = [] variable
139 argTypesNames = ", ".join([javaTypes[int(arg[1])] + " " + javaName(arg[0]) for arg in args])
140 argNames = "".join([", " + javaName(arg[0]) for arg in args])
Dgenerate-notice-files.py42 opts, args = getopt.getopt(sys.argv[1:], "h") variable
55 if len(args) != 4:
57 and the directory containing notices, not %d""" % (len(args),)
166 def main(args): argument
167 txt_output_file = args[0]
168 html_output_file = args[1]
169 file_title = args[2]
172 input_dir = os.path.normpath(args[3])
188 main(args)
Dmerge-event-log-tags.py50 opts, args = getopt.getopt(sys.argv[1:], "ho:m:") variable
85 for fn in args:
Dparsedeps.py85 (options, args) = opts.parse_args()
89 filename = args[0]
/build/tools/atree/
Dfs.cpp180 const char** args = (const char**) malloc(sizeof(const char*) * (num_args + 2)); in strip_file() local
182 const char** curr = args; in strip_file()
197 args[num_args] = path.c_str(); in strip_file()
198 args[num_args + 1] = NULL; in strip_file()
200 int ret = execvp(args[0], (char* const*)args); in strip_file()
201 free(args); in strip_file()
/build/tools/fs_get_stats/
Dfs_get_stats.c10 #define ERROR(fmt,args...) \ argument
13 __FILE__, __LINE__, ##args); \
17 #define DEBUG(fmt,args...) \ argument
18 do { fprintf(stderr, "DEBUG: " fmt, ##args); } while(0)
/build/tools/signapk/
DSignApk.java844 public static void main(String[] args) { in main() argument
845 if (args.length < 4) usage(); in main()
856 while (argstart < args.length && args[argstart].startsWith("-")) { in main()
857 if ("-w".equals(args[argstart])) { in main()
860 } else if ("-providerClass".equals(args[argstart])) { in main()
861 if (argstart + 1 >= args.length) { in main()
864 providerClass = args[++argstart]; in main()
866 } else if ("-a".equals(args[argstart])) { in main()
867 alignment = Integer.parseInt(args[++argstart]); in main()
874 if ((args.length - argstart) % 2 == 1) usage(); in main()
[all …]
/build/tools/releasetools/
Dimg_from_target_files61 args = common.ParseOptions(argv, __doc__,
68 if len(args) != 2:
72 OPTIONS.input_tmp, input_zip = common.UnzipTemp(args[0])
73 output_zip = zipfile.ZipFile(args[1], "w", compression=zipfile.ZIP_DEFLATED)
Dimg_from_target_files.py61 args = common.ParseOptions(argv, __doc__,
68 if len(args) != 2:
72 OPTIONS.input_tmp, input_zip = common.UnzipTemp(args[0])
73 output_zip = zipfile.ZipFile(args[1], "w", compression=zipfile.ZIP_DEFLATED)
Dmake_recovery_patch.py32 args = common.ParseOptions(argv, __doc__)
33 input_dir, output_dir = args
Dmake_recovery_patch32 args = common.ParseOptions(argv, __doc__)
33 input_dir, output_dir = args
Dedify_generator.py291 args = {'device': p.device, 'fn': fn}
295 % args)
298 args["map"] = mapfn
300 'package_extract_file("%(fn)s", "%(device)s", "%(map)s");' % args)
303 'package_extract_file("%(fn)s", "%(device)s");' % args)
Dsign_target_files_apks468 args = common.ParseOptions(argv, __doc__,
479 if len(args) != 2:
483 input_zip = zipfile.ZipFile(args[0], "r")
484 output_zip = zipfile.ZipFile(args[1], "w")
500 add_img_to_target_files.AddImagesToTargetFiles(args[1])
Dsign_target_files_apks.py468 args = common.ParseOptions(argv, __doc__,
479 if len(args) != 2:
483 input_zip = zipfile.ZipFile(args[0], "r")
484 output_zip = zipfile.ZipFile(args[1], "w")
500 add_img_to_target_files.AddImagesToTargetFiles(args[1])
Dcommon.py78 def Run(args, **kwargs): argument
82 print " running: ", " ".join(args)
83 return subprocess.Popen(args, **kwargs)
359 args = info_dict.get("mkbootimg_args", None)
360 if args and args.strip():
361 cmd.extend(shlex.split(args))
675 opts, args = getopt.getopt(
729 return args
970 def _DoCall(self, function_name, *args, **kwargs): argument
978 return getattr(self.module, function_name)(*((self,) + args), **kwargs)
Dadd_img_to_target_files.py336 args = common.ParseOptions(
345 if len(args) != 1:
349 AddImagesToTargetFiles(args[0])
Dadd_img_to_target_files336 args = common.ParseOptions(
345 if len(args) != 1:
349 AddImagesToTargetFiles(args[0])
Dcheck_target_files_signatures386 args = common.ParseOptions(argv, __doc__,
392 if len(args) != 1:
401 target_files.LoadZipFile(args[0])
Dcheck_target_files_signatures.py386 args = common.ParseOptions(argv, __doc__,
392 if len(args) != 1:
401 target_files.LoadZipFile(args[0])
Dtest_common.py185 def _test_reset_ZIP64_LIMIT(self, func, *args): argument
188 func(*args)
/build/core/
Dprocess_wrapper_gdb.sh17 gdb -q -x $2/process_wrapper_gdb.cmds --args "$@"
/build/tools/droiddoc/test/stubs/src/com/android/stubs/a/
DA.java26 public A varargs(Parent... args) { in varargs() argument
/build/tools/droiddoc/test/stubs/expected/com/android/stubs/a/
DA.java11 public com.android.stubs.a.A varargs(com.android.stubs.Parent[]... args) { throw new RuntimeExcept… in varargs() argument
/build/core/tasks/check_boot_jars/
Dcheck_boot_jars.py46 p = subprocess.Popen(args='jar tf %s' % jar,

12