/external/cronet/base/win/ |
D | windows_version_unittest.cc | 24 EXPECT_EQ(OSInfo::Kernel32VersionNumber().major, in TEST() 25 OSInfo::GetInstance()->version_number().major); in TEST() 26 EXPECT_EQ(OSInfo::Kernel32VersionNumber().minor, in TEST() 27 OSInfo::GetInstance()->version_number().minor); in TEST() 46 TEST(OSInfo, MajorMinorBuildToVersion) { in TEST() argument 47 EXPECT_EQ(OSInfo::MajorMinorBuildToVersion(11, 0, 0), Version::WIN11); in TEST() 48 EXPECT_EQ(OSInfo::MajorMinorBuildToVersion(10, 0, 32767), in TEST() 50 EXPECT_EQ(OSInfo::MajorMinorBuildToVersion(10, 0, 22621), in TEST() 52 EXPECT_EQ(OSInfo::MajorMinorBuildToVersion(10, 0, 22000), Version::WIN11); in TEST() 53 EXPECT_EQ(OSInfo::MajorMinorBuildToVersion(10, 0, 21999), in TEST() [all …]
|
D | windows_version.cc | 78 OSInfo** OSInfo::GetInstanceStorage() { in GetInstanceStorage() 81 static OSInfo* info = []() { in GetInstanceStorage() 100 return new OSInfo(version_info, GetSystemInfoStorage(), os_type); in GetInstanceStorage() 107 OSInfo* OSInfo::GetInstance() { in GetInstance() 112 OSInfo::WindowsArchitecture OSInfo::GetArchitecture() { in GetArchitecture() 130 bool OSInfo::IsRunningEmulatedOnArm64() { in IsRunningEmulatedOnArm64() 157 OSInfo::OSInfo(const _OSVERSIONINFOEXW& version_info, in OSInfo() function in base::win::OSInfo 247 OSInfo::~OSInfo() = default; 249 Version OSInfo::Kernel32Version() { in Kernel32Version() 257 OSInfo::VersionNumber OSInfo::Kernel32VersionNumber() { in Kernel32VersionNumber() [all …]
|
D | windows_version.h | 81 class BASE_EXPORT OSInfo { 108 static OSInfo* GetInstance(); 110 OSInfo(const OSInfo&) = delete; 111 OSInfo& operator=(const OSInfo&) = delete; 167 FRIEND_TEST_ALL_PREFIXES(OSInfo, MajorMinorBuildToVersion); 190 static OSInfo** GetInstanceStorage(); 192 OSInfo(const _OSVERSIONINFOEXW& version_info, 195 ~OSInfo();
|
D | dark_mode_support.cc | 58 auto* os_info = base::win::OSInfo::GetInstance(); in GetDarkModeSupport()
|
D | win_util.cc | 597 if (OSInfo::GetInstance()->version_type() == SUITE_HOME) in IsDeviceRegisteredWithManagement()
|
D | registry_unittest.cc | 520 return OSInfo::GetInstance()->IsWowX86OnAMD64(); in IsRedirectorPresent()
|
/external/webrtc/rtc_base/win/ |
D | windows_version.h | 72 class OSInfo { 109 OSInfo(const OSInfo&) = delete; 110 OSInfo& operator=(const OSInfo&) = delete; 112 static OSInfo* GetInstance(); 130 OSInfo(); 131 ~OSInfo();
|
D | windows_version.cc | 266 OSInfo* OSInfo::GetInstance() { in GetInstance() 270 static OSInfo* info; in GetInstance() 272 OSInfo* new_info = new OSInfo(); in GetInstance() 281 OSInfo::OSInfo() in OSInfo() function in rtc::rtc_win::OSInfo 402 OSInfo::~OSInfo() {} in ~OSInfo() 404 std::string OSInfo::processor_model_name() { in processor_model_name() 423 OSInfo::WOW64Status OSInfo::GetWOW64StatusForProcess(HANDLE process_handle) { in GetWOW64StatusForProcess() 441 return OSInfo::GetInstance()->version(); in GetVersion()
|
D | windows_version_unittest.cc | 40 std::string name = OSInfo::GetInstance()->processor_model_name(); in TEST()
|
/external/cronet/base/system/ |
D | sys_info_win.cc | 149 return win::OSInfo::GetInstance()->processors(); in NumberOfProcessors() 224 win::OSInfo* os_info = win::OSInfo::GetInstance(); in OperatingSystemVersion() 225 win::OSInfo::VersionNumber version_number = os_info->version_number(); in OperatingSystemVersion() 228 win::OSInfo::ServicePack service_pack = os_info->service_pack(); in OperatingSystemVersion() 243 win::OSInfo::WindowsArchitecture arch = win::OSInfo::GetArchitecture(); in OperatingSystemArchitecture() 245 case win::OSInfo::X86_ARCHITECTURE: in OperatingSystemArchitecture() 247 case win::OSInfo::X64_ARCHITECTURE: in OperatingSystemArchitecture() 249 case win::OSInfo::IA64_ARCHITECTURE: in OperatingSystemArchitecture() 251 case win::OSInfo::ARM64_ARCHITECTURE: in OperatingSystemArchitecture() 260 return win::OSInfo::GetInstance()->processor_model_name(); in CPUModelName() [all …]
|
/external/cronet/base/test/ |
D | scoped_os_info_override_win.h | 14 class OSInfo; variable 47 std::unique_ptr<base::win::OSInfo, void (*)(base::win::OSInfo*)>; 53 raw_ptr<base::win::OSInfo> original_info_; 61 static void deleter(base::win::OSInfo* info);
|
D | scoped_os_info_override_win.cc | 15 : original_info_(base::win::OSInfo::GetInstance()), in ScopedOSInfoOverride() 17 *base::win::OSInfo::GetInstanceStorage() = overriding_info_.get(); in ScopedOSInfoOverride() 21 *base::win::OSInfo::GetInstanceStorage() = original_info_; in ~ScopedOSInfoOverride() 103 return UniqueOsInfo(new base::win::OSInfo(version_info, system_info, os_type), in CreateInfoOfType() 108 void ScopedOSInfoOverride::deleter(base::win::OSInfo* info) { in deleter()
|
/external/cronet/components/nacl/renderer/ |
D | platform_info.cc | 25 if (base::win::OSInfo::GetArchitecture() == in GetSandboxArch() 26 base::win::OSInfo::X64_ARCHITECTURE) { in GetSandboxArch()
|
/external/cronet/base/ |
D | base_paths_win.cc | 57 if (win::OSInfo::GetArchitecture() != win::OSInfo::X86_ARCHITECTURE) { in PathProviderWin() 74 if (base::win::OSInfo::GetInstance()->IsWowX86OnAMD64()) { in PathProviderWin()
|
D | path_service_unittest.cc | 300 if (base::win::OSInfo::GetInstance()->IsWowX86OnAMD64()) { in TEST_F()
|
/external/libchrome/base/ |
D | path_service_unittest.cc | 244 if (base::win::OSInfo::GetInstance()->wow64_status() == in TEST_F() 245 base::win::OSInfo::WOW64_ENABLED) { in TEST_F()
|
/external/cronet/base/process/ |
D | process_win.cc | 268 if (base::win::OSInfo::GetInstance()->version() >= in SetProcessBackgrounded()
|
/external/cronet/base/threading/ |
D | thread_restrictions.h | 476 class OSInfo; variable 654 friend class base::win::OSInfo;
|
/external/cronet/base/debug/ |
D | gdi_debug_util_win.cc | 304 if (base::win::OSInfo::GetInstance()->IsWowX86OnAMD64()) { in CollectGdiHandleCounts()
|
/external/cronet/components/nacl/browser/ |
D | nacl_browser.cc | 50 bool is64 = base::win::OSInfo::GetInstance()->IsWowX86OnAMD64(); in NaClIrtName()
|
D | nacl_process_host.cc | 155 return base::win::OSInfo::GetInstance()->IsWowX86OnAMD64(); in RunningOnWOW64()
|