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
49
) sorted by null
1
2
/external/chromium_org/build/android/pylib/
content_settings.py
42
for row in self._device.
RunShellCommand
(
60
return self._device.
RunShellCommand
(
66
self._device.
RunShellCommand
(
73
self._device.
RunShellCommand
(
82
self._device.
RunShellCommand
(
valgrind_tools.py
40
device.
RunShellCommand
('rm %s' % path)
169
self._device.
RunShellCommand
(
171
self._device.
RunShellCommand
(
182
self._device.
RunShellCommand
('chmod 777 /data/local/tmp')
183
self._device.
RunShellCommand
('setenforce 0')
185
self._device.
RunShellCommand
(
192
self._device.
RunShellCommand
('setprop %s ""' % (prop,))
android_commands.py
108
self.android_commands.
RunShellCommand
('rm ' + self.name)
370
root_test_output = self.
RunShellCommand
('ls /root') or ['']
393
return self.
RunShellCommand
('date +%Y')[0]
397
self._external_storage = self.
RunShellCommand
('echo $EXTERNAL_STORAGE')[0]
428
self.
RunShellCommand
('stop')
429
self.
RunShellCommand
('start')
566
self.
RunShellCommand
('. %s' % temp_script_file.name)
652
output = self.
RunShellCommand
('ls ' + external_storage)
700
def
RunShellCommand
(self, command, timeout_time=20, log_result=False):
729
"""See
RunShellCommand
() above
[
all
...]
device_settings.py
93
output_msg = device.
RunShellCommand
('sqlite3 %s "%s"' % (db, cmd))
/external/chromium_org/tools/telemetry/telemetry/core/platform/profiler/
android_traceview_profiler.py
22
self._browser_backend.adb.
RunShellCommand
(
25
self._browser_backend.adb.
RunShellCommand
(
27
self._browser_backend.adb.
RunShellCommand
(
34
self._browser_backend.adb.
RunShellCommand
('am profile %s start %s' %
51
self._browser_backend.adb.
RunShellCommand
('am profile %s stop' % pid)
56
self._browser_backend.adb.
RunShellCommand
(
android_prebuilt_profiler_helper.py
30
device.
RunShellCommand
('chmod 777 ' + device_binary_path)
java_heap_profiler.py
51
self._browser_backend.adb.
RunShellCommand
(
70
self._browser_backend.adb.
RunShellCommand
(
72
self._browser_backend.adb.
RunShellCommand
(
79
self._browser_backend.adb.
RunShellCommand
('am dumpheap %s %s' %
tcmalloc_heap_profiler.py
45
self._browser_backend.adb.
RunShellCommand
(
47
self._browser_backend.adb.
RunShellCommand
(
56
self._browser_backend.adb.
RunShellCommand
(
netlog_profiler.py
42
self._browser_backend.adb.device().
RunShellCommand
('rm %s' % output_file)
v8_profiler.py
44
self._browser_backend.adb.device().
RunShellCommand
('rm %s' % output_file)
tcpdump_profiler.py
29
self._adb.
RunShellCommand
('mkdir -p ' +
43
self._adb.
RunShellCommand
('kill -term ' + tcpdump_pid[0])
/external/chromium_org/build/android/
enable_asserts.py
33
device.
RunShellCommand
('stop')
34
device.
RunShellCommand
('start')
host_heartbeat.py
25
device_utils.DeviceUtils(device_serial).
RunShellCommand
(
provision_devices.py
99
device.
RunShellCommand
(
122
adb_keys = device.
RunShellCommand
('cat %s' % constants.ADB_KEYS_FILE,
124
device.
RunShellCommand
('wipe data', as_root=True)
128
device.
RunShellCommand
('mkdir -p %s' % dir_path, as_root=True)
129
device.
RunShellCommand
('restorecon %s' % dir_path, as_root=True)
130
device.
RunShellCommand
('echo %s > %s' %
133
device.
RunShellCommand
(
135
device.
RunShellCommand
('restorecon %s' % constants.ADB_KEYS_FILE,
193
device.
RunShellCommand
('date -u %f' % time.time(), as_root=True)
196
props = device.
RunShellCommand
('getprop'
[
all
...]
tombstones.py
33
lines = device.
RunShellCommand
('TZ=UTC su -c ls -a -l /data/tombstones')
51
device_now_string = device.
RunShellCommand
('TZ=UTC date')
76
return device.
RunShellCommand
(
/external/chromium_org/build/android/gyp/
create_device_library_links.py
27
def
RunShellCommand
(device, cmd):
28
output = device.
RunShellCommand
(cmd)
66
RunShellCommand
(device, mkdir_cmd)
78
RunShellCommand
(device, trigger_cmd)
push_libraries.py
41
device.
RunShellCommand
('mkdir -p ' + options.device_dir)
/external/chromium_org/build/android/gyp/util/
build_device.py
33
def
RunShellCommand
(self, *args, **kwargs):
34
return self.device.
RunShellCommand
(*args, **kwargs)
64
cmd_output = device.
RunShellCommand
(cmd)
76
cmd_output = device.
RunShellCommand
(cmd)
/external/chromium_org/build/android/pylib/perf/
cache_control.py
19
self._device.
RunShellCommand
('sync', as_root=True)
perf_control.py
23
cpu_files = self._device.
RunShellCommand
(
77
self._device.
RunShellCommand
(script, as_root=True)
105
self._device.
RunShellCommand
(script, as_root=True)
thermal_throttle.py
103
log = self._device.
RunShellCommand
('dmesg -c')
129
dumpsys_log = self._device.
RunShellCommand
('dumpsys battery')
/external/chromium_org/tools/telemetry/telemetry/core/forwarders/
android_forwarder.py
97
self._adb.
RunShellCommand
('iptables -F -t nat') # Flush any old nat rules.
102
self._adb.
RunShellCommand
(
113
self._adb.
RunShellCommand
('route add default gw %s dev %s' %
135
self._adb.
RunShellCommand
('netd resolver setifdns %s %s %s' %
138
self._adb.
RunShellCommand
('netd resolver setdefaultif %s' % iface)
142
routes = self._adb.
RunShellCommand
('cat /proc/net/route')[1:]
195
config = self._device.
RunShellCommand
('netcfg')
278
self._device.
RunShellCommand
('rm %s.log' % script_prefix)
279
self._device.
RunShellCommand
('. %s.sh' % script_prefix)
352
for line in device.
RunShellCommand
('netcfg'
[
all
...]
/external/chromium_org/tools/memory_inspector/memory_inspector/backends/
android_backend.py
235
zygote_maps = self.adb.
RunShellCommand
('cat /proc/%d/maps' % zygote_pid)
245
self.adb.
RunShellCommand
('mv %(0)s %(0)s.real' % {'0': app_process})
247
self.adb.
RunShellCommand
('chown root.shell ' + app_process)
248
self.adb.
RunShellCommand
('chmod 755 ' + app_process)
256
self.adb.
RunShellCommand
('mv %(0)s.real %(0)s' % {'0': app_process})
266
self.adb.
RunShellCommand
('setenforce 0')
299
self.adb.
RunShellCommand
('rm /system/lib*/' + _LIBHEAPPROF_FILE_NAME)
356
self.adb.
RunShellCommand
(_PSEXT_PATH_ON_DEVICE))
383
device_md5_out = self.adb.
RunShellCommand
(
388
self.adb.
RunShellCommand
('chmod 755 "%s"' % path_on_device
[
all
...]
/external/chromium_org/tools/telemetry/telemetry/core/backends/chrome/
android_browser_backend.py
44
files = adb.device().
RunShellCommand
(
48
adb.device().
RunShellCommand
('rm -r %s' % ' '.join(paths), as_root=True)
96
dumpsys = adb.device().
RunShellCommand
(
100
files = adb.device().
RunShellCommand
(
106
adb.device().
RunShellCommand
(
227
self._adb.device().
RunShellCommand
(
287
self._adb.device().
RunShellCommand
('logcat -c')
389
files = self.adb.device().
RunShellCommand
(
411
return '\n'.join(self._adb.device().
RunShellCommand
('logcat -d -t 500'))
/external/chromium_org/build/android/pylib/gtest/
test_package_apk.py
59
device.
RunShellCommand
('rm -f ' + self._GetFifo())
90
device.
RunShellCommand
(
Completed in 190 milliseconds
1
2