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

1 2 3

  /system/connectivity/wificond/tests/
shell_unittest.cpp 21 using android::wificond::tests::integration::RunShellCommand;
29 int result = RunShellCommand("echo hello world", &output);
shell_utils.h 30 int RunShellCommand(const std::string& shell_command,
  /system/connectivity/wificond/tests/integration/
life_cycle_test.cpp 24 using android::wificond::tests::integration::RunShellCommand;
37 RunShellCommand("stop wificond");
45 RunShellCommand("start wificond");
process_utils.cpp 47 RunShellCommand(StringPrintf("pgrep -c ^%s$", process_name), &output);
70 RunShellCommand("stop wificond");
72 RunShellCommand("stop");
74 RunShellCommand("start wificond");
86 RunShellCommand("stop wificond");
88 RunShellCommand("start");
90 RunShellCommand("start wificond");
service_test.cpp 28 using android::wificond::tests::integration::RunShellCommand;
58 RunShellCommand("stop wificond");
  /external/chromium-trace/catapult/devil/devil/android/perf/
cache_control.py 14 self._device.RunShellCommand(['sync'], check_return=True, as_root=True)
  /external/libmojo/third_party/catapult/devil/devil/android/perf/
cache_control.py 14 self._device.RunShellCommand('sync', as_root=True)
surface_stats_collector.py 107 results = self._device.RunShellCommand(
112 results = self._device.RunShellCommand('ps | grep surfaceflinger')
158 results = self._device.RunShellCommand(
  /external/chromium-trace/catapult/devil/devil/android/
md5sum_test.py 94 device.RunShellCommand = mock.Mock(side_effect=Exception())
107 device.RunShellCommand = mock.Mock(return_value=device_md5sum_output)
115 self.assertEquals(1, len(device.RunShellCommand.call_args_list))
127 device.RunShellCommand = mock.Mock(return_value=device_md5sum_output)
138 self.assertEquals(1, len(device.RunShellCommand.call_args_list))
151 device.RunShellCommand = mock.Mock(return_value=device_md5sum_output)
162 self.assertEquals(1, len(device.RunShellCommand.call_args_list))
176 device.RunShellCommand = mock.Mock(return_value=device_md5sum_output)
184 self.assertEquals(1, len(device.RunShellCommand.call_args_list))
196 device.RunShellCommand = mock.Mock(return_value=device_md5sum_output
    [all...]
battery_utils_test.py 111 (self.call.device.RunShellCommand(
120 (self.call.device.RunShellCommand(
129 (self.call.device.RunShellCommand(
144 (self.call.device.RunShellCommand(
146 (self.call.device.RunShellCommand(
150 (self.call.device.RunShellCommand(
153 (self.call.device.RunShellCommand(
156 (self.call.device.RunShellCommand(
167 (self.call.device.RunShellCommand(
169 (self.call.device.RunShellCommand(
    [all...]
settings.py 141 for row in self._device.RunShellCommand(
150 query_row = self._device.RunShellCommand(
163 self._device.RunShellCommand(
169 self._device.RunShellCommand(
176 self._device.RunShellCommand(
264 output_msg = device.RunShellCommand(
md5sum.py 73 # avoid needing to write to an intermediary file (which RunShellCommand will
92 out = device.RunShellCommand(md5sum_script, shell=True, check_return=True)
100 device.RunShellCommand(['rm', '-rf', MD5SUM_DEVICE_LIB_PATH],
106 device.RunShellCommand(mkdir_cmd, shell=True, check_return=True)
109 out = device.RunShellCommand(md5sum_script, shell=True, check_return=True)
install_commands.py 45 device.RunShellCommand(
52 device.RunShellCommand(
device_utils_test.py 197 return (self.call.device.RunShellCommand(
371 (self.call.device.RunShellCommand(
380 (self.call.device.RunShellCommand(
389 (self.call.device.RunShellCommand(
398 (self.call.device.RunShellCommand(
    [all...]
device_utils_devicetest.py 91 result = self.device.RunShellCommand(
106 result = self.device.RunShellCommand(
148 result = self.device.RunShellCommand(
192 result = self.device.RunShellCommand(
202 result = self.device.RunShellCommand(
216 ps_output = self.device.RunShellCommand(['ps'], check_return=True)
  /external/libmojo/third_party/catapult/devil/devil/android/
md5sum_test.py 94 device.RunShellCommand = mock.Mock(side_effect=Exception())
107 device.RunShellCommand = mock.Mock(return_value=device_md5sum_output)
115 self.assertEquals(1, len(device.RunShellCommand.call_args_list))
127 device.RunShellCommand = mock.Mock(return_value=device_md5sum_output)
138 self.assertEquals(1, len(device.RunShellCommand.call_args_list))
151 device.RunShellCommand = mock.Mock(return_value=device_md5sum_output)
162 self.assertEquals(1, len(device.RunShellCommand.call_args_list))
176 device.RunShellCommand = mock.Mock(return_value=device_md5sum_output)
184 self.assertEquals(1, len(device.RunShellCommand.call_args_list))
196 device.RunShellCommand = mock.Mock(return_value=device_md5sum_output
    [all...]
device_utils_devicetest.py 90 result = self.device.RunShellCommand(['cat', device_file_path],
95 self.device.RunShellCommand(['rm', '-rf', _DEVICE_DIR])
105 result = self.device.RunShellCommand(['cat', device_file_path],
110 self.device.RunShellCommand(['rm', '-rf', _DEVICE_DIR])
123 result = self.device.RunShellCommand(['ls', _DEVICE_DIR], single_line=True)
127 self.device.RunShellCommand(['rm', '-rf', _DEVICE_DIR])
147 result = self.device.RunShellCommand(['cat', device_file_path1],
150 result = self.device.RunShellCommand(['ls', _DEVICE_DIR], single_line=True)
153 self.device.RunShellCommand(['rm', '-rf', _DEVICE_DIR])
190 result = self.device.RunShellCommand(['cat', device_file_path1]
    [all...]
battery_utils_test.py 111 (self.call.device.RunShellCommand(
120 (self.call.device.RunShellCommand(
129 (self.call.device.RunShellCommand(
144 (self.call.device.RunShellCommand(
146 (self.call.device.RunShellCommand(
150 (self.call.device.RunShellCommand(
153 (self.call.device.RunShellCommand(
156 (self.call.device.RunShellCommand(
167 (self.call.device.RunShellCommand(
169 (self.call.device.RunShellCommand(
    [all...]
md5sum.py 73 # avoid needing to write to an intermediary file (which RunShellCommand will
92 out = device.RunShellCommand(md5sum_script, check_return=True)
100 device.RunShellCommand(['rm', '-rf', MD5SUM_DEVICE_LIB_PATH],
106 device.RunShellCommand(mkdir_cmd, check_return=True)
109 out = device.RunShellCommand(md5sum_script, check_return=True)
install_commands.py 45 device.RunShellCommand(['mkdir', BIN_DIR, _FRAMEWORK_DIR])
51 device.RunShellCommand(
device_utils_test.py 196 return (self.call.device.RunShellCommand(
349 (self.call.device.RunShellCommand(
358 (self.call.device.RunShellCommand(
367 (self.call.device.RunShellCommand(
806 self.device.RunShellCommand(['pm', 'list', 'packages'])
810 self.device.RunShellCommand(['echo', 'hello world', '$10'])
814 self.device.RunShellCommand('echo "$VAR"')
819 self.device.RunShellCommand('echo "$VAR"', env={'VAR': 'some_string'})
824 self.device.RunShellCommand('run_this', env={'PATH': '$PATH:/other/path'})
828 self.device.RunShellCommand('some_cmd', env={'INVALID NAME': 'value'}
    [all...]
  /external/chromium-trace/catapult/devil/devil/android/tools/
provision_devices.py 218 device.RunShellCommand('rm -rf %s/*' % device.GetExternalStoragePath(),
220 device.RunShellCommand('rm -rf /data/local/tmp/*',
232 device.RunShellCommand('rm -rf %s/*' % device.GetExternalStoragePath(),
240 installed_packages = device.RunShellCommand(
243 pkg.split(':')[1] for pkg in device.RunShellCommand(
259 device.RunShellCommand(['rm', '-rf', path], check_return=True)
280 device.RunShellCommand(['wipe', 'data'],
301 device.RunShellCommand(['mkdir', '-p', dir_path],
303 device.RunShellCommand(['restorecon', dir_path],
306 device.RunShellCommand(['restorecon', adb_wrapper.ADB_KEYS_FILE]
    [all...]
  /external/chromium-trace/catapult/systrace/profile_chrome/
ddms_tracing_agent.py 30 for line in self._device.RunShellCommand(
44 self._device.RunShellCommand(cmd, check_return=True)
49 self._device.RunShellCommand(
  /external/libmojo/third_party/catapult/devil/devil/android/tools/
adb_run_shell_cmd.py 37 p_out = (device_utils.DeviceUtils.parallel(devices).RunShellCommand(
  /external/chromium-trace/catapult/systrace/systrace/tracing_agents/
atrace_agent.py 51 categories = devutils.RunShellCommand(
71 categories_output = devutils.RunShellCommand(
184 self._device_utils.RunShellCommand(
238 self._device_utils.RunShellCommand(
245 self._device_utils.RunShellCommand(
251 result = self._device_utils.RunShellCommand(
281 procfs_dump = self._device_utils.RunShellCommand(

Completed in 364 milliseconds

1 2 3