Home
last modified time | relevance | path

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

12

/development/python-packages/fastboot/
Ddevice.py190 if os.name != 'nt' or all(not isinstance(arg, unicode) for arg in args[0]):
193 def escape_arg(arg): argument
196 arg = subprocess.list2cmdline([arg])
199 arg = arg.replace(u"'", u"''")
201 arg = u"'" + arg + u"'"
202 return arg
/development/tools/rmtypedefs/src/com/android/tools/rmtypedefs/
DRmTypeDefs.java72 for (String arg : args) { in run()
73 if (arg.equals("--help") || arg.equals("-h")) { in run()
76 } else if (arg.equals("-q") || arg.equals("--quiet") || arg.equals("--silent")) { in run()
78 } else if (arg.equals("-v") || arg.equals("--verbose")) { in run()
80 } else if (arg.equals("-n") || arg.equals("--dry-run")) { in run()
82 } else if (arg.startsWith("-")) { in run()
83 System.err.println("Unknown argument " + arg); in run()
89 File file = new File(arg); in run()
/development/tools/mkstubs/src/com/android/mkstubs/
DMain.java146 for (String arg : args) { in processArgs()
147 if (arg.startsWith("--")) { in processArgs()
148 if (arg.startsWith("--v")) { in processArgs()
150 } else if (arg.startsWith("--s")) { in processArgs()
152 } else if (arg.startsWith("--h")) { in processArgs()
155 usage("Unknown argument: " + arg); in processArgs()
158 p.setInputJarPath(arg); in processArgs()
160 p.setOutputJarPath(arg); in processArgs()
162 addString(p, arg); in processArgs()
/development/tools/winscope/
Dtrace.sh24 for arg in "$@"; do
25 case $arg in
28 -*) echo "Unknown option: $arg"; help=1;;
29 *) outfile="$arg";;
/development/tools/mkstubs/tests/data/
DTestBaseClass.java31 public TestBaseClass(String arg) { in TestBaseClass() argument
32 mArg = arg; in TestBaseClass()
DTestInnerClass.java40 public TestInnerClass(String arg) { in TestInnerClass() argument
41 mArg = arg; in TestInnerClass()
/development/samples/training/testingfun/
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\""
/development/tools/checkcolor/
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\""
/development/samples/devbytes/telephony/SmsSampleProject/
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\""
/development/python-packages/adb/
Ddevice.py163 if os.name != 'nt' or all(not isinstance(arg, unicode) for arg in args[0]):
166 def escape_arg(arg): argument
169 arg = subprocess.list2cmdline([arg])
172 arg = arg.replace(u"'", u"''")
174 arg = u"'" + arg + u"'"
175 return arg
/development/tools/winscope/src/
Dtransform.js43 function call(fn, arg) { argument
44 return (typeof fn == 'function') ? fn(arg) : fn;
46 function handleChildren(arg, transform) { argument
47 return [].concat(...arg.map((item) => {
62 function concat(arg, args, argsmap) { argument
63 const validArg = arg !== undefined && arg !== null;
67 return [arg].concat(...args.map(argsmap));
72 return [arg];
/development/scripts/
Dcargo2android.py354 arg = args[i]
355 if arg == '--crate-name':
358 elif arg == '--crate-type':
364 elif arg == '--test':
366 elif arg == '--target':
369 elif arg == '--cfg':
375 elif arg == '--extern':
380 elif arg == '-C': # codegen options
383 elif arg.startswith('-C'):
386 self.add_codegens_flag(arg[2:])
[all …]
/development/samples/training/testingfun/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/development/samples/devbytes/telephony/SmsSampleProject/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/development/tools/checkcolor/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/development/vndk/tools/header-checker/tests/input/
Dexample2.h58 bool End ( float arg = 2.0) {
59 bool ret = Begin(arg, 2, 2);
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeyActivityEvent.java42 public MonkeyActivityEvent(ComponentName app, long arg) { in MonkeyActivityEvent() argument
45 mAlarmTime = arg; in MonkeyActivityEvent()
DMonkey.java1365 String arg = mArgs[mNextArg]; in nextOption() local
1366 if (!arg.startsWith("-")) { in nextOption()
1370 if (arg.equals("--")) { in nextOption()
1373 if (arg.length() > 1 && arg.charAt(1) != '-') { in nextOption()
1374 if (arg.length() > 2) { in nextOption()
1375 mCurArgData = arg.substring(2); in nextOption()
1376 return arg.substring(0, 2); in nextOption()
1379 return arg; in nextOption()
1383 Logger.err.println("arg=\"" + arg + "\" mCurArgData=\"" + mCurArgData + "\" mNextArg=" in nextOption()
1386 return arg; in nextOption()
[all …]
/development/gsi/gsi_util/gsi_util/utils/
Dcmd_utils.py98 command_in_log = ' '.join(arg for arg in command)
/development/cmds/monkey/
Dmonkey8 echo " bash arg:" $a
/development/tools/idegen/src/com/android/idegen/
DIntellijProject.java198 String arg = args[argIndex]; in main() local
199 while (arg.startsWith("--")) { in main()
200 if (arg.equals("--no-framework")) { in main()
204 arg = args[argIndex]; in main()
/development/vndk/tools/definition-tool/assets/insight/
Dinsight.js29 let arg = arguments[i];
30 if (typeof(arg) == 'string' || typeof(arg) == 'number') {
31 arg = domNewText(arg)
33 dom.appendChild(arg);
/development/samples/ShortcutDemo/launcher/src/com/example/android/pm/shortcutlauncherdemo/
DShortcutListFragment.java83 final UserHandle arg = getArguments().getParcelable(ARG_USER); in getTargetUsers() local
84 if (arg == null) { in getTargetUsers()
88 ret.add(arg); in getTargetUsers()
/development/vndk/tools/sourcedr/ninja/
Dlist_ninja_build_dep.py78 print('error: Failed to find the target {}'.format(arg.target),
/development/host/windows/usb/adb_winapi_test/
Dadb_winapi_test.cpp449 #define CASE_ARG0(arg) case arg: desc = # arg; break in DumpMessageArg0() argument

12