/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/ |
platforminfo_mock.py | 31 def __init__(self, os_name='mac', os_version='snowleopard', is_highdpi=False): 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'
|
platforminfo.py | 39 -- os_name 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 [all...] |
systemhost_mock.py | 39 def __init__(self, log_executive=False, executive_throws_when_run=None, os_name=None, os_version=None, executive=None, filesystem=None): 44 if os_name: 45 self.platform.os_name = os_name
|
profiler_unittest.py | 38 def _assert_default_profiler_name(self, os_name, expected_profiler_name): 39 profiler_name = ProfilerFactory.default_profiler_name(MockPlatformInfo(os_name)) 58 host.platform.os_name = 'linux'
|
platforminfo_unittest.py | 78 self.assertNotEquals(info.os_name, '') 103 self.assertEqual(info.os_name, 'mac') 110 self.assertEqual(info.os_name, 'win') 117 self.assertEqual(info.os_name, 'win') 124 self.assertEqual(info.os_name, 'freebsd')
|
profiler.py | 62 return profilers_by_os_name.get(platform.os_name, [])
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/ |
factory_unittest.py | 50 def assert_port(self, port_name=None, os_name=None, os_version=None, options=None, cls=None): 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)
|
port_testcase.py | 87 os_name = None variable in class:PortTestCase 92 def make_port(self, host=None, port_name=None, options=None, os_name=None, os_version=None, **kwargs): 93 host = host or MockSystemHost(os_name=(os_name or self.os_name), os_version=(os_version or self.os_version)) 238 host = MockSystemHost(os_name=self.os_name, os_version=self.os_version)
|
factory.py | 105 port_name = self._host.platform.os_name
|
server_process_unittest.py | 135 port_obj.host.platform.os_name = 'win' 143 port_obj.host.platform.os_name = 'mac'
|
mac_unittest.py | 37 os_name = 'mac' variable in class:MacPortTest
|
win_unittest.py | 43 os_name = 'win' variable in class:WinPortTest
|
base_unittest.py | 325 port.host.platform.os_name = 'cygwin' 327 port.host.platform.os_name = 'win'
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/ |
png_unittest.py | 80 checker = PNGChecker("config", mock_handle_style_error, scm, MockSystemHost(os_name='linux', filesystem=fs)) 88 checker = PNGChecker("config", mock_handle_style_error, scm, MockSystemHost(os_name='linux', filesystem=fs)) 96 checker = PNGChecker("config", mock_handle_style_error, scm, MockSystemHost(os_name='linux', filesystem=fs)) 104 checker = PNGChecker("config", mock_handle_style_error, scm, MockSystemHost(os_name='linux', filesystem=fs)) 112 checker = PNGChecker("config", mock_handle_style_error, scm, MockSystemHost(os_name='linux', filesystem=fs)) 120 checker = PNGChecker(file_path, mock_handle_style_error, scm, MockSystemHost(os_name='linux', filesystem=fs)) 128 checker = PNGChecker(file_path, mock_handle_style_error, scm, MockSystemHost(os_name='linux', filesystem=fs))
|
/external/chromium_org/tools/telemetry/telemetry/page/ |
test_expectations_unittest.py | 19 def __init__(self, os_name, os_version_name=None): 20 self.os_name = os_name 24 return self.os_name
|
/external/chromium_org/remoting/webapp/ |
server_log_entry.js | 346 if (host.os_name.length > 0) { 347 this.set(remoting.ServerLogEntry.KEY_OS_NAME_, host.os_name); 362 * @return {{os_name:string, os_version:string, cpu:string} | null} 373 * @return {{os_name:string, os_version:string, cpu:string} | null} 388 'os_name': remoting.ServerLogEntry.VALUE_OS_NAME_WINDOWS_, 396 'os_name': remoting.ServerLogEntry.VALUE_OS_NAME_LINUX_, 404 'os_name': remoting.ServerLogEntry.VALUE_OS_NAME_MAC_, 412 'os_name': remoting.ServerLogEntry.VALUE_OS_NAME_CHROMEOS_,
|
format_iq.js | 515 var os_name = grentry.getAttribute('os-name'); 522 result += '\n ' + os_name + ' ' + cpu + " browser:" + browser_version +
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
platform.py | 839 tuple (os_name,os_version,os_arch). 858 os_name, os_version, os_arch = osinfo 860 os_name = _java_getprop('java.os.name', os_name) 862 osinfo = os_name, os_version, os_arch [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
platform.py | 839 tuple (os_name,os_version,os_arch). 858 os_name, os_version, os_arch = osinfo 860 os_name = _java_getprop('java.os.name', os_name) 862 osinfo = os_name, os_version, os_arch [all...] |
/external/chromium/chrome/browser/policy/ |
device_management_backend_impl.cc | 411 std::string os_name(base::SysInfo::OperatingSystemName()); 423 os_name += ",CrOS," + board; 442 os_name.c_str(),
|
/external/chromium_org/chrome/browser/policy/ |
browser_policy_connector.cc | 168 std::string os_name = base::SysInfo::OperatingSystemName(); variable 180 os_name += ",CrOS," + base::SysInfo::GetLsbReleaseBoard(); 199 "%s|%s|%s", os_name.c_str(), os_hardware.c_str(), os_version.c_str());
|
/external/chromium_org/chrome/test/functional/ |
stress.py | 666 os_name = '' 670 os_name = 'Snow_Leopard' 672 os_name = 'Leopard' 675 os_name = 'Windows' 677 os_name = os_name + '_XP' 679 os_name = os_name + '_Vista/Win7' 680 return os_name 700 os_name = self._GetOSName( [all...] |
/external/chromium_org/chrome/browser/metrics/ |
metrics_log.cc | 741 std::string os_name = base::SysInfo::OperatingSystemName(); local 749 os_name += " (Metro)"; 751 os->set_name(os_name); [all...] |