Home
last modified time | relevance | path

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

/hardware/interfaces/security/keymint/support/
Dkeymint_utils.cpp57 uint32_t getOsVersion(const char* version_str) { in getOsVersion() argument
65 regexec(&regex, version_str, kPlatformVersionMatchCount, matches, 0 /* flags */); in getOsVersion()
71 uint32_t major = match_to_uint32(version_str, matches[kMajorVersionMatch]); in getOsVersion()
72 uint32_t minor = match_to_uint32(version_str, matches[kMinorVersionMatch]); in getOsVersion()
73 uint32_t subminor = match_to_uint32(version_str, matches[kSubminorVersionMatch]); in getOsVersion()
/hardware/interfaces/keymaster/4.0/support/
Dkeymaster_utils.cpp221 uint32_t getOsVersion(const char* version_str) { in getOsVersion() argument
229 regexec(&regex, version_str, kPlatformVersionMatchCount, matches, 0 /* flags */); in getOsVersion()
235 uint32_t major = match_to_uint32(version_str, matches[kMajorVersionMatch]); in getOsVersion()
236 uint32_t minor = match_to_uint32(version_str, matches[kMinorVersionMatch]); in getOsVersion()
237 uint32_t subminor = match_to_uint32(version_str, matches[kSubminorVersionMatch]); in getOsVersion()