/frameworks/native/libs/gui/ |
D | BufferQueueCore.cpp | 69 mSlots(), in BufferQueueCore() 145 const sp<GraphicBuffer>& buffer(mSlots[s].mGraphicBuffer); in dumpState() 149 (mSlots[s].mBufferState.isAcquired()) ? ">" : " ", s, in dumpState() 151 outResult->appendFormat("state=%-8s %p frame=%" PRIu64, mSlots[s].mBufferState.string(), in dumpState() 152 buffer->handle, mSlots[s].mFrameNumber); in dumpState() 158 mSlots[s].mBufferState.string(), mSlots[s].mFrameNumber); in dumpState() 162 const sp<GraphicBuffer>& buffer(mSlots[s].mGraphicBuffer); in dumpState() 164 outResult->appendFormat("state=%-8s %p frame=%" PRIu64, mSlots[s].mBufferState.string(), in dumpState() 165 buffer->handle, mSlots[s].mFrameNumber); in dumpState() 171 const sp<GraphicBuffer>& buffer(mSlots[s].mGraphicBuffer); in dumpState() [all …]
|
D | BufferQueueConsumer.cpp | 49 mSlots(core->mSlots), in BufferQueueConsumer() 69 if (mSlots[s].mBufferState.isAcquired()) { in acquireBuffer() 153 mSlots[front->mSlot].mBufferState.freeQueued(); in acquireBuffer() 159 mSlots[front->mSlot].mBufferState.isFree()) { in acquireBuffer() 160 mSlots[front->mSlot].mBufferState.mShared = false; in acquireBuffer() 164 if (!mSlots[front->mSlot].mBufferState.isShared()) { in acquireBuffer() 213 outBuffer->mGraphicBuffer = mSlots[slot].mGraphicBuffer; in acquireBuffer() 224 outBuffer->mAcquireCalled = mSlots[slot].mAcquireCalled; in acquireBuffer() 244 mSlots[slot].mAcquireCalled = true; in acquireBuffer() 249 mSlots[slot].mBufferState.acquireNotInQueue(); in acquireBuffer() [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() 356 if (mSlots[item->mSlot].mGraphicBuffer != nullptr) { in acquireBufferLocked() 359 mSlots[item->mSlot].mGraphicBuffer = item->mGraphicBuffer; in acquireBufferLocked() 362 mSlots[item->mSlot].mFrameNumber = item->mFrameNumber; in acquireBufferLocked() 363 mSlots[item->mSlot].mFence = item->mFence; in acquireBufferLocked() 387 if (!mSlots[slot].mFence.get()) { in addReleaseFenceLocked() 388 mSlots[slot].mFence = fence; in addReleaseFenceLocked() 395 auto currentStatus = mSlots[slot].mFence->getStatus(); in addReleaseFenceLocked() [all …]
|
D | BufferQueueProducer.cpp | 52 mSlots(core->mSlots), in BufferQueueProducer() 86 } else if (!mSlots[slot].mBufferState.isDequeued()) { in requestBuffer() 88 "(state = %s)", slot, mSlots[slot].mBufferState.string()); in requestBuffer() 92 mSlots[slot].mRequestBufferCalled = true; in requestBuffer() 93 *buf = mSlots[slot].mGraphicBuffer; in requestBuffer() 122 if (mSlots[s].mBufferState.isDequeued()) { in setMaxDequeuedBufferCount() 264 if (mSlots[s].mBufferState.isDequeued()) { in waitForFreeSlotThenRelock() 267 if (mSlots[s].mBufferState.isAcquired()) { in waitForFreeSlotThenRelock() 426 const sp<GraphicBuffer>& buffer(mSlots[found].mGraphicBuffer); in dequeueBuffer() 446 const sp<GraphicBuffer>& buffer(mSlots[found].mGraphicBuffer); in dequeueBuffer() [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 | 561 sp<GraphicBuffer>& gbuf(mSlots[mSharedBufferSlot].buffer); in dequeueBuffer() 599 sp<GraphicBuffer>& gbuf(mSlots[buf].buffer); in dequeueBuffer() 685 if (mSlots[i].buffer != nullptr && in getSlotFromBufferLocked() 686 mSlots[i].buffer->handle == buffer->handle) { in getSlotFromBufferLocked() 1389 if (mSlots[i].buffer != nullptr && in detachNextBuffer() 1390 mSlots[i].buffer->getId() == buffer->getId()) { in detachNextBuffer() 1392 mRemovedBuffers.push_back(mSlots[i].buffer); in detachNextBuffer() 1394 mSlots[i].buffer = nullptr; in detachNextBuffer() 1421 if (mReportRemovedBuffers && (mSlots[attachedSlot].buffer != nullptr)) { in attachBuffer() 1422 mRemovedBuffers.push_back(mSlots[attachedSlot].buffer); in attachBuffer() [all …]
|
D | GLConsumer.cpp | 263 err = releaseBufferLocked(buf, mSlots[buf].mGraphicBuffer, mEglDisplay, EGL_NO_SYNC_KHR); in releaseTexImage() 367 releaseBufferLocked(slot, mSlots[slot].mGraphicBuffer, in updateAndReleaseLocked() 375 releaseBufferLocked(slot, mSlots[slot].mGraphicBuffer, in updateAndReleaseLocked() 389 releaseBufferLocked(slot, mSlots[slot].mGraphicBuffer, in updateAndReleaseLocked() 402 releaseBufferLocked(slot, mSlots[slot].mGraphicBuffer, in updateAndReleaseLocked() 411 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/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/base/libs/hwui/surfacetexture/ |
D | ImageConsumer.cpp | 212 mImageSlots[slot].createIfNeeded(st.mSlots[slot].mGraphicBuffer, in dequeueImage() 231 st.releaseBufferLocked(slot, st.mSlots[slot].mGraphicBuffer, EGL_NO_DISPLAY, in dequeueImage() 254 st.releaseBufferLocked(slot, st.mSlots[slot].mGraphicBuffer, EGL_NO_DISPLAY, in dequeueImage() 261 st.mCurrentTexture, st.mSlots[st.mCurrentTexture].mGraphicBuffer, releaseFence); in dequeueImage() 264 st.releaseBufferLocked(slot, st.mSlots[slot].mGraphicBuffer, EGL_NO_DISPLAY, in dequeueImage() 272 st.mCurrentTexture, st.mSlots[st.mCurrentTexture].mGraphicBuffer, display, in dequeueImage() 294 mImageSlots[slot].createIfNeeded(st.mSlots[slot].mGraphicBuffer, item.mDataSpace, true, in dequeueImage()
|
D | EGLConsumer.cpp | 152 err = st.releaseBufferLocked(buf, st.mSlots[buf].mGraphicBuffer, mEglDisplay, in releaseTexImage() 218 mEglSlots[slot].mEglImage = new EglImage(st.mSlots[slot].mGraphicBuffer); in onAcquireBufferLocked() 236 st.releaseBufferLocked(slot, st.mSlots[slot].mGraphicBuffer, mEglDisplay, EGL_NO_SYNC_KHR); in updateAndReleaseLocked() 243 st.releaseBufferLocked(slot, st.mSlots[slot].mGraphicBuffer, mEglDisplay, EGL_NO_SYNC_KHR); in updateAndReleaseLocked() 256 st.releaseBufferLocked(slot, st.mSlots[slot].mGraphicBuffer, mEglDisplay, EGL_NO_SYNC_KHR); in updateAndReleaseLocked() 268 st.releaseBufferLocked(slot, st.mSlots[slot].mGraphicBuffer, mEglDisplay, in updateAndReleaseLocked() 277 slot, st.mSlots[slot].mGraphicBuffer->handle); in updateAndReleaseLocked() 434 mEglSlots[slot].mEglImage = new EglImage(st.mSlots[slot].mGraphicBuffer); in attachToContext()
|
/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() 79 if (mSlots) { in clearSlots() 81 mSlots[i].clear(); in clearSlots() 108 Slot* slot = &mSlots[mCurrentSlot]; in process()
|
D | MultiTouchInputMapper.h | 80 inline const Slot* getSlot(size_t index) const { return &mSlots[index]; } in getSlot() 85 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 | 142 if (rejecter && rejecter->reject(mSlots[slot].mGraphicBuffer, item)) { in updateTexImage() 143 releaseBufferLocked(slot, mSlots[slot].mGraphicBuffer); in updateTexImage() 240 slot, mSlots[slot].mGraphicBuffer->handle); in updateAndReleaseLocked()
|
/frameworks/native/libs/gui/include/gui/ |
D | ConsumerBase.h | 241 Slot mSlots[BufferQueueDefs::NUM_BUFFER_SLOTS]; variable
|
D | BufferQueueCore.h | 204 BufferQueueDefs::SlotsType mSlots; variable
|
D | BufferQueueProducer.h | 223 BufferQueueDefs::SlotsType& mSlots; variable
|
D | Surface.h | 364 BufferSlot mSlots[NUM_BUFFER_SLOTS]; variable
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | FramebufferSurface.cpp | 136 mCurrentBuffer = mSlots[mCurrentBufferSlot].mGraphicBuffer; in nextBuffer()
|
/frameworks/av/services/camera/libcameraservice/gui/ |
D | RingBufferConsumer.cpp | 319 item.mGraphicBuffer = mSlots[item.mSlot].mGraphicBuffer; in onFrameAvailable()
|