Home
last modified time | relevance | path

Searched refs:mSlot (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/av/media/libstagefright/filters/
DGraphicBufferListener.cpp104 item.mSlot = -1; in getBufferItem()
108 item.mSlot = -1; in getBufferItem()
122 ALOGV("setting mBufferSlot %d", item.mSlot); in getBufferItem()
123 mBufferSlot[item.mSlot] = item.mGraphicBuffer; in getBufferItem()
131 if (item.mSlot < 0 || item.mSlot >= BufferQueue::NUM_BUFFER_SLOTS) { in getBuffer()
132 ALOGE("getBuffer() received invalid BufferItem: mSlot==%d", item.mSlot); in getBuffer()
136 buf = mBufferSlot[item.mSlot]; in getBuffer()
143 if (item.mSlot < 0 || item.mSlot >= BufferQueue::NUM_BUFFER_SLOTS) { in releaseBuffer()
144 ALOGE("getBuffer() received invalid BufferItem: mSlot==%d", item.mSlot); in releaseBuffer()
148 mConsumer->releaseBuffer(item.mSlot, item.mFrameNumber, in releaseBuffer()
/frameworks/av/media/libstagefright/omx/
DGraphicBufferSource.cpp73 err = consumer->detachBuffer(bi.mSlot); in onFrameAvailable()
79 err = consumer->attachBuffer(&bi.mSlot, bi.mGraphicBuffer); in onFrameAvailable()
85 err = consumer->releaseBuffer(bi.mSlot, 0, in onFrameAvailable()
396 int id = codecBuffer.mSlot; in codecBufferEmptied()
490 releaseBuffer(item.mSlot, item.mFrameNumber, in suspend()
614 ALOGV("fillCodecBuffer_l: setting mBufferSlot %d", item.mSlot); in fillCodecBuffer_l()
615 mBufferSlot[item.mSlot] = item.mGraphicBuffer; in fillCodecBuffer_l()
620 item.mDataSpace, (android_pixel_format)mBufferSlot[item.mSlot]->getPixelFormat()); in fillCodecBuffer_l()
647 ALOGV("submitBuffer_l failed, releasing bq slot %d", item.mSlot); in fillCodecBuffer_l()
648 releaseBuffer(item.mSlot, item.mFrameNumber, item.mGraphicBuffer, item.mFence); in fillCodecBuffer_l()
[all …]
/frameworks/native/libs/gui/
DCpuConsumer.cpp113 int slot = b.mSlot; in lockNextBuffer()
168 if (mAcquiredBuffers[lockedIdx].mSlot == in lockNextBuffer()
176 ab.mSlot = slot; in lockNextBuffer()
233 int buf = mAcquiredBuffers[lockedIdx].mSlot; in releaseAcquiredBufferLocked()
237 mAcquiredBuffers[lockedIdx].mSlot, in releaseAcquiredBufferLocked()
253 ab.mSlot = BufferQueue::INVALID_BUFFER_SLOT; in releaseAcquiredBufferLocked()
DBufferItemConsumer.cpp85 item->mGraphicBuffer = mSlots[item->mSlot].mGraphicBuffer; in acquireBuffer()
96 err = addReleaseFenceLocked(item.mSlot, item.mGraphicBuffer, releaseFence); in releaseBuffer()
98 err = releaseBufferLocked(item.mSlot, item.mGraphicBuffer, EGL_NO_DISPLAY, in releaseBuffer()
DBufferQueueConsumer.cpp149 mSlots[front->mSlot].mBufferState.freeQueued(); in acquireBuffer()
155 mSlots[front->mSlot].mBufferState.isFree()) { in acquireBuffer()
156 mSlots[front->mSlot].mBufferState.mShared = false; in acquireBuffer()
160 if (!mSlots[front->mSlot].mBufferState.isShared()) { in acquireBuffer()
161 mCore->mActiveBuffers.erase(front->mSlot); in acquireBuffer()
162 mCore->mFreeBuffers.push_back(front->mSlot); in acquireBuffer()
215 outBuffer->mSlot = slot; in acquireBuffer()
226 slot = front->mSlot; in acquireBuffer()
541 mask &= ~(1ULL << current->mSlot); in getReleasedBuffers()
DBufferItem.cpp36 mSlot(INVALID_BUFFER_SLOT), in BufferItem()
65 addAligned(size, mSlot); in getPodSize()
150 writeAligned(buffer, size, mSlot); in flatten()
206 readAligned(buffer, size, mSlot); in unflatten()
DConsumerBase.cpp268 mSlots[item->mSlot].mGraphicBuffer = item->mGraphicBuffer; in acquireBufferLocked()
271 mSlots[item->mSlot].mFrameNumber = item->mFrameNumber; in acquireBufferLocked()
272 mSlots[item->mSlot].mFence = item->mFence; in acquireBufferLocked()
275 item->mSlot, item->mFrameNumber); in acquireBufferLocked()
DBufferQueueProducer.cpp835 item.mSlot = slot; in queueBuffer()
868 mSlots[last.mSlot].mBufferState.freeQueued(); in queueBuffer()
874 mSlots[last.mSlot].mBufferState.isFree()) { in queueBuffer()
875 mSlots[last.mSlot].mBufferState.mShared = false; in queueBuffer()
878 if (!mSlots[last.mSlot].mBufferState.isShared()) { in queueBuffer()
879 mCore->mActiveBuffers.erase(last.mSlot); in queueBuffer()
880 mCore->mFreeBuffers.push_back(last.mSlot); in queueBuffer()
912 item.mSlot = BufferItem::INVALID_BUFFER_SLOT; in queueBuffer()
/frameworks/base/services/core/java/com/android/server/connectivity/
DKeepaliveTracker.java92 private int mSlot = PacketKeepalive.NO_KEEPALIVE; field in KeepaliveTracker.KeepaliveInfo
148 mSlot, PacketKeepalive.BINDER_DIED, mNai.network).sendToTarget(); in binderDied()
190 mSlot = slot; in start()
191 Log.d(TAG, "Starting keepalive " + mSlot + " on " + mNai.name()); in start()
203 Log.e(TAG, "Cannot stop unowned keepalive " + mSlot + " on " + mNai.network); in stop()
207 Log.d(TAG, "Stopping keepalive " + mSlot + " on " + mNai.name()); in stop()
208 mNai.asyncChannel.sendMessage(CMD_STOP_PACKET_KEEPALIVE, mSlot); in stop()
212 notifyMessenger(mSlot, reason); in stop()
/frameworks/av/media/libstagefright/
DSurfaceMediaSource.cpp302 mSlots[item.mSlot].mGraphicBuffer = item.mGraphicBuffer; in read()
304 mSlots[item.mSlot].mFrameNumber = item.mFrameNumber; in read()
314 item.mSlot, item.mFrameNumber, EGL_NO_DISPLAY, in read()
340 mCurrentSlot = item.mSlot; in read()
344 mSlots[item.mSlot].mGraphicBuffer = item.mGraphicBuffer; in read()
346 mSlots[item.mSlot].mFrameNumber = item.mFrameNumber; in read()
/frameworks/rs/
DrsGrallocConsumer.cpp81 if (mAcquiredBuffer[idx].mSlot != BufferQueue::INVALID_BUFFER_SLOT) { in lockNextBuffer()
100 int slot = b.mSlot; in lockNextBuffer()
141 rsAssert(mAcquiredBuffer[idx].mSlot == BufferQueue::INVALID_BUFFER_SLOT); in lockNextBuffer()
143 mAcquiredBuffer[idx].mSlot = slot; in lockNextBuffer()
258 int buf = mAcquiredBuffer[idx].mSlot; in releaseAcquiredBufferLocked()
270 mAcquiredBuffer[idx].mSlot = BufferQueue::INVALID_BUFFER_SLOT; in releaseAcquiredBufferLocked()
DrsGrallocConsumer.h68 int mSlot; member
73 mSlot(BufferQueue::INVALID_BUFFER_SLOT), in AcquiredBuffer()
DrsScript.h39 ObjectBase(rsc), mScript(s), mSlot(slot) {} in IDBase()
46 int mSlot; variable
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DStatusBarIconView.java48 @ViewDebug.ExportedProperty private String mSlot; field in StatusBarIconView
66 mSlot = slot; in StatusBarIconView()
193 Log.w(TAG, "No icon for slot " + mSlot); in updateDrawable()
273 Log.d("View", debugIndent(depth) + "slot=" + mSlot); in debug()
320 return "StatusBarIconView(slot=" + mSlot + " icon=" + mIcon in toString()
325 return mSlot; in getSlot()
/frameworks/base/rs/java/android/renderscript/
DScript.java37 int mSlot; field in Script.KernelID
42 mSlot = slot; in KernelID()
79 int mSlot; field in Script.InvokeID
83 mSlot = slot; in InvokeID()
117 int mSlot; field in Script.FieldID
121 mSlot = slot; in FieldID()
/frameworks/native/include/gui/
DCpuConsumer.h132 int mSlot; member
137 mSlot(BufferQueue::INVALID_BUFFER_SLOT), in AcquiredBuffer()
DBufferItem.h102 int mSlot; variable
/frameworks/rs/cpu_ref/
DrsCpuScriptGroup.cpp148 s->setVarObj(n->mInputs[ct2]->mDstField->mSlot, n->mInputs[ct2]->mAlloc.get()); in execute()
212 uint32_t slot = kernels[ct]->mSlot; in execute()
264 si->forEachKernelSetup(kernels[ct]->mSlot, &mtls); in execute()
268 si->preLaunch(kernels[ct]->mSlot, ains, inLen, outs[ct], in execute()
292 si->postLaunch(kernels[ct]->mSlot, ains, inLen, outs[ct], nullptr, 0, in execute()
DrsCpuScriptGroup2.cpp174 si->forEachKernelSetup(funcID->mSlot, &mtls); in CpuScriptGroup2Impl()
326 ss << index << "," << funcID->mSlot << "."; in generateSourceSlot()
541 int slot = p.first->mSlot; in setGlobalsForBatch()
579 cc->mSi->invokeFunction(invokeID->mSlot, c->mParams, c->mParamLength); in run()
613 cpuClosure->mSi->preLaunch(kernelID->mSlot, in run()
639 cpuClosure->mSi->postLaunch(kernelID->mSlot, in run()
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
DScript.java68 int mSlot; field in Script.KernelID
73 mSlot = slot; in KernelID()
117 int mSlot; field in Script.InvokeID
121 mSlot = slot; in InvokeID()
156 int mSlot; field in Script.FieldID
160 mSlot = slot; in FieldID()
/frameworks/native/libs/gui/tests/
DBufferQueue_test.cpp393 ASSERT_EQ(OK, mConsumer->detachBuffer(item.mSlot)); in TEST_F()
394 ASSERT_EQ(BAD_VALUE, mConsumer->detachBuffer(item.mSlot)); // Not acquired in TEST_F()
453 ASSERT_EQ(OK, mConsumer->detachBuffer(item.mSlot)); in TEST_F()
582 ASSERT_EQ(sharedSlot, item.mSlot); in TEST_F()
587 ASSERT_EQ(OK, mConsumer->releaseBuffer(item.mSlot, item.mFrameNumber, in TEST_F()
625 ASSERT_EQ(sharedSlot, item.mSlot); in TEST_F()
630 ASSERT_EQ(OK, mConsumer->releaseBuffer(item.mSlot, item.mFrameNumber, in TEST_F()
648 ASSERT_EQ(sharedSlot, item.mSlot); in TEST_F()
659 ASSERT_EQ(OK, mConsumer->releaseBuffer(item.mSlot, item.mFrameNumber, in TEST_F()
702 ASSERT_EQ(sharedSlot, item.mSlot); in TEST_F()
[all …]
DStreamSplitter_test.cpp111 ASSERT_EQ(OK, outputConsumer->releaseBuffer(item.mSlot, item.mFrameNumber, in TEST_F()
184 ASSERT_EQ(OK, outputConsumers[output]->releaseBuffer(item.mSlot, in TEST_F()
/frameworks/av/services/camera/libcameraservice/gui/
DRingBufferConsumer.cpp232 err = addReleaseFenceLocked(item.mSlot, in releaseOldestBufferLocked()
247 err = releaseBufferLocked(item.mSlot, item.mGraphicBuffer, in releaseOldestBufferLocked()
319 item.mGraphicBuffer = mSlots[item.mSlot].mGraphicBuffer; in onFrameAvailable()
336 status_t res = addReleaseFenceLocked(item.mSlot, in unpinBuffer()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DFramebufferSurface.cpp153 item.mSlot != mCurrentBufferSlot) { in nextBuffer()
168 mCurrentBufferSlot = item.mSlot; in nextBuffer()
DVirtualDisplaySurface.cpp493 VDS_LOGW_IF(item.mSlot != sslot, in queueBuffer()
495 item.mSlot, sslot); in queueBuffer()
496 mFbProducerSlot = mapSource2ProducerSlot(SOURCE_SCRATCH, item.mSlot); in queueBuffer()
497 mFbFence = mSlots[item.mSlot].mFence; in queueBuffer()

12