Lines Matching refs:getInstance

42         getInstance()->setFakeEnv("PRODUCT_ENFORCE_VINTF_MANIFEST", "true");  in SetUp()
46 const std::unique_ptr<AssembleVintf>& getInstance() { return mInstance; } in getInstance() function in android::vintf::AssembleVintfTest
54 getInstance()->setFakeEnv(pair.first, pair.second); in setFakeEnvs()
59 getInstance()->addInputStream(name, makeStream(s)); in addInput()
86 getInstance()->addKernelConfigInputStream({3, 18, 0}, "android-base.config", in TEST_F()
88 getInstance()->addKernelConfigInputStream({3, 18, 0}, "android-base-arm64.config", in TEST_F()
90getInstance()->addKernelConfigInputStream({4, 4, 0}, "android-base.config", makeStream(kernel44)); in TEST_F()
91 getInstance()->addKernelConfigInputStream({4, 4, 0}, "android-base-arm64.config", in TEST_F()
94 EXPECT_TRUE(getInstance()->assemble()); in TEST_F()
235 getInstance()->setFakeEnv("PRODUCT_ENFORCE_VINTF_MANIFEST", "true"); in TEST_F()
238 getInstance()->setCheckInputStream("check.xml", makeStream(manifest(1))); in TEST_F()
239 EXPECT_TRUE(getInstance()->assemble()); in TEST_F()
256 getInstance()->setCheckInputStream("check.xml", makeStream(manifest(2))); in TEST_F()
257 EXPECT_TRUE(getInstance()->assemble()); in TEST_F()
274 getInstance()->setCheckInputStream("check.xml", makeStream(manifest(3))); in TEST_F()
275 EXPECT_TRUE(getInstance()->assemble()); in TEST_F()
294 getInstance()->setFakeEnv("REQUIRED_VNDK_VERSION", "P"); in TEST_F()
295 EXPECT_TRUE(getInstance()->assemble()); in TEST_F()
307 getInstance()->setFakeEnv("PROVIDED_VNDK_VERSIONS", "P 26 27 "); in TEST_F()
308 EXPECT_TRUE(getInstance()->assemble()); in TEST_F()
326 getInstance()->setFakeEnv("PROVIDED_VNDK_VERSIONS", "P 26 27 "); in TEST_F()
329 getInstance()->setCheckInputStream("check.xml", makeStream(matrix)); in TEST_F()
330 EXPECT_TRUE(getInstance()->assemble()); in TEST_F()
335 getInstance()->setFakeEnv("PROVIDED_VNDK_VERSIONS", "P 26 27 "); in TEST_F()
342 getInstance()->setCheckInputStream("check.xml", makeStream(matrix)); in TEST_F()
343 EXPECT_FALSE(getInstance()->assemble()); in TEST_F()
348 getInstance()->setFakeEnv("PROVIDED_VNDK_VERSIONS", "P 26 27 "); in TEST_F()
355 getInstance()->setCheckInputStream("check.xml", makeStream(matrix)); in TEST_F()
356 EXPECT_TRUE(getInstance()->assemble()); in TEST_F()
362 getInstance()->setFakeEnv("BOARD_SYSTEMSDK_VERSIONS", "P 1 2 "); in TEST_F()
363 EXPECT_TRUE(getInstance()->assemble()); in TEST_F()
377 getInstance()->setFakeEnv("PLATFORM_SYSTEMSDK_VERSIONS", "P 1 2 "); in TEST_F()
378 EXPECT_TRUE(getInstance()->assemble()); in TEST_F()
401 EXPECT_TRUE(getInstance()->assemble()); in TEST_F()
411 getInstance()->setCheckInputStream("check.xml", makeStream(gEmptyOutManifest)); in TEST_F()
425 EXPECT_TRUE(getInstance()->assemble()); in TEST_F()
455 getInstance()->setCheckInputStream("check.xml", makeStream(gEmptyOutManifest)); in TEST_F()
469 EXPECT_FALSE(getInstance()->assemble()); in TEST_F()
478 getInstance()->setCheckInputStream("check.xml", makeStream(gEmptyOutManifest)); in TEST_F()
504 EXPECT_TRUE(getInstance()->assemble()); in TEST_F()
541 EXPECT_TRUE(getInstance()->assemble()); in TEST_F()
549 EXPECT_TRUE(getInstance()->assemble()); in TEST_F()
569 EXPECT_TRUE(getInstance()->assemble()); in TEST_F()
592 getInstance()->addKernelConfigInputStream({3, 18, 10}, "android-base.config", in TEST_F()
594 EXPECT_TRUE(getInstance()->assemble()); in TEST_F()
603 EXPECT_TRUE(getInstance()->assemble()); in TEST_F()
612 EXPECT_TRUE(getInstance()->assemble()); in TEST_F()
619 getInstance()->addKernelConfigInputStream({3, 18, 10}, "android-base.config", in TEST_F()
621 EXPECT_TRUE(getInstance()->assemble()); in TEST_F()
628 getInstance()->addKernelConfigInputStream({5, 4, 10}, "android-base.config", in TEST_F()
630 EXPECT_TRUE(getInstance()->assemble()); in TEST_F()
639 getInstance()->addKernelConfigInputStream({3, 18, 10}, "android-base.config", in TEST_F()
641 EXPECT_TRUE(getInstance()->assemble()); in TEST_F()
659 getInstance()->setCheckInputStream("check.xml", makeStream( in TEST_F()
667 EXPECT_FALSE(getInstance()->assemble()); in TEST_F()
678 getInstance()->setCheckInputStream("check.xml", makeStream( in TEST_F()
686 EXPECT_TRUE(getInstance()->setNoKernelRequirements()); in TEST_F()
687 EXPECT_TRUE(getInstance()->assemble()); in TEST_F()