Home
last modified time | relevance | path

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

/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/runtime/
Dutils_test.cc313 std::vector<std::string> command; in TEST_F() local
316 command.push_back(android_root + "/bin/id"); in TEST_F()
318 command.push_back("/usr/bin/id"); in TEST_F()
323 EXPECT_TRUE(Exec(command, &error_msg)); in TEST_F()
332 std::vector<std::string> command; in TEST_F() local
333 command.push_back("bogus"); in TEST_F()
337 EXPECT_FALSE(Exec(command, &error_msg)); in TEST_F()
348 std::vector<std::string> command; in TEST_F() local
351 command.push_back(android_root + "/bin/printenv"); in TEST_F()
353 command.push_back("/usr/bin/printenv"); in TEST_F()
[all …]
Druntime_options.def36 // Parse-able keys from the command line.
130 // Not parse-able from command line, but can be provided explicitly.
/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/304-method-tracing/
Dinfo.txt1 Test method tracing from command-line.
/art/dexoptanalyzer/
Ddexoptanalyzer.cc52 std::vector<std::string> command; in CommandLine() local
54 command.push_back(original_argv[i]); in CommandLine()
56 return android::base::Join(command, ' '); in CommandLine()
/art/runtime/interpreter/mterp/
DREADME.txt19 may be blank, hold a comment (line starts with '#'), or be a command.
29 table is an array of pointers to the handlers. This command is required,
30 and must be the first command in the config file.
36 this command is ignored.
46 When present, this command will cause the generation of an alternate
53 command below. Intended to be used to transfer control to an alternate
76 "op" command above, but denotes a source file to override the entry
/art/test/testrunner/
Denv.py53 command = ("CALLED_FROM_SETUP=true " # Enable the 'dump-many-vars' make target.
58 config = subprocess.Popen(command,
Dtestrunner.py474 command = run_test_sh + ' ' + options_test + ' ' + test
477 worker = threading.Thread(target=run_test, args=(command, test, variant_set, test_name))
485 def run_test(command, test, test_variant, test_name): argument
510 proc = subprocess.Popen(command.split(), stderr=subprocess.STDOUT, universal_newlines=True)
512 proc = subprocess.Popen(command.split(), stderr=subprocess.STDOUT, stdout = subprocess.PIPE,
525 command, script_output))
534 timeout, command))
538 ('%s\n%s\n\n') % (command, str(e)))
/art/tools/cpp-define-generator/
DAndroid.bp39 // For the exact filename that this generates to run make command on just
/art/test/
DREADME.md21 To see command flags run:
/art/tools/dexfuzz/
DREADME32 having DEX files pushed to it and executed with the dalvikvm command.
41 7. Run this command:
/art/dex2oat/
Ddex2oat.cc110 std::vector<std::string> command; in CommandLine() local
112 command.push_back(original_argv[i]); in CommandLine()
114 return android::base::Join(command, ' '); in CommandLine()
121 std::vector<std::string> command; in StrippedCommandLine() local
172 command.push_back(original_argv[i]); in StrippedCommandLine()
176 command.push_back("--compiler-filter=" + in StrippedCommandLine()
181 if (command.size() <= 1U) { in StrippedCommandLine()
185 return android::base::Join(command, ' '); in StrippedCommandLine()
/art/patchoat/
Dpatchoat.cc702 std::vector<std::string> command; in CommandLine() local
704 command.push_back(orig_argv[i]); in CommandLine()
706 return android::base::Join(command, ' '); in CommandLine()
/art/runtime/jdwp/
Djdwp_handler.cc1598 static bool IsInvokeCommand(uint8_t command_set, uint8_t command) { in IsInvokeCommand() argument
1600 return command == kJDWPClassTypeInvokeMethodCmd || command == kJDWPClassTypeNewInstanceCmd; in IsInvokeCommand()
1602 return command == kJDWPObjectReferenceInvokeCmd; in IsInvokeCommand()
1604 return command == kJDWPInterfaceTypeInvokeMethodCmd; in IsInvokeCommand()
/art/profman/
Dprofman.cc56 std::vector<std::string> command; in CommandLine() local
58 command.push_back(original_argv[i]); in CommandLine()
60 return android::base::Join(command, ' '); in CommandLine()
/art/tools/checker/
DREADME14 be listed with the '--list-passes' command-line flag).
/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/
Dart114 # Also prints the command to be run if verbose mode is enabled.
/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()