Lines Matching refs:xml
269 std::string xml = in TEST_F() local
271 EXPECT_EQ(xml, in TEST_F()
301 EXPECT_TRUE(gHalManifestConverter(&vm2, xml)); in TEST_F()
307 std::string xml = gHalManifestConverter(vm, SerializeFlags::NO_TAGS.enableHals().enableVndk()); in TEST_F() local
308 EXPECT_EQ(xml, in TEST_F()
332 EXPECT_TRUE(gHalManifestConverter(&vm2, xml)); in TEST_F()
465 std::string xml = gVersionConverter(v); in TEST_F() local
466 EXPECT_EQ(xml, "<version>3.6</version>\n"); in TEST_F()
468 EXPECT_TRUE(gVersionConverter(&v2, xml)); in TEST_F()
483 std::string xml = gMatrixHalConverter(mh); in TEST_F() local
484 EXPECT_EQ(xml, in TEST_F()
500 EXPECT_TRUE(gMatrixHalConverter(&mh2, xml)); in TEST_F()
510 std::string xml; in TEST_F() local
512 xml = gKernelConfigTypedValueConverter(original); in TEST_F()
513 EXPECT_EQ(xml, expectXml); in TEST_F()
514 EXPECT_TRUE(gKernelConfigTypedValueConverter(&converted, xml)); in TEST_F()
519 const std::string &xml) { in TEST_F() argument
521 EXPECT_TRUE(gKernelConfigTypedValueConverter(&converted, xml)); in TEST_F()
602 std::string xml = gCompatibilityMatrixConverter(cm); in TEST_F() local
603 EXPECT_EQ(xml, in TEST_F()
653 EXPECT_TRUE(gCompatibilityMatrixConverter(&cm2, xml)); in TEST_F()
664 std::string xml = gCompatibilityMatrixConverter(cm); in TEST_F() local
665 EXPECT_EQ(xml, in TEST_F()
682 EXPECT_TRUE(gCompatibilityMatrixConverter(&cm2, xml)); in TEST_F()
911 std::string xml = in TEST_F() local
920 EXPECT_TRUE(gCompatibilityMatrixConverter(&cm, xml)); in TEST_F()
925 std::string xml = in TEST_F() local
937 EXPECT_TRUE(gCompatibilityMatrixConverter(&cm, xml)); in TEST_F()
1294 std::string xml = gHalManifestConverter( in TEST_F() local
1296 EXPECT_EQ(xml, in TEST_F()
1330 EXPECT_TRUE(gHalManifestConverter(&vm2, xml)); in TEST_F()
1337 std::string xml = gCompatibilityMatrixConverter(cm, SerializeFlags::XMLFILES_ONLY); in TEST_F() local
1338 EXPECT_EQ(xml, in TEST_F()
1346 EXPECT_TRUE(gCompatibilityMatrixConverter(&cm2, xml)); in TEST_F()
1351 std::string xml = in TEST_F() local
1359 EXPECT_FALSE(gCompatibilityMatrixConverter(&cm, xml)); in TEST_F()
1673 std::string xml = in TEST_F() local
1698 EXPECT_TRUE(gCompatibilityMatrixConverter(&cm, xml)) in TEST_F()
1710 EXPECT_EQ(xml, gCompatibilityMatrixConverter(cm)); in TEST_F()
1714 std::string xml = in TEST_F() local
1728 EXPECT_FALSE(gCompatibilityMatrixConverter(&cm, xml)) in TEST_F()
1739 std::string xml; in TEST_F() local
1742 xml = in TEST_F()
1763 EXPECT_TRUE(gCompatibilityMatrixConverter(&cm, xml)) in TEST_F()
1767 xml = in TEST_F()
1788 EXPECT_TRUE(gCompatibilityMatrixConverter(&cm, xml)) in TEST_F()
1793 xml = in TEST_F()
1814 EXPECT_TRUE(gCompatibilityMatrixConverter(&cm, xml)) in TEST_F()
1817 xml = in TEST_F()
1842 EXPECT_TRUE(gCompatibilityMatrixConverter(&cm, xml)) in TEST_F()
1846 xml = in TEST_F()
1871 EXPECT_TRUE(gCompatibilityMatrixConverter(&cm, xml)) in TEST_F()
1876 xml = in TEST_F()
1901 EXPECT_TRUE(gCompatibilityMatrixConverter(&cm, xml)) in TEST_F()
1905 xml = in TEST_F()
1943 EXPECT_TRUE(gCompatibilityMatrixConverter(&cm, xml)) in TEST_F()
1947 xml = in TEST_F()
1985 EXPECT_TRUE(gCompatibilityMatrixConverter(&cm, xml)) in TEST_F()
1989 xml = in TEST_F()
2027 EXPECT_TRUE(gCompatibilityMatrixConverter(&cm, xml)) in TEST_F()
2060 std::string xml; in TEST_F() local
2062 xml = "<compatibility-matrix version=\"1.0\" type=\"framework\"/>"; in TEST_F()
2063 EXPECT_TRUE(gCompatibilityMatrixConverter(&cm, xml)) in TEST_F()
2067 xml = "<compatibility-matrix version=\"1.0\" type=\"framework\" level=\"legacy\"/>"; in TEST_F()
2068 EXPECT_TRUE(gCompatibilityMatrixConverter(&cm, xml)) in TEST_F()
2072 xml = "<compatibility-matrix version=\"1.0\" type=\"framework\" level=\"1\"/>"; in TEST_F()
2073 EXPECT_TRUE(gCompatibilityMatrixConverter(&cm, xml)) in TEST_F()
2080 std::string xml; in TEST_F() local
2082 xml = "<manifest version=\"1.0\" type=\"device\"/>"; in TEST_F()
2083 EXPECT_TRUE(gHalManifestConverter(&manifest, xml)) << gHalManifestConverter.lastError(); in TEST_F()
2086 xml = "<manifest version=\"1.0\" type=\"device\" target-level=\"legacy\"/>"; in TEST_F()
2087 EXPECT_TRUE(gHalManifestConverter(&manifest, xml)) << gHalManifestConverter.lastError(); in TEST_F()
2090 xml = "<manifest version=\"1.0\" type=\"device\" target-level=\"1\"/>"; in TEST_F()
2091 EXPECT_TRUE(gHalManifestConverter(&manifest, xml)) << gHalManifestConverter.lastError(); in TEST_F()
2099 std::string xml; in TEST_F() local
2101 xml = "<compatibility-matrix version=\"1.0\" type=\"framework\" level=\"1\"/>"; in TEST_F()
2102 EXPECT_TRUE(gCompatibilityMatrixConverter(&cm1, xml)) in TEST_F()
2105 xml = in TEST_F()
2116 EXPECT_TRUE(gCompatibilityMatrixConverter(&cm2, xml)) in TEST_F()
2120 xml = gCompatibilityMatrixConverter(cm1, SerializeFlags::HALS_ONLY); in TEST_F()
2121 EXPECT_EQ(xml, in TEST_F()
2138 std::string xml; in TEST_F() local
2140 xml = in TEST_F()
2151 EXPECT_TRUE(gCompatibilityMatrixConverter(&cm1, xml)) in TEST_F()
2154 xml = in TEST_F()
2165 EXPECT_TRUE(gCompatibilityMatrixConverter(&cm2, xml)) in TEST_F()
2169 xml = gCompatibilityMatrixConverter(cm1, SerializeFlags::HALS_ONLY); in TEST_F()
2170 EXPECT_EQ(xml, in TEST_F()
2187 std::string xml; in TEST_F() local
2189 xml = in TEST_F()
2200 EXPECT_TRUE(gCompatibilityMatrixConverter(&cm1, xml)) in TEST_F()
2203 xml = in TEST_F()
2215 EXPECT_TRUE(gCompatibilityMatrixConverter(&cm2, xml)) in TEST_F()
2219 xml = gCompatibilityMatrixConverter(cm1, SerializeFlags::HALS_ONLY); in TEST_F()
2220 EXPECT_EQ(xml, in TEST_F()
2238 std::string xml; in TEST_F() local
2240 xml = in TEST_F()
2251 EXPECT_TRUE(gCompatibilityMatrixConverter(&cm1, xml)) in TEST_F()
2254 xml = in TEST_F()
2265 EXPECT_TRUE(gCompatibilityMatrixConverter(&cm2, xml)) in TEST_F()
2269 xml = gCompatibilityMatrixConverter(cm1, SerializeFlags::HALS_ONLY); in TEST_F()
2270 EXPECT_EQ(xml, in TEST_F()
2294 std::string xml; in TEST_F() local
2296 xml = in TEST_F()
2308 EXPECT_TRUE(gCompatibilityMatrixConverter(&cm1, xml)) in TEST_F()
2315 xml = in TEST_F()
2326 EXPECT_TRUE(gCompatibilityMatrixConverter(&cm2, xml)) in TEST_F()
2331 xml = gCompatibilityMatrixConverter(cm1, SerializeFlags::HALS_ONLY); in TEST_F()
2332 EXPECT_EQ(xml, in TEST_F()
2357 xml = in TEST_F()
2369 EXPECT_TRUE(gCompatibilityMatrixConverter(&cm2, xml)) in TEST_F()
2374 xml = gCompatibilityMatrixConverter(cm1, SerializeFlags::HALS_ONLY); in TEST_F()
2375 EXPECT_EQ(xml, in TEST_F()
2410 std::string xml; in TEST_F() local
2412 xml = in TEST_F()
2431 EXPECT_TRUE(gCompatibilityMatrixConverter(&cm1, xml)) in TEST_F()
2434 xml = in TEST_F()
2453 EXPECT_TRUE(gCompatibilityMatrixConverter(&cm2, xml)) in TEST_F()
2457 xml = gCompatibilityMatrixConverter(cm1, SerializeFlags::HALS_ONLY); in TEST_F()
2486 xml); in TEST_F()
2492 std::string xml; in TEST_F() local
2494 xml = in TEST_F()
2502 EXPECT_TRUE(gCompatibilityMatrixConverter(&cm1, xml)) in TEST_F()
2505 xml = in TEST_F()
2513 EXPECT_TRUE(gCompatibilityMatrixConverter(&cm2, xml)) in TEST_F()
2517 xml = gCompatibilityMatrixConverter(cm1, SerializeFlags::XMLFILES_ONLY); in TEST_F()
2518 EXPECT_EQ(xml, in TEST_F()
2536 std::string xml; in TEST_F() local
2538 xml = in TEST_F()
2546 EXPECT_TRUE(gCompatibilityMatrixConverter(&cm, xml)) in TEST_F()
2548 EXPECT_EQ(xml, gCompatibilityMatrixConverter(cm)); in TEST_F()
2554 xml = in TEST_F()
2569 EXPECT_TRUE(gHalManifestConverter(&manifest, xml)) << gHalManifestConverter.lastError(); in TEST_F()
2570 EXPECT_EQ(xml, gHalManifestConverter(manifest)); in TEST_F()
2576 xml = in TEST_F()
2585 EXPECT_TRUE(gHalManifestConverter(&manifest, xml)) << gHalManifestConverter.lastError(); in TEST_F()
2586 EXPECT_EQ(xml, gHalManifestConverter(manifest)); in TEST_F()
2593 xml = in TEST_F()
2601 EXPECT_TRUE(gHalManifestConverter(&manifest, xml)) << gHalManifestConverter.lastError(); in TEST_F()
2602 EXPECT_EQ(xml, gHalManifestConverter(manifest)); in TEST_F()
2611 std::string xml; in TEST_F() local
2614 xml = "<compatibility-matrix version=\"1.0\" type=\"device\"/>\n"; in TEST_F()
2615 EXPECT_TRUE(gCompatibilityMatrixConverter(&cm, xml)) in TEST_F()
2620 xml = "<manifest version=\"1.0\" type=\"framework\"/>\n"; in TEST_F()
2621 EXPECT_TRUE(gHalManifestConverter(&manifest, xml)) << gHalManifestConverter.lastError(); in TEST_F()
2628 xml = in TEST_F()
2635 EXPECT_TRUE(gHalManifestConverter(&manifest, xml)) << gHalManifestConverter.lastError(); in TEST_F()
2644 std::string xml = in TEST_F() local
2654 EXPECT_FALSE(gHalManifestConverter(&manifest, xml)); in TEST_F()
2660 std::string xml = in TEST_F() local
2673 EXPECT_TRUE(gHalManifestConverter(&manifest, xml)) << gHalManifestConverter.lastError(); in TEST_F()
2685 std::string xml = "<manifest version=\"1.0\" type=\"device\"/>\n"; in TEST_F() local
2686 EXPECT_TRUE(gHalManifestConverter(&manifest, xml)) << gHalManifestConverter.lastError(); in TEST_F()
2689 xml = in TEST_F()
2701 EXPECT_TRUE(gHalManifestConverter(&newManifest, xml)) << gHalManifestConverter.lastError(); in TEST_F()
2704 EXPECT_EQ(xml, gHalManifestConverter(manifest, SerializeFlags::HALS_NO_FQNAME)); in TEST_F()
2709 std::string xml = in TEST_F() local
2717 EXPECT_TRUE(gHalManifestConverter(&manifest, xml)) << gHalManifestConverter.lastError(); in TEST_F()
2720 xml = in TEST_F()
2732 EXPECT_TRUE(gHalManifestConverter(&newManifest, xml)) << gHalManifestConverter.lastError(); in TEST_F()
2735 EXPECT_EQ(xml, gHalManifestConverter(manifest, SerializeFlags::HALS_NO_FQNAME)); in TEST_F()
2741 std::string xml = in TEST_F() local
2759 EXPECT_TRUE(gHalManifestConverter(&manifest, xml)) << gHalManifestConverter.lastError(); in TEST_F()
2762 xml = in TEST_F()
2775 EXPECT_TRUE(gHalManifestConverter(&newManifest, xml)) << gHalManifestConverter.lastError(); in TEST_F()
2810 std::string xml = in TEST_F() local
2823 EXPECT_TRUE(gHalManifestConverter(&manifest, xml)) << gHalManifestConverter.lastError(); in TEST_F()
2826 xml = in TEST_F()
2839 EXPECT_TRUE(gHalManifestConverter(&newManifest, xml)) << gHalManifestConverter.lastError(); in TEST_F()
2842 EXPECT_EQ(xml, gHalManifestConverter(manifest, SerializeFlags::HALS_NO_FQNAME)); in TEST_F()
2848 std::string xml = in TEST_F() local
2876 EXPECT_TRUE(gHalManifestConverter(&manifest, xml)) << gHalManifestConverter.lastError(); in TEST_F()
2879 xml = in TEST_F()
2886 EXPECT_TRUE(gHalManifestConverter(&newManifest, xml)) << gHalManifestConverter.lastError(); in TEST_F()
2908 std::string xml; in TEST_F() local
2911 xml = "<compatibility-matrix version=\"1.0\" type=\"device\"/>\n"; in TEST_F()
2912 EXPECT_TRUE(gCompatibilityMatrixConverter(&cm, xml)) in TEST_F()
2915 xml = "<manifest version=\"1.0\" type=\"framework\"/>\n"; in TEST_F()
2916 EXPECT_TRUE(gHalManifestConverter(&manifest, xml)) << gHalManifestConverter.lastError(); in TEST_F()
2923 std::string xml; in TEST_F() local
2926 xml = in TEST_F()
2933 EXPECT_TRUE(gCompatibilityMatrixConverter(&cm, xml)) in TEST_F()
2935 EXPECT_EQ(xml, gCompatibilityMatrixConverter(cm, SerializeFlags::SSDK_ONLY)); in TEST_F()
2939 xml = in TEST_F()
2946 EXPECT_TRUE(gHalManifestConverter(&manifest, xml)) << gHalManifestConverter.lastError(); in TEST_F()
2947 EXPECT_EQ(xml, gHalManifestConverter(manifest, SerializeFlags::SSDK_ONLY)); in TEST_F()
2954 xml = in TEST_F()
2962 EXPECT_TRUE(gHalManifestConverter(&manifest, xml)) << gHalManifestConverter.lastError(); in TEST_F()
2968 xml = in TEST_F()
2974 EXPECT_TRUE(gHalManifestConverter(&manifest, xml)) << gHalManifestConverter.lastError(); in TEST_F()
3009 std::string xml; in TEST_F() local
3012 xml = in TEST_F()
3024 ASSERT_TRUE(gHalManifestConverter(&manifest, xml, &error)) << error; in TEST_F()
3028 xml = in TEST_F()
3045 EXPECT_TRUE(gCompatibilityMatrixConverter(&cm, xml, &error)) << error; in TEST_F()
3060 xml = in TEST_F()
3072 EXPECT_TRUE(gCompatibilityMatrixConverter(&cm, xml, &error)) << error; in TEST_F()
3084 xml = in TEST_F()
3095 EXPECT_TRUE(gCompatibilityMatrixConverter(&cm, xml, &error)) << error; in TEST_F()
3107 std::string xml; in TEST_F() local
3109 xml = in TEST_F()
3126 ASSERT_TRUE(gHalManifestConverter(&manifest, xml, &error)) << error; in TEST_F()
3141 std::string xml; in TEST_F() local
3144 xml = in TEST_F()
3163 EXPECT_TRUE(gCompatibilityMatrixConverter(&cm, xml, &error)) << error; in TEST_F()
3167 xml = in TEST_F()
3181 ASSERT_TRUE(gHalManifestConverter(&manifest, xml, &error)) << error; in TEST_F()
3190 xml = in TEST_F()
3199 ASSERT_TRUE(gHalManifestConverter(&manifest, xml, &error)) << error; in TEST_F()
3205 xml = in TEST_F()
3218 ASSERT_TRUE(gHalManifestConverter(&manifest, xml, &error)) << error; in TEST_F()
3231 xml = in TEST_F()
3240 ASSERT_TRUE(gHalManifestConverter(&manifest, xml, &error)) << error; in TEST_F()
3253 std::string xml; in TEST_F() local
3255 xml = in TEST_F()
3261 EXPECT_TRUE(gManifestHalConverter(&hal, xml, &error)) << error; in TEST_F()
3262 xml = in TEST_F()
3268 ASSERT_FALSE(gManifestHalConverter(&hal, xml, &error)); in TEST_F()
3270 xml = in TEST_F()
3276 ASSERT_FALSE(gManifestHalConverter(&hal, xml, &error)); in TEST_F()
3278 xml = in TEST_F()
3284 ASSERT_FALSE(gManifestHalConverter(&hal, xml, &error)); in TEST_F()
3286 xml = in TEST_F()
3292 ASSERT_FALSE(gManifestHalConverter(&hal, xml, &error)); in TEST_F()
3294 xml = in TEST_F()
3300 ASSERT_FALSE(gManifestHalConverter(&hal, xml, &error)); in TEST_F()
3309 std::string xml = in TEST_F() local
3322 EXPECT_TRUE(gCompatibilityMatrixConverter(&matrix, xml, &error)) << error; in TEST_F()
3328 std::string xml = in TEST_F() local
3343 EXPECT_FALSE(gCompatibilityMatrixConverter(&matrix, xml, &error)); in TEST_F()
3354 std::string xml = in TEST_F() local
3371 EXPECT_TRUE(gCompatibilityMatrixConverter(&matrix, xml)) in TEST_F()
3375 std::string xml = in TEST_F() local
3391 EXPECT_TRUE(gHalManifestConverter(&manifest, xml)); in TEST_F()
3400 std::string xml = in TEST_F() local
3417 EXPECT_TRUE(gHalManifestConverter(&manifest, xml)); in TEST_F()