/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/ |
D | platforminfo_mock.py | 31 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'
|
D | platforminfo.py | 49 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'
|
D | systemhost_mock.py | 40 …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
|
D | profiler_unittest.py | 38 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'
|
D | platforminfo_unittest.py | 76 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')
|
D | profiler.py | 62 return profilers_by_os_name.get(platform.os_name, [])
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/ |
D | factory_unittest.py | 50 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)
|
D | port_testcase.py | 88 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)
|
D | browser_test_unittest.py | 79 os_name = 'win' variable in BrowserTestWinTest 86 os_name = 'mac' variable in BrowserTestMacTest
|
D | server_process_unittest.py | 135 port_obj.host.platform.os_name = 'win' 143 port_obj.host.platform.os_name = 'mac'
|
D | factory.py | 105 port_name = self._host.platform.os_name
|
D | mac_unittest.py | 37 os_name = 'mac' variable in MacPortTest
|
D | win_unittest.py | 44 os_name = 'win' variable in WinPortTest
|
D | base_unittest.py | 334 port.host.platform.os_name = 'cygwin' 336 port.host.platform.os_name = 'win'
|
/external/chromium_org/tools/telemetry/telemetry/unittest/ |
D | run_tests_unittest.py | 13 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/ |
D | png_unittest.py | 81 …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/ |
D | device_management_service_configuration.cc | 41 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/ |
D | desktop_browser_backend.py | 99 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/ |
D | git-sync-deps | 170 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/ |
D | test_expectations_unittest.py | 19 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/ |
D | GDBRemoteCommunicationClient.cpp | 1112 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/ |
D | browser_policy_connector_ios.mm | 36 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/ |
D | metrics_log.cc | 366 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/ |
D | server_log_entry.js | 346 if (host.os_name.length > 0) { 347 this.set(remoting.ServerLogEntry.KEY_OS_NAME_, host.os_name);
|
D | format_iq.js | 515 var os_name = grentry.getAttribute('os-name'); 522 result += '\n ' + os_name + ' ' + cpu + " browser:" + browser_version +
|