/frameworks/rs/cpp/ |
H A D | Script.cpp | 24 void Script::invoke(uint32_t slot, const void *v, size_t len) const { argument 25 tryDispatch(mRS, RS::dispatch->ScriptInvokeV(mRS->getContext(), getID(), slot, v, len)); 28 void Script::forEach(uint32_t slot, const sp<const Allocation>& ain, const sp<const Allocation>& aout, argument 35 tryDispatch(mRS, RS::dispatch->ScriptForEach(mRS->getContext(), getID(), slot, in_id, out_id, usr, usrLen, nullptr, 0)); 42 void Script::bindAllocation(const sp<Allocation>& va, uint32_t slot) const { 43 tryDispatch(mRS, RS::dispatch->ScriptBindAllocation(mRS->getContext(), getID(), BaseObj::getObjID(va), slot));
|
/frameworks/native/libs/gui/ |
H A D | ConsumerBase.cpp | 202 status_t ConsumerBase::detachBuffer(int slot) { argument 211 status_t result = mConsumer->detachBuffer(slot); 217 freeBufferLocked(slot); 365 CB_LOGV("acquireBufferLocked: -> slot=%d/%" PRIu64, 371 status_t ConsumerBase::addReleaseFence(int slot, argument 374 return addReleaseFenceLocked(slot, graphicBuffer, fence); 377 status_t ConsumerBase::addReleaseFenceLocked(int slot, argument 379 CB_LOGV("addReleaseFenceLocked: slot=%d", slot); 383 if (!stillTracking(slot, graphicBuffe 438 releaseBufferLocked( int slot, const sp<GraphicBuffer> graphicBuffer, EGLDisplay display, EGLSyncKHR eglFence) argument 466 stillTracking(int slot, const sp<GraphicBuffer> graphicBuffer) argument [all...] |
H A D | BufferQueueProducer.cpp | 65 status_t BufferQueueProducer::requestBuffer(int slot, sp<GraphicBuffer>* buf) { argument 67 BQ_LOGV("requestBuffer: slot %d", slot); 80 if (slot < 0 || slot >= BufferQueueDefs::NUM_BUFFER_SLOTS) { 81 BQ_LOGE("requestBuffer: slot index %d out of range [0, %d)", 82 slot, BufferQueueDefs::NUM_BUFFER_SLOTS); 84 } else if (!mSlots[slot].mBufferState.isDequeued()) { 85 BQ_LOGE("requestBuffer: slot %d is not owned by the producer " 86 "(state = %s)", slot, mSlot 234 int slot = mCore->mFreeBuffers.front(); local 243 int slot = *(mCore->mFreeSlots.begin()); local 301 int slot = getFreeBufferLocked(); local 309 int slot = getFreeSlotLocked(); local 569 detachBuffer(int slot) argument 750 queueBuffer(int slot, const QueueBufferInput &input, QueueBufferOutput *output) argument 1015 cancelBuffer(int slot, const sp<Fence>& fence) argument 1403 auto slot = mCore->mFreeSlots.begin(); local [all...] |
/frameworks/rs/rsov/driver/ |
H A D | rsovScript.h | 62 void invokeFunction(uint32_t slot, const void *params, 66 void invokeForEach(uint32_t slot, const Allocation **ains, uint32_t inLen, 70 void invokeReduce(uint32_t slot, const Allocation **ains, uint32_t inLen, 76 void setGlobalVar(uint32_t slot, const void *data, 78 void getGlobalVar(uint32_t slot, void *data, size_t dataLength) override; 79 void setGlobalVarWithElemDims(uint32_t slot, const void *data, 84 void setGlobalBind(uint32_t slot, Allocation *data) override; 85 void setGlobalObj(uint32_t slot, ObjectBase *obj) override; 107 void InitShader(uint32_t slot); 114 void runForEach(uint32_t slot, uint32_ [all...] |
/frameworks/rs/driver/ |
H A D | rsdBcc.h | 33 uint32_t slot, 39 uint32_t slot, 48 uint32_t slot, 56 uint32_t slot, 73 uint32_t slot, void *data, size_t dataLen); 76 uint32_t slot, void *data, size_t dataLen); 79 uint32_t slot, void *data, 86 uint32_t slot, android::renderscript::Allocation *data); 89 uint32_t slot, android::renderscript::ObjectBase *data); 93 uint32_t slot, [all...] |
/frameworks/native/services/vr/bufferhubd/ |
H A D | producer_queue_channel.cpp | 120 for (size_t slot = 0; slot < BufferHubRPC::kMaxQueueCapacity; slot++) { 121 if (auto buffer = buffers_[slot].lock()) 122 consumer_queue_channel->RegisterNewBuffer(buffer, slot); 253 // buffer slot. 254 size_t slot = 0; local 255 for (; slot < BufferHubRPC::kMaxQueueCapacity; slot++) { 256 if (buffers_[slot] 281 OnProducerQueueRemoveBuffer( Message& , size_t slot) argument [all...] |
/frameworks/native/libs/gui/tests/ |
H A D | BufferQueue_test.cpp | 143 int slot; local 147 mProducer->dequeueBuffer(&slot, &fence, 0, 0, 0, GRALLOC_USAGE_SW_WRITE_OFTEN, 149 ASSERT_EQ(OK, mProducer->requestBuffer(slot, &buffer)); 160 ASSERT_EQ(OK, mProducer->queueBuffer(slot, input, &output)); 181 int slot; local 191 mProducer->dequeueBuffer(&slot, &fence, 1, 1, 0, GRALLOC_USAGE_SW_READ_OFTEN, 193 ASSERT_EQ(OK, mProducer->requestBuffer(slot, &buf)); 194 ASSERT_EQ(OK, mProducer->queueBuffer(slot, qbi, &qbo)); 199 mProducer->dequeueBuffer(&slot, &fence, 1, 1, 0, GRALLOC_USAGE_SW_READ_OFTEN, 201 ASSERT_EQ(OK, mProducer->requestBuffer(slot, 232 int slot; local 269 int slot; local 334 int slot; local 383 int slot; local 442 int slot; local 490 int slot; local 526 int slot; local 584 int slot; local 648 int slot; local 704 int slot; local 739 int slot = BufferQueue::INVALID_BUFFER_SLOT; local 766 int slot = BufferQueue::INVALID_BUFFER_SLOT; local 776 int slot = BufferQueue::INVALID_BUFFER_SLOT; local 797 int slot = BufferQueue::INVALID_BUFFER_SLOT; local 820 int slot = BufferQueue::INVALID_BUFFER_SLOT; local 873 int slot = BufferQueue::INVALID_BUFFER_SLOT; local 1009 int slot = BufferQueue::INVALID_BUFFER_SLOT; local 1087 int slot = BufferQueue::INVALID_BUFFER_SLOT; local 1128 int slot = BufferQueue::INVALID_BUFFER_SLOT; local [all...] |
H A D | IGraphicBufferProducer_test.cpp | 219 int slot; member in struct:android::IGraphicBufferProducerTest::DequeueBufferResult 224 return mProducer->dequeueBuffer(&result->slot, &result->fence, w, h, format, usage, 228 void setupDequeueRequestBuffer(int *slot, sp<Fence> *fence, argument 231 ASSERT_TRUE(slot != NULL); 240 (mProducer->dequeueBuffer(slot, fence, DEFAULT_WIDTH, DEFAULT_HEIGHT, 244 EXPECT_LE(0, *slot); 245 EXPECT_GT(BufferQueue::NUM_BUFFER_SLOTS, *slot); 248 ASSERT_OK(mProducer->requestBuffer(*slot, buffer)); 424 // Invalid slot number 430 EXPECT_EQ(BAD_VALUE, mProducer->queueBuffer(/*slot*/ 685 int slot = -1; local 708 int slot = -1; local 730 int slot = -1; local 746 int slot = -1; local 763 int slot = -1; local 776 int slot = -1; local [all...] |
H A D | StreamSplitter_test.cpp | 81 int slot; local 85 inputProducer->dequeueBuffer(&slot, &fence, 0, 0, 0, GRALLOC_USAGE_SW_WRITE_OFTEN, 87 ASSERT_EQ(OK, inputProducer->requestBuffer(slot, &buffer)); 98 ASSERT_EQ(OK, inputProducer->queueBuffer(slot, qbInput, &qbOutput)); 119 inputProducer->dequeueBuffer(&slot, &fence, 0, 0, 0, GRALLOC_USAGE_SW_WRITE_OFTEN, 153 int slot; local 157 inputProducer->dequeueBuffer(&slot, &fence, 0, 0, 0, GRALLOC_USAGE_SW_WRITE_OFTEN, 159 ASSERT_EQ(OK, inputProducer->requestBuffer(slot, &buffer)); 170 ASSERT_EQ(OK, inputProducer->queueBuffer(slot, qbInput, &qbOutput)); 194 inputProducer->dequeueBuffer(&slot, 217 int slot; local [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | StatusBarIconControllerImpl.java | 90 Slot slot = allSlots.get(i); 91 List<StatusBarIconHolder> holders = slot.getHolderListInViewOrder(); 92 boolean blocked = mIconBlacklist.contains(slot.getName()); 96 int viewIndex = getViewIndex(getSlotIndex(slot.getName()), holder.getTag()); 97 group.onIconAdded(viewIndex, slot.getName(), blocked, holder); 143 String slot = getSlotName(index); 145 boolean blocked = mIconBlacklist.contains(slot); 148 mIconGroups.forEach(l -> l.onIconAdded(viewIndex, slot, blocked, holder)); 152 public void setIcon(String slot, int resourceId, CharSequence contentDescription) { argument 153 int index = getSlotIndex(slot); 173 setSignalIcon(String slot, WifiIconState state) argument 199 setMobileIcons(String slot, List<MobileIconState> iconStates) argument 216 setExternalIcon(String slot) argument 225 setIcon(String slot, StatusBarIcon icon) argument 254 setIconVisibility(String slot, boolean visibility) argument 265 removeIcon(String slot) argument 270 removeIcon(String slot, int tag) argument [all...] |
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | HWComposerBufferCache.h | 44 // Given a buffer queue slot and buffer, return the HWC cache slot and 49 void getHwcBuffer(int slot, const sp<GraphicBuffer>& buffer, 53 // a vector as we expect "slot" to be in the range of [0, 63] (that is,
|
/frameworks/native/services/surfaceflinger/ |
H A D | MonitoredProducer.cpp | 45 status_t MonitoredProducer::requestBuffer(int slot, sp<GraphicBuffer>* buf) { argument 46 return mProducer->requestBuffer(slot, buf); 58 status_t MonitoredProducer::dequeueBuffer(int* slot, sp<Fence>* fence, uint32_t w, uint32_t h, argument 62 return mProducer->dequeueBuffer(slot, fence, w, h, format, usage, outBufferAge, outTimestamps); 65 status_t MonitoredProducer::detachBuffer(int slot) { argument 66 return mProducer->detachBuffer(slot); 79 status_t MonitoredProducer::queueBuffer(int slot, const QueueBufferInput& input, argument 81 return mProducer->queueBuffer(slot, input, output); 84 status_t MonitoredProducer::cancelBuffer(int slot, const sp<Fence>& fence) { argument 85 return mProducer->cancelBuffer(slot, fenc [all...] |
/frameworks/native/libs/vr/libbufferhubqueue/tests/ |
H A D | buffer_hub_queue-test.cpp | 60 size_t slot = status.take(); local 62 *slot_out = slot; 98 size_t slot; local 103 auto p1_status = producer_queue_->Dequeue(kTimeoutMs, &slot, &mo, &fence); 113 auto c1_status = consumer_queue_->Dequeue(kTimeoutMs, &slot, &mo, &fence); 127 size_t slot; local 146 auto status = consumer_queue_->Dequeue(kNoTimeout, &slot, &mo, &fence); 158 consumer_queue_->Dequeue(kNoTimeout, &slot, &mo, &fence); 165 producer_queue_->Dequeue(kTimeoutMs, &slot, &mo, &fence); 174 consumer_status = consumer_queue_->Dequeue(kTimeoutMs, &slot, 208 size_t slot; member in struct:android::dvr::__anon1697::Entry 239 size_t slot; local 307 size_t slot; local 394 size_t slot; local 437 size_t slot; local 461 size_t slot; local 543 size_t slot; local 563 size_t slot; local 645 size_t slot; local 787 size_t slot; local 854 size_t slot; local [all...] |
/frameworks/base/services/core/jni/ |
H A D | com_android_server_tv_TvUinputBridge.cpp | 84 uint32_t slot = mtSlots.markFirstUnmarkedBit(); local 85 slotsMap[pointerId] = slot; 86 return slot; 92 int slot = findSlot(pointerId); local 93 if (slot != SLOT_UNKNOWN) { 94 mtSlots.clearBit(slot); 224 int32_t slot = findSlot(pointerId); local 225 if (slot == SLOT_UNKNOWN) { 226 slot = assignSlot(pointerId); 228 if (slot ! 240 int32_t slot = findSlot(pointerId); local 262 int32_t slot = SLOT_UNKNOWN; local [all...] |
/frameworks/rs/cpu_ref/ |
H A D | rsCpuScript.h | 47 void invokeFunction(uint32_t slot, const void *params, size_t paramLength) override; 49 virtual void preLaunch(uint32_t slot, const Allocation ** ains, 52 virtual void postLaunch(uint32_t slot, const Allocation ** ains, 57 void invokeForEach(uint32_t slot, 65 void invokeReduce(uint32_t slot, 73 void setGlobalVar(uint32_t slot, const void *data, size_t dataLength) override; 74 void getGlobalVar(uint32_t slot, void *data, size_t dataLength) override; 75 void setGlobalVarWithElemDims(uint32_t slot, const void *data, size_t dataLength, 78 void setGlobalBind(uint32_t slot, Allocation *data) override; 79 void setGlobalObj(uint32_t slot, ObjectBas [all...] |
H A D | rsd_cpu.h | 54 virtual void invokeFunction(uint32_t slot, const void *params, size_t paramLength) = 0; 57 virtual void invokeForEach(uint32_t slot, 65 virtual void invokeReduce(uint32_t slot, 73 virtual void setGlobalVar(uint32_t slot, const void *data, size_t dataLength) = 0; 74 virtual void getGlobalVar(uint32_t slot, void *data, size_t dataLength) = 0; 75 virtual void setGlobalVarWithElemDims(uint32_t slot, const void *data, size_t dataLength, 77 virtual void setGlobalBind(uint32_t slot, Allocation *data) = 0; 78 virtual void setGlobalObj(uint32_t slot, ObjectBase *obj) = 0;
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
H A D | ListButtonsDiagonalAcrossItems.java | 52 final Slot slot = position == 0 ? Slot.Left : 55 parent.getContext(), desiredHeight, slot);
|
/frameworks/native/libs/vr/libdvr/ |
H A D | dvr_internal.h | 37 // The slot nubmer of the buffer, a valid slot number must be in the range of 40 int32_t slot = -1; member in struct:DvrWriteBuffer 46 // The slot nubmer of the buffer, a valid slot number must be in the range of 49 int32_t slot = -1; member in struct:DvrReadBuffer
|
/frameworks/base/rs/java/android/renderscript/ |
H A D | ProgramVertex.java | 66 * @param slot location of the input to return 69 public Element getInput(int slot) { argument 70 if (slot < 0 || slot >= mInputs.length) { 73 return mInputs[slot];
|
/frameworks/rs/ |
H A D | rsFBOCache.cpp | 46 void FBOCache::bindColorTarget(Context *rsc, Allocation *a, uint32_t slot) { argument 47 if (slot >= mHal.state.colorTargetsCount) { 57 mColorTargets[slot].set(a); 58 mHal.state.colorTargets[slot] = a;
|
H A D | rsScriptIntrinsic.cpp | 59 uint32_t slot, 67 rsc->mHal.funcs.script.invokeForEachMulti(rsc, this, slot, ains, inLen, 71 void ScriptIntrinsic::runReduce(Context *rsc, uint32_t slot, argument 76 void ScriptIntrinsic::Invoke(Context *rsc, uint32_t slot, const void *data, size_t len) { argument 58 runForEach(Context* rsc, uint32_t slot, const Allocation** ains, size_t inLen, Allocation* aout, const void* usr, size_t usrBytes, const RsScriptCall* sc) argument
|
H A D | rsProgram.h | 66 void bindAllocation(Context *, Allocation *, uint32_t slot); 70 void bindTexture(Context *, uint32_t slot, Allocation *); 71 void bindSampler(Context *, uint32_t slot, Sampler *);
|
H A D | rsScriptC.h | 37 void Invoke(Context *rsc, uint32_t slot, const void *data, size_t len) override; 42 uint32_t slot, 50 void runReduce(Context *rsc, uint32_t slot,
|
H A D | rsScriptIntrinsic.h | 44 uint32_t slot, 52 void runReduce(Context *rsc, uint32_t slot, 56 void Invoke(Context *rsc, uint32_t slot, const void *data, size_t len) override;
|
/frameworks/rs/rsov/compiler/ |
H A D | Context.h | 60 // Initialize the internal data struture such as the slot number lookup table, 67 // Adds the mapping from the slot number of an exported variable to the index 69 void addExportVarIndex(uint32_t slot, uint32_t index) { argument 70 mExportVarIndices[slot] = index; 77 // Given the slot number of an exported variable, returns the index of its 79 uint32_t getExportVarIndex(uint32_t slot) const { 80 return mExportVarIndices[slot]; 118 // A map from exported variable names to their slot numbers 122 // A map from exported foreach kernel names to their slot numbers
|