Home
last modified time | relevance | path

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

12

/frameworks/av/media/libstagefright/filters/
DGraphicBufferListener.cpp105 item.mSlot = -1; in getBufferItem()
109 item.mSlot = -1; in getBufferItem()
123 ALOGV("setting mBufferSlot %d", item.mSlot); in getBufferItem()
124 mBufferSlot[item.mSlot] = item.mGraphicBuffer; in getBufferItem()
132 if (item.mSlot < 0 || item.mSlot >= BufferQueue::NUM_BUFFER_SLOTS) { in getBuffer()
133 ALOGE("getBuffer() received invalid BufferItem: mSlot==%d", item.mSlot); in getBuffer()
137 buf = mBufferSlot[item.mSlot]; in getBuffer()
144 if (item.mSlot < 0 || item.mSlot >= BufferQueue::NUM_BUFFER_SLOTS) { in releaseBuffer()
145 ALOGE("getBuffer() received invalid BufferItem: mSlot==%d", item.mSlot); in releaseBuffer()
149 mConsumer->releaseBuffer(item.mSlot, item.mFrameNumber, in releaseBuffer()
/frameworks/base/core/java/android/net/
DSocketKeepalive.java172 @Nullable Integer mSlot; field in SocketKeepalive
186 mSlot = slot; in SocketKeepalive()
195 mSlot = null; in SocketKeepalive()
204 mSlot = null; in SocketKeepalive()
213 mSlot = null; in SocketKeepalive()
DTcpSocketKeepalive.java70 if (mSlot != null) { in stopImpl()
71 mService.stopKeepalive(mNetwork, mSlot); in stopImpl()
DNattSocketKeepalive.java68 if (mSlot != null) { in stopImpl()
69 mService.stopKeepalive(mNetwork, mSlot); in stopImpl()
/frameworks/base/services/core/java/com/android/server/connectivity/
DKeepaliveTracker.java143 private int mSlot = NO_KEEPALIVE; field in KeepaliveTracker.KeepaliveInfo
325 mSlot = slot; in start()
328 Log.d(TAG, "Starting keepalive " + mSlot + " on " + mNai.toShortString()); in start()
338 mTcpController.startSocketMonitor(mFd, this, mSlot); in start()
340 handleStopKeepalive(mNai, mSlot, ERROR_INVALID_SOCKET); in start()
351 handleStopKeepalive(mNai, mSlot, error); in start()
356 handleStopKeepalive(mNai, mSlot, error); in start()
365 Log.e(TAG, "Cannot stop unowned keepalive " + mSlot + " on " + mNai.network); in stop()
368 Log.d(TAG, "Stopping keepalive " + mSlot + " on " + mNai.toShortString() in stop()
374 cleanupStoppedKeepalive(mNai, mSlot); in stop()
[all …]
/frameworks/native/libs/gui/include/gui/
DCpuConsumer.h125 int mSlot; member
130 mSlot(BufferQueue::INVALID_BUFFER_SLOT), in AcquiredBuffer()
135 mSlot = BufferQueue::INVALID_BUFFER_SLOT; in reset()
/frameworks/native/services/surfaceflinger/
DBufferLayerConsumer.cpp141 int slot = item.mSlot; in updateTexImage()
221 if (mImages[item->mSlot] == nullptr || mImages[item->mSlot]->graphicBuffer() == nullptr || in acquireBufferLocked()
222 mImages[item->mSlot]->graphicBuffer()->getId() != item->mGraphicBuffer->getId()) { in acquireBufferLocked()
223 mImages[item->mSlot] = std::make_shared<Image>(item->mGraphicBuffer, mRE); in acquireBufferLocked()
234 int slot = item.mSlot; in updateAndReleaseLocked()
491 if (item.mGraphicBuffer != nullptr && item.mSlot != BufferQueue::INVALID_BUFFER_SLOT) { in onBufferAvailable()
493 const std::shared_ptr<Image>& oldImage = mImages[item.mSlot]; in onBufferAvailable()
496 mImages[item.mSlot] = std::make_shared<Image>(item.mGraphicBuffer, mRE); in onBufferAvailable()
/frameworks/native/libs/gui/tests/
DBufferQueue_test.cpp403 ASSERT_EQ(OK, mConsumer->detachBuffer(item.mSlot)); in TEST_F()
404 ASSERT_EQ(BAD_VALUE, mConsumer->detachBuffer(item.mSlot)); // Not acquired in TEST_F()
463 ASSERT_EQ(OK, mConsumer->detachBuffer(item.mSlot)); in TEST_F()
594 ASSERT_EQ(sharedSlot, item.mSlot); in TEST_F()
599 ASSERT_EQ(OK, mConsumer->releaseBuffer(item.mSlot, item.mFrameNumber, in TEST_F()
637 ASSERT_EQ(sharedSlot, item.mSlot); in TEST_F()
642 ASSERT_EQ(OK, mConsumer->releaseBuffer(item.mSlot, item.mFrameNumber, in TEST_F()
660 ASSERT_EQ(sharedSlot, item.mSlot); in TEST_F()
671 ASSERT_EQ(OK, mConsumer->releaseBuffer(item.mSlot, item.mFrameNumber, in TEST_F()
714 ASSERT_EQ(sharedSlot, item.mSlot); in TEST_F()
[all …]
DBufferItemConsumer_test.cpp107 ALOGV("acquireBuffer: slot=%d", buffer.mSlot); in AcquireBuffer()
108 *outSlot = buffer.mSlot; in AcquireBuffer()
114 buffer.mSlot = slot; in ReleaseBuffer()
/frameworks/native/libs/gui/
DCpuConsumer.cpp176 b.mGraphicBuffer = mSlots[b.mSlot].mGraphicBuffer; in lockNextBuffer()
189 ab.mSlot = b.mSlot; in lockNextBuffer()
220 addReleaseFenceLocked(ab.mSlot, ab.mGraphicBuffer, fence); in unlockBuffer()
221 releaseBufferLocked(ab.mSlot, ab.mGraphicBuffer); in unlockBuffer()
DBufferItemConsumer.cpp83 item->mGraphicBuffer = mSlots[item->mSlot].mGraphicBuffer; in acquireBuffer()
94 err = addReleaseFenceLocked(item.mSlot, item.mGraphicBuffer, releaseFence); in releaseBuffer()
99 err = releaseBufferLocked(item.mSlot, item.mGraphicBuffer, EGL_NO_DISPLAY, in releaseBuffer()
DConsumerBase.cpp356 if (mSlots[item->mSlot].mGraphicBuffer != nullptr) { in acquireBufferLocked()
357 freeBufferLocked(item->mSlot); 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()
366 item->mSlot, item->mFrameNumber); in acquireBufferLocked()
DBufferQueueConsumer.cpp153 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()
165 mCore->mActiveBuffers.erase(front->mSlot); in acquireBuffer()
166 mCore->mFreeBuffers.push_back(front->mSlot); in acquireBuffer()
223 outBuffer->mSlot = slot; in acquireBuffer()
234 slot = front->mSlot; in acquireBuffer()
553 mask &= ~(1ULL << current->mSlot); in getReleasedBuffers()
DBufferItem.cpp51 mSlot(INVALID_BUFFER_SLOT), in BufferItem()
81 addAligned(size, mSlot); in getPodSize()
175 writeAligned(buffer, size, mSlot); in flatten()
246 readAligned(buffer, size, mSlot); in unflatten()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DStatusBarWifiView.java58 private String mSlot; field in StatusBarWifiView
88 mSlot = slot; in setSlot()
107 return mSlot; in getSlot()
168 mDotView = new StatusBarIconView(mContext, mSlot, null); in initDotView()
251 return "StatusBarWifiView(slot=" + mSlot + " state=" + mState + ")"; in toString()
DStatusBarMobileView.java52 private String mSlot; field in StatusBarMobileView
120 mDotView = new StatusBarIconView(mContext, mSlot, null); in initDotView()
225 return mSlot; in getSlot()
229 mSlot = slot; in setSlot()
293 return "StatusBarMobileView(slot=" + mSlot + " state=" + mState + ")"; in toString()
DStatusBarIconView.java119 @ViewDebug.ExportedProperty private String mSlot; field in StatusBarIconView
172 mSlot = slot; in StatusBarIconView()
371 Log.w(TAG, "OOM while inflating " + mIcon.icon + " for slot " + mSlot); in updateDrawable()
376 Log.w(TAG, "No icon for slot " + mSlot + "; " + mIcon.icon); in updateDrawable()
479 Log.d("View", debugIndent(depth) + "slot=" + mSlot); in debug()
526 return "StatusBarIconView(slot=" + mSlot + " icon=" + mIcon in toString()
535 return mSlot; in getSlot()
/frameworks/base/rs/java/android/renderscript/
DScript.java38 int mSlot; field in Script.KernelID
43 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/rs/cpu_ref/
DrsCpuScriptGroup.cpp146 s->setVarObj(n->mInputs[ct2]->mDstField->mSlot, n->mInputs[ct2]->mAlloc.get()); in execute()
210 uint32_t slot = kernels[ct]->mSlot; in execute()
262 si->forEachKernelSetup(kernels[ct]->mSlot, &mtls); in execute()
266 si->preLaunch(kernels[ct]->mSlot, ains, inLen, outs[ct], in execute()
290 si->postLaunch(kernels[ct]->mSlot, ains, inLen, outs[ct], nullptr, 0, in execute()
DrsCpuScriptGroup2.cpp173 si->forEachKernelSetup(funcID->mSlot, &mtls); in CpuScriptGroup2Impl()
326 ss << index << "," << funcID->mSlot << "."; in generateSourceSlot()
601 int slot = p.first->mSlot; in setGlobalsForBatch()
639 cc->mSi->invokeFunction(invokeID->mSlot, c->mParams, c->mParamLength); in run()
673 cpuClosure->mSi->preLaunch(kernelID->mSlot, in run()
699 cpuClosure->mSi->postLaunch(kernelID->mSlot, in run()
/frameworks/rs/support/java/src/androidx/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/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/rs/
DrsScript.h39 ObjectBase(rsc), mScript(s), mSlot(slot) {} in IDBase()
46 int mSlot; variable
/frameworks/native/services/surfaceflinger/DisplayHardware/
DFramebufferSurface.cpp130 item.mSlot != mCurrentBufferSlot) { in nextBuffer()
135 mCurrentBufferSlot = item.mSlot; in nextBuffer()
/frameworks/av/media/libstagefright/bqhelper/
DGraphicBufferSource.cpp98 mSlot(slot), in CachedBuffer()
110 return mIsCached ? mSlot : -1; in getSlot()
154 slot_id mSlot; member
946 ssize_t bsi = mBufferSlots.indexOfKey(bi.mSlot); in acquireBuffer_l()
949 ALOGV("acquireBuffer_l: %s buffer slot %d", bsi < 0 ? "setting" : "UPDATING", bi.mSlot); in acquireBuffer_l()
953 bsi = mBufferSlots.add(bi.mSlot, nullptr); in acquireBuffer_l()
955 buffer = std::make_shared<CachedBuffer>(bi.mSlot, bi.mGraphicBuffer); in acquireBuffer_l()

12