HomeSort by relevance Sort by last modified time
    Searched refs:as_root (Results 1 - 15 of 15) sorted by null

  /external/chromium_org/build/android/pylib/perf/
cache_control.py 19 self._device.RunShellCommand('sync', as_root=True)
20 self._device.WriteFile(CacheControl._DROP_CACHES, '3', as_root=True)
perf_control.py 77 self._device.RunShellCommand(script, as_root=True)
105 self._device.RunShellCommand(script, as_root=True)
115 self._device.WriteFile(online_path, '1', as_root=True)
  /external/chromium_org/build/android/pylib/
content_settings.py 43 'content query --uri content://%s' % self._table, as_root=True):
62 '--projection value' % (self._table, key), as_root=True).strip()
71 as_root=True)
79 as_root=True)
87 as_root=True)
flag_changer.py 105 self._cmdline_file, cmd_line, as_root=use_root)
107 self._cmdline_file, as_root=use_root)
112 as_root=use_root)
valgrind_tools.py 42 device.WriteFile(path, '%f' % scale, as_root=True)
  /external/chromium_org/build/android/
provision_devices.py 97 '\n'.join(local_props), as_root=True)
101 as_root=True)
123 as_root=True)
124 device.RunShellCommand('wipe data', as_root=True)
128 device.RunShellCommand('mkdir -p %s' % dir_path, as_root=True)
129 device.RunShellCommand('restorecon %s' % dir_path, as_root=True)
131 (adb_keys[0], constants.ADB_KEYS_FILE), as_root=True)
134 'echo %s >> %s' % (adb_key, constants.ADB_KEYS_FILE), as_root=True)
136 as_root=True)
193 device.RunShellCommand('date -u %f' % time.time(), as_root=True
    [all...]
tombstones.py 66 return device.ReadFile('/data/tombstones/' + tombstone_file, as_root=True)
77 'rm /data/tombstones/' + tombstone_file, as_root=True)
  /external/chromium_org/build/android/pylib/device/
device_utils.py 284 def RunShellCommand(self, cmd, check_return=False, as_root=False,
295 as_root: A boolean indicating whether the shell command should be run
309 as_root=as_root, timeout=timeout)
311 def _RunShellCommandImpl(self, cmd, check_return=False, as_root=False,
324 as_root: Same as for |RunShellCommand|.
335 if as_root and not self.HasRoot():
348 def KillAll(self, process_name, signum=9, as_root=False, blocking=False,
356 as_root: A boolean indicating whether the kill should be executed with
374 self._RunShellCommandImpl(cmd, as_root=as_root
    [all...]
device_utils_test.py 523 self.device.RunShellCommand('setprop service.adb.root 0', as_root=True)
529 self.device.RunShellCommand('setprop service.adb.root 0', as_root=True)
590 self.device.KillAll('this.is.a.test.process', as_root=True))
    [all...]
  /external/chromium_org/tools/telemetry/telemetry/core/backends/chrome/
android_browser_backend.py 45 'ls "%s"' % self.profile_dir, as_root=True)
48 adb.device().RunShellCommand('rm -r %s' % ' '.join(paths), as_root=True)
101 'ls "%s"' % self.profile_dir, as_root=True)
261 as_root = self._adb.device().old_interface.CanAccessProtectedFileContents()
271 self._adb.device().WriteTextFile(cmdline_file, content, as_root=as_root)
280 as_root = self._adb.device().old_interface.CanAccessProtectedFileContents()
282 as_root=as_root)
  /external/chromium_org/tools/telemetry/telemetry/core/platform/profiler/
android_profiling_helper.py 48 device_md5 = device.RunShellCommand('md5 "%s"' % lib, as_root=True)[0]
230 device.WriteFile('/proc/sys/kernel/kptr_restrict', '0', as_root=True)
android_profiling_helper_unittest.py 23 maps = device.ReadFile(maps_file, as_root=True)
  /external/chromium_org/tools/telemetry/telemetry/core/platform/
android_platform_backend.py 206 self._device.RunShellCommand('ndc resolver flushdefaultif', as_root=True)
291 return '\n'.join(self._device.ReadFile(fname, as_root=True))
  /external/chromium_org/build/android/pylib/instrumentation/
test_runner.py 273 as_root=True)
  /external/chromium_org/tools/telemetry/telemetry/unittest/
system_stub.py 82 def ReadFile(self, device_path, as_root=False): # pylint: disable=W0613

Completed in 225 milliseconds