/frameworks/native/libs/gui/ |
D | BufferQueueCore.cpp | 100 mSlots(), in BufferQueueCore() 193 const sp<GraphicBuffer>& buffer(mSlots[s].mGraphicBuffer); in dumpState() 197 (mSlots[s].mBufferState.isAcquired()) ? ">" : " ", s, in dumpState() 199 outResult->appendFormat("state=%-8s %p frame=%" PRIu64, mSlots[s].mBufferState.string(), in dumpState() 200 buffer->handle, mSlots[s].mFrameNumber); in dumpState() 206 mSlots[s].mBufferState.string(), mSlots[s].mFrameNumber); in dumpState() 210 const sp<GraphicBuffer>& buffer(mSlots[s].mGraphicBuffer); in dumpState() 212 outResult->appendFormat("state=%-8s %p frame=%" PRIu64, mSlots[s].mBufferState.string(), in dumpState() 213 buffer->handle, mSlots[s].mFrameNumber); in dumpState() 219 const sp<GraphicBuffer>& buffer(mSlots[s].mGraphicBuffer); in dumpState() [all …]
|
D | BufferQueueConsumer.cpp | 73 mSlots(core->mSlots), in BufferQueueConsumer() 93 if (mSlots[s].mBufferState.isAcquired()) { in acquireBuffer() 177 mSlots[front->mSlot].mBufferState.freeQueued(); in acquireBuffer() 183 mSlots[front->mSlot].mBufferState.isFree()) { in acquireBuffer() 184 mSlots[front->mSlot].mBufferState.mShared = false; in acquireBuffer() 188 if (!mSlots[front->mSlot].mBufferState.isShared()) { in acquireBuffer() 237 outBuffer->mGraphicBuffer = mSlots[slot].mGraphicBuffer; in acquireBuffer() 248 outBuffer->mAcquireCalled = mSlots[slot].mAcquireCalled; in acquireBuffer() 268 mSlots[slot].mAcquireCalled = true; in acquireBuffer() 273 mSlots[slot].mBufferState.acquireNotInQueue(); in acquireBuffer() [all …]
|
D | BufferQueueProducer.cpp | 75 mSlots(core->mSlots), in BufferQueueProducer() 109 } else if (!mSlots[slot].mBufferState.isDequeued()) { in requestBuffer() 111 "(state = %s)", slot, mSlots[slot].mBufferState.string()); in requestBuffer() 115 mSlots[slot].mRequestBufferCalled = true; in requestBuffer() 116 *buf = mSlots[slot].mGraphicBuffer; in requestBuffer() 145 if (mSlots[s].mBufferState.isDequeued()) { in setMaxDequeuedBufferCount() 287 if (mSlots[s].mBufferState.isDequeued()) { in waitForFreeSlotThenRelock() 290 if (mSlots[s].mBufferState.isAcquired()) { in waitForFreeSlotThenRelock() 453 const sp<GraphicBuffer>& buffer(mSlots[found].mGraphicBuffer); in dequeueBuffer() 473 const sp<GraphicBuffer>& buffer(mSlots[found].mGraphicBuffer); in dequeueBuffer() [all …]
|
D | ConsumerBase.cpp | 99 mSlots[slotIndex].mGraphicBuffer = nullptr; in freeBufferLocked() 100 mSlots[slotIndex].mFence = Fence::NO_FENCE; in freeBufferLocked() 101 mSlots[slotIndex].mFrameNumber = 0; in freeBufferLocked() 398 if (mSlots[item->mSlot].mGraphicBuffer != nullptr) { in acquireBufferLocked() 401 mSlots[item->mSlot].mGraphicBuffer = item->mGraphicBuffer; in acquireBufferLocked() 404 mSlots[item->mSlot].mFrameNumber = item->mFrameNumber; in acquireBufferLocked() 405 mSlots[item->mSlot].mFence = item->mFence; in acquireBufferLocked() 429 if (!mSlots[slot].mFence.get()) { in addReleaseFenceLocked() 430 mSlots[slot].mFence = fence; in addReleaseFenceLocked() 437 auto currentStatus = mSlots[slot].mFence->getStatus(); in addReleaseFenceLocked() [all …]
|
D | BufferItemConsumer.cpp | 83 item->mGraphicBuffer = mSlots[item->mSlot].mGraphicBuffer; in acquireBuffer() 110 if (listener != nullptr && mSlots[slotIndex].mGraphicBuffer != nullptr) { in freeBufferLocked() 113 listener->onBufferFreed(mSlots[slotIndex].mGraphicBuffer); in freeBufferLocked()
|
D | Surface.cpp | 645 sp<GraphicBuffer>& gbuf(mSlots[mSharedBufferSlot].buffer); in dequeueBuffer() 683 sp<GraphicBuffer>& gbuf(mSlots[buf].buffer); in dequeueBuffer() 769 if (mSlots[i].buffer != nullptr && in getSlotFromBufferLocked() 770 mSlots[i].buffer->handle == buffer->handle) { in getSlotFromBufferLocked() 1627 if (mSlots[i].buffer != nullptr && in detachNextBuffer() 1628 mSlots[i].buffer->getId() == buffer->getId()) { in detachNextBuffer() 1630 mRemovedBuffers.push_back(mSlots[i].buffer); in detachNextBuffer() 1632 mSlots[i].buffer = nullptr; in detachNextBuffer() 1659 if (mReportRemovedBuffers && (mSlots[attachedSlot].buffer != nullptr)) { in attachBuffer() 1660 mRemovedBuffers.push_back(mSlots[attachedSlot].buffer); in attachBuffer() [all …]
|
D | GLConsumer.cpp | 262 err = releaseBufferLocked(buf, mSlots[buf].mGraphicBuffer, mEglDisplay, EGL_NO_SYNC_KHR); in releaseTexImage() 366 releaseBufferLocked(slot, mSlots[slot].mGraphicBuffer, in updateAndReleaseLocked() 374 releaseBufferLocked(slot, mSlots[slot].mGraphicBuffer, in updateAndReleaseLocked() 388 releaseBufferLocked(slot, mSlots[slot].mGraphicBuffer, in updateAndReleaseLocked() 401 releaseBufferLocked(slot, mSlots[slot].mGraphicBuffer, in updateAndReleaseLocked() 410 slot, mSlots[slot].mGraphicBuffer->handle); in updateAndReleaseLocked()
|
D | CpuConsumer.cpp | 176 b.mGraphicBuffer = mSlots[b.mSlot].mGraphicBuffer; in lockNextBuffer()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarIconList.java | 31 private ArrayList<Slot> mSlots = new ArrayList<>(); field in StatusBarIconList 36 mSlots.add(new Slot(slots[i], null)); in StatusBarIconList() 41 final int N = mSlots.size(); in getSlotIndex() 43 Slot item = mSlots.get(i); in getSlotIndex() 49 mSlots.add(0, new Slot(slot, null)); in getSlotIndex() 54 return new ArrayList<>(mSlots); in getSlots() 58 return mSlots.get(getSlotIndex(name)); in getSlot() 62 return mSlots.size(); in size() 66 mSlots.get(index).addHolder(holder); in setIcon() 70 mSlots.get(index).removeForTag(tag); in removeIcon() [all …]
|
/frameworks/native/libs/nativedisplay/surfacetexture/ |
D | ImageConsumer.cpp | 47 return st.mSlots[slot].mGraphicBuffer; in dequeueBuffer() 58 st.releaseBufferLocked(slot, st.mSlots[slot].mGraphicBuffer, EGL_NO_DISPLAY, in dequeueBuffer() 73 st.releaseBufferLocked(slot, st.mSlots[slot].mGraphicBuffer, EGL_NO_DISPLAY, in dequeueBuffer() 81 st.mSlots[st.mCurrentTexture].mGraphicBuffer, in dequeueBuffer() 85 st.releaseBufferLocked(slot, st.mSlots[slot].mGraphicBuffer, EGL_NO_DISPLAY, in dequeueBuffer() 94 st.mSlots[st.mCurrentTexture].mGraphicBuffer, display, in dequeueBuffer() 118 return st.mSlots[slot].mGraphicBuffer; in dequeueBuffer()
|
D | EGLConsumer.cpp | 153 err = st.releaseBufferLocked(buf, st.mSlots[buf].mGraphicBuffer, mEglDisplay, in releaseTexImage() 220 mEglSlots[slot].mEglImage = new EglImage(st.mSlots[slot].mGraphicBuffer); in onAcquireBufferLocked() 237 st.releaseBufferLocked(slot, st.mSlots[slot].mGraphicBuffer, mEglDisplay, EGL_NO_SYNC_KHR); in updateAndReleaseLocked() 244 st.releaseBufferLocked(slot, st.mSlots[slot].mGraphicBuffer, mEglDisplay, EGL_NO_SYNC_KHR); in updateAndReleaseLocked() 257 st.releaseBufferLocked(slot, st.mSlots[slot].mGraphicBuffer, mEglDisplay, EGL_NO_SYNC_KHR); in updateAndReleaseLocked() 269 st.releaseBufferLocked(slot, st.mSlots[slot].mGraphicBuffer, mEglDisplay, in updateAndReleaseLocked() 278 slot, st.mSlots[slot].mGraphicBuffer->handle); in updateAndReleaseLocked() 437 mEglSlots[slot].mEglImage = new EglImage(st.mSlots[slot].mGraphicBuffer); in attachToContext()
|
D | SurfaceTexture.cpp | 267 : mSlots[mCurrentTexture].mGraphicBuffer; in computeCurrentTransformMatrixLocked()
|
/frameworks/base/rs/java/android/renderscript/ |
D | ProgramFragmentFixedFunction.java | 166 Slot[] mSlots; field in ProgramFragmentFixedFunction.Builder 189 switch(mSlots[i].env) { in buildShaderString() 191 switch (mSlots[i].format) { in buildShaderString() 207 switch (mSlots[i].format) { in buildShaderString() 241 mSlots = new Slot[MAX_TEXTURE]; in Builder() 265 mSlots[slot] = new Slot(env, fmt); in setTexture() 306 if(mSlots[i] != null) { in create()
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | MultiTouchInputMapper.cpp | 32 mSlots(nullptr), in MultiTouchMotionAccumulator() 38 delete[] mSlots; in ~MultiTouchMotionAccumulator() 47 delete[] mSlots; in configure() 48 mSlots = new Slot[slotCount]; in configure() 77 if (mSlots) { in clearSlots() 79 mSlots[i].clear(); in clearSlots() 106 Slot* slot = &mSlots[mCurrentSlot]; in process()
|
D | MultiTouchInputMapper.h | 80 inline const Slot* getSlot(size_t index) const { return &mSlots[index]; } in getSlot() 84 Slot* mSlots; variable
|
/frameworks/rs/ |
D | rsScript.cpp | 27 mSlots = nullptr; in Script() 35 if (mSlots) { in ~Script() 36 delete [] mSlots; in ~Script() 37 mSlots = nullptr; in ~Script() 54 mSlots[slot].set(a); in setSlot()
|
D | rsScriptC.cpp | 119 if (mSlots[ct].get() && !mTypes[ct].get()) { in setupScript() 120 mTypes[ct].set(mSlots[ct]->getType()); in setupScript() 125 rsc->mHal.funcs.script.setGlobalBind(rsc, this, ct, mSlots[ct].get()); in setupScript() 433 mSlots = new ObjectBaseRef<Allocation>[mHal.info.exportedVariableCount]; in runCompiler()
|
D | rsScriptIntrinsic.cpp | 37 mSlots = new ObjectBaseRef<Allocation>[2]; in init()
|
D | rsScript.h | 157 ObjectBaseRef<Allocation> *mSlots; variable
|
/frameworks/native/services/surfaceflinger/ |
D | BufferLayerConsumer.cpp | 146 if (rejecter && rejecter->reject(mSlots[slot].mGraphicBuffer, item)) { in updateTexImage() 147 releaseBufferLocked(slot, mSlots[slot].mGraphicBuffer); in updateTexImage() 244 slot, mSlots[slot].mGraphicBuffer->handle); in updateAndReleaseLocked()
|
/frameworks/native/libs/gui/include/gui/ |
D | BufferQueueCore.h | 198 BufferQueueDefs::SlotsType mSlots; variable
|
D | ConsumerBase.h | 247 Slot mSlots[BufferQueueDefs::NUM_BUFFER_SLOTS]; variable
|
D | BufferQueueProducer.h | 231 BufferQueueDefs::SlotsType& mSlots; variable
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | FramebufferSurface.cpp | 145 mCurrentBuffer = mSlots[mCurrentBufferSlot].mGraphicBuffer; in nextBuffer()
|
/frameworks/av/services/camera/libcameraservice/gui/ |
D | RingBufferConsumer.cpp | 319 item.mGraphicBuffer = mSlots[item.mSlot].mGraphicBuffer; in onFrameAvailable()
|