Searched refs:slot (Results 101 - 125 of 214) sorted by relevance

123456789

/frameworks/native/libs/nativewindow/
H A DANativeWindow.cpp158 int ANativeWindow_OemStorageSet(ANativeWindow* window, uint32_t slot, intptr_t value) { argument
159 if (slot < 4) {
160 window->oem[slot] = value;
166 int ANativeWindow_OemStorageGet(ANativeWindow* window, uint32_t slot, intptr_t* value) { argument
167 if (slot >= 4) {
168 *value = window->oem[slot];
/frameworks/native/services/surfaceflinger/
H A DBufferLayerConsumer.cpp197 int slot = item.mSlot; local
198 if (rejecter && rejecter->reject(mSlots[slot].mGraphicBuffer, item)) {
199 releaseBufferLocked(slot, mSlots[slot].mGraphicBuffer);
232 auto slot = mPendingRelease.isPending ? mPendingRelease.currentTexture : mCurrentTexture; local
233 if (slot == BufferQueue::INVALID_BUFFER_SLOT) {
239 auto err = addReleaseFence(slot, buffer, fence);
295 int slot = item.mSlot; local
297 // Do whatever sync ops we need to do before releasing the old slot.
298 if (slot !
[all...]
/frameworks/base/services/core/java/com/android/server/locksettings/
H A DSyntheticPasswordManager.java84 * WEAVER_SLOT: Metadata about the weaver slot used. Only exists if this is a SP under weaver.
328 * Enroll the given key value pair into the specified weaver slot. if the given key is null,
332 * @return the value stored in the weaver slot
335 private byte[] weaverEnroll(int slot, byte[] key, @Nullable byte[] value) argument
337 if (slot == INVALID_WEAVER_SLOT || slot >= mWeaverConfig.slots) {
338 throw new RuntimeException("Invalid slot for weaver");
348 int writeStatus = mWeaver.write(slot, toByteArrayList(key), toByteArrayList(value));
350 Log.e(TAG, "weaver write failed, slot: " + slot
362 weaverVerify(int slot, byte[] key) argument
534 saveWeaverSlot(int slot, long handle, int userId) argument
[all...]
/frameworks/compile/slang/
H A Dslang_rs_foreach_lowering.cpp96 clang::CallExpr* CE, int* slot, bool* hasOptions) {
131 *slot = mCtxt->getForEachSlotNumber(kernel);
132 if (*slot == -1) {
160 mASTCtxt.IntTy, // int slot
217 // with the first argument replaced by the slot number of the kernel function
222 int slot; local
224 const clang::FunctionDecl* kernel = matchKernelLaunchCall(CE, &slot, &hasOptions);
229 slangAssert(slot >= 0);
254 const llvm::APInt APIntSlot(IntTySize, slot);
95 matchKernelLaunchCall( clang::CallExpr* CE, int* slot, bool* hasOptions) argument
/frameworks/rs/
H A DrsRuntime.h33 void rsrBindTexture(Context *, ProgramFragment *, uint32_t slot, Allocation *);
34 void rsrBindConstant(Context *, ProgramFragment *, uint32_t slot, Allocation *);
35 void rsrBindConstant(Context *, ProgramVertex*, uint32_t slot, Allocation *);
36 void rsrBindSampler(Context *, ProgramFragment *, uint32_t slot, Sampler *);
41 void rsrBindFrameBufferObjectColorTarget(Context *, Allocation *, uint32_t slot);
43 void rsrClearFrameBufferObjectColorTarget(Context *, uint32_t slot);
154 uint32_t slot,
H A DrsHidlAdaptation.cpp721 void RsHidlAdaptation::ScriptBindAllocation (RsContext context, RsScript script, RsAllocation allocation, uint32_t slot) argument
726 GetIContextHandle(context)->scriptBindAllocation(_script, _allocation, slot);
736 void RsHidlAdaptation::ScriptInvoke (RsContext context, RsScript script, uint32_t slot) argument
740 GetIContextHandle(context)->scriptInvoke(_script, slot);
743 void RsHidlAdaptation::ScriptInvokeV (RsContext context, RsScript script, uint32_t slot, const void *data, size_t len) argument
749 GetIContextHandle(context)->scriptInvokeV(_script, slot, _data);
752 void RsHidlAdaptation::ScriptForEach (RsContext context, RsScript script, uint32_t slot, argument
763 ScriptForEachMulti(context, script, slot, vains, inLen, vaout, params, paramLen, sc, scLen);
766 void RsHidlAdaptation::ScriptForEachMulti (RsContext context, RsScript script, uint32_t slot, argument
805 GetIContextHandle(context)->scriptForEach(_script, slot, _vain
808 ScriptReduce(RsContext context, RsScript script, uint32_t slot, RsAllocation *vains, size_t inLen, RsAllocation vaout, const RsScriptCall *sc, size_t scLen) argument
845 ScriptSetVarI(RsContext context, RsScript script, uint32_t slot, int value) argument
852 ScriptSetVarObj(RsContext context, RsScript script, uint32_t slot, RsObjectBase obj) argument
860 ScriptSetVarJ(RsContext context, RsScript script, uint32_t slot, int64_t value) argument
867 ScriptSetVarF(RsContext context, RsScript script, uint32_t slot, float value) argument
874 ScriptSetVarD(RsContext context, RsScript script, uint32_t slot, double value) argument
881 ScriptSetVarV(RsContext context, RsScript script, uint32_t slot, const void* data, size_t len) argument
890 ScriptGetVarV(RsContext context, RsScript script, uint32_t slot, void* data, size_t len) argument
900 ScriptSetVarVE(RsContext context, RsScript script, uint32_t slot, const void *data, size_t len, RsElement ve, const uint32_t *dims, size_t dimLen) argument
936 ScriptKernelIDCreate(RsContext context, RsScript script, int slot, int sig) argument
944 ScriptInvokeIDCreate(RsContext context, RsScript script, int slot) argument
952 ScriptFieldIDCreate(RsContext context, RsScript script, int slot) argument
[all...]
H A DrsSampler.h65 void bindToContext(SamplerState *, uint32_t slot);
H A Drs_hal.h165 uint32_t slot,
171 uint32_t slot,
178 uint32_t slot,
186 uint32_t slot,
190 uint32_t slot,
194 uint32_t slot,
201 uint32_t slot,
204 uint32_t slot,
210 uint32_t slot,
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
H A DCommandQueueTest.java56 String slot = "testSlot";
58 mCommandQueue.setIcon(slot, icon);
60 verify(mCallbacks).setIcon(eq(slot), eq(icon));
62 mCommandQueue.removeIcon(slot);
64 verify(mCallbacks).removeIcon(eq(slot));
/frameworks/native/include/gui/
H A DIGraphicBufferProducer.h86 // buffer to the given slot index, and the client is expected to mirror the
87 // slot->buffer mapping so that it's not necessary to transfer a
90 // The slot must be in the range of [0, NUM_BUFFER_SLOTS).
96 // * slot was out of range (see above)
97 // * buffer specified by the slot is not dequeued
98 virtual status_t requestBuffer(int slot, sp<GraphicBuffer>* buf) = 0;
143 // dequeueBuffer requests a new buffer slot for the client to use. Ownership
144 // of the slot is transfered to the client, meaning that the server will not
145 // use the contents of the buffer associated with that slot.
147 // The slot inde
[all...]
/frameworks/native/libs/gui/include/gui/
H A DIGraphicBufferProducer.h86 // buffer to the given slot index, and the client is expected to mirror the
87 // slot->buffer mapping so that it's not necessary to transfer a
90 // The slot must be in the range of [0, NUM_BUFFER_SLOTS).
96 // * slot was out of range (see above)
97 // * buffer specified by the slot is not dequeued
98 virtual status_t requestBuffer(int slot, sp<GraphicBuffer>* buf) = 0;
143 // dequeueBuffer requests a new buffer slot for the client to use. Ownership
144 // of the slot is transfered to the client, meaning that the server will not
145 // use the contents of the buffer associated with that slot.
147 // The slot inde
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DDemoStatusIcons.java167 private void updateSlot(String slot, String iconPkg, int iconId) { argument
179 if (slot.equals(v.getTag())) {
201 StatusBarIconView v = new StatusBarIconView(getContext(), slot, null, false);
202 v.setTag(slot);
211 StatusBarWifiView view = StatusBarWifiView.fromContext(mContext, state.slot);
240 StatusBarMobileView view = StatusBarMobileView.fromContext(mContext, state.slot);
H A DStatusBarSignalPolicy.java157 newState.slot = mSlotWifi;
310 public String slot; field in class:StatusBarSignalPolicy.SignalIconState
324 Objects.equals(slot, that.slot);
329 return Objects.hash(visible, activityOut, slot);
336 other.slot = slot;
/frameworks/minikin/libs/minikin/
H A DWordBreaker.h59 virtual void release(Slot&& slot) = 0;
67 void release(Slot&& slot) override;
/frameworks/native/libs/gui/
H A DGLConsumer.cpp273 GLC_LOGV("releaseTexImage: (slot=%d, mAttached=%d)", buf, mAttached);
276 // Do whatever sync ops we need to do before releasing the slot.
279 GLC_LOGE("syncForReleaseLocked failed (slot=%d), err=%d", buf, err);
361 int slot = item->mSlot; local
362 mEglSlots[slot].mEglImage = new EglImage(item->mGraphicBuffer);
373 // buffer has reallocated the original buffer slot after this buffer
386 int slot = item.mSlot; local
391 releaseBufferLocked(slot, mSlots[slot].mGraphicBuffer,
399 releaseBufferLocked(slot, mSlot
[all...]
H A DIGraphicBufferProducer.cpp179 virtual status_t detachBuffer(int slot) { argument
182 data.writeInt32(slot);
231 virtual status_t attachBuffer(int* slot, const sp<GraphicBuffer>& buffer) { argument
240 *slot = reply.readInt32();
243 (*slot < 0 || *slot >= BufferQueueDefs::NUM_BUFFER_SLOTS)) {
244 ALOGE("attachBuffer returned invalid slot %d", *slot);
541 status_t requestBuffer(int slot, sp<GraphicBuffer>* buf) override {
542 return mBase->requestBuffer(slot, bu
788 int slot = data.readInt32(); local
815 int slot = 0; local
[all...]
/frameworks/rs/support/jni/
H A Dandroid_renderscript_RenderScript.cpp1389 nScriptBindAllocation(JNIEnv *_env, jobject _this, jlong con, jlong script, jlong alloc, jint slot, jboolean mUseInc) argument
1391 LOG_API("nScriptBindAllocation, con(%p), script(%p), alloc(%p), slot(%i)",
1392 (RsContext)con, (RsScript)script, (RsAllocation)alloc, slot);
1394 dispatchTabInc.ScriptBindAllocation((RsContext)con, (RsScript)script, (RsAllocation)alloc, slot);
1396 dispatchTab.ScriptBindAllocation((RsContext)con, (RsScript)script, (RsAllocation)alloc, slot);
1401 nScriptSetVarI(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jint val, jboolean mUseInc) argument
1403 LOG_API("nScriptSetVarI, con(%p), s(%p), slot(%i), val(%i)", (RsContext)con,
1404 (void *)script, slot, val);
1406 dispatchTabInc.ScriptSetVarI((RsContext)con, (RsScript)script, slot, val);
1408 dispatchTab.ScriptSetVarI((RsContext)con, (RsScript)script, slot, va
1413 nScriptSetVarObj(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jlong val, jboolean mUseInc) argument
1425 nScriptSetVarJ(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jlong val, jboolean mUseInc) argument
1437 nScriptSetVarF(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, float val, jboolean mUseInc) argument
1449 nScriptSetVarD(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, double val, jboolean mUseInc) argument
1461 nScriptSetVarV(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jbyteArray data, jboolean mUseInc) argument
1475 nScriptSetVarVE(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jbyteArray data, jlong elem, jintArray dims, jboolean mUseInc) argument
1516 nScriptInvoke(JNIEnv *_env, jobject _this, jlong con, jlong obj, jint slot, jboolean mUseInc) argument
1527 nScriptInvokeV(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jbyteArray data, jboolean mUseInc) argument
1541 nScriptForEach(JNIEnv *_env, jobject _this, jlong con, jlong incCon, jlong script, jint slot, jlong ain, jlong aout, jboolean mUseInc) argument
1558 nScriptForEachV(JNIEnv *_env, jobject _this, jlong con, jlong incCon, jlong script, jint slot, jlong ain, jlong aout, jbyteArray params, jboolean mUseInc) argument
1578 nScriptForEachClipped(JNIEnv *_env, jobject _this, jlong con, jlong incCon, jlong script, jint slot, jlong ain, jlong aout, jint xstart, jint xend, jint ystart, jint yend, jint zstart, jint zend, jboolean mUseInc) argument
1613 nScriptForEachClippedV(JNIEnv *_env, jobject _this, jlong con, jlong incCon, jlong script, jint slot, jlong ain, jlong aout, jbyteArray params, jint xstart, jint xend, jint ystart, jint yend, jint zstart, jint zend, jboolean mUseInc) argument
1651 nScriptForEachMulti(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jlongArray ains, jlong aout, jbyteArray params, jintArray limits) argument
1753 nScriptReduce(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jlongArray ains, jlong aout, jintArray limits) argument
1913 nScriptKernelIDCreate(JNIEnv *_env, jobject _this, jlong con, jlong sid, jint slot, jint sig, jboolean mUseInc) argument
1927 nScriptInvokeIDCreate(JNIEnv *_env, jobject _this, jlong con, jlong sid, jint slot) argument
1935 nScriptFieldIDCreate(JNIEnv *_env, jobject _this, jlong con, jlong sid, jint slot, jboolean mUseInc) argument
[all...]
/frameworks/base/rs/jni/
H A Dandroid_renderscript_RenderScript.cpp1785 nScriptBindAllocation(JNIEnv *_env, jobject _this, jlong con, jlong script, jlong alloc, jint slot) argument
1788 ALOGD("nScriptBindAllocation, con(%p), script(%p), alloc(%p), slot(%i)", (RsContext)con,
1789 (RsScript)script, (RsAllocation)alloc, slot);
1791 rsScriptBindAllocation((RsContext)con, (RsScript)script, (RsAllocation)alloc, slot);
1795 nScriptSetVarI(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jint val) argument
1798 ALOGD("nScriptSetVarI, con(%p), s(%p), slot(%i), val(%i)", (RsContext)con, (void *)script,
1799 slot, val);
1801 rsScriptSetVarI((RsContext)con, (RsScript)script, slot, val);
1805 nScriptGetVarI(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot) argument
1808 ALOGD("nScriptGetVarI, con(%p), s(%p), slot(
1816 nScriptSetVarObj(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jlong val) argument
1826 nScriptSetVarJ(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jlong val) argument
1836 nScriptGetVarJ(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot) argument
1847 nScriptSetVarF(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, float val) argument
1857 nScriptGetVarF(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot) argument
1868 nScriptSetVarD(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, double val) argument
1878 nScriptGetVarD(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot) argument
1889 nScriptSetVarV(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jbyteArray data) argument
1905 nScriptGetVarV(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jbyteArray data) argument
1921 nScriptSetVarVE(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jbyteArray data, jlong elem, jintArray dims) argument
1969 nScriptInvoke(JNIEnv *_env, jobject _this, jlong con, jlong obj, jint slot) argument
1978 nScriptInvokeV(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jbyteArray data) argument
1994 nScriptForEach(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jlongArray ains, jlong aout, jbyteArray params, jintArray limits) argument
2107 nScriptReduce(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jlongArray ains, jlong aout, jintArray limits) argument
2269 nScriptKernelIDCreate(JNIEnv *_env, jobject _this, jlong con, jlong sid, jint slot, jint sig) argument
2279 nScriptInvokeIDCreate(JNIEnv *_env, jobject _this, jlong con, jlong sid, jint slot) argument
2289 nScriptFieldIDCreate(JNIEnv *_env, jobject _this, jlong con, jlong sid, jint slot) argument
2456 nProgramBindConstants(JNIEnv *_env, jobject _this, jlong con, jlong vpv, jint slot, jlong a) argument
2466 nProgramBindTexture(JNIEnv *_env, jobject _this, jlong con, jlong vpf, jint slot, jlong a) argument
2476 nProgramBindSampler(JNIEnv *_env, jobject _this, jlong con, jlong vpf, jint slot, jlong a) argument
[all...]
/frameworks/native/services/vr/bufferhubd/
H A Dconsumer_queue_channel.h33 const std::shared_ptr<ProducerChannel>& producer_channel, size_t slot);
50 // Tracks newly allocated buffer producers along with it's slot number.
/frameworks/rs/driver/
H A DrsdVertexArray.h55 void logAttrib(uint32_t idx, uint32_t slot) const;
H A DrsdShader.cpp362 int32_t slot, uint32_t arraySize ) {
365 RSD_CALL_GL(glUniformMatrix4fv, slot, arraySize, GL_FALSE, fd);
367 RSD_CALL_GL(glUniformMatrix3fv, slot, arraySize, GL_FALSE, fd);
369 RSD_CALL_GL(glUniformMatrix2fv, slot, arraySize, GL_FALSE, fd);
373 RSD_CALL_GL(glUniform1fv, slot, arraySize, fd);
376 RSD_CALL_GL(glUniform2fv, slot, arraySize, fd);
379 RSD_CALL_GL(glUniform3fv, slot, arraySize, fd);
382 RSD_CALL_GL(glUniform4fv, slot, arraySize, fd);
532 ALOGE("Attempting to set constants on shader id %p, but alloc at slot %u is not set",
547 int32_t slot local
361 setUniform(const Context *rsc, const Element *field, const float *fd, int32_t slot, uint32_t arraySize ) argument
[all...]
/frameworks/base/services/net/java/android/net/apf/
H A DApfGenerator.java326 * Memory slot number that is prefilled with the IPv4 header length.
327 * Note that this memory slot may be overwritten by a program that
328 * executes stores to this memory slot. This must be kept in sync with
334 * Memory slot number that is prefilled with the size of the packet being filtered in bytes.
335 * Note that this memory slot may be overwritten by a program that
336 * executes stores to this memory slot. This must be kept in sync with the APF interpreter.
341 * Memory slot number that is prefilled with the age of the filter in seconds. The age of the
343 * Note that this memory slot may be overwritten by a program that
344 * executes stores to this memory slot. This must be kept in sync with the APF interpreter.
349 * First memory slot containin
774 addLoadFromMemory(Register register, int slot) argument
789 addStoreToMemory(Register register, int slot) argument
[all...]
/frameworks/base/services/core/java/com/android/server/statusbar/
H A DStatusBarManagerService.java667 public void setIcon(String slot, String iconPackage, int iconId, int iconLevel, argument
674 //Slog.d(TAG, "setIcon slot=" + slot + " index=" + index + " icon=" + icon);
675 mIcons.put(slot, icon);
679 mBar.setIcon(slot, icon);
687 public void setIconVisibility(String slot, boolean visibility) { argument
691 StatusBarIcon icon = mIcons.get(slot);
700 mBar.setIcon(slot, icon);
709 public void removeIcon(String slot) { argument
713 mIcons.remove(slot);
[all...]
/frameworks/native/libs/gui/bufferqueue/1.0/
H A DH2BGraphicBufferProducer.cpp969 status_t H2BGraphicBufferProducer::requestBuffer(int slot, sp<GraphicBuffer>* buf) { argument
973 static_cast<int32_t>(slot),
994 status_t H2BGraphicBufferProducer::dequeueBuffer(int* slot, sp<Fence>* fence, uint32_t w, argument
1003 [&fnStatus, slot, fence, outTimestamps] (
1009 *slot = tSlot;
1028 status_t H2BGraphicBufferProducer::detachBuffer(int slot) { argument
1029 return toStatusT(mBase->detachBuffer(static_cast<int>(slot)));
1063 [&fnStatus, outSlot] (Status status, int32_t slot) {
1065 *outSlot = slot;
1071 int slot,
1070 queueBuffer( int slot, const QueueBufferInput& input, QueueBufferOutput* output) argument
1097 cancelBuffer(int slot, const sp<Fence>& fence) argument
[all...]
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DFramebufferSurface.cpp94 uint32_t slot = 0; local
98 status_t result = nextBuffer(slot, buf, acquireFence, dataspace);
124 // then we may have acquired the slot we already own. If we had released
127 // freeBufferLocked on that slot. Because the buffer slot has already

Completed in 5435 milliseconds

123456789