Home
last modified time | relevance | path

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

12

/art/tools/
Dbuildbot-build.sh137 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"
Dparallel_run.py33 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))))
Dboot-image-profile-extract-profile.sh31 adb shell cmd package snapshot-profile android
Drun-libcore-tests.sh320 cmd="vogar $vogar_args $expectations $(cparg $DEPS) ${working_packages[@]}"
321 echo "Running $cmd"
322 $dry_run || eval $cmd
/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/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/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
335 def RunCommand(self, cmd, log_severity=LogSeverity.ERROR): argument
[all …]
/art/tools/class2greylist/src/com/android/class2greylist/
DClass2Greylist.java112 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/
Dbisection_search.py113 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 …]
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/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/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/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/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/tools/cpp-define-generator/
DAndroid.bp48 cmd: "$(location make_header.py) \"$(in)\" > \"$(out)\"",
/art/runtime/
Dnative_stack_dump.cc289 static bool RunCommand(const std::string& cmd) { in RunCommand() argument
290 FILE* stream = popen(cmd.c_str(), "r"); in RunCommand()
DAndroid.bp476 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/
DAndroid.bp25 cmd: "$(location generate_operator_out) art/perfetto_hprof $(in) > $(out)",
/art/build/apex/
DAndroid.bp414 cmd: art_check_apex_gen_stem +
431 cmd: art_check_apex_gen_stem +
448 cmd: art_check_apex_gen_stem +

12