Searched refs:version_str (Results 1 – 1 of 1) sorted by relevance
73 char version_str[PROPERTY_VALUE_MAX]; in ConfigureDevice() local74 property_get(kPlatformVersionProp, version_str, "" /* default */); in ConfigureDevice()75 uint32_t version = GetOsVersion(version_str); in ConfigureDevice()84 uint32_t GetOsVersion(const char* version_str) { in GetOsVersion() argument92 if (regexec(®ex, version_str, kPlatformVersionMatchCount, matches, 0 /* flags */)) { in GetOsVersion()97 uint32_t major = match_to_uint32(version_str, matches[kMajorVersionMatch]); in GetOsVersion()98 uint32_t minor = match_to_uint32(version_str, matches[kMinorVersionMatch]); in GetOsVersion()99 uint32_t subminor = match_to_uint32(version_str, matches[kSubminorVersionMatch]); in GetOsVersion()