MCPcopy Create free account
hub / github.com/SaschaWillems/VulkanCapsViewer / getSystemProperty

Method getSystemProperty

vulkanDeviceInfo.cpp:856–865  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

854
855#if defined(__ANDROID__)
856std::string VulkanDeviceInfo::getSystemProperty(const char* propname)
857{
858 char prop[PROP_VALUE_MAX+1];
859 int len = __system_property_get(propname, prop);
860 if (len > 0) {
861 return std::string(prop);
862 } else {
863 return "";
864 }
865}
866#endif
867
868void VulkanDeviceInfo::readPlatformDetails()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected