Lines Matching refs:ki
93 void setAvb(RuntimeInfo &ki, Version vbmeta, Version boot) { in setAvb()
94 ki.mBootVbmetaAvbVersion = vbmeta; in setAvb()
95 ki.mBootAvbVersion = boot; in setAvb()
132 Level getLevel(const KernelInfo& ki) { return ki.level(); } in getLevel()
810 RuntimeInfo ki = testRuntimeInfo(); in TEST_F() local
834 EXPECT_FALSE(ki.checkCompatibility(cm)) << "Kernel version shouldn't match"; in TEST_F()
840 EXPECT_FALSE(ki.checkCompatibility(cm)) << "Kernel version shouldn't match"; in TEST_F()
846 EXPECT_TRUE(ki.checkCompatibility(cm, &error)) << error; in TEST_F()
853 EXPECT_TRUE(ki.checkCompatibility(cm, &error)) << error; in TEST_F()
855 EXPECT_FALSE(ki.checkCompatibility(cm, &error)) in TEST_F()
865 EXPECT_FALSE(ki.checkCompatibility(cm)) << "Value shouldn't match for tristate"; in TEST_F()
873 EXPECT_FALSE(ki.checkCompatibility(cm)) << "Type shouldn't match"; in TEST_F()
881 EXPECT_FALSE(ki.checkCompatibility(cm)) << "Value shouldn't match for string"; in TEST_F()
889 EXPECT_FALSE(ki.checkCompatibility(cm)) << "Type shouldn't match"; in TEST_F()
897 EXPECT_FALSE(ki.checkCompatibility(cm)) << "Value shouldn't match for integer"; in TEST_F()
949 RuntimeInfo ki = testRuntimeInfo(); in TEST_F() local
951 EXPECT_FALSE(ki.checkCompatibility(cm, &error, CheckFlags::ENABLE_ALL_CHECKS)); in TEST_F()
953 EXPECT_TRUE(ki.checkCompatibility(cm, &error, CheckFlags::DISABLE_AVB_CHECK)) << error; in TEST_F()
3441 KernelInfo ki = testKernelInfo(); in TEST_F() local
3466 toXml(ki, SerializeFlags::NO_TAGS.enableKernelConfigs())); in TEST_F()
4162 KernelInfo ki; in TEST_F() local
4163 ASSERT_TRUE(fromXml(&ki, xml, &error)) << error; in TEST_F()
4164 EXPECT_EQ(Level{1}, getLevel(ki)); in TEST_F()
4165 EXPECT_EQ(xml, toXml(ki)); in TEST_F()