/art/tools/ |
D | buildbot-build.sh | 137 cmd="ln -sf $target $target_out_unstripped/system/bin/$(basename $target)" 138 echo "Executing $cmd" 139 eval "$cmd" 157 cmd="cp -p \"${src}\" \"${dst}\"" 158 echo "Executing $cmd" 159 eval "$cmd"
|
D | parallel_run.py | 33 def run_one(cmd, tmpfile): argument 36 return tmpfile, subprocess.run(cmd, stdout=fd).returncode 58 fs.add(p.submit(run_one, args.cmd, os.path.join(td, "run_log." + str(idx))))
|
D | boot-image-profile-extract-profile.sh | 31 adb shell cmd package snapshot-profile android
|
D | run-libcore-tests.sh | 320 cmd="vogar $vogar_args $expectations $(cparg $DEPS) ${working_packages[@]}" 321 echo "Running $cmd" 322 $dry_run || eval $cmd
|
/art/test/testrunner/ |
D | run_build_test_target.py | 96 cmd = ['art/tools/golem/build-target.sh'] variable 97 cmd += ['-j' + str(n_threads)] 98 cmd += ['--showcommands'] 99 cmd += ['--machine-type=%s' %(machine_type)] 100 cmd += ['--golem=%s' %(default_golem_config)] 101 cmd += ['--tarball'] 102 sys.stdout.write(str(cmd) + '\n') 105 if subprocess.call(cmd):
|
/art/tools/jfuzz/ |
D | run_jfuzz_test_nightly.py | 39 cmd = [cwd + '/run_jfuzz_test.py'] 46 cmd = cmd + unknown_args 50 print('**** Running ****\n\n', cmd, '\n') 55 processes.append(subprocess.Popen(cmd, stdout=output_file,
|
D | run_jfuzz_test.py | 275 cmd = self._dalvik_cmd + ['-cp', self._device_classpath, 'Test'] 277 cmd, {'ANDROID_LOG_TAGS': '*:s'}) 287 cmd = ['--raw-cmd={0}'.format(cmd_str), '--timeout', str(30)] 289 cmd += ['--device-serial', self._device] 291 cmd.append('--device') 292 return cmd 344 cmd = ['--raw-cmd={0}'.format(cmd_str), '--timeout', str(30)] 346 cmd += ['--device-serial', self._device] 348 cmd.append('--device') 349 return cmd
|
D | run_dex_fuzz_test.py | 165 cmd = ['dexfuzz'] + dexfuzz_args 166 print('**** Running ****\n\n', cmd, '\n') 167 call(cmd, env=self._dexfuzz_env)
|
/art/tools/common/ |
D | common.py | 132 def RunCommandForOutput(cmd, env, stdout, stderr, timeout=60): argument 148 proc = Popen(cmd, stdout=stdout, stderr=stderr, env=env, 163 def _LogCmdOutput(logfile, cmd, output, retcode): argument 173 CommandListToCommandString(cmd), output, retcode)) 176 def RunCommand(cmd, out, err, timeout=5): argument 195 (_, _, retcode) = RunCommandForOutput(cmd, None, outf, errf, timeout) 203 def CommandListToCommandString(cmd): argument 214 return ' '.join([shlex.quote(segment) for segment in cmd]) 255 def RunCommand(self, cmd, log_severity=LogSeverity.ERROR): argument 335 def RunCommand(self, cmd, log_severity=LogSeverity.ERROR): argument [all …]
|
/art/tools/class2greylist/src/com/android/class2greylist/ |
D | Class2Greylist.java | 112 CommandLine cmd; in main() local 115 cmd = parser.parse(options, args); in main() 121 if (cmd.hasOption('h')) { in main() 126 String[] jarFiles = cmd.getArgs(); in main() 132 Status status = new Status(cmd.hasOption('d')); in main() 134 if (cmd.hasOption('m')) { in main() 140 cmd.getOptionValue('s', null), in main() 141 cmd.getOptionValue('w', null), in main() 142 cmd.getOptionValue('c', null), in main()
|
/art/tools/bisection_search/ |
D | bisection_search.py | 113 cmd = self._PrepareCmd(compiled_methods=compiled_methods, 116 cmd, LogSeverity.ERROR) 135 cmd = self._PrepareCmd() 136 (output, _) = self._test_env.RunCommand(cmd, LogSeverity.INFO) 155 cmd = self._PrepareCmd(compiled_methods=[compiled_method]) 156 (output, _) = self._test_env.RunCommand(cmd, LogSeverity.INFO) 165 cmd = self._base_cmd[0:self._arguments_position] 169 cmd += ['-Xcompiler-option', '--run-passes={0}'.format( 171 cmd += ['-Xcompiler-option', '--runtime-arg', '-Xcompiler-option', 173 cmd += self._base_cmd[self._arguments_position:] [all …]
|
D | README.md | 24 2. Raw-cmd invocation, dalvikvm command is accepted as an argument. 30 will fail if pid of the process started by raw-cmd is different than pid of runtime. 32 ./bisection_search.py --raw-cmd='run.sh -cp classes.dex Test' --expected-retcode SUCCESS 33 …./bisection_search.py --raw-cmd='/bin/sh art {ARGS} -cp classes.dex Test' --expected-retcode SUCCE… 39 [--image IMAGE] [--raw-cmd RAW_CMD] 46 Tool for finding compiler bugs. Either --raw-cmd or both -cp and --class are required. 58 … --raw-cmd RAW_CMD bisect with this command, ignore other command options
|
/art/libartbase/base/ |
D | membarrier_test.cc | 27 bool HasMembarrier(art::MembarrierCommand cmd) { in HasMembarrier() argument 30 return (supported_cmds > 0) && ((supported_cmds & static_cast<int>(cmd)) != 0); in HasMembarrier() 51 static const char* MembarrierCommandToName(art::MembarrierCommand cmd) { in MembarrierCommandToName() argument 53 switch (cmd) { in MembarrierCommandToName()
|
/art/test/dexdump/ |
D | run-all-tests | 97 cmd="${SUFFIX_COMMAND_MAP[${suffix}]} ${dex}" 98 ${cmd} > ${actual_output} 104 echo failed: ${cmd}
|
/art/dt_fd_forward/ |
D | dt_fd_forward.cc | 473 pkt_->type.cmd.len = len; in ReadFully() 474 pkt_->type.cmd.id = ReadInt32(); in ReadFully() 475 pkt_->type.cmd.flags = ReadByte(); in ReadFully() 495 pkt_->type.cmd.cmdSet = ReadByte(); in ReadCmdPacket() 496 pkt_->type.cmd.cmd = ReadByte(); in ReadCmdPacket() 497 pkt_->type.cmd.data = ReadRemaining(); in ReadCmdPacket() 510 pkt_->type.cmd.len = 0; in HandleResult() 524 jint rem = pkt_->type.cmd.len - 11; in ReadRemaining() 591 PushInt32(pkt_->type.cmd.len); in WriteFully() 592 PushInt32(pkt_->type.cmd.id); in WriteFully() [all …]
|
/art/compiler/utils/ |
D | assembler_thumb_test.cc | 123 char cmd[1024]; in DumpAndCheck() local 126 snprintf(cmd, sizeof(cmd), "%sas %s -o %s.o", toolsdir.c_str(), filename, filename); in DumpAndCheck() 127 int cmd_result = system(cmd); in DumpAndCheck() 128 ASSERT_EQ(cmd_result, 0) << cmd << strerror(errno); in DumpAndCheck() 131 …snprintf(cmd, sizeof(cmd), "%sobjdump -D -M force-thumb --section=.text %s.o | grep '^ *[0-9a-f]… in DumpAndCheck() 136 strcat(cmd, " | sed '-es/^/ \"/' | sed '-es/$/\\\\n\",/'"); in DumpAndCheck() 137 int cmd_result3 = system(cmd); in DumpAndCheck() 141 FILE *fp = popen(cmd, "r"); in DumpAndCheck()
|
D | assembler_test_base.h | 227 std::string cmd = android::base::Join(args, ' '); in Assemble() local 232 args.push_back(cmd); in Assemble() 263 std::string cmd = android::base::Join(args, ' '); in Objdump() local 268 args.push_back(cmd); in Objdump() 344 std::string cmd = android::base::Join(args, ' '); in DisassembleBinary() local 349 args.push_back(cmd); in DisassembleBinary()
|
/art/compiler/debug/dwarf/ |
D | dwarf_test.h | 89 std::string cmd = GetAndroidHostToolsDir(); in Objdump() local 90 cmd = cmd + "objdump " + args + " " + file.GetFilename() + " 2>&1"; in Objdump() 91 FILE* output = popen(cmd.data(), "r"); in Objdump()
|
/art/test/968-default-partial-compile-gen/util-src/ |
D | generate_java.py | 70 cmd = ['sh', '-a', '-e', '--', str(self.javac)] + args + files 71 print("Running compile command: {}".format(cmd)) 72 subprocess.check_call(cmd)
|
/art/test/971-iface-super/util-src/ |
D | generate_java.py | 70 cmd = ['sh', '-a', '-e', '--', str(self.javac)] + args + files 71 print("Running compile command: {}".format(cmd)) 72 subprocess.check_call(cmd)
|
/art/tools/cpp-define-generator/ |
D | Android.bp | 48 cmd: "$(location make_header.py) \"$(in)\" > \"$(out)\"",
|
/art/runtime/ |
D | native_stack_dump.cc | 289 static bool RunCommand(const std::string& cmd) { in RunCommand() argument 290 FILE* stream = popen(cmd.c_str(), "r"); in RunCommand()
|
D | Android.bp | 476 cmd: "$(location generate_operator_out) art/runtime $(in) > $(out)", 719 cmd: "$(location interpreter/mterp/gen_mterp.py) $(out) $(in)", 730 cmd: "$(location interpreter/mterp/gen_mterp.py) $(out) $(in)", 741 cmd: "$(location interpreter/mterp/gen_mterp.py) $(out) $(in)", 752 cmd: "$(location interpreter/mterp/gen_mterp.py) $(out) $(in)", 767 cmd: "$(location interpreter/mterp/gen_mterp.py) $(out) $(in)",
|
/art/perfetto_hprof/ |
D | Android.bp | 25 cmd: "$(location generate_operator_out) art/perfetto_hprof $(in) > $(out)",
|
/art/build/apex/ |
D | Android.bp | 414 cmd: art_check_apex_gen_stem + 431 cmd: art_check_apex_gen_stem + 448 cmd: art_check_apex_gen_stem +
|