Home
last modified time | relevance | path

Searched refs:kmi_version (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Gki/libkver/
Dutils.cpp46 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() argument
77 … 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()
Dfuzzer.cpp32 auto kmi_version = KmiVersion::Parse(string_data); in LLVMFuzzerTestOneInput() local
33 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()
Dtest.cpp30 auto kmi_version = KmiVersion::Parse(s); in CheckValidKmiVersion() local
31 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()
DAndroid.bp40 "kmi_version.cpp",
/packages/modules/Gki/libkver/include/kver/
Dkernel_release.h44 const KmiVersion& kmi_version() const { return kmi_version_; } in kmi_version() function
47 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()
Dutils.h36 std::string GetApexName(const KmiVersion& kmi_version);