Searched refs:version_str (Results 1 – 3 of 3) sorted by relevance
/aosp12/system/keymaster/android_keymaster/ |
H A D | keymaster_configuration.cpp | 123 uint32_t GetOsVersion(const char* version_str) { in GetOsVersion() argument 132 regexec(®ex, version_str, kPlatformVersionMatchCount, matches, 0 /* flags */); in GetOsVersion() 136 version_str); in GetOsVersion() 140 uint32_t major = match_to_uint32(version_str, matches[kMajorVersionMatch]); in GetOsVersion() 141 uint32_t minor = match_to_uint32(version_str, matches[kMinorVersionMatch]); in GetOsVersion() 142 uint32_t subminor = match_to_uint32(version_str, matches[kSubminorVersionMatch]); in GetOsVersion()
|
/aosp12/hardware/interfaces/security/keymint/support/ |
H A 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()
|
/aosp12/hardware/interfaces/keymaster/4.0/support/ |
H A 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()
|