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

/frameworks/native/libs/vr/libdvr/tests/
H A Ddvr_display-test.cpp304 AHardwareBuffer* ah_buffer = nullptr; local
305 int ret = api_.WriteBufferGetAHardwareBuffer(write_buffer, &ah_buffer);
307 ASSERT_NE(nullptr, ah_buffer) << "AHardware buffer should not be null.";
309 AHardwareBuffer_describe(ah_buffer, &ah_buffer_describe);
321 ret = AHardwareBuffer_lock(ah_buffer, AHARDWAREBUFFER_USAGE_CPU_WRITE_OFTEN,
346 ret = AHardwareBuffer_unlock(ah_buffer, &fence);
350 AHardwareBuffer_release(ah_buffer);

Completed in 27 milliseconds