/frameworks/native/libs/gui/ |
D | BufferQueueCore.cpp | 99 mSlots(), in BufferQueueCore() 191 const sp<GraphicBuffer>& buffer(mSlots[s].mGraphicBuffer); in dumpState() 195 (mSlots[s].mBufferState.isAcquired()) ? ">" : " ", s, in dumpState() 197 outResult->appendFormat("state=%-8s %p frame=%" PRIu64, mSlots[s].mBufferState.string(), in dumpState() 198 buffer->handle, mSlots[s].mFrameNumber); in dumpState() 204 mSlots[s].mBufferState.string(), mSlots[s].mFrameNumber); in dumpState() 208 const sp<GraphicBuffer>& buffer(mSlots[s].mGraphicBuffer); in dumpState() 210 outResult->appendFormat("state=%-8s %p frame=%" PRIu64, mSlots[s].mBufferState.string(), in dumpState() 211 buffer->handle, mSlots[s].mFrameNumber); in dumpState() 217 const sp<GraphicBuffer>& buffer(mSlots[s].mGraphicBuffer); in dumpState() [all …]
|
D | ConsumerBase.cpp | 101 mSlots[slotIndex].mGraphicBuffer = nullptr; in freeBufferLocked() 102 mSlots[slotIndex].mFence = Fence::NO_FENCE; in freeBufferLocked() 103 mSlots[slotIndex].mFrameNumber = 0; in freeBufferLocked() 400 if (mSlots[item->mSlot].mGraphicBuffer != nullptr) { in acquireBufferLocked() 403 mSlots[item->mSlot].mGraphicBuffer = item->mGraphicBuffer; in acquireBufferLocked() 406 mSlots[item->mSlot].mFrameNumber = item->mFrameNumber; in acquireBufferLocked() 407 mSlots[item->mSlot].mFence = item->mFence; in acquireBufferLocked() 431 if (!mSlots[slot].mFence.get()) { in addReleaseFenceLocked() 432 mSlots[slot].mFence = fence; in addReleaseFenceLocked() 439 auto currentStatus = mSlots[slot].mFence->getStatus(); in addReleaseFenceLocked() [all …]
|
D | BufferQueueConsumer.cpp | 73 mSlots(core->mSlots), in BufferQueueConsumer() 93 if (mSlots[s].mBufferState.isAcquired()) { in acquireBuffer() 180 mSlots[front->mSlot].mBufferState.freeQueued(); in acquireBuffer() 186 mSlots[front->mSlot].mBufferState.isFree()) { in acquireBuffer() 187 mSlots[front->mSlot].mBufferState.mShared = false; in acquireBuffer() 191 if (!mSlots[front->mSlot].mBufferState.isShared()) { in acquireBuffer() 240 outBuffer->mGraphicBuffer = mSlots[slot].mGraphicBuffer; in acquireBuffer() 251 outBuffer->mAcquireCalled = mSlots[slot].mAcquireCalled; in acquireBuffer() 274 mSlots[slot].mAcquireCalled = true; in acquireBuffer() 279 mSlots[slot].mBufferState.acquireNotInQueue(); in acquireBuffer() [all …]
|
D | BufferQueueProducer.cpp | 78 mSlots(core->mSlots), in BufferQueueProducer() 112 } else if (!mSlots[slot].mBufferState.isDequeued()) { in requestBuffer() 114 "(state = %s)", slot, mSlots[slot].mBufferState.string()); in requestBuffer() 118 mSlots[slot].mRequestBufferCalled = true; in requestBuffer() 119 *buf = mSlots[slot].mGraphicBuffer; in requestBuffer() 156 if (mSlots[s].mBufferState.isDequeued()) { in setMaxDequeuedBufferCount() 299 if (mSlots[s].mBufferState.isDequeued()) { in waitForFreeSlotThenRelock() 302 if (mSlots[s].mBufferState.isAcquired()) { in waitForFreeSlotThenRelock() 473 const sp<GraphicBuffer>& buffer(mSlots[found].mGraphicBuffer); in dequeueBuffer() 493 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 | 602 sp<GraphicBuffer>& gbuf(mSlots[mSharedBufferSlot].buffer); in dequeueBuffer() 641 sp<GraphicBuffer>& gbuf(mSlots[buf].buffer); in dequeueBuffer() 804 sp<GraphicBuffer>& gbuf(mSlots[output.slot].buffer); in dequeueBuffers() 836 mSlots[requestBufferSlots[i]].buffer = reqBufferOutput[i].buffer; in dequeueBuffers() 843 sp<GraphicBuffer>& gbuf(mSlots[slot].buffer); in dequeueBuffers() 955 if (mSlots[i].buffer != nullptr && in getSlotFromBufferLocked() 956 mSlots[i].buffer->handle == buffer->handle) { in getSlotFromBufferLocked() 1975 if (mSlots[i].buffer != nullptr && in detachNextBuffer() 1976 mSlots[i].buffer->getId() == buffer->getId()) { in detachNextBuffer() 1978 mRemovedBuffers.push_back(mSlots[i].buffer); in detachNextBuffer() [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 | 177 b.mGraphicBuffer = mSlots[b.mSlot].mGraphicBuffer; in lockNextBuffer()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DisplayRotationReversionController.java | 56 private final boolean[] mSlots = new boolean[NUM_SLOTS]; field in DisplayRotationReversionController 70 if (mSlots[slotIndex]) return; in beforeOverrideApplied() 72 mSlots[slotIndex] = true; in beforeOverrideApplied() 76 return mSlots[slotIndex]; in isOverrideActive() 81 return isRotationReversionEnabled() ? mSlots.clone() : null; in getSlotsCopy() 85 if (!mSlots[REVERSION_TYPE_NOSENSOR]) { in updateForNoSensorOverride() 100 if (mSlots[i]) { in isAnyOverrideActive() 108 if (!mSlots[slotIndex]) return false; in revertOverride() 109 mSlots[slotIndex] = false; in revertOverride()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ui/ |
D | StatusBarIconList.java | 35 private final ArrayList<Slot> mSlots = new ArrayList<>(); field in StatusBarIconList 36 private final List<Slot> mViewOnlySlots = Collections.unmodifiableList(mSlots); 41 mSlots.add(new Slot(slots[i], null)); in StatusBarIconList() 61 return mSlots.get(findOrInsertSlot(name)); in getSlot() 69 mSlots.get(findOrInsertSlot(slotName)).addHolder(holder); in setIcon() 77 mSlots.get(findOrInsertSlot(slotName)).removeForTag(tag); in removeIcon() 86 return mSlots.get(findOrInsertSlot(slotName)).getHolderForTag(tag); in getIconHolder() 98 Slot item = mSlots.get(i); in getViewIndex() 104 Slot viewItem = mSlots.get(slotIndex); in getViewIndex() 110 final int N = mSlots.size(); in dump() [all …]
|
/frameworks/native/services/inputflinger/reader/mapper/accumulator/ |
D | MultiTouchMotionAccumulator.cpp | 32 mSlots = std::vector<Slot>(slotCount); in configure() 42 for (Slot& slot : mSlots) { in resetSlots() 60 if (mCurrentSlot < 0 || size_t(mCurrentSlot) >= mSlots.size()) { in process() 65 mCurrentSlot, mSlots.size() - 1); in process() 68 Slot& slot = mSlots[mCurrentSlot]; in process() 96 const size_t numSlots = mSlots.size(); in syncSlots() 106 mSlots[i - 1].populateAxisValue(axisCode, mtSlotValues[i]); in syncSlots() 133 return std::count_if(mSlots.begin(), mSlots.end(), in getActiveSlotsCount()
|
D | MultiTouchMotionAccumulator.h | 83 inline size_t getSlotCount() const { return mSlots.size(); } in getSlotCount() 85 LOG_ALWAYS_FATAL_IF(index < 0 || index >= mSlots.size(), "Invalid index: %zu", index); in getSlot() 86 return mSlots[index]; in getSlot() 91 std::vector<Slot> mSlots; variable
|
/frameworks/native/libs/nativedisplay/surfacetexture/ |
D | ImageConsumer.cpp | 48 return st.mSlots[slot].mGraphicBuffer; in dequeueBuffer() 67 st.releaseBufferLocked(slot, st.mSlots[slot].mGraphicBuffer, EGL_NO_DISPLAY, in dequeueBuffer() 82 st.releaseBufferLocked(slot, st.mSlots[slot].mGraphicBuffer, EGL_NO_DISPLAY, in dequeueBuffer() 90 st.mSlots[st.mCurrentTexture].mGraphicBuffer, in dequeueBuffer() 94 st.releaseBufferLocked(slot, st.mSlots[slot].mGraphicBuffer, EGL_NO_DISPLAY, in dequeueBuffer() 103 st.mSlots[st.mCurrentTexture].mGraphicBuffer, display, in dequeueBuffer() 127 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 | 269 : mSlots[mCurrentTexture].mGraphicBuffer; in computeCurrentTransformMatrixLocked()
|
/frameworks/base/rs/java/android/renderscript/ |
D | ProgramFragmentFixedFunction.java | 167 Slot[] mSlots; field in ProgramFragmentFixedFunction.Builder 190 switch(mSlots[i].env) { in buildShaderString() 192 switch (mSlots[i].format) { in buildShaderString() 208 switch (mSlots[i].format) { in buildShaderString() 242 mSlots = new Slot[MAX_TEXTURE]; in Builder() 266 mSlots[slot] = new Slot(env, fmt); in setTexture() 307 if(mSlots[i] != null) { in create()
|
/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/libs/gui/include/gui/ |
D | BufferQueueCore.h | 201 BufferQueueDefs::SlotsType mSlots; variable
|
D | ConsumerBase.h | 247 Slot mSlots[BufferQueueDefs::NUM_BUFFER_SLOTS]; variable
|
D | BufferQueueProducer.h | 251 BufferQueueDefs::SlotsType& mSlots; variable
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | FramebufferSurface.cpp | 123 mCurrentBuffer = mSlots[mCurrentBufferSlot].mGraphicBuffer; in advanceFrame()
|
/frameworks/av/services/camera/libcameraservice/gui/ |
D | RingBufferConsumer.cpp | 320 item.mGraphicBuffer = mSlots[item.mSlot].mGraphicBuffer; in onFrameAvailable()
|