/system/libvintf/include/vintf/ |
D | Version.h | 69 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 {
|
D | MatrixKernel.h | 44 MatrixKernel(KernelVersion &&minLts, std::vector<KernelConfig> &&configs) in MatrixKernel() 49 inline const KernelVersion &minLts() const { return mMinLts; } in minLts() 69 KernelVersion mMinLts;
|
D | KernelInfo.h | 39 const KernelVersion& version() const; 45 bool matchKernelVersion(const KernelVersion& minLts) const; 72 KernelVersion mVersion;
|
D | RuntimeInfo.h | 60 const KernelVersion &kernelVersion() const;
|
D | parse_string.h | 49 std::ostream &operator<<(std::ostream &os, const KernelVersion &ver); 81 bool parse(const std::string &s, KernelVersion *ver);
|
/system/libvintf/test/ |
D | RuntimeInfo-fake.cpp | 58 void MockRuntimeInfo::setNextFetchKernelInfo(KernelVersion&& v, in setNextFetchKernelInfo() 63 void MockRuntimeInfo::setNextFetchKernelInfo(const KernelVersion& v, in setNextFetchKernelInfo()
|
D | utils-fake.h | 54 void setNextFetchKernelInfo(KernelVersion&& v, std::map<std::string, std::string>&& configs); 55 void setNextFetchKernelInfo(const KernelVersion& v,
|
D | LibVintfTest.cpp | 600 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/ |
D | AssembleVintf.h | 53 virtual std::istream& addKernelConfigInputStream(const KernelVersion& kernelVer, 58 virtual bool hasKernelVersion(const KernelVersion&) const = 0;
|
/system/libvintf/ |
D | KernelInfo.cpp | 29 const KernelVersion& KernelInfo::version() const { in version() 68 bool KernelInfo::matchKernelVersion(const KernelVersion& minLts) const { in matchKernelVersion()
|
D | RuntimeInfo.cpp | 48 const KernelVersion &RuntimeInfo::kernelVersion() const { in kernelVersion()
|
D | AssembleVintf.cpp | 464 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()
|
D | parse_string.cpp | 297 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 <<()
|
D | CompatibilityMatrix.cpp | 105 framework.mKernels.push_back(MatrixKernel(KernelVersion{kernel.minLts()}, {})); in addKernel() 276 KernelVersion ver = kernel.minLts(); in addAllKernels()
|
D | check_vintf.cpp | 148 KernelVersion kernelVersion;
|
D | HalManifest.cpp | 432 return kernel().has_value() && kernel()->version() != KernelVersion{}; in shouldCheckKernelCompatibility()
|
D | parse_xml.cpp | 650 KernelVersion kv = kernel.mMinLts; in mutateNode() 953 if (o.version() != KernelVersion{}) { in mutateNode()
|