/external/chromium-trace/catapult/devil/devil/android/ |
D | device_utils.py | 839 env=None, run_as=None, as_root=False, single_line=False, argument 965 if as_root and self.NeedsSU(): 1011 as_root=False, blocking=False, quiet=False, argument 1057 self.RunShellCommand(cmd, as_root=as_root, check_return=True) 1500 shell=True, as_root=True, 1524 def PathExists(self, device_paths, as_root=False, timeout=None, retries=None): argument 1551 self.RunShellCommand(cmd, as_root=as_root, check_return=True, 1559 as_root=False, timeout=None, retries=None): argument 1581 self.RunShellCommand(args, as_root=as_root, check_return=True) 1618 def ReadFile(self, device_path, as_root=False, force_pull=False, argument [all …]
|
D | settings.py | 145 check_return=True, as_root=True): 165 check_return=True, as_root=True).strip() 173 check_return=True, as_root=True) 179 check_return=True, as_root=True) 185 check_return=True, as_root=True) 271 ['sqlite3', db, cmd], check_return=True, as_root=True)
|
D | device_utils_test.py | 941 ['echo', payload], check_return=True, as_root=True)) 952 check_return=True, as_root=True) 977 as_root=True) 1196 1, self.device.KillAll('some.process', as_root=True)) 1663 shell=True, as_root=True, 1685 as_root=False, check_return=True, timeout=10, retries=0), 1693 as_root=False, check_return=True, timeout=10, retries=0), 1701 as_root=False, check_return=True, timeout=10, retries=0), 1709 as_root=True, check_return=True, timeout=10, retries=0), 1712 self.device.PathExists('/root/path/exists', as_root=True)) [all …]
|
D | flag_changer_devicetest.py | 44 [self.cmdline_path, self.cmdline_path_legacy], force=True, as_root=True) 56 self.cmdline_path_legacy, 'some --stray --flags', as_root=True)
|
D | md5sum.py | 101 as_root=True, check_return=True)
|
D | flag_changer.py | 86 self._device.RemovePath(cmdline_path_legacy, as_root=True)
|
/external/libmojo/third_party/catapult/devil/devil/android/ |
D | device_utils.py | 772 as_root=False, single_line=False, large_output=False, argument 882 if as_root and self.NeedsSU(): 928 as_root=False, blocking=False, quiet=False, argument 974 self.RunShellCommand(cmd, as_root=as_root, check_return=True) 1413 as_root=True, 1437 def PathExists(self, device_paths, as_root=False, timeout=None, retries=None): argument 1461 self.RunShellCommand(cmd, as_root=as_root, check_return=True, 1501 def ReadFile(self, device_path, as_root=False, force_pull=False, argument 1527 return self.FileSize(path, as_root=as_root) 1532 ['cat', device_path], as_root=as_root, check_return=True)) [all …]
|
D | device_utils_test.py | 863 self.device.RunShellCommand(['echo', payload], as_root=True)) 872 self.device.RunShellCommand('setprop service.adb.root 0', as_root=True) 1076 1, self.device.KillAll('some.process', as_root=True)) 1543 as_root=True, 1565 as_root=False, check_return=True, timeout=10, retries=0), 1573 as_root=False, check_return=True, timeout=10, retries=0), 1581 as_root=False, check_return=True, timeout=10, retries=0), 1589 as_root=True, check_return=True, timeout=10, retries=0), 1592 self.device.PathExists('/root/path/exists', as_root=True)) 1598 as_root=False, check_return=True, timeout=10, retries=0), [all …]
|
D | flag_changer.py | 124 self._cmdline_file, cmd_line, as_root=use_root) 126 self._cmdline_file, as_root=use_root).rstrip() 131 as_root=use_root)
|
D | md5sum.py | 101 as_root=True, check_return=True)
|
D | battery_utils_test.py | 112 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), []),
|
/external/chromium-trace/catapult/devil/devil/android/tools/ |
D | provision_devices.py | 276 as_root=True).splitlines() 278 as_root=True, check_return=True) 299 as_root=True, check_return=True) 301 as_root=True, check_return=True) 302 device.WriteFile(adb_wrapper.ADB_KEYS_FILE, adb_keys_string, as_root=True) 304 as_root=True, check_return=True) 346 as_root=True, check_return=True) 410 '\n'.join(local_props), as_root=True) 414 as_root=True, check_return=True) 458 device.RunShellCommand(set_date_command, as_root=True, check_return=True) [all …]
|
D | adb_run_shell_cmd.py | 44 args.cmd, large_output=True, as_root=args.as_root, check_return=True)
|
/external/chromium-trace/catapult/devil/devil/android/sdk/ |
D | shared_prefs.py | 252 self._device.ReadFile(self.path, as_root=True)) 273 as_root=True, check_return=True) 274 self._device.WriteFile(self.path, str(self), as_root=True) 287 as_root=True, check_return=True) 288 self._device.KillAll(self.package, exact=True, as_root=True, quiet=True) 412 as_root=True, check_return=True):
|
/external/libmojo/third_party/catapult/devil/devil/android/perf/ |
D | perf_control.py | 22 for filename in self._device.ListDirectory(self._CPU_PATH, as_root=True) 104 script, cwd=self._CPU_PATH, check_return=True, as_root=True) 127 as_root=True) 153 self._device.RunShellCommand(cmd, check_return=True, as_root=True)
|
D | cache_control.py | 14 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/perf/ |
D | cache_control.py | 14 self._device.RunShellCommand(['sync'], check_return=True, as_root=True) 15 self._device.WriteFile(CacheControl._DROP_CACHES, '3', as_root=True)
|
D | perf_control.py | 26 for filename in self._device.ListDirectory(self._CPU_PATH, as_root=True) 114 script, cwd=self._CPU_PATH, check_return=True, as_root=True, shell=True) 178 as_root=True) 204 self._device.RunShellCommand(cmd, check_return=True, as_root=True)
|
/external/libmojo/third_party/catapult/devil/devil/android/tools/ |
D | adb_run_shell_cmd.py | 38 args.cmd, large_output=True, as_root=args.as_root, check_return=True)
|
/external/libmojo/third_party/catapult/devil/devil/android/sdk/ |
D | shared_prefs.py | 248 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)
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/forwarders/ |
D | android_forwarder.py | 38 for line in self._device.ReadFile('/proc/net/tcp', as_root=True, 48 ['lsof'], as_root=True, check_return=True)
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/ |
D | android_platform_backend.py | 252 '-d'], as_root=True, check_return=True) 341 ['ndc', 'resolver', 'flushdefaultif'], as_root=True, check_return=True) 453 return self._device.ReadFile(fname, as_root=True) 601 files = self._device.ListDirectory(profile_dir, as_root=True) 636 for f in self._device.ListDirectory(profile_dir, as_root=True) 640 self._device.RemovePath(files, recursive=True, as_root=True) 658 for filename in self._device.ListDirectory(profile_dir, as_root=True):
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/tracing_agent/ |
D | chrome_tracing_agent.py | 36 ['rm', '-f', trace_config_file], check_return=True, as_root=True) 263 self._CreateTraceConfigFileString(config), as_root=True) 295 as_root=True)
|
/external/chromium-trace/catapult/devil/docs/ |
D | device_utils.md | 330 as_root: A boolean indicating whether the shell command should be run 367 as_root: A boolean indicating whether the kill should be executed with 531 as_root: Whether root permissions should be use to check for the existence 554 as_root: Whether root permissions should be use to remove the given 586 as_root: A boolean indicating whether the read should be executed with 615 as_root: A boolean indicating whether the write should be executed with 641 as_root: A boolean indicating whether the to use root privileges to list 673 as_root: A boolean indicating whether the to use root privileges to list 707 as_root: A boolean indicating whether the to use root privileges to 732 as_root: A boolean indicating whether the to use root privileges to
|
/external/chromium-trace/catapult/telemetry/telemetry/testing/ |
D | system_stub.py | 105 def ReadFile(self, device_path, as_root=False): argument 106 del device_path, as_root # unused
|