/development/python-packages/fastboot/ |
D | device.py | 190 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/ |
D | RmTypeDefs.java | 72 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/winscope/src/ |
D | transform.js | 23 function call(fn, arg) { argument 24 return (typeof fn == 'function') ? fn(arg) : fn; 26 function handle_children(arg, transform) { argument 27 return [].concat(...arg.map((item) => { 41 function concat(arg, args, argsmap) { argument 42 var validArg = arg !== undefined && arg !== null; 46 return [arg].concat(...args.map(argsmap)); 51 return [arg];
|
/development/tools/mkstubs/src/com/android/mkstubs/ |
D | Main.java | 146 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/samples/devbytes/telephony/SmsSampleProject/ |
D | gradlew | 132 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/training/testingfun/ |
D | gradlew | 132 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/ |
D | gradlew | 132 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/scripts/ |
D | cargo2android.py | 385 arg = args[i] 386 if arg == '--crate-name': 389 elif arg == '--crate-type': 395 elif arg == '--test': 397 elif arg == '--target': 400 elif arg == '--cfg': 406 elif arg == '--extern': 411 elif arg == '-C': # codegen options 414 elif arg.startswith('-C'): 417 self.add_codegens_flag(arg[2:]) [all …]
|
/development/python-packages/adb/ |
D | device.py | 163 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/ |
D | trace.sh | 24 for arg in "$@"; do 25 case $arg in 28 -*) echo "Unknown option: $arg"; help=1;; 29 *) outfile="$arg";;
|
/development/tools/mkstubs/tests/data/ |
D | TestBaseClass.java | 31 public TestBaseClass(String arg) { in TestBaseClass() argument 32 mArg = arg; in TestBaseClass()
|
D | TestInnerClass.java | 40 public TestInnerClass(String arg) { in TestInnerClass() argument 41 mArg = arg; in TestInnerClass()
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
D | Monkey.java | 1365 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 …]
|
D | MonkeyActivityEvent.java | 39 public MonkeyActivityEvent(ComponentName app, long arg) { in MonkeyActivityEvent() argument 42 mAlarmTime = arg; in MonkeyActivityEvent()
|
/development/vndk/tools/definition-tool/assets/insight/ |
D | insight.js | 29 let arg = arguments[i]; 30 if (typeof(arg) == 'string' || typeof(arg) == 'number') { 31 arg = domNewText(arg) 33 dom.appendChild(arg);
|
/development/vndk/tools/header-checker/tests/input/ |
D | example2.h | 58 bool End ( float arg = 2.0) { 59 bool ret = Begin(arg, 2, 2);
|
/development/tools/idegen/src/com/android/idegen/ |
D | IntellijProject.java | 198 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/gsi/gsi_util/gsi_util/utils/ |
D | cmd_utils.py | 98 command_in_log = ' '.join(arg for arg in command)
|
/development/samples/ShortcutDemo/launcher/src/com/example/android/pm/shortcutlauncherdemo/ |
D | ShortcutListFragment.java | 83 final UserHandle arg = getArguments().getParcelable(ARG_USER); in getTargetUsers() local 84 if (arg == null) { in getTargetUsers() 88 ret.add(arg); in getTargetUsers()
|
/development/cmds/monkey/ |
D | monkey | 8 echo " bash arg:" $a
|
/development/vndk/tools/sourcedr/ninja/ |
D | list_ninja_build_dep.py | 78 print('error: Failed to find the target {}'.format(arg.target),
|
/development/host/windows/usb/adb_winapi_test/ |
D | adb_winapi_test.cpp | 449 #define CASE_ARG0(arg) case arg: desc = # arg; break in DumpMessageArg0() argument
|
/development/vndk/tools/header-checker/src/dumper/ |
D | abi_wrappers.cpp | 114 const clang::TemplateArgument &arg = (*tl)[i]; in SetupTemplateArguments() local 116 if (arg.getKind() != clang::TemplateArgument::Type) { in SetupTemplateArguments() 119 clang::QualType type = arg.getAsType(); in SetupTemplateArguments()
|
/development/vndk/tools/definition-tool/ |
D | vndk_definition_tool.py | 160 for i, arg in enumerate(args): 163 if isinstance(arg, str): 164 out_file.write(arg) 165 elif isinstance(arg, bytes): 167 out_file.buffer.write(arg) 170 out_file.write(str(arg)) 347 arg = kwargs.get(field_names[i]) 348 if arg: 349 args.append(arg) 2741 def _parse_action_on_ineligible_lib(arg): argument [all …]
|
/development/tools/repo_diff/service/repodiff/persistence/filesystem/testdata/ |
D | commit.csv | 1922 …/cts,fake_mCvxaTzkTTaNfDI614yZrQ@fakeemail.com,CtsMediaBitstreamsTestCases: support cli arg passing 3837 …,fake_P6bXu87CSICfEz2KROaYKA@fakeemail.com,Don't implicitly include modules mentioned in module-arg 7516 …tform/system/core,fake_1VQmwE5LQoCL61LnThZ5dA@fakeemail.com,ion_test.c: Fix c/p error in arg parse. 8041 …est/connectivity,fake_P4IDfVrySbCqvIIEbs8z2A@fakeemail.com,"Added 'all' to arg parser, as well as … 11825 …6440598c1,platform/build,fake_LhnpdyFrQyG9IHO3R92JvQ@fakeemail.com,Support arg file list for -R in… 12476 …tform/build,fake_C-yEDNG1Qau8GBGGWt8Yhg@fakeemail.com,Drop obsolete javac -extdirs commandline arg. 19418 …al/iproute2,fake_-ReMIE4NQgiNKiSSIsNm2A@fakeemail.com,ss: Mark fall through in arg parsing switch() 19541 …e_qKBp5RQmQp6ALqWziFjSKg@fakeemail.com,f_bpf: fix filling of handle when no further arg is provided 19740 …/external/iproute2,fake_-ReMIE4NQgiNKiSSIsNm2A@fakeemail.com,tc: flower: No need to cache indev arg 20019 …xternal/iproute2,fake_-ReMIE4NQgiNKiSSIsNm2A@fakeemail.com,ip-address: constify match_link_kind arg [all …]
|