/frameworks/native/libs/renderengine/gl/ |
D | ImageManager.cpp | 58 const std::shared_ptr<Barrier>& barrier) { in cacheAsync() argument 61 std::lock_guard<std::mutex> lock(barrier->mutex); in cacheAsync() 62 barrier->isOpen = true; in cacheAsync() 63 barrier->result = BAD_VALUE; in cacheAsync() 65 barrier->condition.notify_one(); in cacheAsync() 69 QueueEntry entry = {QueueEntry::Operation::Insert, buffer, buffer->getId(), barrier}; in cacheAsync() 75 auto barrier = std::make_shared<Barrier>(); in cache() local 76 cacheAsync(buffer, barrier); in cache() 77 std::lock_guard<std::mutex> lock(barrier->mutex); in cache() 78 barrier->condition.wait(barrier->mutex, in cache() [all …]
|
D | ImageManager.h | 46 void cacheAsync(const sp<GraphicBuffer>& buffer, const std::shared_ptr<Barrier>& barrier) 49 void releaseAsync(uint64_t bufferId, const std::shared_ptr<Barrier>& barrier) EXCLUDES(mMutex); 58 std::shared_ptr<Barrier> barrier = nullptr; member
|
D | GLESRenderEngine.cpp | 698 auto barrier = std::make_shared<ImageManager::Barrier>(); in cacheExternalTextureBufferForTesting() local 699 mImageManager->cacheAsync(buffer, barrier); in cacheExternalTextureBufferForTesting() 700 return barrier; in cacheExternalTextureBufferForTesting() 748 auto barrier = std::make_shared<ImageManager::Barrier>(); in unbindExternalTextureBufferForTesting() local 749 mImageManager->releaseAsync(bufferId, barrier); in unbindExternalTextureBufferForTesting() 750 return barrier; in unbindExternalTextureBufferForTesting()
|
/frameworks/native/libs/renderengine/tests/ |
D | RenderEngineTest.cpp | 1006 std::shared_ptr<renderengine::gl::ImageManager::Barrier> barrier = in TEST_F() local 1008 std::lock_guard<std::mutex> lock(barrier->mutex); in TEST_F() 1009 ASSERT_TRUE(barrier->condition.wait_for(barrier->mutex, std::chrono::seconds(5), in TEST_F() 1010 [&]() REQUIRES(barrier->mutex) { in TEST_F() 1011 return barrier->isOpen; in TEST_F() 1014 EXPECT_EQ(NO_ERROR, barrier->result); in TEST_F() 1031 std::shared_ptr<renderengine::gl::ImageManager::Barrier> barrier = in TEST_F() local 1033 std::lock_guard<std::mutex> lock(barrier->mutex); in TEST_F() 1034 ASSERT_TRUE(barrier->condition.wait_for(barrier->mutex, std::chrono::seconds(5), in TEST_F() 1035 [&]() REQUIRES(barrier->mutex) { in TEST_F() [all …]
|
/frameworks/libs/net/common/devicetests/com/android/testutils/ |
D | ConcurrentInterpreter.kt | 85 val barrier = CyclicBarrier(threadCount) in <lambda>() constant 90 barrier.await() in <lambda>() 107 barrier.await() in <lambda>()
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | MessageQueue.h | 50 void wait() const { barrier.wait(); } in wait() 58 mutable Barrier barrier; variable
|
D | MessageQueue.cpp | 44 barrier.open(); in handleMessage()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
D | TransactionCompat.java | 97 Surface barrier, long frameNumber) { in deferTransactionUntil() argument 98 mTransaction.deferTransactionUntilSurface(surfaceControl.mSurfaceControl, barrier, in deferTransactionUntil()
|
/frameworks/native/services/surfaceflinger/layerproto/ |
D | layers.proto | 155 // layer id the barrier is waiting on. 157 // frame number the barrier is waiting on.
|
/frameworks/base/core/proto/android/os/ |
D | message.proto | 44 optional int32 barrier = 8; field
|
/frameworks/base/core/java/android/view/ |
D | SurfaceControl.java | 1018 public void deferTransactionUntil(Surface barrier, long frame) { in deferTransactionUntil() argument 1020 sGlobalTransaction.deferTransactionUntilSurface(this, barrier, frame); in deferTransactionUntil()
|
/frameworks/base/core/jni/ |
D | android_view_SurfaceControl.cpp | 1111 sp<Surface> barrier = reinterpret_cast<Surface *>(surfaceObject); in nativeDeferTransactionUntilSurface() local 1113 transaction->deferTransactionUntil_legacy(ctrl, barrier, frameNumber); in nativeDeferTransactionUntilSurface()
|