/system/memory/libmeminfo/vts/ |
D | vts_meminfo_test.cpp | 25 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/ |
D | Version.h | 69 struct KernelVersion { struct 71 constexpr KernelVersion() : KernelVersion(0u, 0u, 0u) {} in KernelVersion() argument 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; 44 bool matchKernelVersion(const KernelVersion& minLts) const; 77 KernelVersion mVersion;
|
D | RuntimeInfo.h | 60 const KernelVersion &kernelVersion() const; 120 KernelVersion* version, Level* kernelLevel);
|
D | parse_string.h | 48 std::ostream &operator<<(std::ostream &os, const KernelVersion &ver); 79 bool parse(const std::string &s, KernelVersion *ver);
|
/system/memory/libdmabufheap/tests/ |
D | dmabuf_heap_test.cpp | 78 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/ |
D | RuntimeInfo-fake.cpp | 62 void MockRuntimeInfo::setNextFetchKernelInfo(KernelVersion&& v, in setNextFetchKernelInfo() 67 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 | 134 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/ |
D | AssembleVintf.h | 53 virtual std::istream& addKernelConfigInputStream(const KernelVersion& kernelVer, 58 virtual bool hasKernelVersion(const KernelVersion&) const = 0;
|
/system/libvintf/ |
D | RuntimeInfo.cpp | 51 const KernelVersion &RuntimeInfo::kernelVersion() const { in kernelVersion() 145 KernelVersion* outVersion, Level* outLevel) { in parseGkiKernelRelease()
|
D | KernelInfo.cpp | 28 const KernelVersion& KernelInfo::version() const { in version() 67 bool KernelInfo::matchKernelVersion(const KernelVersion& minLts) const { in matchKernelVersion()
|
D | AssembleVintf.cpp | 447 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()
|
D | parse_string.cpp | 309 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 <<()
|
D | CompatibilityMatrix.cpp | 105 framework.mKernels.push_back(MatrixKernel(KernelVersion{kernel.minLts()}, {})); in addKernel() 275 KernelVersion ver = kernel.minLts(); in addAllKernels()
|
D | check_vintf.cpp | 105 KernelVersion kernelVersion; 246 ret->kernelVersion = KernelVersion{kernelRelease->version(), kernelRelease->patch_level(), in parseKernelVersionOrRelease()
|
D | HalManifest.cpp | 448 return kernel().has_value() && kernel()->version() != KernelVersion{}; in shouldCheckKernelCompatibility()
|
D | parse_xml.cpp | 662 KernelVersion kv = kernel.mMinLts; in mutateNode() 1002 if (o.version() != KernelVersion{}) { in mutateNode()
|
/system/memory/libmeminfo/ |
D | libmeminfo_test.cpp | 41 using android::vintf::KernelVersion; 974 KernelVersion min_kernel_version = KernelVersion(5, 4, 0); in TEST() 975 KernelVersion kernel_version = VintfObject::GetInstance() in TEST()
|