Searched refs:Post (Results 1 - 4 of 4) sorted by relevance

/frameworks/native/libs/vr/libbufferhub/include/private/dvr/
H A Dbuffer_hub_client.h161 // A local fence fd that holds the ownership of the fence fd on Post (for
178 // This represents a writable buffer. Calling Post notifies all clients and
182 // The user of BufferProducer is responsible with making sure that the Post() is
185 // metadata when acquiring the buffer. The API guarantees that a Post() with a
201 // Post this buffer, passing |ready_fence| to the consumers. The bytes in
205 int Post(const LocalHandle& ready_fence, const void* meta,
210 int Post(const LocalHandle& ready_fence) { function in class:android::dvr::BufferProducer
211 return Post(ready_fence, nullptr, 0);
215 int Post(const LocalHandle& ready_fence, const Meta& meta) { function in class:android::dvr::BufferProducer
216 return Post(ready_fenc
[all...]
/frameworks/native/libs/vr/libbufferhub/
H A Dbuffer_hub-test.cpp82 EXPECT_EQ(0, p->Post(LocalHandle(), kContext));
149 // Post the producer and check for consumer signal.
150 EXPECT_EQ(0, p->Post({}, kContext));
231 // Post in gained state should succeed.
232 EXPECT_EQ(0, p->Post(LocalHandle(), kContext));
234 // Post, release, and gain in posted state should fail.
235 EXPECT_EQ(-EBUSY, p->Post(LocalHandle(), kContext));
244 EXPECT_EQ(-EBUSY, p->Post(LocalHandle(), kContext));
254 EXPECT_EQ(-EBUSY, p->Post(LocalHandle(), kContext));
285 // Post i
[all...]
H A Dbuffer_hub_client.cpp517 int BufferProducer::Post(const LocalHandle& ready_fence, const void* meta, function in class:android::dvr::BufferProducer
519 ATRACE_NAME("BufferProducer::Post");
/frameworks/native/libs/vr/libdvr/tests/
H A Ddvr_buffer_queue-test.cpp179 // Post buffer to the read_queue.
431 std::function<void(size_t i)> Post = [&](size_t i) { local
480 // Post all write buffers.
482 ASSERT_NO_FATAL_FAILURE(Post(i));
499 ASSERT_NO_FATAL_FAILURE(Post(i));
515 ASSERT_NO_FATAL_FAILURE(Post(kQueueCapacity - 1 - i));
553 // Post buffer to the read_queue.

Completed in 68 milliseconds