Home
last modified time | relevance | path

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

/external/libchrome/build/android/pylib/
Dcontent_settings.py36 'content query --uri content://%s' % self._table, as_root=True):
55 '--projection value' % (self._table, key), as_root=True).strip()
64 as_root=True)
72 as_root=True)
80 as_root=True)
Dvalgrind_tools.py23 device.RemovePath(path, force=True, as_root=True)
25 device.WriteFile(path, '%f' % scale, as_root=True)
Ddevice_settings.py99 as_root=True)
/external/chromium-trace/catapult/devil/devil/android/
Dsettings.py148 as_root=True):
161 as_root=True,
179 as_root=True)
188 as_root=True)
197 as_root=True)
284 as_root=True)
Ddevice_utils.py966 as_root=True,
1403 as_root=False, argument
1539 if (as_root is _FORCE_SU) or (as_root and self.NeedsSU()):
1587 as_root=False, argument
1636 self.RunShellCommand(cmd, as_root=as_root, check_return=True)
2086 if self.PathExists('/data/data/' + package_name, as_root=True):
2224 as_root=True)
2239 def PathExists(self, device_paths, as_root=False, timeout=None, retries=None): argument
2268 as_root=as_root,
2281 as_root=False, argument
[all …]
Dflag_changer.py82 self._device.RemovePath(alternate_cmdline_path, as_root=True)
97 self._cmdline_path, as_root=True).strip()
224 self._device.WriteFile(self._cmdline_path, command_line, as_root=True)
226 self._device.RemovePath(self._cmdline_path, force=True, as_root=True)
Dflag_changer_devicetest.py47 as_root=True)
58 self.cmdline_path_legacy, 'some --stray --flags', as_root=True)
Ddevice_utils_test.py1428 as_root=True))
1439 as_root=True)
1464 as_root=True)
1680 self.assertEquals(1, self.device.KillAll('some.process', as_root=True))
2232 as_root=True))):
2252 as_root=False,
2262 as_root=False,
2272 as_root=False,
2281 as_root=True,
2286 self.device.PathExists('/root/path/exists', as_root=True))
[all …]
Dcrash_handler_devicetest.py48 as_root=True,
Dmd5sum.py126 as_root=True,
Dbattery_utils_test.py129 as_root=True,
140 as_root=True,
151 as_root=True,
Dbattery_utils.py591 command, shell=True, check_return=True, as_root=True, large_output=True)
/external/chromium-trace/catapult/devil/devil/android/tools/
Dprovision_devices.py285 adb_wrapper.ADB_KEYS_FILE, as_root=True).splitlines()
286 device.RunShellCommand(['wipe', 'data'], as_root=True, check_return=True)
307 as_root=True,
310 as_root=True,
312 device.WriteFile(adb_wrapper.ADB_KEYS_FILE, adb_keys_string, as_root=True)
314 as_root=True,
355 as_root=True,
362 as_root=True,
431 device.LOCAL_PROPERTIES_PATH, '\n'.join(local_props), as_root=True)
434 as_root=True,
[all …]
Dadb_run_shell_cmd.py37 args.cmd, large_output=True, as_root=args.as_root,
Dsystem_app_devicetest.py59 as_root=True,
Ddevice_recovery.py99 device.WriteFile(adb_wrapper.ADB_KEYS_FILE, pub_key_contents, as_root=True)
Dsystem_app.py300 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/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.py179 for file_name in self._device.ListDirectory(self._CPU_PATH, as_root=True):
321 script, cwd=self._CPU_PATH, check_return=True, as_root=True, shell=True)
381 '/sys/class/kgsl/kgsl-3d0/max_gpuclk', str(value), as_root=True)
407 self._device.RunShellCommand(cmd, check_return=True, as_root=True)
419 self._device.RunShellCommand(cmd, check_return=True, as_root=True)
Dperf_control_test.py23 as_root=False, argument
/external/chromium-trace/catapult/devil/devil/android/sdk/
Dshared_prefs.py280 self._device.ReadFile(self.path, as_root=True))
306 as_root=True,
308 self._device.WriteFile(self.path, str(self), as_root=True)
327 if self._device.PathExists(remove_path, as_root=True):
330 self._device.RemovePath(remove_path, as_root=True)
332 self._device.KillAll(self.package, exact=True, as_root=True, quiet=True)
Dshared_prefs_test.py119 prefs.package, exact=True, as_root=True, quiet=True)
/external/chromium-trace/catapult/devil/docs/
Ddevice_utils.md122 as_root: A boolean indicating whether the to use root privileges to
515 RunShellCommand(cmd, as_root=True) will figure out for you the right
672 as_root: A boolean indicating whether the kill should be executed with
702 as_root: A boolean indicating whether the to use root privileges to list
782 as_root: Whether root permissions should be use to check for the existence
805 as_root: Whether root permissions should be used to pull the file.
847 as_root: A boolean indicating whether the read should be executed with
902 as_root: Whether root permissions should be use to remove the given
949 as_root: A boolean indicating whether the shell command should be run
1171 as_root: A boolean indicating whether the to use root privileges to list
[all …]