OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:RunShellCommand
(Results
1 - 25
of
26
) sorted by null
1
2
/external/chromium_org/build/android/pylib/
fake_dns.py
50
self._adb.
RunShellCommand
('ip route add 8.8.8.0/24 via 127.0.0.1 dev lo')
52
self._original_dns = self._adb.
RunShellCommand
('getprop net.dns1')[0]
53
self._adb.
RunShellCommand
('setprop net.dns1 127.0.0.1')
62
self._adb.
RunShellCommand
('setprop net.dns1 %s' % self._original_dns)
64
self._adb.
RunShellCommand
('ip route del 8.8.8.0/24 via 127.0.0.1 dev lo')
android_commands.py
281
root_test_output = self.
RunShellCommand
('ls /root') or ['']
304
return self.
RunShellCommand
('date +%Y')[0]
308
self._external_storage = self.
RunShellCommand
('echo $EXTERNAL_STORAGE')[0]
336
self.
RunShellCommand
('stop')
337
self.
RunShellCommand
('start')
518
output = self.
RunShellCommand
('ls ' + external_storage)
532
def
RunShellCommand
(self, command, timeout_time=20, log_result=False):
558
"""See
RunShellCommand
() above.
563
lines = self.
RunShellCommand
(
586
self.
RunShellCommand
('kill -9 ' + ' '.join(pids)
[
all
...]
valgrind_tools.py
36
adb.
RunShellCommand
('rm %s' % path)
128
self._adb.
RunShellCommand
('setprop %s "logwrapper %s"' % (
134
self._adb.
RunShellCommand
('setprop %s ""' % (prop,))
156
self._adb.
RunShellCommand
('rm -r %s; mkdir %s' %
158
self._adb.
RunShellCommand
('rm -r %s; mkdir %s' %
169
self._adb.
RunShellCommand
('chmod 777 /data/local/tmp')
171
self._adb.
RunShellCommand
('setprop %s "logwrapper %s"' % (
178
self._adb.
RunShellCommand
('setprop %s ""' % (prop,))
thermal_throttle.py
36
log = self._adb.
RunShellCommand
('dmesg -c')
65
dumpsys_log = self._adb.
RunShellCommand
('dumpsys battery')
surface_stats_collector.py
203
results = self._adb.
RunShellCommand
(
246
results = self._adb.
RunShellCommand
(
284
results = self._adb.
RunShellCommand
('service call SurfaceFlinger 1013')
flag_changer.py
97
self._android_cmd.
RunShellCommand
('su -c rm ' + CHROME_COMMAND_FILE)
ports.py
117
netstat_results = adb.
RunShellCommand
('netstat', log_result=False)
perf_tests_helper.py
156
self._adb.
RunShellCommand
('su -c sync')
/external/chromium_org/build/android/
host_heartbeat.py
25
android_cmd.
RunShellCommand
('touch /sdcard/host_heartbeat')
tombstones.py
32
lines = adb.
RunShellCommand
('TZ=UTC su -c ls -a -l /data/tombstones')
50
device_now_string = adb.
RunShellCommand
('TZ=UTC date')
73
return adb.
RunShellCommand
('su -c rm /data/tombstones/' + tombstone_file)
provision_devices.py
75
android_cmd.
RunShellCommand
('su -c date -u %f' % time.time())
/external/chromium_org/build/android/gyp/
create_device_library_links.py
28
def
RunShellCommand
(device, cmd):
29
output = device.
RunShellCommand
(cmd)
67
RunShellCommand
(device, mkdir_cmd)
79
RunShellCommand
(device, trigger_cmd)
push_libraries.py
37
device.
RunShellCommand
('mkdir -p ' + options.device_dir)
apk_install.py
28
output = device.
RunShellCommand
('ls -l /data/app/')
/external/chromium_org/build/android/gyp/util/
build_device.py
31
def
RunShellCommand
(self, *args, **kwargs):
32
return self.adb.
RunShellCommand
(*args, **kwargs)
62
cmd_output = adb.
RunShellCommand
(cmd)
69
cmd_output = adb.
RunShellCommand
(cmd)
/external/chromium_org/tools/telemetry/telemetry/core/platform/profiler/
tcmalloc_heap_profiler.py
39
device_property = self._browser_backend.adb.
RunShellCommand
(
44
self._browser_backend.adb.
RunShellCommand
(
49
self._browser_backend.adb.
RunShellCommand
(
51
self._browser_backend.adb.
RunShellCommand
(
60
self._browser_backend.adb.
RunShellCommand
(
java_heap_profiler.py
44
self._browser_backend.adb.
RunShellCommand
(
63
self._browser_backend.adb.
RunShellCommand
('am dumpheap %s %s' %
tcpdump_profiler.py
36
self._adb.
RunShellCommand
('kill -term ' + tcpdump_pid[0])
/external/chromium_org/tools/telemetry/telemetry/core/platform/
android_platform_backend.py
82
for line in self._adb.
RunShellCommand
('dumpsys meminfo', log_result=False):
97
ps = self._adb.
RunShellCommand
('ps', log_result=False)[1:]
114
ps = self._adb.
RunShellCommand
('ps', log_result=False)[1:]
/external/chromium_org/build/android/pylib/gtest/
test_package_apk.py
64
adb.
RunShellCommand
('rm -f ' + self._GetFifo())
93
adb.
RunShellCommand
(
test_package_exe.py
107
all_tests = adb.
RunShellCommand
(
/external/chromium_org/tools/telemetry/telemetry/core/chrome/
adb_commands.py
68
def
RunShellCommand
(self, command, timeout_time=20, log_result=False):
82
return self._adb.
RunShellCommand
(command, timeout_time, log_result)
android_browser_backend.py
30
self.adb.
RunShellCommand
(
204
self._adb.
RunShellCommand
('logcat -c')
266
self._adb.
RunShellCommand
('rm %s' % self._backend_settings.cmdline_file)
277
return '\n'.join(self._adb.
RunShellCommand
('logcat -d -t 500'))
android_browser_finder.py
133
packages = adb.
RunShellCommand
('pm list packages')
/external/chromium_org/build/android/pylib/monkey/
test_runner.py
39
return self.adb.
RunShellCommand
(' '.join(cmd), timeout_time=timeout_ms)
Completed in 342 milliseconds
1
2