Searched refs:buffer_desc (Results 1 – 3 of 3) sorted by relevance
61 BufferDescription<LocalHandle> buffer_desc = status.take(); in ImportGraphicBuffer() local62 if (buffer_desc.id() < 0) { in ImportGraphicBuffer()68 const int buffer_id = buffer_desc.id(); in ImportGraphicBuffer()74 if (const int ret = buffer_desc.ImportBuffer(&ion_buffer)) { in ImportGraphicBuffer()
80 auto buffer_desc = status.take(); in ImportBuffer() local83 const int new_id = buffer_desc.id(); in ImportBuffer()87 ALOGD_IF(TRACE, "BufferHubBuffer::ImportBuffer: id=%d.", buffer_desc.id()); in ImportBuffer()89 if (const int ret = buffer_desc.ImportBuffer(&ion_buffer)) in ImportBuffer()94 if (const int ret = buffer_desc.ImportMetadata(&metadata_buffer)) { in ImportBuffer()121 shared_acquire_fence_ = buffer_desc.take_acquire_fence(); in ImportBuffer()122 shared_release_fence_ = buffer_desc.take_release_fence(); in ImportBuffer()139 buffer_state_bit_ = buffer_desc.buffer_state_bit(); in ImportBuffer()
260 AHardwareBuffer_Desc buffer_desc; in TEST_F() local294 AHardwareBuffer_describe(ahb1, &buffer_desc); in TEST_F()295 ASSERT_EQ(w1, buffer_desc.width); in TEST_F()296 ASSERT_EQ(kBufferHeight, buffer_desc.height); in TEST_F()322 AHardwareBuffer_describe(ahb2, &buffer_desc); in TEST_F()323 ASSERT_EQ(w2, buffer_desc.width); in TEST_F()349 AHardwareBuffer_describe(ahb3, &buffer_desc); in TEST_F()350 ASSERT_EQ(w3, buffer_desc.width); in TEST_F()