Searched refs:version_str (Results 1 – 2 of 2) sorted by relevance
/hardware/interfaces/security/keymint/support/ |
D | keymint_utils.cpp | 57 uint32_t getOsVersion(const char* version_str) { in getOsVersion() argument 65 regexec(®ex, 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/ |
D | keymaster_utils.cpp | 221 uint32_t getOsVersion(const char* version_str) { in getOsVersion() argument 229 regexec(®ex, 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()
|