Searched refs:transaction1 (Results 1 – 3 of 3) sorted by relevance
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | TransactionApplicationTest.cpp | 318 TransactionState transaction1; in TEST_F() local 319 transaction1.applyToken = applyToken1; in TEST_F() 320 transaction1.id = 42069; in TEST_F() 321 transaction1.states.emplace_back(); in TEST_F() 322 transaction1.states[0].state.what |= layer_state_t::eBufferChanged; in TEST_F() 323 transaction1.states[0].state.bufferData = in TEST_F() 326 transaction1.states[0].externalTexture = in TEST_F() 327 std::make_shared<FakeExternalTexture>(*transaction1.states[0].state.bufferData); in TEST_F() 328 transaction1.states[0].state.surface = in TEST_F() 333 transaction1.states[0].state.bufferData->acquireFence = std::move(fence); in TEST_F() [all …]
|
/frameworks/native/services/surfaceflinger/tests/ |
D | LayerCallback_test.cpp | 294 Transaction transaction1, transaction2; in TEST_F() local 296 int err = fillTransaction(transaction1, &callback1, layer1); in TEST_F() 309 TransactionUtils::setFrame(transaction1, layer1, in TEST_F() 315 transaction2.merge(std::move(transaction1)).apply(); in TEST_F() 328 Transaction transaction1, transaction2; in TEST_F() local 330 int err = fillTransaction(transaction1, &callback1, layer1, false, true); in TEST_F() 343 TransactionUtils::setFrame(transaction1, layer1, in TEST_F() 349 transaction2.merge(std::move(transaction1)).apply(); in TEST_F() 363 Transaction transaction1, transaction2; in TEST_F() local 365 int err = fillTransaction(transaction1, &callback1, layer1); in TEST_F() [all …]
|
D | ReleaseBufferCallback_test.cpp | 364 Transaction transaction1; in TEST_F() local 365 transaction1.setBuffer(layer, secondBuffer, std::nullopt, secondBufferCallbackId.framenumber, in TEST_F() 367 transaction1.addTransactionCompletedCallback(callback1.function, callback1.getContext()); in TEST_F() 381 Transaction().merge(std::move(transaction1)).merge(std::move(transaction2)).apply(); in TEST_F() 421 Transaction transaction1; in TEST_F() local 422 transaction1.setBuffer(layer, firstBuffer, std::nullopt, firstBufferCallbackId.framenumber, in TEST_F() 434 transaction1.merge(std::move(transaction2)); in TEST_F() 452 Transaction transaction1; in TEST_F() local 453 transaction1.setBuffer(layer, firstBuffer, std::nullopt, firstBufferCallbackId.framenumber, in TEST_F() 466 Transaction().merge(std::move(transaction1)).merge(std::move(transaction2)).apply(); in TEST_F()
|