HomeSort by relevance Sort by last modified time
    Searched refs:_device (Results 1 - 25 of 89) sorted by null

1 2 3 4

  /external/chromium_org/build/android/pylib/perf/
perf_control.py 22 self._device = device
23 cpu_files = self._device.RunShellCommand(
28 self._have_mpdecision = self._device.FileExists('/system/bin/mpdecision')
32 if not self._device.old_interface.IsRootEnabled():
40 if 'Nexus 4' == self._device.old_interface.GetProductModel():
51 if not self._device.old_interface.IsRootEnabled():
57 if not self._device.old_interface.IsRootEnabled():
59 product_model = self._device.GetProp('ro.product.model')
77 self._device.RunShellCommand(script, as_root=True)
84 if not self._device.FileExists(online_path) or
    [all...]
cache_control.py 15 self._device = device
19 self._device.RunShellCommand('sync', as_root=True)
20 self._device.WriteFile(CacheControl._DROP_CACHES, '3', as_root=True)
perf_control_unittest.py 23 self._device = device_utils.DeviceUtils(
27 perf = perf_control.PerfControl(self._device)
33 self._device.ReadFile(path)[0])
36 self._device.ReadFile(path)[0])
thermal_throttle.py 20 self._device = device
36 tempdata = self._device.ReadFile(OmapThrottlingDetector.OMAP_TEMP_FILE)
79 self._device = device
102 serial_number = str(self._device)
103 log = self._device.RunShellCommand('dmesg -c')
129 dumpsys_log = self._device.RunShellCommand('dumpsys battery')
surface_stats_collector.py 37 self._device = device
218 results = self._device.RunShellCommand(
261 results = self._device.RunShellCommand(
298 results = self._device.RunShellCommand('service call SurfaceFlinger 1013')
  /external/chromium_org/build/android/pylib/
screenshot.py 33 self._device = device
41 if str(self._device):
42 self._args += ['-s', str(self._device)]
56 if not self._device.GetPids('screenrecord'):
74 self._device.KillAll('screenrecord', signum=signal.SIGINT)
86 self._device.old_interface.GetTimestamp())
88 self._device.old_interface.EnsureHostDirectory(host_file_name)
89 self._device.PullFile(self._device_file, host_file_name)
90 self._device.RunShellCommand('rm -f "%s"' % self._device_file)
content_settings.py 23 self._device = device
42 for row in self._device.RunShellCommand(
60 return self._device.RunShellCommand(
66 self._device.RunShellCommand(
73 self._device.RunShellCommand(
82 self._device.RunShellCommand(
valgrind_tools.py 104 self._device = device
120 '--device', str(self._device),
123 self._device.WaitUntilFullyBooted()
138 self._device.EnableRoot()
144 SetChromeTimeoutScale(self._device, self.GetTimeoutScale())
147 SetChromeTimeoutScale(self._device, None)
162 self._device = device
169 self._device.RunShellCommand(
171 self._device.RunShellCommand(
176 self._device.PushChangedFiles
    [all...]
flag_changer.py 31 self._device = device
35 self._orig_line = self._device.ReadFile(self._cmdline_file)
104 self._device.WriteFile(
106 file_contents = self._device.ReadFile(
111 self._device.RunShellCommand('rm ' + self._cmdline_file,
113 assert not self._device.FileExists(self._cmdline_file), (
  /external/chromium_org/tools/profile_chrome/
chrome_controller.py 22 self._device = device
34 self._device.old_interface.StartMonitoringLogcat(clear=False)
63 self._device.old_interface.SyncLogCat()
67 self._device.BroadcastIntent(intent.Intent(
72 self._device.old_interface.EnableAdbRoot()
73 self._device.SetProp(_HEAP_PROFILE_MMAP_PROPERTY, 1)
83 self._device.old_interface.WaitForLogMatch(
92 self._device.BroadcastIntent(intent.Intent(
94 self._trace_file = self._device.old_interface.WaitForLogMatch(
98 self._device.SetProp(_HEAP_PROFILE_MMAP_PROPERTY, 0
    [all...]
perf_controller.py 49 self._device = device
51 self._device.old_interface, prefix='perf_output')
56 device_param = (['-s', str(self._device)] if str(self._device) else [])
62 self._perf_control = perf_control.PerfControl(self._device)
69 self._device.KillAll('perf', signum=signal.SIGINT)
79 if not self._device.FileExists(self._output_file.name):
84 self._device.PullFile(self._output_file.name, perf_profile)
97 self._device = device
121 self._perf_instance = _PerfProfiler(self._device,
    [all...]
systrace_controller.py 28 self._device = device
63 device_param = (['-s', str(self._device)] if str(self._device) else [])
  /external/chromium_org/tools/telemetry/telemetry/core/platform/
android_platform_backend.py 54 self._device = self._adb.device()
57 self._perf_tests_setup = perf_control.PerfControl(self._device)
58 self._thermal_throttle = thermal_throttle.ThermalThrottle(self._device)
61 self._device.old_interface.CanAccessProtectedFileContents()
63 monsoon_power_monitor.MonsoonPowerMonitor(self._device, self),
64 android_ds2784_power_monitor.DS2784PowerMonitor(self._device, self),
65 android_dumpsys_power_monitor.DumpsysPowerMonitor(self._device, self),
68 power_controller, self._device)
90 surface_stats_collector.SurfaceStatsCollector(self._device)
149 self._device, 'purge_ashmem')
    [all...]
  /external/chromium_org/chrome/test/chromedriver/test/
test_environment.py 92 self._device = None
104 self._device = device_utils.DeviceUtils(devices[0])
108 self._device)
112 if self._device:
113 forwarder.Forwarder.UnmapAllDevicePorts(self._device)
  /external/chromium_org/tools/telemetry/telemetry/core/platform/power_monitor/
android_ds2784_power_monitor.py 24 self._device = device
31 return self._device.FileExists(CHARGE_COUNTER)
36 if self._device.old_interface.IsDeviceCharging():
46 self._device, 'file_poller')
48 self._device.RunShellCommand(
57 result = '\n'.join(self._device.RunShellCommand(
android_dumpsys_power_monitor.py 25 self._device = device
28 return self._device.old_interface.CanControlUsbCharging()
35 self._device.old_interface.DisableUsbCharging()
42 self._device.old_interface.EnableUsbCharging()
android_temperature_monitor.py 17 self._device = device
60 contents = self._device.ReadFile(_TEMPERATURE_FILE)
  /external/chromium_org/tools/telemetry/telemetry/core/forwarders/
android_forwarder.py 56 self._device = adb.device()
57 forwarder.Forwarder.Map([p for p in port_pairs if p], self._device)
63 forwarder.Forwarder.UnmapDevicePort(port_pair.local_port, self._device)
166 self._device = adb.device()
168 is_root_enabled = self._device.old_interface.EnableAdbRoot()
188 return self._device.FileExists('%s/f_rndis/device' % self._RNDIS_DEVICE)
191 self._device.old_interface.Adb().SendCommand('wait-for-device')
195 config = self._device.RunShellCommand('netcfg')
213 ether_address = self._device.ReadFile(
237 self._device.SetProp('sys.usb.config', 'adb'
    [all...]
  /external/chromium_org/tools/telemetry/telemetry/core/backends/
adb_commands.py 55 self._device = device_utils.DeviceUtils(device)
62 return self._device
66 return getattr(self._device.old_interface, name)
69 ret = self._device.old_interface.Adb().SendCommand(
74 return self._device.GetProp('ro.build.type') == 'user'
  /external/chromium_org/build/android/pylib/gtest/
test_package.py 45 def GetGTestReturnCode(self, _device):
  /external/chromium_org/tools/telemetry/telemetry/core/platform/profiler/
android_profiling_helper_unittest.py 97 self._device = browser_backend._adb.device()
105 libs = _GetLibrariesMappedIntoProcesses(self._device, pids)
110 kallsyms = android_profiling_helper.CreateSymFs(self._device, symfs_dir,
133 self._device.PullFile('/system/lib/libc.so', libc.name)
  /cts/apps/CtsVerifier/assets/scripts/power_monitors/
_dummy.py 29 self._device = device
  /development/ndk/platforms/android-3/include/linux/
module.h 91 #define MODULE_DEVICE_TABLE(type,name) MODULE_GENERIC_TABLE(type##_device,name)
  /prebuilts/ndk/4/platforms/android-3/arch-arm/usr/include/linux/
module.h 91 #define MODULE_DEVICE_TABLE(type,name) MODULE_GENERIC_TABLE(type##_device,name)
  /prebuilts/ndk/4/platforms/android-4/arch-arm/usr/include/linux/
module.h 91 #define MODULE_DEVICE_TABLE(type,name) MODULE_GENERIC_TABLE(type##_device,name)

Completed in 317 milliseconds

1 2 3 4