Home
last modified time | relevance | path

Searched refs:status_or_slot (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/libs/vr/libbufferhubqueue/
Dbuffer_hub_queue_client.cpp543 auto status_or_slot = in InsertBuffer() local
546 if (!status_or_slot) { in InsertBuffer()
550 buffer->cid(), status_or_slot.GetErrorMessage().c_str()); in InsertBuffer()
551 return status_or_slot.error_status(); in InsertBuffer()
554 size_t slot = status_or_slot.get(); in InsertBuffer()
/frameworks/native/libs/vr/libbufferhubqueue/tests/
Dbuffer_hub_queue-test.cpp343 auto status_or_slot = producer_queue_->InsertBuffer(p1); in TEST_F() local
344 EXPECT_FALSE(status_or_slot.ok()); in TEST_F()
345 EXPECT_EQ(status_or_slot.error(), EINVAL); in TEST_F()
352 status_or_slot = producer_queue_->InsertBuffer(p2); in TEST_F()
353 EXPECT_TRUE(status_or_slot.ok()) << status_or_slot.GetErrorMessage(); in TEST_F()
355 size_t slot = status_or_slot.get(); in TEST_F()