Home
last modified time | relevance | path

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

12

/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/
Dplatforminfo_mock.py31 def __init__(self, os_name='mac', os_version='snowleopard', is_highdpi=False): argument
32 self.os_name = os_name
37 return self.os_name == 'mac'
40 return self.os_name == 'linux'
43 return self.os_name == 'win'
49 return self.os_name == 'cygwin'
52 return self.os_name == 'freebsd'
Dplatforminfo.py49 self.os_name = self._determine_os_name(sys_module.platform)
50 if self.os_name == 'linux':
52 if self.os_name == 'freebsd':
54 if self.os_name.startswith('mac'):
56 if self.os_name.startswith('win'):
61 return self.os_name == 'mac'
64 return self.os_name == 'win'
70 return self.os_name == 'linux'
73 return self.os_name == 'freebsd'
Dsystemhost_mock.py40 …def __init__(self, log_executive=False, executive_throws_when_run=None, os_name=None, os_version=N… argument
46 if os_name:
47 self.platform.os_name = os_name
Dprofiler_unittest.py38 def _assert_default_profiler_name(self, os_name, expected_profiler_name): argument
39 profiler_name = ProfilerFactory.default_profiler_name(MockPlatformInfo(os_name))
58 host.platform.os_name = 'linux'
Dplatforminfo_unittest.py76 self.assertNotEquals(info.os_name, '')
101 self.assertEqual(info.os_name, 'mac')
108 self.assertEqual(info.os_name, 'win')
115 self.assertEqual(info.os_name, 'win')
122 self.assertEqual(info.os_name, 'freebsd')
Dprofiler.py62 return profilers_by_os_name.get(platform.os_name, [])
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/
Dfactory_unittest.py50 def assert_port(self, port_name=None, os_name=None, os_version=None, options=None, cls=None): argument
51 host = MockSystemHost(os_name=os_name, os_version=os_version)
56 self.assert_port(port_name='mac', os_name='mac', os_version='snowleopard',
58 self.assert_port(port_name='chromium', os_name='mac', os_version='lion',
63 self.assert_port(port_name='chromium', os_name='linux', os_version='lucid',
73 self.assert_port(port_name='win', os_name='win', os_version='xp',
75 self.assert_port(port_name='chromium', os_name='win', os_version='xp',
82 … self.assertRaises(NotImplementedError, factory.PortFactory(MockSystemHost(os_name='vms')).get)
Dport_testcase.py88 os_name = None variable in PortTestCase
94 …def make_port(self, host=None, port_name=None, options=None, os_name=None, os_version=None, **kwar… argument
95 …host = host or MockSystemHost(os_name=(os_name or self.os_name), os_version=(os_version or self.os…
238 host = MockSystemHost(os_name=self.os_name, os_version=self.os_version)
Dbrowser_test_unittest.py79 os_name = 'win' variable in BrowserTestWinTest
86 os_name = 'mac' variable in BrowserTestMacTest
Dserver_process_unittest.py135 port_obj.host.platform.os_name = 'win'
143 port_obj.host.platform.os_name = 'mac'
Dfactory.py105 port_name = self._host.platform.os_name
Dmac_unittest.py37 os_name = 'mac' variable in MacPortTest
Dwin_unittest.py44 os_name = 'win' variable in WinPortTest
Dbase_unittest.py334 port.host.platform.os_name = 'cygwin'
336 port.host.platform.os_name = 'win'
/external/chromium_org/tools/telemetry/telemetry/unittest/
Drun_tests_unittest.py13 def __init__(self, browser_type, os_name, os_version_name, argument
16 self.platform = MockPlatform(os_name, os_version_name)
21 def __init__(self, os_name, os_version_name): argument
22 self.os_name = os_name
26 return self.os_name
39 def _GetEnabledTests(self, browser_type, os_name, os_version_name, argument
45 browser_type, os_name, os_version_name, supports_tab_control))
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/
Dpng_unittest.py81 …checker = PNGChecker("config", mock_handle_style_error, scm, MockSystemHost(os_name='linux', files…
89 …checker = PNGChecker("config", mock_handle_style_error, scm, MockSystemHost(os_name='linux', files…
97 …checker = PNGChecker("config", mock_handle_style_error, scm, MockSystemHost(os_name='linux', files…
105 …checker = PNGChecker("config", mock_handle_style_error, scm, MockSystemHost(os_name='linux', files…
113 …checker = PNGChecker("config", mock_handle_style_error, scm, MockSystemHost(os_name='linux', files…
121 …checker = PNGChecker(file_path, mock_handle_style_error, scm, MockSystemHost(os_name='linux', file…
129 …checker = PNGChecker(file_path, mock_handle_style_error, scm, MockSystemHost(os_name='linux', file…
/external/chromium_org/chrome/browser/policy/
Ddevice_management_service_configuration.cc41 std::string os_name = base::SysInfo::OperatingSystemName(); in GetPlatformParameter() local
53 os_name += ",CrOS," + base::SysInfo::GetLsbReleaseBoard(); in GetPlatformParameter()
72 "%s|%s|%s", os_name.c_str(), os_hardware.c_str(), os_version.c_str()); in GetPlatformParameter()
/external/chromium_org/tools/telemetry/telemetry/core/backends/chrome/
Ddesktop_browser_backend.py99 os_name = self._browser.platform.GetOSName()
100 if os_name != 'win':
103 support_binaries.FindPath('crash_service', os_name),
244 os_name = self._browser.platform.GetOSName()
245 if os_name == 'win':
256 stackwalk = support_binaries.FindPath('minidump_stackwalk', os_name)
/external/chromium_org/third_party/skia/tools/
Dgit-sync-deps170 for os_name in command_line_os_requests:
172 if os_name in os_specific_dependencies:
173 dependencies.update(os_specific_dependencies[os_name])
/external/chromium_org/tools/telemetry/telemetry/page/
Dtest_expectations_unittest.py19 def __init__(self, os_name, os_version_name=None): argument
20 self.os_name = os_name
24 return self.os_name
/external/lldb/source/Plugins/Process/gdb-remote/
DGDBRemoteCommunicationClient.cpp1112 std::string os_name; in GetHostInfo() local
1171 os_name.swap (value); in GetHostInfo()
1238 … if (!os_name.empty() && vendor_name.compare("apple") == 0 && os_name.find("darwin") == 0) in GetHostInfo()
1244 os_name = "ios"; in GetHostInfo()
1247 os_name = "macosx"; in GetHostInfo()
1253 if (!os_name.empty()) in GetHostInfo()
1254 m_host_arch.GetTriple().setOSName (llvm::StringRef (os_name)); in GetHostInfo()
1262 if (!vendor_name.empty() || !os_name.empty()) in GetHostInfo()
1270 if (os_name.empty()) in GetHostInfo()
1273 triple += os_name; in GetHostInfo()
[all …]
/external/chromium_org/components/policy/core/browser/
Dbrowser_policy_connector_ios.mm36 std::string os_name = base::SysInfo::OperatingSystemName();
50 "%s|%s|%s", os_name.c_str(), os_hardware.c_str(), os_version.c_str());
/external/chromium_org/components/metrics/
Dmetrics_log.cc366 std::string os_name = base::SysInfo::OperatingSystemName(); in RecordEnvironment() local
374 os_name += " (Metro)"; in RecordEnvironment()
376 os->set_name(os_name); in RecordEnvironment()
/external/chromium_org/remoting/webapp/
Dserver_log_entry.js346 if (host.os_name.length > 0) {
347 this.set(remoting.ServerLogEntry.KEY_OS_NAME_, host.os_name);
Dformat_iq.js515 var os_name = grentry.getAttribute('os-name');
522 result += '\n ' + os_name + ' ' + cpu + " browser:" + browser_version +

12