Home
last modified time | relevance | path

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

/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;
45 bool matchKernelVersion(const KernelVersion& minLts) const;
72 KernelVersion mVersion;
DRuntimeInfo.h60 const KernelVersion &kernelVersion() const;
Dparse_string.h49 std::ostream &operator<<(std::ostream &os, const KernelVersion &ver);
81 bool parse(const std::string &s, KernelVersion *ver);
/system/libvintf/test/
DRuntimeInfo-fake.cpp58 void MockRuntimeInfo::setNextFetchKernelInfo(KernelVersion&& v, in setNextFetchKernelInfo()
63 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.cpp600 EXPECT_TRUE(add(cm, MatrixKernel{KernelVersion(3, 18, 22), in TEST_F()
602 EXPECT_TRUE(add(cm, MatrixKernel{KernelVersion(4, 4, 1), in TEST_F()
825 MatrixKernel kernel(KernelVersion{4, 4, 1}, KernelConfigs(configs)); in TEST_F()
831 MatrixKernel kernel(KernelVersion{3, 18, 60}, KernelConfigs(configs)); in TEST_F()
837 MatrixKernel kernel(KernelVersion{3, 18, 22}, KernelConfigs(configs)); in TEST_F()
843 MatrixKernel kernel(KernelVersion{3, 18, 22}, KernelConfigs(configs)); in TEST_F()
856 MatrixKernel kernel(KernelVersion{3, 18, 22}, std::move(newConfigs)); in TEST_F()
864 MatrixKernel kernel(KernelVersion{3, 18, 22}, std::move(newConfigs)); in TEST_F()
872 MatrixKernel kernel(KernelVersion{3, 18, 22}, std::move(newConfigs)); in TEST_F()
880 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/
DKernelInfo.cpp29 const KernelVersion& KernelInfo::version() const { in version()
68 bool KernelInfo::matchKernelVersion(const KernelVersion& minLts) const { in matchKernelVersion()
DRuntimeInfo.cpp48 const KernelVersion &RuntimeInfo::kernelVersion() const { in kernelVersion()
DAssembleVintf.cpp464 MatrixKernel kernel(KernelVersion{pair.first}, std::move(conditionedConfig.second)); in assembleFrameworkCompatibilityMatrixKernels()
726 bool hasKernelVersion(const KernelVersion& kernelVer) const override { in hasKernelVersion()
730 std::istream& addKernelConfigInputStream(const KernelVersion& kernelVer, in addKernelConfigInputStream()
781 std::map<KernelVersion, std::vector<NamedIstream>> mKernels;
808 KernelVersion kernelVer; in addKernel()
Dparse_string.cpp297 bool parse(const std::string &s, KernelVersion *kernelVersion) { in parse()
312 *kernelVersion = KernelVersion(version, major, minor); in parse()
346 std::ostream &operator<<(std::ostream &os, const KernelVersion &ver) { in operator <<()
DCompatibilityMatrix.cpp105 framework.mKernels.push_back(MatrixKernel(KernelVersion{kernel.minLts()}, {})); in addKernel()
276 KernelVersion ver = kernel.minLts(); in addAllKernels()
Dcheck_vintf.cpp148 KernelVersion kernelVersion;
DHalManifest.cpp432 return kernel().has_value() && kernel()->version() != KernelVersion{}; in shouldCheckKernelCompatibility()
Dparse_xml.cpp650 KernelVersion kv = kernel.mMinLts; in mutateNode()
953 if (o.version() != KernelVersion{}) { in mutateNode()