Home
last modified time | relevance | path

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

/art/runtime/
Dexec_utils_test.cc32 std::vector<std::string> command; in TEST_F() local
35 command.push_back(android_root + "/bin/id"); in TEST_F()
37 command.push_back("/usr/bin/id"); in TEST_F()
42 EXPECT_TRUE(Exec(command, &error_msg)); in TEST_F()
50 std::vector<std::string> command; in TEST_F() local
51 command.push_back("bogus"); in TEST_F()
55 EXPECT_FALSE(Exec(command, &error_msg)); in TEST_F()
65 std::vector<std::string> command; in TEST_F() local
68 command.push_back(android_root + "/bin/printenv"); in TEST_F()
70 command.push_back("/usr/bin/printenv"); in TEST_F()
[all …]
Druntime_options.def36 // Parse-able keys from the command line.
150 // Not parse-able from command line, but can be provided explicitly.
/art/tools/dexfuzz/src/dexfuzz/executors/
DDevice.java109 pb.command("adb", "devices"); in setup()
184 public ExecutionResult executeCommand(String command, boolean captureOutput) { in executeCommand() argument
186 return executeCommand(command, captureOutput, null, null); in executeCommand()
189 public ExecutionResult executeCommand(String command, boolean captureOutput, in executeCommand() argument
194 Log.info("Executing: " + command); in executeCommand()
197 ProcessBuilder processBuilder = new ProcessBuilder(splitCommand(command)); in executeCommand()
243 private List<String> splitCommand(String command) { in splitCommand() argument
245 Matcher m = Pattern.compile("(\'[^\']+\'| *[^ ]+ *)").matcher(command); in splitCommand()
251 private String getExecutionPrefixWithAdb(String command) { in getExecutionPrefixWithAdb() argument
253 return String.format("adb -s %s %s ", deviceName, command); in getExecutionPrefixWithAdb()
[all …]
DExecutor.java76 protected ExecutionResult executeCommandWithTimeout(String command, boolean captureOutput) { in executeCommandWithTimeout() argument
78 return device.executeCommand(timeoutString + device.getExecutionShellPrefix() + command, in executeCommandWithTimeout()
178 String command = ""; in execute() local
181 command = "PATH=" + androidRoot + "/bin "; in execute()
182 command += "ANDROID_ROOT=" + androidRoot + " "; in execute()
183 command += "LD_LIBRARY_PATH="+ androidRoot + "/lib:" + androidRoot + "/lib64 "; in execute()
185 command += constructCommand(programName); in execute()
186 executionResult = executeCommandWithTimeout(command, true); in execute()
/art/tools/
Dwrap-logcat.py41 if len(args.command) == 0:
52 with subprocess.Popen(shlex.split(args.command[0]) if len(args.command) == 1 else args.command,
/art/libartbase/base/
Dmembarrier.cc50 int membarrier(MembarrierCommand command) { in membarrier() argument
73 return syscall(__NR_membarrier, static_cast<int>(command), 0); in membarrier()
78 int membarrier(MembarrierCommand command ATTRIBUTE_UNUSED) {
Dmembarrier.h47 int membarrier(MembarrierCommand command);
/art/tools/bisection_search/
DREADME.md20 1. Regular invocation, dalvikvm command is constructed internally:
24 2. Raw-cmd invocation, dalvikvm command is accepted as an argument.
26 Extra dalvikvm arguments will be placed on second position in the command
29 If used in device mode, the command has to exec a dalvikvm instance. Bisection
51 dalvikvm command options:
58 … --raw-cmd RAW_CMD bisect with this command, ignore other command options
/art/test/
DREADME.atest.md7 command line tool.
30 To run all ART run-tests in a single command, the currently recommended way is
33 You can nonetheless run all supported ART run-tests with a single Atest command,
40 so the above Atest command will likely report many tests failures. The ART team
63 using the following `atest` command:
69 This command:
104 following `atest` command:
110 This command:
134 command from the Android source tree top-level directory:
138 In the previous command, `art` is the (relative) path to the directory
DREADME.chroot.md14 shell chroot $ART_TEST_CHROOT <command>` to execute commands on the device
94 * Specific tests to run can be passed on the command line, specified by
DREADME.md90 To see command flags run:
/art/test/304-method-tracing/
Dinfo.txt1 Test method tracing from command-line.
/art/test/testrunner/
Dtestrunner.py577 command = ' '.join((run_test_sh, options_test, ' '.join(extra_arguments[target]), test))
578 return executor.submit(run_test, command, test, variant_set, test_name)
633 def run_test(command, test, test_variant, test_name): argument
662 args=command.split(),
669 args=command.split(),
684 failed_tests.append((test_name, str(command) + "\n" + script_output))
685 return (test_name, 'FAIL', ('%s\n%s') % (command, script_output), test_time)
721 return (test_name, 'TIMEOUT', 'Timed out in %d seconds\n%s' % (timeout, command), test_time)
724 return (test_name, 'FAIL', ('%s\n%s\n\n') % (command, str(e)), datetime.timedelta())
/art/dexoptanalyzer/
Ddexoptanalyzer.cc51 std::vector<std::string> command; in CommandLine() local
52 command.reserve(original_argc); in CommandLine()
54 command.push_back(original_argv[i]); in CommandLine()
56 return android::base::Join(command, ' '); in CommandLine()
/art/tools/hiddenapi/
Dhiddenapi.cc47 std::vector<std::string> command; in CommandLine() local
48 command.reserve(original_argc); in CommandLine()
50 command.push_back(original_argv[i]); in CommandLine()
52 return android::base::Join(command, ' '); in CommandLine()
911 const std::string_view command(raw_command); in ParseArgs() local
912 if (command == "encode") { in ParseArgs()
931 } else if (command == "list") { in ParseArgs()
/art/compiler/driver/
Dcompiler_options_map.def36 // Parse-able keys from the command line.
/art/tools/dexfuzz/
DREADME32 having DEX files pushed to it and executed with the dalvikvm command.
41 7. Run this command:
/art/dex2oat/
Ddex2oat_options.def36 // Parse-able keys from the command line.
Ddex2oat.cc134 std::vector<std::string> command; in CommandLine() local
135 command.reserve(original_argc); in CommandLine()
137 command.push_back(original_argv[i]); in CommandLine()
139 return android::base::Join(command, ' '); in CommandLine()
146 std::vector<std::string> command; in StrippedCommandLine() local
197 command.push_back(original_argv[i]); in StrippedCommandLine()
201 command.push_back("--compiler-filter=" + in StrippedCommandLine()
206 if (command.size() <= 1U) { in StrippedCommandLine()
211 return android::base::Join(command, ' '); in StrippedCommandLine()
/art/cmdline/
DREADME.md6 This directory contains the classes that do common command line tool initialization and parsing. The
7 long term goal is eventually for all `art` command-line tools to be using these helpers.
/art/tools/ahat/
DREADME.txt68 Add --retained command line option to ahat.
/art/profman/
Dprofman.cc76 std::vector<std::string> command; in CommandLine() local
77 command.reserve(original_argc); in CommandLine()
79 command.push_back(original_argv[i]); in CommandLine()
81 return android::base::Join(command, ' '); in CommandLine()
/art/tools/checker/
DREADME14 be listed with the '--list-passes' command-line flag).
/art/tools/dmtracedump/
Dtracedump.cc1479 char command[1024]; in createInclusiveProfileGraphNew() local
1480 snprintf(command, 1024, "dot -Tpng -o \"%s\" \"%s\"", gOptions.graphFileName, path); in createInclusiveProfileGraphNew()
1482 system(command); in createInclusiveProfileGraphNew()
/art/build/boot/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt3015 Ljava/lang/ProcessBuilder;->command:Ljava/util/List;