Searched defs:outSlot (Results 1 - 4 of 4) sorted by relevance
/frameworks/native/libs/gui/ |
H A D | BufferQueueConsumer.cpp | 312 status_t BufferQueueConsumer::attachBuffer(int* outSlot, argument 316 if (outSlot == NULL) { 317 BQ_LOGE("attachBuffer: outSlot must not be NULL"); 369 *outSlot = found; 370 ATRACE_BUFFER_INDEX(*outSlot); 371 BQ_LOGV("attachBuffer: returning slot %d", *outSlot); 373 mSlots[*outSlot].mGraphicBuffer = buffer; 374 mSlots[*outSlot].mBufferState.attachConsumer(); 375 mSlots[*outSlot].mNeedsReallocation = true; 376 mSlots[*outSlot] [all...] |
H A D | BufferQueueProducer.cpp | 343 status_t BufferQueueProducer::dequeueBuffer(int *outSlot, argument 439 *outSlot = found; 497 BQ_LOGV("dequeueBuffer: allocating a new buffer for slot %d", *outSlot); 505 mSlots[*outSlot].mGraphicBuffer = graphicBuffer; 545 *outSlot, 546 mSlots[*outSlot].mFrameNumber, 547 mSlots[*outSlot].mGraphicBuffer->handle, returnFlags); 656 status_t BufferQueueProducer::attachBuffer(int* outSlot, argument 660 if (outSlot == NULL) { 661 BQ_LOGE("attachBuffer: outSlot mus [all...] |
/frameworks/native/libs/gui/tests/ |
H A D | BufferQueue_test.cpp | 530 int outSlot; local 531 ASSERT_EQ(BAD_VALUE, mProducer->attachBuffer(&outSlot, buffer)); 532 ASSERT_EQ(BAD_VALUE, mConsumer->attachBuffer(&outSlot, buffer)); 537 ASSERT_EQ(OK, mProducer->attachBuffer(&outSlot, buffer)); 539 ASSERT_EQ(OK, mProducer->detachBuffer(outSlot)); 542 ASSERT_EQ(OK, mConsumer->attachBuffer(&outSlot, buffer));
|
/frameworks/native/services/surfaceflinger/ |
H A D | MonitoredProducer.cpp | 82 status_t MonitoredProducer::attachBuffer(int* outSlot, argument 84 return mProducer->attachBuffer(outSlot, buffer);
|
Completed in 68 milliseconds