289ade165e
Change-Id: Idc39f1e511d68ce4f02202d35425a419bc0bcd92
16 lines
403 B
C++
16 lines
403 B
C++
#include <gui/BufferSlot.h>
|
|
|
|
namespace android {
|
|
|
|
const char* BufferSlot::bufferStateName(BufferState state) {
|
|
switch (state) {
|
|
case BufferSlot::DEQUEUED: return "DEQUEUED";
|
|
case BufferSlot::QUEUED: return "QUEUED";
|
|
case BufferSlot::FREE: return "FREE";
|
|
case BufferSlot::ACQUIRED: return "ACQUIRED";
|
|
default: return "Unknown";
|
|
}
|
|
}
|
|
|
|
} // namespace android
|