Searched refs:patchlevel_str (Results 1 – 2 of 2) sorted by relevance
/hardware/interfaces/security/keymint/support/ |
D | keymint_utils.cpp | 80 uint32_t getPatchlevel(const char* patchlevel_str, PatchlevelOutput detail) { in getPatchlevel() argument 87 int not_match = regexec(®ex, patchlevel_str, kPatchlevelMatchCount, matches, 0 /* flags */); in getPatchlevel() 93 uint32_t year = match_to_uint32(patchlevel_str, matches[kYearMatch]); in getPatchlevel() 94 uint32_t month = match_to_uint32(patchlevel_str, matches[kMonthMatch]); in getPatchlevel() 102 uint32_t day = match_to_uint32(patchlevel_str, matches[kDayMatch]); in getPatchlevel()
|
/hardware/interfaces/keymaster/4.0/support/ |
D | keymaster_utils.cpp | 247 uint32_t getOsPatchlevel(const char* patchlevel_str) { in getOsPatchlevel() argument 255 regexec(®ex, patchlevel_str, kPlatformPatchlevelMatchCount, matches, 0 /* flags */); in getOsPatchlevel() 261 uint32_t year = match_to_uint32(patchlevel_str, matches[kYearMatch]); in getOsPatchlevel() 262 uint32_t month = match_to_uint32(patchlevel_str, matches[kMonthMatch]); in getOsPatchlevel()
|