Home
last modified time | relevance | path

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

12

/external/chromium-trace/catapult/telemetry/telemetry/core/
Dplatform_unittest.py17 if self._platform.GetOSName() == 'android':
18 self.assertTrue(self._platform.CanTakeScreenshot())
25 if not self._platform.CanTakeScreenshot():
29 if (self._platform.GetOSName() == 'mac' and
30 self._platform.GetOSVersionName() in
32 self.skipTest('OS X version %s too old' % self._platform.GetOSName())
37 self._platform.TakeScreenshot(tf.name)
Dlocal_server_unittest.py69 cls._platform.StartLocalServer(cls._server)
73 self.assertTrue(self._server in self._platform.local_servers)
84 lambda: self._platform.StartLocalServer(server2))
87 self.assertTrue(self._server not in self._platform.local_servers)
89 self._platform.StartLocalServer(server2)
Dmemory_cache_http_server_unittest.py77 self._platform.SetHTTPServerDirectories(util.GetUnittestDataDir())
79 self._platform.http_server.UrlOf(test_file_rel_path),
80 self._platform.http_server.UrlOf(test_file_abs_path))
/external/chromium-trace/catapult/common/battor/battor/
Dbattor_wrapper_devicetest.py28 self._platform = 'win'
30 self._platform = 'linux'
34 self._platform = 'mac'
36 if not battor_wrapper.IsBattOrConnected(self._platform):
45 if self._platform not in _SUPPORTED_CQ_PLATFORMS:
46 logging.critical('Platform %s is not supported on CQ.' % self._platform)
52 battor = battor_wrapper.BattOrWrapper(self._platform,
78 if self._platform == 'win':
/external/chromium-trace/catapult/telemetry/telemetry/testing/
Dbrowser_test_case.py73 cls._platform = None
88 cls._platform = browser_to_create.platform
89 cls._platform.network_controller.InitializeIfNeeded()
102 if cls._platform:
103 cls._platform.StopAllLocalServers()
104 cls._platform.network_controller.Close()
113 cls._platform.SetHTTPServerDirectories(path.GetUnittestDataDir())
115 return cls._platform.http_server.UrlOf(file_path)
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/power_monitor/
Dsysfs_power_monitor.py47 self._platform = linux_based_platform_backend
52 return bool(self._platform.RunCommand(
61 self._platform.RunCommand('ls %s' % CPU_PATH).split())
76 self._platform.ParseCStateSample(self._initial_cstate),
77 self._platform.ParseCStateSample(self._final_cstate))
97 if not self._platform.PathExists(cpu_idle_path):
103 output = self._platform.RunCommand(
121 if not self._platform.PathExists(cpu_freq_path):
128 stats[cpu] = self._platform.GetFileContents(cpu_freq_path)
Dcros_power_monitor.py38 sample = self._platform.RunCommand(['dump_power_status;', 'date', '+%s'])
50 sample = self._platform.RunCommand(['dump_power_status;', 'date', '+%s'])
103 self._platform.RunCommand(['dump_power_status']))
104 board_data = self._platform.RunCommand(['cat', '/etc/lsb-release'])
Dandroid_dumpsys_power_monitor.py26 self._platform = platform_backend
29 result = self._platform.device.RunShellCommand(
Dmonsoon_power_monitor.py54 self._platform = platform_backend
/external/chromium-trace/catapult/telemetry/telemetry/internal/browser/
Dextension_unittest.py21 self._platform = None
36 self._platform = browser_to_create.platform
37 self._platform.network_controller.InitializeIfNeeded()
47 self._platform.network_controller.Close()
131 self._platform = None
135 self._platform = browser_to_create.platform
136 self._platform.network_controller.InitializeIfNeeded()
140 if self._platform:
141 self._platform.network_controller.Close()
/external/autotest/client/site_tests/touch_UpdateErrors/
Dtouch_UpdateErrors.py39 if not (self._platform in self._IGNORE_OLDER_LOGS or
40 self._platform in self._IGNORE_AFTER_UPDATE_LOGS):
71 if self._platform in self._IGNORE_AFTER_UPDATE_LOGS:
126 if self._platform in self._INVALID_BOARDS:
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/
Dplatform_backend.py30 self._platform = None
59 assert self._platform == None
60 self._platform = platform
64 return self._platform
68 return self._platform.is_host_platform
Dtracing_controller_backend_unittest.py6 import platform as _platform namespace
28 if 'Win' in _platform.system():
30 elif 'Linux' in _platform.system():
32 elif 'Darwin' in _platform.system():
/external/mesa3d/
Dcommon.py9 import platform as _platform namespace
17 host_platform = _platform.system().lower()
50 host_machine = _platform.machine()
/external/syslinux/gpxe/src/config/
Ddefaults.h6 #define CONFIG_DEFAULTS(_platform) <config/defaults/_platform.h> argument
/external/autotest/client/site_tests/touch_WakeupSource/
Dtouch_WakeupSource.py101 self._platform not in self._INVALID_TOUCHPADS):
102 if self._platform in self._NO_TOUCHPAD_WAKE:
112 self._platform not in self._INVALID_TOUCHSCREENS):
/external/chromium-trace/catapult/telemetry/telemetry/internal/app/
Dpossible_app.py15 self._platform = None
33 return self._platform
/external/autotest/client/cros/
Dtouch_playback_test_base.py66 self._platform = utils.get_board()
67 if 'cheets' in self._platform:
68 self._platform = self._platform[:-len('-cheets')]
93 filename_fmt = '%s_%s_%s' % (self._platform, input_type, hw_id)
148 url = '%s/%s/%s' % (REMOTE_STORAGE_URL, self._platform, filename)
/external/chromium-trace/catapult/dependency_manager/dependency_manager/
Ddependency_info.py30 self._platform = platform
108 return self._platform
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/chrome/
Dios_browser_finder.py48 if self._platform:
52 self._platform = platform.Platform(self._platform_backend)
Ddesktop_browser_finder.py45 if self._platform:
48 self._platform = platform_module.GetHostPlatform()
51 self._platform_backend = self._platform._platform_backend
/external/mesa3d/scons/
Dgallium.py38 import platform as _platform namespace
162 host_platform = _platform.system().lower()
165 …nviron.get('PROCESSOR_ARCHITEW6432', os.environ.get('PROCESSOR_ARCHITECTURE', _platform.machine()))
/external/chromium-trace/catapult/telemetry/telemetry/testing/fakes/
D__init__.py218 self._platform = platform
224 return self._platform
230 self._platform = incoming
/external/autotest/client/site_tests/touch_TabSwitch/
Dtouch_TabSwitch.py27 if self._platform in self._INVALID_BOARDS:
/external/autotest/client/site_tests/touch_ScrollDirection/
Dtouch_ScrollDirection.py98 self._australian_state = self._platform in ['link' , 'samus']

12