Home
last modified time | relevance | path

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

/external/chromium-trace/catapult/devil/devil/android/
Ddevice_utils.py744 as_root=True, check_return=True):
1022 env=None, run_as=None, as_root=False, single_line=False, argument
1152 if (as_root is _FORCE_SU) or (as_root and self.NeedsSU()):
1198 as_root=False, blocking=False, quiet=False, argument
1244 self.RunShellCommand(cmd, as_root=as_root, check_return=True)
1784 shell=True, as_root=True,
1800 def PathExists(self, device_paths, as_root=False, timeout=None, retries=None): argument
1827 self.RunShellCommand(cmd, as_root=as_root, check_return=True,
1835 as_root=False, rename=False, timeout=None, retries=None): argument
1855 ['mv', path, dest], as_root=as_root, check_return=True)
[all …]
Dsettings.py147 check_return=True, as_root=True):
157 check_return=True, as_root=True, single_line=True)
171 check_return=True, as_root=True)
177 check_return=True, as_root=True)
183 check_return=True, as_root=True)
269 ['sqlite3', db, cmd], check_return=True, as_root=True)
Dflag_changer.py82 self._device.RemovePath(alternate_cmdline_path, as_root=True)
97 self._cmdline_path, as_root=True).strip()
220 self._device.WriteFile(self._cmdline_path, command_line, as_root=True)
222 self._device.RemovePath(self._cmdline_path, force=True, as_root=True)
Ddevice_utils_test.py1040 ['echo', payload], check_return=True, as_root=True))
1052 check_return=True, as_root=True)
1079 as_root=True)
1318 1, self.device.KillAll('some.process', as_root=True))
1887 shell=True, as_root=True,
1909 as_root=False, check_return=True, timeout=10, retries=0),
1917 as_root=False, check_return=True, timeout=10, retries=0),
1925 as_root=False, check_return=True, timeout=10, retries=0),
1933 as_root=True, check_return=True, timeout=10, retries=0),
1936 self.device.PathExists('/root/path/exists', as_root=True))
[all …]
Dflag_changer_devicetest.py44 [self.cmdline_path, self.cmdline_path_legacy], force=True, as_root=True)
56 self.cmdline_path_legacy, 'some --stray --flags', as_root=True)
Dcrash_handler_devicetest.py43 as_root=True, timeout=180),
Dmd5sum.py101 as_root=True, check_return=True)
Dbattery_utils_test.py112 mock.ANY, shell=True, check_return=True, as_root=True,
122 mock.ANY, shell=True, check_return=True, as_root=True,
132 mock.ANY, shell=True, check_return=True, as_root=True,
Dbattery_utils.py623 command, shell=True, check_return=True, as_root=True, large_output=True)
/external/chromium-trace/catapult/devil/devil/android/tools/
Dprovision_devices.py283 as_root=True).splitlines()
285 as_root=True, check_return=True)
306 as_root=True, check_return=True)
308 as_root=True, check_return=True)
309 device.WriteFile(adb_wrapper.ADB_KEYS_FILE, adb_keys_string, as_root=True)
311 as_root=True, check_return=True)
353 as_root=True, check_return=True)
359 as_root=True, check_return=True)
429 '\n'.join(local_props), as_root=True)
433 as_root=True, check_return=True)
[all …]
Dadb_run_shell_cmd.py38 args.cmd, large_output=True, as_root=args.as_root, check_return=True)
Dsystem_app_devicetest.py60 as_root=True, check_return=True)
Dsystem_app.py161 device.RunShellCommand(cmd, as_root=True, check_return=True, shell=True)
/external/chromium-trace/catapult/systrace/systrace/tracing_agents/
Datrace_process_dump.py44 self._device.RunShellCommand(cmd, check_return=True, as_root=True)
51 shell=True, check_return=True, as_root=True)
54 check_return=True, as_root=True)
57 check_return=True, as_root=True)
Dandroid_process_data_agent.py81 PS_COMMAND_PROC, check_return=True, as_root=True, shell=True)
90 PS_COMMAND_PROC_LEGACY, check_return=True, as_root=True, shell=True)
/external/chromium-trace/catapult/devil/devil/android/sdk/
Dshared_prefs.py269 self._device.ReadFile(self.path, as_root=True))
295 as_root=True, check_return=True)
296 self._device.WriteFile(self.path, str(self), as_root=True)
315 if self._device.PathExists(remove_path, as_root=True):
318 self._device.RemovePath(remove_path, as_root=True)
320 self._device.KillAll(self.package, exact=True, as_root=True, quiet=True)
Dshared_prefs_test.py119 as_root=True, quiet=True)
/external/chromium-trace/catapult/devil/devil/android/perf/
Dcache_control.py14 self._device.RunShellCommand(['sync'], check_return=True, as_root=True)
15 self._device.WriteFile(CacheControl._DROP_CACHES, '3', as_root=True)
Dperf_control.py103 for file_name in self._device.ListDirectory(self._CPU_PATH, as_root=True):
227 script, cwd=self._CPU_PATH, check_return=True, as_root=True, shell=True)
291 as_root=True)
318 self._device.RunShellCommand(cmd, check_return=True, as_root=True)
Dperf_control_test.py18 cwd=None, env=None, run_as=None, as_root=False, single_line=False, argument
/external/chromium-trace/catapult/devil/docs/
Ddevice_utils.md366 as_root: A boolean indicating whether the shell command should be run
403 as_root: A boolean indicating whether the kill should be executed with
567 as_root: Whether root permissions should be use to check for the existence
590 as_root: Whether root permissions should be use to remove the given
624 as_root: A boolean indicating whether the read should be executed with
653 as_root: A boolean indicating whether the write should be executed with
679 as_root: A boolean indicating whether the to use root privileges to list
711 as_root: A boolean indicating whether the to use root privileges to list
745 as_root: A boolean indicating whether the to use root privileges to
770 as_root: A boolean indicating whether the to use root privileges to