Home
last modified time | relevance | path

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

/system/libvintf/
Dmain.cpp52 const RuntimeInfo* ki = VintfObject::GetRuntimeInfo(); in main() local
53 if (ki != nullptr) std::cout << dump(*ki); in main()
78 if (ki && fcm) { in main()
79 bool compatible = ki->checkCompatibility(*fcm, &error); in main()
Dparse_string.cpp374 std::string dump(const RuntimeInfo &ki) { in dump() argument
378 << ki.osName() << "/" in dump()
379 << ki.nodeName() << "/" in dump()
380 << ki.osRelease() << "/" in dump()
381 << ki.osVersion() << "/" in dump()
382 << ki.hardwareId() << ";" in dump()
383 << ki.mBootAvbVersion << "/" in dump()
384 << ki.mBootVbmetaAvbVersion << ";" in dump()
385 << "kernelSepolicyVersion = " << ki.kernelSepolicyVersion() in dump()
387 << ki.cpuInfo() in dump()
[all …]
DRuntimeInfo-target.cpp61 RuntimeInfoFetcher(RuntimeInfo *ki) : mRuntimeInfo(ki) { } in RuntimeInfoFetcher()
/system/libvintf/test/
Dmain.cpp65 void setAvb(RuntimeInfo &ki, Version vbmeta, Version boot) { in setAvb()
66 ki.mBootVbmetaAvbVersion = vbmeta; in setAvb()
67 ki.mBootAvbVersion = boot; in setAvb()
626 RuntimeInfo ki = testRuntimeInfo(); in TEST_F() local
650 EXPECT_FALSE(ki.checkCompatibility(cm)) << "Kernel version shouldn't match"; in TEST_F()
656 EXPECT_TRUE(ki.checkCompatibility(cm, &error)) << error; in TEST_F()
663 EXPECT_FALSE(ki.checkCompatibility(cm, &error)) in TEST_F()
666 EXPECT_FALSE(ki.checkCompatibility(cm, &error)) in TEST_F()
675 EXPECT_FALSE(ki.checkCompatibility(cm)) << "Value shouldn't match for tristate"; in TEST_F()
683 EXPECT_FALSE(ki.checkCompatibility(cm)) << "Type shouldn't match"; in TEST_F()
[all …]
/system/libvintf/include/vintf/
DRuntimeInfo.h78 friend std::string dump(const RuntimeInfo &ki);
Dparse_string.h85 std::string dump(const RuntimeInfo &ki);