Home
last modified time | relevance | path

Searched refs:arg (Results 1 – 25 of 53) sorted by relevance

123

/tools/metalava/src/main/java/com/android/tools/metalava/apilevels/
DApiGenerator.java44 String arg = args[i]; in main() local
46 if (arg.equals("--pattern")) { in main()
51 System.err.println("Missing argument after " + arg); in main()
54 } else if (arg.equals("--current-version")) { in main()
63 System.err.println("Missing number >= 1 after " + arg); in main()
66 } else if (arg.equals("--current-codename")) { in main()
71 System.err.println("Missing codename after " + arg); in main()
74 } else if (arg.equals("--current-jar")) { in main()
84 System.err.println("Missing argument after " + arg); in main()
87 } else if (arg.equals("--min-api")) { in main()
[all …]
/tools/asuite/atest/test_runners/
Datest_tf_test_runner.py544 for arg in extra_args:
545 if constants.WAIT_FOR_DEBUGGER == arg:
548 if constants.DISABLE_INSTALL == arg:
551 if constants.SERIAL == arg:
553 args_to_append.append(extra_args[arg])
555 if constants.SHARDING == arg:
557 args_to_append.append(str(extra_args[arg]))
559 if constants.DISABLE_TEARDOWN == arg:
562 if constants.HOST == arg:
567 if constants.CUSTOM_ARGS == arg:
[all …]
Dsuite_plan_test_runner.py84 for arg in extra_args:
85 if constants.SERIAL == arg:
87 args_to_append.append(extra_args[arg])
89 if constants.CUSTOM_ARGS == arg:
90 args_to_append.extend(extra_args[arg])
92 if constants.DRY_RUN == arg:
94 args_not_supported.append(arg)
Dvts_tf_test_runner.py91 for arg in extra_args:
92 if constants.SERIAL == arg:
94 args_to_append.append(extra_args[arg])
96 if constants.CUSTOM_ARGS == arg:
97 args_to_append.extend(extra_args[arg])
99 if constants.DRY_RUN == arg:
101 args_not_supported.append(arg)
/tools/asuite/atest-py2/test_runners/
Dsuite_plan_test_runner.py87 for arg in extra_args:
88 if constants.SERIAL == arg:
90 args_to_append.append(extra_args[arg])
92 if constants.CUSTOM_ARGS == arg:
93 args_to_append.extend(extra_args[arg])
95 if constants.DRY_RUN == arg:
97 args_not_supported.append(arg)
Dvts_tf_test_runner.py92 for arg in extra_args:
93 if constants.SERIAL == arg:
95 args_to_append.append(extra_args[arg])
97 if constants.CUSTOM_ARGS == arg:
98 args_to_append.extend(extra_args[arg])
100 if constants.DRY_RUN == arg:
102 args_not_supported.append(arg)
Drobolectric_test_runner.py203 for arg in extra_args:
204 if constants.WAIT_FOR_DEBUGGER == arg:
/tools/dexter/slicer/
Ddex_bytecode.cc252 dec.arg[4] = InstA(inst); in DecodeInstruction()
255 dec.arg[3] = (regList >> 12) & 0x0f; in DecodeInstruction()
258 dec.arg[2] = (regList >> 8) & 0x0f; in DecodeInstruction()
261 dec.arg[1] = (regList >> 4) & 0x0f; in DecodeInstruction()
264 dec.vC = dec.arg[0] = regList & 0x0f; in DecodeInstruction()
286 dec.arg[0] = (regList >> 4) & 0xf; // vD in DecodeInstruction()
287 dec.arg[1] = (regList >> 8) & 0xf; // vE in DecodeInstruction()
288 dec.arg[2] = (regList >> 12); // vF in DecodeInstruction()
289 dec.arg[3] = InstA(inst); // vG in DecodeInstruction()
290 dec.arg[4] = bytecode[3]; // vH proto@HHHH in DecodeInstruction()
[all …]
Dreader.cc475 dex::u1 arg = header >> dex::kEncodedValueArgShift; in ParseEncodedValue() local
481 ir_encoded_value->u.byte_value = ParseIntValue<int8_t>(pptr, arg + 1); in ParseEncodedValue()
485 ir_encoded_value->u.short_value = ParseIntValue<int16_t>(pptr, arg + 1); in ParseEncodedValue()
489 ir_encoded_value->u.char_value = ParseIntValue<uint16_t>(pptr, arg + 1); in ParseEncodedValue()
493 ir_encoded_value->u.int_value = ParseIntValue<int32_t>(pptr, arg + 1); in ParseEncodedValue()
497 ir_encoded_value->u.long_value = ParseIntValue<int64_t>(pptr, arg + 1); in ParseEncodedValue()
501 ir_encoded_value->u.float_value = ParseFloatValue<float>(pptr, arg + 1); in ParseEncodedValue()
505 ir_encoded_value->u.double_value = ParseFloatValue<double>(pptr, arg + 1); in ParseEncodedValue()
509 dex::u4 index = ParseIntValue<dex::u4>(pptr, arg + 1); in ParseEncodedValue()
514 dex::u4 index = ParseIntValue<dex::u4>(pptr, arg + 1); in ParseEncodedValue()
[all …]
/tools/metalava/src/main/java/com/android/tools/metalava/
DCommandArgsPreprocessor.kt62 modifiedArgs.forEach { arg -> in <lambda>() method
63 when (arg) { in <lambda>()
126 args.forEach { arg -> in dumpArgv() method
127 out.println(" argv[${i++}]: $arg") in dumpArgv()
130 if (fullDump && arg.startsWith("@")) { in dumpArgv()
131 val file = arg.substring(1) in dumpArgv()
DPackageFilter.kt44 for (arg in path.split(File.pathSeparatorChar)) { in addPackages() method
45 val treatAsPositiveMatch = !arg.startsWith("-") in addPackages()
46 val pkg = arg.removePrefix("-").removePrefix("+") in addPackages()
/tools/metalava/
Dgradlew132 for arg in "$@" ; do
133 CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
134 … CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
137 eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
139 eval `echo args$i`="\"$arg\""
/tools/trebuchet/
Dgradlew132 for arg in "$@" ; do
133 CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
134 … CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
137 eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
139 eval `echo args$i`="\"$arg\""
/tools/ndkports/
Dgradlew132 for arg in "$@" ; do
133 CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
134 … CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
137 eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
139 eval `echo args$i`="\"$arg\""
/tools/asuite/asuite_plugin/
Dgradlew132 for arg in "$@" ; do
133 CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
134 … CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
137 eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
139 eval `echo args$i`="\"$arg\""
/tools/metalava/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/tools/asuite/asuite_plugin/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/tools/trebuchet/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/tools/ndkports/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/tools/test/connectivity/acts/framework/acts/controllers/android_lib/
Dandroid_api.py59 for arg in args:
60 if isinstance(arg, AndroidDevice):
61 return arg.sdk_api_level()
/tools/repohooks/rh/
Dshell.py145 return ' '.join(shell_quote(arg) for arg in cmd)
Dhooks.py69 for arg in args:
70 if arg.endswith('${PREUPLOAD_FILES_PREFIXED}'):
71 if arg == '${PREUPLOAD_FILES_PREFIXED}':
80 prefix = arg[0:-len('${PREUPLOAD_FILES_PREFIXED}')]
87 if arg == var:
102 replace, arg))
/tools/trebuchet/trebuchet/system-server-analyzer/src/
DSystemServerAnalyzer.kt115 var arg = args[nextArg++] in main() variable
117 when (arg) { in main()
/tools/test/connectivity/acts_tests/tests/google/tel/live/
DTelLivePostflightTest.py38 def on_pass(self, *arg): argument
41 def on_fail(self, *arg): argument
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/power/
DPowerWiFiBaseTest.py90 def _safe_teardown(self, attr, teardown_method, *arg, **kwargs): argument
104 teardown_method(*arg, **kwargs)

123