/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/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 333 def RunCommand(self, cmd, log_severity=LogSeverity.ERROR): argument [all …]
|
/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/class2greylist/src/com/android/class2greylist/ |
D | Class2Greylist.java | 119 CommandLine cmd; in main() local 122 cmd = parser.parse(options, args); in main() 128 if (cmd.hasOption('h')) { in main() 133 String[] jarFiles = cmd.getArgs(); in main() 139 Status status = new Status(cmd.hasOption('d')); in main() 141 if (cmd.hasOption('m')) { in main() 147 cmd.getOptionValue('s', null), in main() 148 cmd.getOptionValue('w', null), in main() 149 cmd.getOptionValue('c', null), in main()
|
/art/tools/bisection_search/ |
D | bisection_search.py | 115 cmd = self._PrepareCmd(compiled_methods=compiled_methods, 118 cmd, LogSeverity.ERROR) 137 cmd = self._PrepareCmd() 138 (output, _) = self._test_env.RunCommand(cmd, LogSeverity.INFO) 157 cmd = self._PrepareCmd(compiled_methods=[compiled_method]) 158 (output, _) = self._test_env.RunCommand(cmd, LogSeverity.INFO) 167 cmd = self._base_cmd[0:self._arguments_position] 171 cmd += ['-Xcompiler-option', '--run-passes={0}'.format( 173 cmd += ['-Xcompiler-option', '--runtime-arg', '-Xcompiler-option', 175 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/tools/ |
D | run-libcore-tests.sh | 219 cmd="vogar $vogar_args $expectations $(cparg $DEPS) ${working_packages[@]}" 220 echo "Running $cmd" 221 eval $cmd
|
/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/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/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/runtime/ |
D | Android.bp | 464 cmd: "$(location generate_operator_out) art/runtime $(in) > $(out)", 692 cmd: "$(location interpreter/mterp/gen_mterp.py) $(out) $(in)", 700 cmd: "$(location interpreter/mterp/gen_mterp.py) $(out) $(in)", 708 cmd: "$(location interpreter/mterp/gen_mterp.py) $(out) $(in)", 716 cmd: "$(location interpreter/mterp/gen_mterp.py) $(out) $(in)", 724 cmd: "$(location interpreter/mterp/gen_mterp.py) $(out) $(in)", 732 cmd: "$(location interpreter/mterp/gen_mterp.py) $(out) $(in)",
|
D | native_stack_dump.cc | 283 static bool RunCommand(const std::string& cmd) { in RunCommand() argument 284 FILE* stream = popen(cmd.c_str(), "r"); in RunCommand()
|
/art/tools/cpp-define-generator/ |
D | Android.bp | 46 cmd: "$(location make_header.py) \"$(in)\" > \"$(out)\"",
|
/art/dexlayout/ |
D | dexdiag.cc | 445 static void Usage(const char* cmd) { in Usage() argument 446 std::cout << "Usage: " << cmd << " [options] pid" << std::endl in Usage()
|
/art/build/apex/ |
D | Android.bp | 341 cmd: "$(location art-apex-tester)" 367 cmd: "$(location art-apex-tester)"
|
/art/libartbase/ |
D | Android.bp | 155 cmd: "$(location generate_operator_out) art/libartbase $(in) > $(out)",
|
/art/libdexfile/ |
D | Android.bp | 131 cmd: "$(location generate_operator_out) art/libdexfile $(in) > $(out)",
|
/art/dex2oat/ |
D | Android.bp | 105 cmd: "$(location generate_operator_out) art/dex2oat $(in) > $(out)",
|