Home
last modified time | relevance | path

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

/hardware/interfaces/security/keymint/support/
Dkeymint_utils.cpp80 uint32_t getPatchlevel(const char* patchlevel_str, PatchlevelOutput detail) { in getPatchlevel() argument
87 int not_match = regexec(&regex, 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/
Dkeymaster_utils.cpp247 uint32_t getOsPatchlevel(const char* patchlevel_str) { in getOsPatchlevel() argument
255 regexec(&regex, 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()