Home
last modified time | relevance | path

Searched refs:RunShellCommand (Results 1 – 25 of 33) sorted by relevance

12

/external/chromium_org/build/android/pylib/
Dvalgrind_tools.py36 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,))
Dandroid_commands.py303 root_test_output = self.RunShellCommand('ls /root') or ['']
326 return self.RunShellCommand('date +%Y')[0]
330 self._external_storage = self.RunShellCommand('echo $EXTERNAL_STORAGE')[0]
358 self.RunShellCommand('stop')
359 self.RunShellCommand('start')
584 output = self.RunShellCommand('ls ' + external_storage)
626 def RunShellCommand(self, command, timeout_time=20, log_result=False): member in AndroidCommands
658 lines = self.RunShellCommand(
687 self.RunShellCommand(cmd)
778 self.RunShellCommand(cmd)
[all …]
Dscreenshot.py34 adb.RunShellCommand('/system/bin/screencap -p %s' % device_file)
36 adb.RunShellCommand('rm -f "%s"' % device_file)
99 self._adb.RunShellCommand('kill -SIGINT ' + ' '.join(self._recorder_pids))
109 self._adb.RunShellCommand('rm -f "%s"' % self._device_file)
Dflag_changer.py113 self._adb.RunShellCommand('rm ' + self._cmdline_file)
/external/chromium_org/build/android/gyp/util/
Dbuild_device.py31 def RunShellCommand(self, *args, **kwargs): member in BuildDevice
32 return self.adb.RunShellCommand(*args, **kwargs)
62 cmd_output = adb.RunShellCommand(cmd)
69 cmd_output = adb.RunShellCommand(cmd)
/external/chromium_org/build/android/gyp/
Dcreate_device_library_links.py29 def RunShellCommand(device, cmd): function
30 output = device.RunShellCommand(cmd)
68 RunShellCommand(device, mkdir_cmd)
80 RunShellCommand(device, trigger_cmd)
Dpush_libraries.py42 device.RunShellCommand('mkdir -p ' + options.device_dir)
Dapk_install.py29 output = device.RunShellCommand('ls -l /data/app/')
/external/chromium_org/tools/telemetry/telemetry/core/backends/
Dandroid_rndis.py71 self._adb.RunShellCommand('route add default gw %s dev %s' %
85 config = self._adb.RunShellCommand('netcfg')
157 self._adb.RunShellCommand('rm %s.log' % script_prefix)
158 self._adb.RunShellCommand('. %s.sh' % script_prefix)
215 addresses += [line.split()[2] for line in adb.RunShellCommand('netcfg')
296 self._adb.RunShellCommand('ifconfig %s %s netmask %s up' %
324 routes = self._adb.RunShellCommand('cat /proc/net/route')[1:]
351 self._adb.RunShellCommand('ndc netd resolver setifdns %s %s %s' %
354 self._adb.RunShellCommand('ndc netd resolver setdefaultif %s' % iface)
Dadb_commands.py77 def RunShellCommand(self, command, timeout_time=20, log_result=False): member in AdbCommands
91 return self._adb.RunShellCommand(command, timeout_time, log_result)
/external/chromium_org/tools/telemetry/telemetry/core/platform/profiler/
Djava_heap_profiler.py44 self._browser_backend.adb.RunShellCommand(
61 self._browser_backend.adb.RunShellCommand(
63 self._browser_backend.adb.RunShellCommand(
70 self._browser_backend.adb.RunShellCommand('am dumpheap %s %s' %
Dtcmalloc_heap_profiler.py45 self._browser_backend.adb.RunShellCommand(
47 self._browser_backend.adb.RunShellCommand(
56 self._browser_backend.adb.RunShellCommand(
Dperf_profiler.py40 browser_backend.adb.RunShellCommand(
58 self._browser_backend.adb.Adb().RunShellCommand(
95 self._browser_backend.adb.Adb().RunShellCommand('ls /data/app-lib'))
Dtcpdump_profiler.py30 self._adb.RunShellCommand('mkdir -p ' +
44 self._adb.RunShellCommand('kill -term ' + tcpdump_pid[0])
Dandroid_prebuilt_profiler_helper.py39 adb.Adb().RunShellCommand('chmod 777 ' + GetDevicePath(profiler_binary))
Dnetlog_profiler.py40 self._browser_backend.adb.Adb().RunShellCommand('rm %s' % output_file)
Dv8_profiler.py42 self._browser_backend.adb.Adb().RunShellCommand('rm %s' % output_file)
/external/chromium_org/tools/telemetry/telemetry/core/backends/chrome/
Dandroid_browser_backend.py91 self.adb.RunShellCommand('cp -r %s/* %s' % (saved_profile_location,
95 dumpsys = self.adb.RunShellCommand('dumpsys package %s' % self.package)
103 self.adb.RunShellCommand('chown %s.%s %s' %
262 self._adb.RunShellCommand('logcat -c')
378 return '\n'.join(self._adb.RunShellCommand('logcat -d -t 500'))
/external/chromium_org/build/android/pylib/perf/
Dthermal_throttle.py91 log = self._adb.RunShellCommand('dmesg -c')
117 dumpsys_log = self._adb.RunShellCommand('dumpsys battery')
Dsurface_stats_collector.py212 results = self._adb.RunShellCommand(
255 results = self._adb.RunShellCommand(
293 results = self._adb.RunShellCommand('service call SurfaceFlinger 1013')
/external/chromium_org/build/android/
Dtombstones.py32 lines = adb.RunShellCommand('TZ=UTC su -c ls -a -l /data/tombstones')
50 device_now_string = adb.RunShellCommand('TZ=UTC date')
Dhost_heartbeat.py25 android_cmd.RunShellCommand('touch /sdcard/host_heartbeat')
/external/chromium_org/build/android/pylib/gtest/
Dtest_package_apk.py58 adb.RunShellCommand('rm -f ' + self._GetFifo())
87 adb.RunShellCommand(
/external/chromium_org/tools/telemetry/telemetry/core/platform/
Dandroid_platform_backend.py95 for line in self._adb.RunShellCommand('dumpsys meminfo', log_result=False):
164 self._adb.RunShellCommand('am start ' + parameters + ' ' + application)
270 ps = self._adb.RunShellCommand(command, log_result=False)[1:]
/external/chromium_org/build/android/pylib/monkey/
Dtest_runner.py43 return self.adb.RunShellCommand(' '.join(cmd), timeout_time=timeout_ms)

12