Home
last modified time | relevance | path

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

12

/art/test/testrunner/
Drun_build_test_target.py100 cmd = ['art/tools/golem/build-target.sh'] variable
101 cmd += ['-j' + str(n_threads)]
102 cmd += ['--showcommands']
103 cmd += ['--machine-type=%s' %(machine_type)]
104 cmd += ['--golem=%s' %(default_golem_config)]
105 cmd += ['--tarball']
106 sys.stdout.write(str(cmd) + '\n')
109 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.java114 CommandLine cmd; in main() local
117 cmd = parser.parse(options, args); in main()
123 if (cmd.hasOption('h')) { in main()
128 String[] jarFiles = cmd.getArgs(); in main()
134 Status status = new Status(cmd.hasOption('d')); in main()
136 if (cmd.hasOption('m')) { in main()
142 cmd.getOptionValue('s', null), in main()
143 cmd.getOptionValue('w', null), in main()
144 cmd.getOptionValue('c', null), in main()
/art/tools/
Dbuildbot-build.sh160 cmd="ln -sf $target $target_out_unstripped/system/bin/$(basename $target)"
161 echo "Executing $cmd"
162 eval "$cmd"
184 cmd="cp -p \"${src}\" \"${dst}\""
185 echo "Executing $cmd"
186 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
Dart80 # Given 'VAR1=VAL VAR2=VAL2 ... cmd arg1 arg2 ... argN' run the 'cmd' with the args
/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/debug/dwarf/
Ddwarf_test.h89 std::string cmd = GetAndroidTool("llvm-dwarfdump"); in Objdump() local
90 cmd = cmd + " " + 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/compiler/utils/
Dassembler_test_base.h61 for (auto cmd : { GetAssemblerCommand()[0], GetDisassemblerCommand()[0] }) { in CheckTools()
62 if (!OS::FileExists(cmd.c_str())) { in CheckTools()
63 LOG(ERROR) << "Could not find " << cmd; in CheckTools()
/art/runtime/
DAndroid.bp512 cmd: "$(location generate_operator_out) art/runtime $(in) > $(out)",
798 cmd: "$(location interpreter/mterp/gen_mterp.py) $(out) $(in)",
809 cmd: "$(location interpreter/mterp/gen_mterp.py) $(out) $(in)",
820 cmd: "$(location interpreter/mterp/gen_mterp.py) $(out) $(in)",
831 cmd: "$(location interpreter/mterp/gen_mterp.py) $(out) $(in)",
846 cmd: "$(location interpreter/mterp/gen_mterp.py) $(out) $(in)",
861 cmd: "$(location interpreter/mterp/gen_mterp.py) $(out) $(in)",
Dnative_stack_dump.cc287 static bool RunCommand(const std::string& cmd) { in RunCommand() argument
288 FILE* stream = popen(cmd.c_str(), "r"); in RunCommand()
/art/perfetto_hprof/
DAndroid.bp25 cmd: "$(location generate_operator_out) art/perfetto_hprof $(in) > $(out)",
/art/tools/cpp-define-generator/
DAndroid.bp57 cmd: "$(location make_header.py) \"$(in)\" > \"$(out)\"",
/art/build/apex/
DAndroid.bp410 cmd: art_check_apex_gen_stem +
427 cmd: art_check_apex_gen_stem +
444 cmd: art_check_apex_gen_stem +

12