Home
last modified time | relevance | path

Searched refs:KernelVersion (Results 1 – 20 of 20) sorted by relevance

/system/memory/libmeminfo/vts/
Dvts_meminfo_test.cpp25 using android::vintf::KernelVersion;
58 KernelVersion max_kernel_version = KernelVersion(5, 10, 0); in TEST()
59 KernelVersion kernel_version = in TEST()
79 KernelVersion max_kernel_version = KernelVersion(5, 10, 0); in TEST()
80 KernelVersion kernel_version = in TEST()
101 KernelVersion min_kernel_version = KernelVersion(5, 4, 0); in TEST()
102 KernelVersion kernel_version = VintfObject::GetInstance() in TEST()
/system/libvintf/include/vintf/
DVersion.h69 struct KernelVersion { struct
71 constexpr KernelVersion() : KernelVersion(0u, 0u, 0u) {} in KernelVersion() function
72 constexpr KernelVersion(size_t v, size_t mj, size_t mi) : in KernelVersion() argument
79 inline bool operator==(const KernelVersion &other) const { argument
84 inline bool operator!=(const KernelVersion &other) const {
88 inline bool operator<(const KernelVersion& other) const {
DMatrixKernel.h44 MatrixKernel(KernelVersion &&minLts, std::vector<KernelConfig> &&configs) in MatrixKernel()
49 inline const KernelVersion &minLts() const { return mMinLts; } in minLts()
69 KernelVersion mMinLts;
DKernelInfo.h39 const KernelVersion& version() const;
44 bool matchKernelVersion(const KernelVersion& minLts) const;
77 KernelVersion mVersion;
DRuntimeInfo.h60 const KernelVersion &kernelVersion() const;
120 KernelVersion* version, Level* kernelLevel);
Dparse_string.h48 std::ostream &operator<<(std::ostream &os, const KernelVersion &ver);
79 bool parse(const std::string &s, KernelVersion *ver);
/system/memory/libdmabufheap/tests/
Ddmabuf_heap_test.cpp78 using android::vintf::KernelVersion; in TEST_F()
80 KernelVersion min_kernel_version = KernelVersion(5, 10, 0); in TEST_F()
81 KernelVersion kernel_version = in TEST_F()
286 using android::vintf::KernelVersion; in TEST_F()
292 KernelVersion min_kernel_version = KernelVersion(5, 10, 0); in TEST_F()
293 KernelVersion kernel_version = in TEST_F()
/system/libvintf/test/
DRuntimeInfo-fake.cpp62 void MockRuntimeInfo::setNextFetchKernelInfo(KernelVersion&& v, in setNextFetchKernelInfo()
67 void MockRuntimeInfo::setNextFetchKernelInfo(const KernelVersion& v, in setNextFetchKernelInfo()
Dutils-fake.h54 void setNextFetchKernelInfo(KernelVersion&& v, std::map<std::string, std::string>&& configs);
55 void setNextFetchKernelInfo(const KernelVersion& v,
DLibVintfTest.cpp134 const std::string& kernelRelease, KernelVersion* version, in parseGkiKernelRelease()
607 EXPECT_TRUE(add(cm, MatrixKernel{KernelVersion(3, 18, 22), in TEST_F()
609 EXPECT_TRUE(add(cm, MatrixKernel{KernelVersion(4, 4, 1), in TEST_F()
832 MatrixKernel kernel(KernelVersion{4, 4, 1}, KernelConfigs(configs)); in TEST_F()
838 MatrixKernel kernel(KernelVersion{3, 18, 60}, KernelConfigs(configs)); in TEST_F()
844 MatrixKernel kernel(KernelVersion{3, 18, 22}, KernelConfigs(configs)); in TEST_F()
850 MatrixKernel kernel(KernelVersion{3, 18, 22}, KernelConfigs(configs)); in TEST_F()
863 MatrixKernel kernel(KernelVersion{3, 18, 22}, std::move(newConfigs)); in TEST_F()
871 MatrixKernel kernel(KernelVersion{3, 18, 22}, std::move(newConfigs)); in TEST_F()
879 MatrixKernel kernel(KernelVersion{3, 18, 22}, std::move(newConfigs)); in TEST_F()
[all …]
/system/libvintf/include-test/vintf/
DAssembleVintf.h53 virtual std::istream& addKernelConfigInputStream(const KernelVersion& kernelVer,
58 virtual bool hasKernelVersion(const KernelVersion&) const = 0;
/system/libvintf/
DRuntimeInfo.cpp51 const KernelVersion &RuntimeInfo::kernelVersion() const { in kernelVersion()
145 KernelVersion* outVersion, Level* outLevel) { in parseGkiKernelRelease()
DKernelInfo.cpp28 const KernelVersion& KernelInfo::version() const { in version()
67 bool KernelInfo::matchKernelVersion(const KernelVersion& minLts) const { in matchKernelVersion()
DAssembleVintf.cpp447 MatrixKernel kernel(KernelVersion{pair.first}, std::move(conditionedConfig.second)); in assembleFrameworkCompatibilityMatrixKernels()
709 bool hasKernelVersion(const KernelVersion& kernelVer) const override { in hasKernelVersion()
713 std::istream& addKernelConfigInputStream(const KernelVersion& kernelVer, in addKernelConfigInputStream()
764 std::map<KernelVersion, std::vector<NamedIstream>> mKernels;
791 KernelVersion kernelVer; in addKernel()
Dparse_string.cpp309 bool parse(const std::string &s, KernelVersion *kernelVersion) { in parse()
324 *kernelVersion = KernelVersion(version, major, minor); in parse()
358 std::ostream &operator<<(std::ostream &os, const KernelVersion &ver) { in operator <<()
DCompatibilityMatrix.cpp105 framework.mKernels.push_back(MatrixKernel(KernelVersion{kernel.minLts()}, {})); in addKernel()
275 KernelVersion ver = kernel.minLts(); in addAllKernels()
Dcheck_vintf.cpp105 KernelVersion kernelVersion;
246 ret->kernelVersion = KernelVersion{kernelRelease->version(), kernelRelease->patch_level(), in parseKernelVersionOrRelease()
DHalManifest.cpp448 return kernel().has_value() && kernel()->version() != KernelVersion{}; in shouldCheckKernelCompatibility()
Dparse_xml.cpp662 KernelVersion kv = kernel.mMinLts; in mutateNode()
1002 if (o.version() != KernelVersion{}) { in mutateNode()
/system/memory/libmeminfo/
Dlibmeminfo_test.cpp41 using android::vintf::KernelVersion;
974 KernelVersion min_kernel_version = KernelVersion(5, 4, 0); in TEST()
975 KernelVersion kernel_version = VintfObject::GetInstance() in TEST()