HomeSort by relevance Sort by last modified time
    Searched refs:RunCommand (Results 1 - 25 of 100) sorted by null

1 2 3 4

  /external/perf_data_converter/src/quipper/
run_command.h 19 int RunCommand(const std::vector<string>& command, std::vector<char>* output);
run_command_test.cc 16 EXPECT_EQ(0, RunCommand({"/bin/sh", "-c", "echo 'Hello, world!'"}, &output));
23 EXPECT_EQ(0, RunCommand({"sh", "-c", "echo 'Hello, world!'"}, &output));
31 RunCommand({"dd", "if=/dev/zero", "bs=5", "count=4096"}, &output));
39 EXPECT_EQ(0, RunCommand({"/bin/sh", "-c", "echo 'Hello, world!'"}, nullptr));
45 RunCommand({"/bin/sh", "-c", "echo 'Hello, void!' >&2"}, &output));
51 int ret = RunCommand({"/doesnt-exist/not-bin/true"}, &output);
  /device/linaro/bootloader/edk2/IntelFsp2Pkg/FspSecCore/Vtf0/
Build.py 20 def RunCommand(commandLine):
41 ret = RunCommand(commandLine)
51 ret = RunCommand(commandLine)
  /device/linaro/bootloader/edk2/IntelFspPkg/FspSecCore/Vtf0/
Build.py 20 def RunCommand(commandLine):
41 ret = RunCommand(commandLine)
51 ret = RunCommand(commandLine)
  /device/linaro/bootloader/edk2/IntelFspWrapperPkg/FspWrapperSecCore/Vtf0/
Build.py 20 def RunCommand(commandLine):
41 ret = RunCommand(commandLine)
51 ret = RunCommand(commandLine)
  /device/linaro/bootloader/edk2/UefiCpuPkg/ResetVector/Vtf0/
Build.py 20 def RunCommand(commandLine):
41 ret = RunCommand(commandLine)
51 ret = RunCommand(commandLine)
  /external/toolchain-utils/cros_utils/
machines.py 24 status = ce.RunCommand(cmd)
command_executer_unittest.py 21 ce.RunCommand(command, command_timeout=timeout, terminated_timeout=timeout)
  /external/toolchain-utils/binary_search_tool/
