Searched refs:buffer_desc (Results 1 – 2 of 2) sorted by relevance
59 auto buffer_desc = status.take(); in ImportBuffer() local62 const int new_id = buffer_desc.id(); in ImportBuffer()66 ALOGD_IF(TRACE, "BufferHubBase::ImportBuffer: id=%d.", buffer_desc.id()); in ImportBuffer()68 if (const int ret = buffer_desc.ImportBuffer(&ion_buffer)) in ImportBuffer()73 if (const int ret = buffer_desc.ImportMetadata(&metadata_buffer)) { in ImportBuffer()100 shared_acquire_fence_ = buffer_desc.take_acquire_fence(); in ImportBuffer()101 shared_release_fence_ = buffer_desc.take_release_fence(); in ImportBuffer()118 cid_ = buffer_desc.buffer_cid(); in ImportBuffer()119 client_state_mask_ = buffer_desc.client_state_mask(); in ImportBuffer()
54 let buffer_desc = ffi::AHardwareBuffer_Desc { in is_supported() localVariable65 let status = unsafe { ffi::AHardwareBuffer_isSupported(&buffer_desc) }; in is_supported()84 let buffer_desc = ffi::AHardwareBuffer_Desc { in new() localVariable97 let status = unsafe { ffi::AHardwareBuffer_allocate(&buffer_desc, &mut ptr) }; in new()189 let mut buffer_desc = ffi::AHardwareBuffer_Desc { in description() localVariable200 unsafe { ffi::AHardwareBuffer_describe(self.0.as_ref(), &mut buffer_desc) }; in description()201 buffer_desc in description()302 let buffer_desc = ffi::AHardwareBuffer_Desc { in from_raw_allows_getters() localVariable316 let status = unsafe { ffi::AHardwareBuffer_allocate(&buffer_desc, &mut raw_buffer_ptr) }; in from_raw_allows_getters()