Lines Matching refs:matrix
951 CompatibilityMatrix matrix; in TEST_F() local
979 EXPECT_TRUE(gCompatibilityMatrixConverter(&matrix, matrixXml)) in TEST_F()
1011 EXPECT_TRUE(manifest.checkCompatibility(matrix, &error)) << error; in TEST_F()
1033 EXPECT_FALSE(manifest.checkCompatibility(matrix, &error)) in TEST_F()
1064 EXPECT_FALSE(manifest.checkCompatibility(matrix, &error)) in TEST_F()
1096 EXPECT_TRUE(manifest.checkCompatibility(matrix, &error)) << error; in TEST_F()
1135 EXPECT_FALSE(manifest.checkCompatibility(matrix, &error)) in TEST_F()
1169 EXPECT_TRUE(manifest.checkCompatibility(matrix, &error)) << error; in TEST_F()
1254 CompatibilityMatrix matrix; in TEST_F() local
1257 EXPECT_TRUE(gCompatibilityMatrixConverter(&matrix, matrixXml)); in TEST_F()
1258 EXPECT_TRUE(manifest.checkCompatibility(matrix, &error)) << error; in TEST_F()
1273 matrix = {}; in TEST_F()
1274 EXPECT_TRUE(gCompatibilityMatrixConverter(&matrix, matrixXml)); in TEST_F()
1275 EXPECT_TRUE(manifest.checkCompatibility(matrix, &error)) << error; in TEST_F()
1276 MatrixHal *camera = getAnyHal(matrix, "android.hardware.camera"); in TEST_F()
1279 EXPECT_TRUE(manifest.checkCompatibility(matrix, &error)) << error; in TEST_F()
1281 EXPECT_FALSE(manifest.checkCompatibility(matrix)); in TEST_F()
1284 matrix = {}; in TEST_F()
1285 EXPECT_TRUE(gCompatibilityMatrixConverter(&matrix, matrixXml)); in TEST_F()
1286 set(matrix, Sepolicy{30, {{26, 0}}}); in TEST_F()
1287 EXPECT_FALSE(manifest.checkCompatibility(matrix)); in TEST_F()
1288 set(matrix, Sepolicy{30, {{25, 6}}}); in TEST_F()
1289 EXPECT_FALSE(manifest.checkCompatibility(matrix)); in TEST_F()
1290 set(matrix, Sepolicy{30, {{25, 4}}}); in TEST_F()
1291 EXPECT_TRUE(manifest.checkCompatibility(matrix, &error)) << error; in TEST_F()
1433 CompatibilityMatrix matrix; in TEST_F() local
1434 EXPECT_TRUE(gCompatibilityMatrixConverter(&matrix, matrixXml)); in TEST_F()
1435 EXPECT_EQ(matrix.getXmlSchemaPath("media_profile", {2, 1}), in TEST_F()
1447 CompatibilityMatrix matrix; in TEST_F() local
1448 EXPECT_TRUE(gCompatibilityMatrixConverter(&matrix, matrixXml)); in TEST_F()
1449 EXPECT_EQ(matrix.getXmlSchemaPath("media_profile", {2, 0}), in TEST_F()
1462 CompatibilityMatrix matrix; in TEST_F() local
1463 EXPECT_TRUE(gCompatibilityMatrixConverter(&matrix, matrixXml)); in TEST_F()
1464 EXPECT_EQ(matrix.getXmlSchemaPath("media_profile", {2, 0}), "/system/etc/foo.xsd"); in TEST_F()
1475 CompatibilityMatrix matrix; in TEST_F() local
1476 EXPECT_TRUE(gCompatibilityMatrixConverter(&matrix, matrixXml)); in TEST_F()
1477 EXPECT_EQ(matrix.getXmlSchemaPath("media_profile", {2, 0}), ""); in TEST_F()
1571 CompatibilityMatrix matrix; in TEST_F() local
1580 EXPECT_TRUE(gCompatibilityMatrixConverter(&matrix, matrixXml)) in TEST_F()
1593 EXPECT_FALSE(gCompatibilityMatrixConverter(&matrix, matrixXml)); in TEST_F()
1606 EXPECT_FALSE(gCompatibilityMatrixConverter(&matrix, matrixXml)); in TEST_F()
1620 EXPECT_FALSE(gCompatibilityMatrixConverter(&matrix, matrixXml)); in TEST_F()
3303 CompatibilityMatrix matrix; in TEST_F() local
3319 EXPECT_TRUE(gCompatibilityMatrixConverter(&matrix, xml, &error)) << error; in TEST_F()
3323 CompatibilityMatrix matrix; in TEST_F() local
3340 EXPECT_FALSE(gCompatibilityMatrixConverter(&matrix, xml, &error)); in TEST_F()
3348 CompatibilityMatrix matrix; in TEST_F() local
3368 EXPECT_TRUE(gCompatibilityMatrixConverter(&matrix, xml)) in TEST_F()
3389 EXPECT_TRUE(manifest.checkCompatibility(matrix, &error)) << error; in TEST_F()
3391 auto unused = checkUnusedHals(manifest, matrix); in TEST_F()
3415 EXPECT_FALSE(manifest.checkCompatibility(matrix, &error)) in TEST_F()
3418 auto unused = checkUnusedHals(manifest, matrix); in TEST_F()
3660 CompatibilityMatrix matrix; in TEST_F() local
3661 EXPECT_TRUE(gCompatibilityMatrixConverter(&matrix, xml, &error)) << error; in TEST_F()
3667 CompatibilityMatrix matrix; in TEST_F() local
3668 EXPECT_FALSE(gCompatibilityMatrixConverter(&matrix, xml, &error)) in TEST_F()
3675 CompatibilityMatrix matrix; in TEST_F() local
3676 EXPECT_TRUE(gCompatibilityMatrixConverter(&matrix, xml, &error)) << error; in TEST_F()
3677 EXPECT_IN(kMetaVersionStr, gCompatibilityMatrixConverter(matrix, SerializeFlags::NO_TAGS)); in TEST_F()
3693 CompatibilityMatrix matrix; in TEST_F() local
3694 EXPECT_TRUE(gCompatibilityMatrixConverter(&matrix, xml, &error)) << error; in TEST_F()
3695 EXPECT_EQ(xml, gCompatibilityMatrixConverter(matrix, SerializeFlags::HALS_NO_FQNAME)); in TEST_F()
3712 EXPECT_TRUE(manifest.checkCompatibility(matrix, &error)) << error; in TEST_F()
3736 EXPECT_TRUE(manifest.checkCompatibility(matrix, &error)) << error; in TEST_F()
3763 EXPECT_FALSE(manifest.checkCompatibility(matrix, &error)) in TEST_F()
3786 EXPECT_FALSE(manifest.checkCompatibility(matrix, &error)) in TEST_F()
3816 CompatibilityMatrix matrix; in TEST_F() local
3817 EXPECT_TRUE(gCompatibilityMatrixConverter(&matrix, xml, &error)) << error; in TEST_F()
3818 EXPECT_EQ(xml, gCompatibilityMatrixConverter(matrix, SerializeFlags::HALS_ONLY)); in TEST_F()
3873 CompatibilityMatrix matrix; in TEST_F() local
3876 EXPECT_TRUE(gCompatibilityMatrixConverter(&matrix, matrixXml, &error)) << error; in TEST_F()
3877 auto unused = checkUnusedHals(manifest, matrix); in TEST_F()