Searched refs:mRefs (Results 1 - 8 of 8) sorted by relevance

/frameworks/base/libs/utils/
H A DSharedBuffer.cpp31 sb->mRefs = 1;
40 if (released->mRefs != 0) return -1; // XXX: invalid operation
97 android_atomic_inc(&mRefs);
103 if (onlyOwner() || ((prev = android_atomic_dec(&mRefs)) == 1)) {
104 mRefs = 0;
H A DRefBase.cpp330 weakref_impl* const refs = mRefs;
349 weakref_impl* const refs = mRefs;
367 weakref_impl* const refs = mRefs;
389 return mRefs->mStrong;
539 mRefs->incWeak(id);
540 return mRefs;
545 return mRefs;
549 : mRefs(new weakref_impl(this))
555 if (mRefs->mStrong == INITIAL_STRONG_VALUE) {
557 delete mRefs;
[all...]
/frameworks/base/include/utils/
H A DSharedBuffer.h100 mutable int32_t mRefs; member in class:android::SharedBuffer
139 return (mRefs == 1);
H A DRefBase.h157 weakref_impl* const mRefs; member in class:android::RefBase
/frameworks/base/libs/binder/
H A DBinder.cpp217 : mRemote(o.get()), mRefs(NULL), mState(0)
223 mRefs = mRemote->createWeak(this); // Held for our entire lifetime.
233 mRefs->decWeak(this);
251 return mRemote ? mRefs->attemptIncStrong(this) : false;
/frameworks/base/include/binder/
H A DBinder.h95 RefBase::weakref_type* mRefs; member in class:android::BpRefBase
/frameworks/base/media/libmedia/
H A DMediaProfiles.cpp474 mRequiredProfileRefs[i].mRefs[j].mHasRefProfile = false;
475 mRequiredProfileRefs[i].mRefs[j].mRefProfileIndex = -1;
477 mRequiredProfileRefs[i].mRefs[j].mResolutionProduct = 0x7FFFFFFF;
479 mRequiredProfileRefs[i].mRefs[j].mResolutionProduct = 0;
527 info = &(mRequiredProfileRefs[refIndex].mRefs[j]);
567 &mRequiredProfileRefs[refIndex].mRefs[j];
/frameworks/base/include/media/
H A DMediaProfiles.h506 RequiredProfileRefInfo mRefs[kNumRequiredProfiles]; member in struct:android::MediaProfiles::__anon95

Completed in 274 milliseconds