run_bisect_test.py 20 status = ce.RunCommand(cmd)
27 status = ce.RunCommand(script)
41 status = ce.RunCommand(cmd)
49 status = ce.RunCommand(cmd)
56 status = ce.RunCommand(script)
70 status = ce.RunCommand(cmd)
76 status = ce.RunCommand(test_script)
137 retv = ce.RunCommand(cmd)
153 status = ce.RunCommand(cmd)
161 status = ce.RunCommand(cmd
    [all...]
  /external/toolchain-utils/automation/common/
command_executer_test.py 85 def RunCommand(self, method, **kwargs):
88 return self._executer.RunCommand('%s runHelper %s' % (program, method),
93 exit_code = self.RunCommand('SleepForMinute', command_timeout=3)
99 exit_code = self.RunCommand('IgnoreSigTerm', command_timeout=3)
104 self.assertFalse(self.RunCommand('ReturnTrue'))
107 self.assertTrue(self.RunCommand('ReturnFalse'))
110 self.assertFalse(self.RunCommand('EchoToOutputStream'))
115 self.assertFalse(self.RunCommand('EchoToErrorStream'))
121 self.RunCommand('IsOutputStreamInteractive'),
126 self.RunCommand('IsErrorStreamInteractive')
    [all...]
  /build/kati/
fileutil_bench.cc 27 RunCommand(shell, shellflag, cmd, RedirectStderr::NONE, &result);
38 RunCommand(shell, shellflag, cmd, RedirectStderr::NONE, &result);
fileutil.h 39 int RunCommand(const string& shell,
  /external/toolchain-utils/
command_executer_timeout_test.py 28 ce.RunCommand(command, command_timeout=1)
remote_kill_test.py 39 ce.RunCommand('ls; sleep 10000', machine=os.uname()[1])
remote_gcc_build.py 156 if ce.RunCommand(cmd):
172 return ce.RunCommand(commands)
182 ce.RunCommand(command)
184 ce.RunCommand(command)
186 ce.RunCommand(command)
201 ret = ce.RunCommand(command)
229 ce.RunCommand(commands)
243 ce.RunCommand(command)
246 ce.RunCommand(command)
251 ce.RunCommand(command
    [all...]
tc_enter_chroot.py 38 retv = command_executer.GetCommandExecuter().RunCommand(command)
44 retv = command_executer.GetCommandExecuter().RunCommand(command)
65 return ce.RunCommand('sudo umount %s' % self.mount_dir)
71 retv = command_executer.GetCommandExecuter().RunCommand(command)
227 retv = command_executer.GetCommandExecuter().RunCommand(command)
246 retv = command_executer.GetCommandExecuter().RunCommand(
254 retv = command_executer.GetCommandExecuter().RunCommand(
301 command_executer.GetCommandExecuter().RunCommand(command)
weekly_report.py 43 cmd_executer.RunCommand(cmd)
86 cmd_executer.RunCommand(cmd)
177 ret = cmd_executer.RunCommand(cmd)
190 ret = cmd_executer.RunCommand(cmd)
238 retv = cmd_executer.RunCommand(cmd)
249 retv = cmd_executer.RunCommand(command)
  /device/google/cuttlefish_common/host/commands/stop_cvd/
main.cc 42 void RunCommand(const char* command) {
73 RunCommand(fuser_cmd.c_str());
76 RunCommand(delete_cmd.c_str());
  /external/toolchain-utils/crosperf/
download_images_unittest.py 64 # Verify we called RunCommand once, with proper arguments.
65 self.assertEqual(mock_cmd_exec.RunCommand.call_count, 1)
72 mock_cmd_exec.RunCommand.assert_called_with(expected_args)
90 # Verify we made no RunCommand or ChrootRunCommand calls (since
92 self.assertEqual(mock_cmd_exec.RunCommand.call_count, 0)
117 # Verify RunCommand was called twice with correct arguments.
118 self.assertEqual(mock_cmd_exec.RunCommand.call_count, 2)
120 self.assertEqual(len(mock_cmd_exec.RunCommand.call_args_list[0]), 2)
121 actual_arg = mock_cmd_exec.RunCommand.call_args_list[0][0]
130 mock_cmd_exec.RunCommand.call_args_list[0][1])
    [all...]
download_images.py 27 """Handle Exceptions from calls to RunCommand"""
40 _ = self.ce.RunCommand(self.cleanup_command)
88 status = self._ce.RunCommand(command)
114 retval = self._ce.RunCommand(
121 _ = self._ce.RunCommand(clean_cmd)
131 retval = self._ce.RunCommand(command)
144 status = self._ce.RunCommand(cmd)
166 status = self._ce.RunCommand(command)
180 retval = self._ce.RunCommand(command)
189 retval = self._ce.RunCommand(command
    [all...]
  /frameworks/native/cmds/dumpstate/tests/
dumpstate_test.cpp 150 int RunCommand(const std::string& title, const std::vector<std::string>& full_command,
154 int status = ds.RunCommand(title, full_command, options);
205 EXPECT_EQ(-1, RunCommand("", {}));
209 EXPECT_EQ(0, RunCommand("", {kSimpleCommand}));
215 EXPECT_EQ(0, RunCommand("I AM GROOT", {kSimpleCommand}));
225 0, RunCommand("", {kSimpleCommand},
232 EXPECT_EQ(0, RunCommand("", {kSimpleCommand},
239 EXPECT_EQ(0, RunCommand("", {kEchoCommand, "one"}));
245 EXPECT_EQ(0, RunCommand("", {kEchoCommand, "one", "is", "the", "loniest", "number"}));
252 EXPECT_EQ(0, RunCommand("I AM GROOT", {kSimpleCommand}))
    [all...]
  /build/make/tools/releasetools/
test_build_image.py 20 from build_image import CheckHeadroom, RunCommand
77 ext4fs_output, exit_code = RunCommand(command)
  /external/toolchain-utils/fdo_scripts/
divide_and_merge_profiles.py 36 self._ce.RunCommand(command)
65 self._ce.RunCommand(command)
67 self._ce.RunCommand(command)
80 ret = self._ce.RunCommand(command)
84 self._ce.RunCommand(command)
divide_and_merge_profiles_test.py 30 self._ce.RunCommand('make')
38 self._ce.RunCommand(command)
87 return self._ce.RunCommand(command)
98 self._ce.RunCommand(command)
107 self._ce.RunCommand(command)
  /external/v8/tools/clang/scripts/
update.py 196 def RunCommand(command, msvc_arch=None, env=None, fail_hard=True):
251 if RunCommand(command, fail_hard=False):
259 RunCommand(command)
435 RunCommand(['python', CHROMIUM_DIR+'/build/download_gold_plugin.py'])
524 RunCommand(['cmake'] + bootstrap_args + [LLVM_DIR], msvc_arch='x64')
525 RunCommand(['ninja'], msvc_arch='x64')
529 RunCommand(['ninja', 'check-all'], msvc_arch='x64')
530 RunCommand(['ninja', 'install'], msvc_arch='x64')
566 RunCommand(['ln', '-sf',
591 RunCommand(['cmake'] + lto_cmake_args + [LLVM_DIR], env=lto_env
    [all...]

Completed in 1275 milliseconds

1 2 3 4