Lines Matching refs:layer1

290     sp<SurfaceControl> layer1, layer2;  in TEST_F()  local
291 ASSERT_NO_FATAL_FAILURE(layer1 = createLayerWithBuffer()); in TEST_F()
296 int err = fillTransaction(transaction1, &callback1, layer1); in TEST_F()
309 TransactionUtils::setFrame(transaction1, layer1, in TEST_F()
318 expected.addSurfaces(ExpectedResult::Transaction::PRESENTED, {layer1, layer2}); in TEST_F()
324 sp<SurfaceControl> layer1, layer2; in TEST_F() local
325 ASSERT_NO_FATAL_FAILURE(layer1 = createLayerWithBuffer()); in TEST_F()
330 int err = fillTransaction(transaction1, &callback1, layer1, false, true); in TEST_F()
343 TransactionUtils::setFrame(transaction1, layer1, in TEST_F()
352 expected.addSurfaces(ExpectedResult::Transaction::PRESENTED, {layer1, layer2}, in TEST_F()
359 sp<SurfaceControl> layer1, layer2; in TEST_F() local
360 ASSERT_NO_FATAL_FAILURE(layer1 = createLayerWithBuffer()); in TEST_F()
365 int err = fillTransaction(transaction1, &callback1, layer1); in TEST_F()
378 TransactionUtils::setFrame(transaction1, layer1, in TEST_F()
387 expected.addSurface(ExpectedResult::Transaction::PRESENTED, layer1); in TEST_F()
394 sp<SurfaceControl> layer1, layer2; in TEST_F() local
395 ASSERT_NO_FATAL_FAILURE(layer1 = createLayerWithBuffer()); in TEST_F()
400 int err = fillTransaction(transaction1, &callback, layer1); in TEST_F()
414 expected.addSurfaces(ExpectedResult::Transaction::PRESENTED, {layer1, layer2}); in TEST_F()
451 sp<SurfaceControl> layer1, layer2; in TEST_F() local
452 ASSERT_NO_FATAL_FAILURE(layer1 = createLayer(client1, "test", 0, 0, in TEST_F()
459 int err = fillTransaction(transaction1, &callback1, layer1); in TEST_F()
472 TransactionUtils::setFrame(transaction1, layer1, in TEST_F()
481 expected.addSurfaces(ExpectedResult::Transaction::PRESENTED, {layer1, layer2}); in TEST_F()
581 sp<SurfaceControl> layer1, layer2; in TEST_F() local
582 ASSERT_NO_FATAL_FAILURE(layer1 = createLayerWithBuffer()); in TEST_F()
588 int err = fillTransaction(transaction1, &callback1, layer1); in TEST_F()
601 TransactionUtils::setFrame(transaction1, layer1, in TEST_F()
611 expected.addSurfaces(ExpectedResult::Transaction::PRESENTED, {layer1, layer2}, in TEST_F()
628 sp<SurfaceControl> layer1, layer2; in TEST_F() local
629 ASSERT_NO_FATAL_FAILURE(layer1 = createLayer(client1, "test", 0, 0, in TEST_F()
637 int err = fillTransaction(transaction1, &callback1, layer1); in TEST_F()
650 TransactionUtils::setFrame(transaction1, layer1, in TEST_F()
660 expected.addSurfaces(ExpectedResult::Transaction::PRESENTED, {layer1, layer2}, in TEST_F()
677 sp<SurfaceControl> layer1, layer2; in TEST_F() local
678 ASSERT_NO_FATAL_FAILURE(layer1 = createLayer(client1, "test", 0, 0, in TEST_F()
687 int err = fillTransaction(transaction1, &callback1, layer1); in TEST_F()
700 TransactionUtils::setFrame(transaction1, layer1, in TEST_F()
709 expected.addSurfaces(ExpectedResult::Transaction::PRESENTED, {layer1, layer2}); in TEST_F()
739 sp<SurfaceControl> layer1, layer2; in TEST_F() local
740 ASSERT_NO_FATAL_FAILURE(layer1 = createLayer(client1, "test", 0, 0, in TEST_F()
749 int err = fillTransaction(transaction1, &callback1, layer1); in TEST_F()
762 TransactionUtils::setFrame(transaction1, layer1, in TEST_F()
771 expected.addSurfaces(ExpectedResult::Transaction::PRESENTED, {layer1, layer2}); in TEST_F()
1299 sp<SurfaceControl> layer1, layer2; in TEST_F() local
1300 ASSERT_NO_FATAL_FAILURE(layer1 = createLayerWithBuffer()); in TEST_F()
1305 int err = fillTransaction(transaction1, &callback1a, layer1); in TEST_F()
1319 TransactionUtils::setFrame(transaction1, layer1, in TEST_F()
1327 expected1a.addSurface(ExpectedResult::Transaction::PRESENTED, {layer1}, in TEST_F()
1339 err = fillTransaction(transaction1, &callback1b, layer1); in TEST_F()
1350 TransactionUtils::setFrame(transaction1, layer1, in TEST_F()
1357 expected1b.addSurface(ExpectedResult::Transaction::PRESENTED, {layer1}, in TEST_F()