/frameworks/native/libs/vr/libbufferhub/ |
H A D | bufferhub_tests.cpp | 40 EXPECT_EQ(0, p->Post(LocalHandle(), kContext)); 78 EXPECT_EQ(0, p->Post(LocalHandle(), m)); 104 EXPECT_NE(0, p->Post(LocalHandle(), sequence)); 121 EXPECT_EQ(0, p->Post(LocalHandle(), m)); 137 EXPECT_EQ(0, p->Post(LocalHandle(), sequence)); 153 EXPECT_EQ(0, p->Post<void>(LocalHandle())); 166 EXPECT_NE(0, p->Post(LocalHandle(), sequence)); 180 EXPECT_EQ(0, p->Post<void>(LocalHandle()));
|
H A D | buffer_hub_client.cpp | 363 int BufferProducer::Post(const LocalHandle& ready_fence, const void* meta, function in class:android::dvr::BufferProducer 365 ATRACE_NAME("BufferProducer::Post");
|
/frameworks/native/libs/vr/libbufferhub/include/private/dvr/ |
H A D | buffer_hub_client.h | 121 // This represents a writable buffer. Calling Post notifies all clients and 125 // The user of BufferProducer is responsible with making sure that the Post() is 128 // metadata when acquiring the buffer. The API guarantees that a Post() with a 139 // Post this buffer, passing |ready_fence| to the consumers. The bytes in 143 int Post(const LocalHandle& ready_fence, const void* meta, 148 int Post(const LocalHandle& ready_fence) { function in class:android::dvr::BufferProducer 149 return Post(ready_fence, nullptr, 0); 153 int Post(const LocalHandle& ready_fence, const Meta& meta) { function in class:android::dvr::BufferProducer 154 return Post(ready_fence, &meta, sizeof(meta)); 240 // application. When that buffer is Post()e [all...] |
H A D | native_buffer.h | 95 // Post the buffer consumer, closing the acquire and release fences. 96 int Post(int acquire_fence, uint64_t sequence) { function in class:android::dvr::NativeBufferProducer 98 return buffer_->Post(pdx::LocalHandle(acquire_fence), sequence);
|
/frameworks/native/libs/vr/libbufferhubqueue/tests/ |
H A D | buffer_hub_queue-test.cpp | 85 ASSERT_EQ(p1->Post(LocalHandle(), &mi, sizeof(mi)), 0); 130 // Make sure Producer buffer is Post()'ed so that it's ready to Accquire 138 ASSERT_EQ(producer->Post({}, &seq_in, sizeof(seq_in)), 0); 140 // Second time, the just |Post()|'ed buffer should be dequeued. 174 ASSERT_EQ(0, producer_buffer->Post<void>({})); 195 // Post another buffer. 200 ASSERT_EQ(0, producer_buffer->Post<void>({})); 242 ASSERT_EQ(p1->Post(LocalHandle(-1), &mi, sizeof(mi)), 0); 265 ASSERT_EQ(p1->Post(LocalHandle(-1), &mi, sizeof(mi)), 0); 326 ASSERT_EQ(p1->Post(LocalHandl [all...] |
/frameworks/native/libs/vr/libdvr/ |
H A D | dvr_buffer.cpp | 83 int result = write_buffer->write_buffer->Post(fence, meta, meta_size_bytes);
|
/frameworks/native/libs/vr/libbufferhubqueue/ |
H A D | buffer_hub_queue_producer.cpp | 311 // Post the buffer producer with timestamp in the metadata. 336 buffer_producer->Post(fence_fd, &meta_data, sizeof(meta_data));
|