Home
last modified time | relevance | path

Searched refs:kInvalidBufferHandle (Results 1 – 5 of 5) sorted by relevance

/hardware/google/camera/common/hal/utils/
Dzsl_buffer_manager.cc98 if (buffer != kInvalidBufferHandle) { in AllocateBuffersLocked()
126 return kInvalidBufferHandle; in GetEmptyBuffer()
130 if (buffer == kInvalidBufferHandle) { in GetEmptyBuffer()
136 return kInvalidBufferHandle; in GetEmptyBuffer()
147 buffer_handle_t buffer = kInvalidBufferHandle; in GetEmptyBufferLocked()
165 if (buffer_iter->second.buffer.buffer != kInvalidBufferHandle) { in GetEmptyBufferLocked()
169 return kInvalidBufferHandle; in GetEmptyBufferLocked()
175 } else if (buffer_iter->second.buffer.buffer == kInvalidBufferHandle && in GetEmptyBufferLocked()
182 return kInvalidBufferHandle; in GetEmptyBufferLocked()
194 if (buffer != kInvalidBufferHandle) { in GetEmptyBufferLocked()
[all …]
Dinternal_stream_manager.cc400 if (buffer->buffer == kInvalidBufferHandle) { in GetStreamBuffer()
/hardware/google/camera/common/hal/tests/
Dzsl_buffer_manager_tests.cc69 ASSERT_NE(buffer, kInvalidBufferHandle) << "GetEmptyBuffer failed: " << i; in TEST()
73 ASSERT_EQ(buffer, kInvalidBufferHandle) << "GetEmptyBuffer is not nullptr"; in TEST()
91 ASSERT_NE(empty_buffer, kInvalidBufferHandle) in TEST()
127 ASSERT_NE(empty_buffer, kInvalidBufferHandle) in TEST()
Dinternal_stream_manager_tests.cc203 EXPECT_NE(buffer.buffer, kInvalidBufferHandle) << "Buffer should be valid"; in TEST()
/hardware/google/camera/common/hal/common/
Dhal_types.h35 static constexpr buffer_handle_t kInvalidBufferHandle = nullptr; variable