Lines Matching refs:testLayers
707 const Hwc2TestLayers& testLayers, in handleCompositionChanges() argument
726 EXPECT_TRUE(layer != layers.end() || !testLayers.contains(*layer)) in handleCompositionChanges()
729 hwc2_composition_t requestedType = testLayers.getComposition(*layer); in handleCompositionChanges()
771 if (testLayers.getComposition(layer) == HWC2_COMPOSITION_CLIENT) in handleCompositionChanges()
1195 Hwc2TestLayers* testLayers);
1213 Hwc2TestLayers* testLayers);
1327 Hwc2TestLayers testLayers(layers, coverage, displayArea); in setLayerProperties() local
1332 &testLayers)); in setLayerProperties()
1334 } while (advance(&testLayers)); in setLayerProperties()
1434 Hwc2TestLayers testLayers(layers, coverage, displayArea); in displayLayers() local
1440 &testLayers, &skip)); in displayLayers()
1443 &testLayers)); in displayLayers()
1445 } while (testLayers.advance()); in displayLayers()
1620 Hwc2TestLayers* testLayers, bool* outSkip) in setLayerProperties() argument
1628 if (!testLayers->contains(layer)) in setLayerProperties()
1631 composition = testLayers->getComposition(layer); in setLayerProperties()
1636 && testLayers->getBuffer(layer, &handle, &acquireFence) < 0) in setLayerProperties()
1645 const hwc_rect_t cursor = testLayers->getCursorPosition(layer); in setLayerProperties()
1650 testLayers->getBlendMode(layer))); in setLayerProperties()
1652 testLayers->getColor(layer))); in setLayerProperties()
1657 testLayers->getDataspace(layer))); in setLayerProperties()
1659 testLayers->getDisplayFrame(layer))); in setLayerProperties()
1661 testLayers->getPlaneAlpha(layer))); in setLayerProperties()
1663 testLayers->getSourceCrop(layer))); in setLayerProperties()
1665 testLayers->getSurfaceDamage(layer))); in setLayerProperties()
1667 testLayers->getTransform(layer))); in setLayerProperties()
1669 testLayers->getVisibleRegion(layer))); in setLayerProperties()
1671 testLayers->getZOrder(layer))); in setLayerProperties()
1678 Hwc2TestLayers* testLayers, bool* outSkip) in setLayerProperties() argument
1682 testLayers, outSkip)); in setLayerProperties()
1690 const Hwc2TestLayers& testLayers, in setClientTarget() argument
1700 ASSERT_EQ(testClientTarget->getBuffer(testLayers, clientLayers, in setClientTarget()
1728 Hwc2TestLayers testLayers(layers, coverage, displayArea, in presentDisplays() local
1731 if (optimize && !testLayers.optimizeLayouts()) in presentDisplays()
1745 &testLayers, &skip)); in presentDisplays()
1756 testLayers, layers, numTypes, &clientLayers)); in presentDisplays()
1760 &testClientTarget, testLayers, clientLayers, in presentDisplays()
1771 } while (testLayers.advance()); in presentDisplays()
1817 Hwc2TestLayers testLayers(layers, coverage, displayArea, in createAndPresentVirtualDisplay() local
1825 testLayers.optimizeLayouts(); in createAndPresentVirtualDisplay()
1839 &testLayers, &skip)); in createAndPresentVirtualDisplay()
1852 testLayers, layers, numTypes, &clientLayers)); in createAndPresentVirtualDisplay()
1857 &testClientTarget, testLayers, clientLayers, in createAndPresentVirtualDisplay()
1870 ASSERT_EQ(testVirtualDisplay.verifyOutputBuffer(&testLayers, in createAndPresentVirtualDisplay()
1908 << "Test case: " << testLayers.dump(); in createAndPresentVirtualDisplay()
1910 } while (testLayers.advance()); in createAndPresentVirtualDisplay()
2166 bool advanceVisibleRegions(Hwc2TestLayers* testLayers) in advanceVisibleRegions() argument
2168 return testLayers->advanceVisibleRegions(); in advanceVisibleRegions()
3349 Hwc2TestLayers* testLayers) { in TEST_F() argument
3352 layer, testLayers->getVisibleRegion(layer))); in TEST_F()
3370 Hwc2TestLayers* testLayers) { in TEST_F() argument
3373 testLayers->getZOrder(layer))); in TEST_F()
3543 Hwc2TestLayers* testLayers) { in TEST_F() argument
3555 *testLayers, layers, numTypes)); in TEST_F()
3602 Hwc2TestLayers* testLayers) { in TEST_F() argument
3614 *testLayers, layers, numTypes)); in TEST_F()
3739 Hwc2TestLayers testLayers(layers, Hwc2TestCoverage::Basic, in TEST_F() local
3742 if (!testLayers.optimizeLayouts()) in TEST_F()
3757 &testLayers, &skip)); in TEST_F()
3768 testLayers, layers, numTypes, &clientLayers)); in TEST_F()
3771 ASSERT_EQ(testClientTarget.getBuffer(testLayers, clientLayers, in TEST_F()
3780 } while (testLayers.advance()); in TEST_F()
3795 Hwc2TestLayers testLayers(layers, Hwc2TestCoverage::Default, displayArea); in TEST_F() local
3809 ASSERT_EQ(testClientTarget.getBuffer(testLayers, clientLayers, in TEST_F()