Home
last modified time | relevance | path

Searched refs:refs (Results 1 – 19 of 19) sorted by relevance

/frameworks/native/libs/binder/
DIPCThreadState.cpp551 RefBase::weakref_type* refs = mPendingWeakDerefs[0]; in processPendingDerefs() local
553 refs->decWeak(mProcess.get()); in processPendingDerefs()
572 RefBase::weakref_type* refs = mPostWriteWeakDerefs[i]; in processPostWriteDerefs() local
573 refs->decWeak(mProcess.get()); in processPostWriteDerefs()
1071 RefBase::weakref_type* refs; in executeCommand() local
1083 refs = (RefBase::weakref_type*)mIn.readPointer(); in executeCommand()
1085 ALOG_ASSERT(refs->refBase() == obj, in executeCommand()
1087 refs, obj, refs->refBase()); in executeCommand()
1094 mOut.writePointer((uintptr_t)refs); in executeCommand()
1099 refs = (RefBase::weakref_type*)mIn.readPointer(); in executeCommand()
[all …]
DProcessState.cpp252 e.refs = nullptr; in lookupHandleLocked()
272 if (b == nullptr || !e->refs->attemptIncWeak(this)) { in getStrongProxyForHandle()
302 if (b) e->refs = b->getWeakRefs(); in getStrongProxyForHandle()
309 e->refs->decWeak(this); in getStrongProxyForHandle()
333 if (b == nullptr || !e->refs->attemptIncWeak(this)) { in getWeakProxyForHandle()
337 if (b) e->refs = b->getWeakRefs(); in getWeakProxyForHandle()
340 e->refs->decWeak(this); in getWeakProxyForHandle()
/frameworks/base/media/mca/filterfw/java/android/filterfw/io/
DGraphReader.java61 public void addReferencesByMap(KeyValueMap refs) { in addReferencesByMap() argument
62 mReferences.putAll(refs); in addReferencesByMap()
/frameworks/native/opengl/libs/EGL/
Degl_display.h84 inline bool isReady() const { return (refs > 0); } in isReady()
95 inline uint32_t getRefsCount() const { return refs; } in getRefsCount()
123 uint32_t refs; variable
Degl_display.cpp87 … magic('_dpy'), finishOnSwap(false), traceGpuCompletion(false), refs(0), eglIsInitialized(false) { in egl_display_t()
262 refs++; in initialize()
263 if (refs > 1) { in initialize()
442 if (refs == 0) { in terminate()
453 refs--; in terminate()
454 if (refs > 0) { in terminate()
/frameworks/base/core/java/android/widget/
DRemoteViewsAdapter.java431 LinkedList<RemoteViewsFrameLayout> refs = get(position); in add() local
434 if (refs == null) { in add()
435 refs = new LinkedList<>(); in add()
436 put(position, refs); in add()
441 refs.add(layout); in add()
452 final LinkedList<RemoteViewsFrameLayout> refs = removeReturnOld(position); in notifyOnRemoteViewsLoaded()
453 if (refs != null) { in notifyOnRemoteViewsLoaded()
455 for (final RemoteViewsFrameLayout ref : refs) { in notifyOnRemoteViewsLoaded()
468 final LinkedList<RemoteViewsFrameLayout> refs = get(rvfl.cacheIndex); in removeView() local
469 if (refs != null) { in removeView()
[all …]
/frameworks/base/services/core/xsd/schema/
DREADME.md1 Please see the [README](https://android.googlesource.com/platform/system/tools/xsdc/+/refs/heads/ma…
/frameworks/base/core/xsd/schema/
DREADME.md1 Please see the [README](https://android.googlesource.com/platform/system/tools/xsdc/+/refs/heads/ma…
/frameworks/base/core/java/android/security/net/config/
DNetworkSecurityConfig.java290 public Builder addCertificatesEntryRefs(Collection<? extends CertificatesEntryRef> refs) {
294 mCertificatesEntryRefs.addAll(refs);
/frameworks/rs/cpp/util/
DRefBase.h225 void set_object_and_refs(T* other, weakref_type* refs);
422 void wp<T>::set_object_and_refs(T* other, weakref_type* refs) in set_object_and_refs() argument
424 if (other) refs->incWeak(this); in set_object_and_refs()
427 m_refs = refs; in set_object_and_refs()
/frameworks/native/libs/binder/include/binder/
DProcessState.h104 RefBase::weakref_type* refs; member
/frameworks/native/opengl/libagl/
DTextureObjectManager.cpp288 const uint32_t refs = old->getStrongCount(); in replaceTexture() local
289 if (ggl_likely(refs == 1)) { in replaceTexture()
/frameworks/av/media/codec2/vndk/util/
DC2InterfaceHelper.cpp169 void setDependencies(std::vector<C2Param::Index> indices, std::vector<ParamRef> refs) { in setDependencies() argument
171 mDependenciesAsRefs = refs; in setDependencies()
317 std::vector<C2Param::Index> indices, std::vector<ParamRef> refs) { in setDependencies() argument
318 mImpl->setDependencies(indices, refs); in setDependencies()
/frameworks/av/media/libstagefright/
DMPEG4Writer.cpp4534 const ItemRefs &refs = mItems[i].refsList[r]; in writeIrefBox() local
4535 beginBox(refs.key); in writeIrefBox()
4537 size_t refCount = refs.value.size(); in writeIrefBox()
4539 ALOGW("too many entries in %s", refs.key); in writeIrefBox()
4544 writeInt16(refs.value[refIndex]); in writeIrefBox()
4738 void MPEG4Writer::addRefs_l(uint16_t itemId, const ItemRefs &refs) { in addRefs_l() argument
4739 if (refs.value.empty()) { in addRefs_l()
4748 mItems.editItemAt(index).refsList.push_back(refs); in addRefs_l()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/php/ext/google/protobuf/
Dupb.h1111 upb_inttable *refs; /* Maps owner -> trackedref for incoming refs. */ member
1117 #define UPB_REFCOUNT_INIT(refs, ref2s) \ argument
1118 {&static_refcount, NULL, NULL, 0, true, refs, ref2s}
1120 #define UPB_REFCOUNT_INIT(refs, ref2s) {&static_refcount, NULL, NULL, 0, true} argument
3038 #define UPB_DEF_INIT(name, type, refs, ref2s) \ argument
3039 { UPB_REFCOUNT_INIT(refs, ref2s), name, type, false }
3081 index, defaultval, refs, ref2s) \ argument
3083 UPB_DEF_INIT(name, UPB_DEF_FIELD, refs, ref2s), defaultval, {msgdef}, \
3116 refs, ref2s) \ argument
3118 UPB_DEF_INIT(name, UPB_DEF_MSG, refs, ref2s), selector_count, \
[all …]
Dupb.c2771 if (upb_inttable_lookupptr(r->refs, owner, &v)) { in track()
2783 bool ok = upb_inttable_insertptr(r->refs, owner, upb_value_ptr(ref)); in track()
2806 found = upb_inttable_lookupptr(r->refs, owner, &v); in untrack()
2813 upb_inttable_removeptr(r->refs, owner, NULL); in untrack()
2831 found = upb_inttable_lookupptr(r->refs, owner, &v); in checkref()
2855 found = upb_inttable_lookupptr(to->refs, owner, &v); in getref2s()
2914 r->refs = malloc(sizeof(*r->refs)); in trackinit()
2916 if (!r->refs || !r->ref2s) goto err1; in trackinit()
2918 if (!upb_inttable_init(r->refs, UPB_CTYPE_PTR)) goto err1; in trackinit()
2923 upb_inttable_uninit(r->refs); in trackinit()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/ext/google/protobuf_c/
Dupb.h1397 upb_inttable *refs; /* Maps owner -> trackedref for incoming refs. */
1404 #define UPB_REFCOUNT_INIT(vtbl, refs, ref2s) \
1405 {&static_refcount, NULL, vtbl, 0, true, refs, ref2s}
1407 #define UPB_REFCOUNT_INIT(vtbl, refs, ref2s) \
3718 #define UPB_DEF_INIT(name, type, vtbl, refs, ref2s) \
3719 { UPB_REFCOUNT_INIT(vtbl, refs, ref2s), name, NULL, type, false }
3763 index, defaultval, refs, ref2s) \
3765 UPB_DEF_INIT(name, UPB_DEF_FIELD, &upb_fielddef_vtbl, refs, ref2s), \
3798 map_entry, syntax, refs, ref2s) \
3800 UPB_DEF_INIT(name, UPB_DEF_MSG, &upb_fielddef_vtbl, refs, ref2s), \
[all …]
Dupb.c2945 if (upb_inttable_lookupptr(r->refs, owner, &v)) { in track()
2957 upb_inttable_insertptr2(r->refs, owner, upb_value_ptr(ref), in track()
2980 found = upb_inttable_lookupptr(r->refs, owner, &v); in untrack()
2987 upb_inttable_removeptr(r->refs, owner, NULL); in untrack()
3005 found = upb_inttable_lookupptr(r->refs, owner, &v); in checkref()
3028 found = upb_inttable_lookupptr(to->refs, owner, &v); in getref2s()
3084 r->refs = upb_malloc(&upb_alloc_debugrefs, sizeof(*r->refs)); in trackinit()
3086 upb_inttable_init2(r->refs, UPB_CTYPE_PTR, &upb_alloc_debugrefs); in trackinit()
3091 upb_inttable_uninit2(r->refs, &upb_alloc_debugrefs); in trackfree()
3093 upb_free(&upb_alloc_debugrefs, r->refs); in trackfree()
/frameworks/av/media/codec2/vndk/include/util/
DC2InterfaceHelper.h364 void setDependencies(std::vector<C2Param::Index> indices, std::vector<ParamRef> refs);