Home
last modified time | relevance | path

Searched refs:as_root (Results 1 – 20 of 20) sorted by relevance

/external/chromium-trace/catapult/devil/devil/android/perf/
Dperf_control.py20 'ls -d cpu[0-9]*', cwd=self._CPU_PATH, check_return=True, as_root=True)
101 script, cwd=self._CPU_PATH, check_return=True, as_root=True)
124 as_root=True)
150 self._device.RunShellCommand(script, check_return=True, as_root=True)
Dcache_control.py14 self._device.RunShellCommand('sync', as_root=True)
15 self._device.WriteFile(CacheControl._DROP_CACHES, '3', as_root=True)
/external/chromium-trace/catapult/devil/devil/android/
Ddevice_utils.py718 as_root=False, single_line=False, large_output=False, argument
826 if as_root and self.NeedsSU():
868 as_root=False, blocking=False, quiet=False, argument
914 self.RunShellCommand(cmd, as_root=as_root, check_return=True)
1351 as_root=True,
1375 def PathExists(self, device_paths, as_root=False, timeout=None, retries=None): argument
1399 self.RunShellCommand(cmd, as_root=as_root, check_return=True,
1443 def ReadFile(self, device_path, as_root=False, force_pull=False, argument
1471 ls_out = self.RunShellCommand(['ls', '-l', device_path], as_root=as_root,
1484 ['cat', device_path], as_root=as_root, check_return=True))
[all …]
Dflag_changer.py124 self._cmdline_file, cmd_line, as_root=use_root)
126 self._cmdline_file, as_root=use_root).rstrip()
131 as_root=use_root)
Ddevice_utils_test.py821 self.device.RunShellCommand(['echo', payload], as_root=True))
830 self.device.RunShellCommand('setprop service.adb.root 0', as_root=True)
1028 1, self.device.KillAll('some.process', as_root=True))
1492 as_root=True,
1514 as_root=False, check_return=True, timeout=10, retries=0),
1522 as_root=False, check_return=True, timeout=10, retries=0),
1530 as_root=False, check_return=True, timeout=10, retries=0),
1538 as_root=True, check_return=True, timeout=10, retries=0),
1541 self.device.PathExists('/root/path/exists', as_root=True))
1547 as_root=False, check_return=True, timeout=10, retries=0),
[all …]
Dmd5sum.py101 as_root=True, check_return=True)
Dbattery_utils_test.py112 mock.ANY, check_return=True, as_root=True, large_output=True), []),
121 mock.ANY, check_return=True, as_root=True, large_output=True), []),
130 mock.ANY, check_return=True, as_root=True, large_output=True), []),
Dbattery_utils.py560 command, check_return=True, as_root=True, large_output=True)
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/
Dandroid_command_line_backend.py102 return self._device.ReadFile(self.command_line_file, as_root=True)
107 self._device.WriteFile(self.command_line_file, contents, as_root=True)
111 as_root=True, check_return=True)
/external/chromium-trace/catapult/devil/devil/android/sdk/
Dshared_prefs.py248 self._device.ReadFile(self.path, as_root=True))
269 as_root=True, check_return=True)
270 self._device.WriteFile(self.path, str(self), as_root=True)
271 self._device.KillAll(self.package, exact=True, as_root=True, quiet=True)
Dshared_prefs_test.py114 as_root=True, quiet=True)
/external/chromium-trace/catapult/devil/devil/android/tools/
Dadb_run_shell_cmd.py53 args.cmd, large_output=True, as_root=args.as_root, check_return=True)
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/tracing_agent/
Dchrome_tracing_agent.py33 ['rm', '-f', trace_config_file], check_return=True, as_root=True)
166 self._CreateTraceConfigFileString(config), as_root=True)
188 as_root=True)
Dchrome_tracing_agent_unittest.py300 as_root=True)
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/
Dandroid_platform_backend.py237 self._device.RunShellCommand(cmd, as_root=True, check_return=True)
316 self._device.RunShellCommand('ndc resolver flushdefaultif', as_root=True)
426 return self._device.ReadFile(fname, as_root=True)
574 'ls "%s"' % profile_dir, as_root=True)
601 'ls "%s"' % profile_dir, as_root=True)
604 self._device.RunShellCommand('rm -r %s' % ' '.join(paths), as_root=True)
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/profiler/
Dandroid_profiling_helper.py51 device_md5 = device.RunShellCommand('md5 "%s"' % lib, as_root=True)[0]
263 device.WriteFile('/proc/sys/kernel/kptr_restrict', '0', as_root=True)
Dandroid_profiling_helper_unittest.py24 maps = device.ReadFile(maps_file, as_root=True).splitlines()
/external/chromium-trace/catapult/telemetry/telemetry/internal/forwarders/
Dandroid_forwarder.py37 for line in self._device.ReadFile('/proc/net/tcp', as_root=True,
/external/chromium-trace/catapult/telemetry/telemetry/testing/
Dsystem_stub.py88 def ReadFile(self, device_path, as_root=False): argument
89 del device_path, as_root # unused
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/chrome/
Dandroid_browser_backend.py132 for line in self.device.ReadFile('/proc/net/unix', as_root=True,