Searched refs:ki (Results 1 – 6 of 6) sorted by relevance
52 const RuntimeInfo* ki = VintfObject::GetRuntimeInfo(); in main() local53 if (ki != nullptr) std::cout << dump(*ki); in main()78 if (ki && fcm) { in main()79 bool compatible = ki->checkCompatibility(*fcm, &error); in main()
374 std::string dump(const RuntimeInfo &ki) { in dump() argument378 << 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 …]
61 RuntimeInfoFetcher(RuntimeInfo *ki) : mRuntimeInfo(ki) { } in RuntimeInfoFetcher()
65 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() local650 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 …]
78 friend std::string dump(const RuntimeInfo &ki);
85 std::string dump(const RuntimeInfo &ki);