Home
last modified time | relevance | path

Searched refs:cmd (Results 1 – 25 of 30) sorted by relevance

12

/art/test/testrunner/
Drun_build_test_target.py96 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/
Dcommon.py132 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/
Drun_jfuzz_test_nightly.py39 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,
Drun_jfuzz_test.py275 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
Drun_dex_fuzz_test.py165 cmd = ['dexfuzz'] + dexfuzz_args
166 print('**** Running ****\n\n', cmd, '\n')
167 call(cmd, env=self._dexfuzz_env)
/art/tools/bisection_search/
Dbisection_search.py115 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 …]
DREADME.md24 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/tools/class2greylist/src/com/android/class2greylist/
DClass2Greylist.java119 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/libartbase/base/
Dmembarrier_test.cc27 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/
Drun-all-tests97 cmd="${SUFFIX_COMMAND_MAP[${suffix}]} ${dex}"
98 ${cmd} > ${actual_output}
104 echo failed: ${cmd}
/art/tools/
Drun-libcore-tests.sh219 cmd="vogar $vogar_args $expectations $(cparg $DEPS) ${working_packages[@]}"
220 echo "Running $cmd"
221 eval $cmd
/art/dt_fd_forward/
Ddt_fd_forward.cc473 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/
Dassembler_thumb_test.cc123 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()
Dassembler_test_base.h227 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/
Ddwarf_test.h89 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/971-iface-super/util-src/
Dgenerate_java.py70 cmd = ['sh', '-a', '-e', '--', str(self.javac)] + args + files
71 print("Running compile command: {}".format(cmd))
72 subprocess.check_call(cmd)
/art/test/968-default-partial-compile-gen/util-src/
Dgenerate_java.py70 cmd = ['sh', '-a', '-e', '--', str(self.javac)] + args + files
71 print("Running compile command: {}".format(cmd))
72 subprocess.check_call(cmd)
/art/runtime/
DAndroid.bp464 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)",
Dnative_stack_dump.cc283 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/
DAndroid.bp46 cmd: "$(location make_header.py) \"$(in)\" > \"$(out)\"",
/art/dexlayout/
Ddexdiag.cc445 static void Usage(const char* cmd) { in Usage() argument
446 std::cout << "Usage: " << cmd << " [options] pid" << std::endl in Usage()
/art/build/apex/
DAndroid.bp341 cmd: "$(location art-apex-tester)"
367 cmd: "$(location art-apex-tester)"
/art/libartbase/
DAndroid.bp155 cmd: "$(location generate_operator_out) art/libartbase $(in) > $(out)",
/art/libdexfile/
DAndroid.bp131 cmd: "$(location generate_operator_out) art/libdexfile $(in) > $(out)",
/art/dex2oat/
DAndroid.bp105 cmd: "$(location generate_operator_out) art/dex2oat $(in) > $(out)",

12