Home
last modified time | relevance | path

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

/system/keymaster/
Dkeymaster_configuration.cpp76 uint32_t GetOsVersion(const char* version_str) { in GetOsVersion() argument
85 regexec(&regex, version_str, kPlatformVersionMatchCount, matches, 0 /* flags */); in GetOsVersion()
92 uint32_t major = match_to_uint32(version_str, matches[kMajorVersionMatch]); in GetOsVersion()
93 uint32_t minor = match_to_uint32(version_str, matches[kMinorVersionMatch]); in GetOsVersion()
94 uint32_t subminor = match_to_uint32(version_str, matches[kSubminorVersionMatch]); in GetOsVersion()
100 char version_str[PROPERTY_VALUE_MAX]; in GetOsVersion() local
101 property_get(kPlatformVersionProp, version_str, "" /* default */); in GetOsVersion()
102 return GetOsVersion(version_str); in GetOsVersion()