Searched refs:kmi_version (Results 1 – 6 of 6) sorted by relevance
46 if (old_kernel_release->kmi_version().tuple() > new_kernel_release->kmi_version().tuple()) { in IsKernelUpdateValid()74 std::string GetApexName(const KmiVersion& kmi_version) { in GetApexName() argument77 … android::base::StringPrintf(KMI_VERSION_APEX_NAME_FORMAT, kmi_version.version(), kmi_version.patc… in GetApexName()78 kmi_version.android_release(), kmi_version.generation()); in GetApexName()
32 auto kmi_version = KmiVersion::Parse(string_data); in LLVMFuzzerTestOneInput() local33 if (UNLIKELY(kmi_version.has_value())) { in LLVMFuzzerTestOneInput()34 CHECK(!kmi_version->string().empty()); in LLVMFuzzerTestOneInput()40 CHECK(!kernel_release->kmi_version().string().empty()); in LLVMFuzzerTestOneInput()
30 auto kmi_version = KmiVersion::Parse(s); in CheckValidKmiVersion() local31 ASSERT_TRUE(kmi_version.has_value()); in CheckValidKmiVersion()32 ASSERT_EQ(s, kmi_version->string()); in CheckValidKmiVersion()100 EXPECT_EQ("5.4-android12-1", res->kmi_version().string()); in TEST()
40 "kmi_version.cpp",
44 const KmiVersion& kmi_version() const { return kmi_version_; } in kmi_version() function47 uint64_t version() const { return kmi_version().version(); } in version()48 uint64_t patch_level() const { return kmi_version().patch_level(); } in patch_level()50 uint64_t android_release() const { return kmi_version().android_release(); } in android_release()51 uint64_t generation() const { return kmi_version().generation(); } in generation()
36 std::string GetApexName(const KmiVersion& kmi_version);