Home
last modified time | relevance | path

Searched refs:systemInfo (Results 1 – 14 of 14) sorted by relevance

/external/angle/src/feature_support_util/
Dfeature_support_util_unittest.cpp68 SystemInfo systemInfo = mSystemInfo; in TEST_F() local
69 systemInfo.machineManufacturer = "BAD"; in TEST_F()
70 systemInfo.machineModelName = "BAD"; in TEST_F()
72 ANGLEAddDeviceInfoToSystemInfo(kMfr, kModel, &systemInfo); in TEST_F()
73 EXPECT_EQ(kMfr, systemInfo.machineManufacturer); in TEST_F()
74 EXPECT_EQ(kModel, systemInfo.machineModelName); in TEST_F()
100 SystemInfo systemInfo = mSystemInfo; in TEST_F() local
150 EXPECT_FALSE(ANGLEShouldBeUsedForApplication(rulesHandle, rulesVersion, &systemInfo, kApp1)); in TEST_F()
153 systemInfo.gpus[0].detailedDriverVersion = {1, 2, 3, 5}; in TEST_F()
154 EXPECT_TRUE(ANGLEShouldBeUsedForApplication(rulesHandle, rulesVersion, &systemInfo, kApp1)); in TEST_F()
[all …]
Dfeature_support_util.cpp850 angle::SystemInfo *systemInfo = new angle::SystemInfo; in ANGLEGetSystemInfo() local
851 systemInfo->gpus.resize(1); in ANGLEGetSystemInfo()
852 GPUDeviceInfo &gpu = systemInfo->gpus[0]; in ANGLEGetSystemInfo()
858 *systemInfoHandle = systemInfo; in ANGLEGetSystemInfo()
867 angle::SystemInfo *systemInfo = static_cast<angle::SystemInfo *>(systemInfoHandle); in ANGLEAddDeviceInfoToSystemInfo() local
868 if (!deviceMfr || !deviceModel || !systemInfo) in ANGLEAddDeviceInfoToSystemInfo()
873 systemInfo->machineManufacturer = deviceMfr; in ANGLEAddDeviceInfoToSystemInfo()
874 systemInfo->machineModelName = deviceModel; in ANGLEAddDeviceInfoToSystemInfo()
885 angle::SystemInfo *systemInfo = static_cast<angle::SystemInfo *>(systemInfoHandle); in ANGLEShouldBeUsedForApplication() local
886 if (!rules || !systemInfo || !appName || (systemInfo->gpus.size() != 1)) in ANGLEShouldBeUsedForApplication()
[all …]
/external/angle/src/tests/test_utils/
Dangle_test_instantiate.cpp87 SystemInfo *systemInfo = GetTestSystemInfo(); in IsAndroidDevice() local
88 if (systemInfo->machineModelName == deviceName) in IsAndroidDevice()
97 SystemInfo *systemInfo = GetTestSystemInfo(); in HasSystemVendorID() local
99 if (systemInfo->gpus.empty()) in HasSystemVendorID()
103 return systemInfo->gpus[systemInfo->activeGPUIndex].vendorId == vendorID; in HasSystemVendorID()
291 bool IsConfigWhitelisted(const SystemInfo &systemInfo, const PlatformParameters &param) in IsConfigWhitelisted() argument
294 systemInfo.gpus.empty() ? 0 : systemInfo.gpus[systemInfo.activeGPUIndex].vendorId; in IsConfigWhitelisted()
460 systemInfo.gpus.empty() ? 0 : systemInfo.gpus[systemInfo.activeGPUIndex].deviceId; in IsConfigWhitelisted()
596 const SystemInfo *systemInfo = GetTestSystemInfo(); in IsPlatformAvailable() local
598 if (systemInfo) in IsPlatformAvailable()
[all …]
DANGLETest.cpp173 SystemInfo *systemInfo = GetTestSystemInfo(); in ShouldAlwaysForceNewDisplay() local
174 return (!systemInfo || !IsWindows() || systemInfo->hasAMDGPU()); in ShouldAlwaysForceNewDisplay()
Dangle_test_instantiate.h222 bool IsConfigWhitelisted(const SystemInfo &systemInfo, const PlatformParameters &param);
/external/walt/ios/WALT/
DWALTAppDelegate.m32 struct utsname systemInfo;
33 if (uname(&systemInfo) != 0) {
42 systemInfo.machine,
43 systemInfo.sysname,
44 systemInfo.release,
45 systemInfo.nodename,
46 systemInfo.version];
/external/angle/src/tests/test_expectations/
DGPUTestConfig.cpp348 SystemInfo *systemInfo = nullptr; in GetActiveGPU() local
349 GetGPUTestSystemInfo(&systemInfo); in GetActiveGPU()
350 if (systemInfo->gpus.size() <= 0) in GetActiveGPU()
354 uint32_t index = systemInfo->activeGPUIndex; in GetActiveGPU()
355 ASSERT(index < systemInfo->gpus.size()); in GetActiveGPU()
356 *devInfo = &(systemInfo->gpus[index]); in GetActiveGPU()
437 SystemInfo *systemInfo = nullptr; in IsAndroidDevice() local
438 GetGPUTestSystemInfo(&systemInfo); in IsAndroidDevice()
439 if (systemInfo->machineModelName == deviceName) in IsAndroidDevice()
/external/angle/src/tests/egl_tests/
DEGLSanityCheckTest.cpp52 SystemInfo systemInfo; in TEST_P() local
53 ANGLE_SKIP_TEST_IF(!GetSystemInfo(&systemInfo)); in TEST_P()
55 auto check = [&systemInfo](const PlatformParameters &params) { in TEST_P()
56 EXPECT_EQ(IsConfigWhitelisted(systemInfo, params), IsConfigSupported(params)) << params; in TEST_P()
/external/lzma/CPP/Windows/
DSystem.cpp47 SYSTEM_INFO systemInfo; in GetNumberOfProcessors() local
48 GetSystemInfo(&systemInfo); in GetNumberOfProcessors()
50 return (UInt32)systemInfo.dwNumberOfProcessors; in GetNumberOfProcessors()
/external/angle/src/tests/gl_tests/
DDrawBaseVertexBaseInstanceTest.cpp543 SystemInfo *systemInfo = GetTestSystemInfo(); in TEST_P() local
544 if (!systemInfo->gpus.empty()) in TEST_P()
546 ANGLE_SKIP_TEST_IF(0x6613 == systemInfo->gpus[systemInfo->activeGPUIndex].deviceId); in TEST_P()
579 SystemInfo *systemInfo = GetTestSystemInfo(); in TEST_P() local
580 if (!(systemInfo->activeGPUIndex < 0 || systemInfo->gpus.empty())) in TEST_P()
582 ANGLE_SKIP_TEST_IF(0x6613 == systemInfo->gpus[systemInfo->activeGPUIndex].deviceId); in TEST_P()
/external/swiftshader/src/System/
DMemory.cpp99 SYSTEM_INFO systemInfo; in memoryPageSize() local
100 GetSystemInfo(&systemInfo); in memoryPageSize()
101 pageSize = systemInfo.dwPageSize; in memoryPageSize()
/external/swiftshader/src/Common/
DMemory.cpp97 SYSTEM_INFO systemInfo; in memoryPageSize() local
98 GetSystemInfo(&systemInfo); in memoryPageSize()
99 pageSize = systemInfo.dwPageSize; in memoryPageSize()
/external/swiftshader/third_party/marl/src/
Dmemory.cpp101 SYSTEM_INFO systemInfo = {}; in pageSize() local
102 GetSystemInfo(&systemInfo); in pageSize()
103 return systemInfo.dwPageSize; in pageSize()
/external/swiftshader/src/Reactor/
DExecutableMemory.cpp207 SYSTEM_INFO systemInfo; in memoryPageSize() local
208 GetSystemInfo(&systemInfo); in memoryPageSize()
209 pageSize = systemInfo.dwPageSize; in memoryPageSize()