Home
last modified time | relevance | path

Searched refs:bufferLayer (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/
DLayerUpdate_test.cpp588 sp<SurfaceControl> bufferLayer = in TEST_F() local
591 ASSERT_TRUE(bufferLayer->isValid()); in TEST_F()
592 ASSERT_NO_FATAL_FAILURE(fillBufferQueueLayerColor(bufferLayer, Color::BLACK, 30, 30)); in TEST_F()
593 asTransaction([&](Transaction& t) { t.show(bufferLayer); }); in TEST_F()
DLayerRenderTypeTransaction_test.cpp455 sp<SurfaceControl> bufferLayer; in TEST_P() local
457 ASSERT_NO_FATAL_FAILURE(bufferLayer = createLayer("test bg", 32, 32)); in TEST_P()
458 ASSERT_NO_FATAL_FAILURE(fillBufferQueueLayerColor(bufferLayer, Color::RED, 32, 32)); in TEST_P()
660 sp<SurfaceControl> bufferLayer; in TEST_P() local
662 ASSERT_NO_FATAL_FAILURE(bufferLayer = createLayer("test bg", 32, 32)); in TEST_P()
663 ASSERT_NO_FATAL_FAILURE(fillBufferQueueLayerColor(bufferLayer, Color::RED, 32, 32)); in TEST_P()
685 sp<SurfaceControl> bufferLayer; in TEST_P() local
688 ASSERT_NO_FATAL_FAILURE(bufferLayer = createLayer("test bg", 32, 32)); in TEST_P()
690 ASSERT_NO_FATAL_FAILURE(fillBufferQueueLayerColor(bufferLayer, Color::RED, 32, 32)); in TEST_P()
DLayerCallback_test.cpp1064 sp<SurfaceControl> bufferLayer, emptyBufferLayer; in TEST_F() local
1065 ASSERT_NO_FATAL_FAILURE(bufferLayer = createBufferStateLayer()); in TEST_F()
1071 int err = fillTransaction(transaction, &callback, bufferLayer); in TEST_F()
1079 TransactionUtils::setFrame(transaction, bufferLayer, in TEST_F()
1086 expected.addSurface(ExpectedResult::Transaction::PRESENTED, bufferLayer, in TEST_F()
DLayerTypeAndRenderTypeTransaction_test.cpp752 sp<SurfaceControl> bufferLayer; in TEST_P() local
753 ASSERT_NO_FATAL_FAILURE(bufferLayer = createLayer("test", 32, 32)); in TEST_P()
754 ASSERT_NO_FATAL_FAILURE(fillLayerColor(bufferLayer, Color::RED, 32, 32)); in TEST_P()
757 Transaction().setColor(bufferLayer, half3(0.0f, 1.0f, 0.0f)).apply(); in TEST_P()