Searched defs:mRefCount (Results 1 - 22 of 22) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
H A DKeySetHandle.java23 private int mRefCount; field in class:KeySetHandle
27 mRefCount = 1;
35 mRefCount = refCount;
43 return mRefCount;
50 mRefCount = newCount;
55 mRefCount++;
60 mRefCount--;
61 return mRefCount;
H A DKeySetManagerService.java73 private int mRefCount; field in class:KeySetManagerService.PublicKeyHandle
77 mRefCount = 1;
86 mRefCount = refCount;
99 return mRefCount;
103 mRefCount++;
108 mRefCount--;
109 return mRefCount;
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
H A DSessionRoute.h49 mRefCount(0),
67 int mRefCount; // +/- on references member in class:android::SessionRoute
H A DAudioOutputDescriptor.h81 uint32_t mRefCount[AUDIO_STREAM_CNT]; // number of streams of each type using this output member in class:android::AudioOutputDescriptor
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DNativeBuffer.java34 private int mRefCount = 1; field in class:NativeBuffer
75 ++mRefCount;
86 --mRefCount;
87 doDealloc = (mRefCount == 0);
H A DFrame.java40 private int mRefCount = 1; field in class:Frame
138 return mRefCount;
197 mRefCount = 1;
218 ++mRefCount;
219 return mRefCount;
223 --mRefCount;
224 return mRefCount;
/frameworks/av/include/media/stagefright/
H A DMediaBuffer.h94 return mRefCount;
149 int mRefCount; member in class:android::MediaBuffer
/frameworks/av/media/libmediaextractor/include/media/stagefright/
H A DMediaBuffer.h94 return mRefCount;
149 int mRefCount; member in class:android::MediaBuffer
/frameworks/av/media/libstagefright/include/media/stagefright/
H A DMediaBuffer.h94 return mRefCount;
149 int mRefCount; member in class:android::MediaBuffer
/frameworks/av/services/audiopolicy/service/
H A DAudioPolicyEffects.h138 explicit EffectVector(audio_session_t session) : mSessionId(session), mRefCount(0) {}
146 int mRefCount; member in class:android::AudioPolicyEffects::EffectVector
/frameworks/compile/slang/
H A Dslang_backend.h105 RSObjectRefCount mRefCount; member in class:slang::Backend
/frameworks/opt/bitmap/src/com/android/bitmap/
H A DReusableBitmap.java32 private int mRefCount = 0; field in class:ReusableBitmap
79 mRefCount++;
84 if (mRefCount == 0) {
87 mRefCount--;
92 return mRefCount;
100 sb.append(mRefCount);
/frameworks/base/core/java/android/net/
H A DNetworkFactory.java106 private int mRefCount = 0; field in class:NetworkFactory
273 if (++mRefCount == 1) startNetwork();
277 if (--mRefCount == 0) stopNetwork();
321 append(mNetworkRequests.size()).append(", refCount=").append(mRefCount).
/frameworks/av/services/audioflinger/
H A DEffects.h382 SuspendedEffectDesc() : mRefCount(0) {}
384 int mRefCount; // > 0 when suspended member in class:EffectChain::SuspendedEffectDesc
H A DThreads.h403 SuspendedSessionDesc() : mRefCount(0) {}
405 int mRefCount; // number of active suspend requests member in class:ThreadBase::SuspendedSessionDesc
/frameworks/base/core/java/com/android/internal/content/
H A DFileSystemProvider.java555 observer.mRefCount++;
566 observer.mRefCount--;
567 if (observer.mRefCount == 0) {
584 private int mRefCount = 0; field in class:FileSystemProvider.DirectoryObserver
603 return "DirectoryObserver{file=" + mFile.getAbsolutePath() + ", ref=" + mRefCount + "}";
/frameworks/base/media/jni/soundpool/
H A DSoundPool.h72 volatile int32_t mRefCount; member in class:android::Sample
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DBackingStore.java65 private int mRefCount = 1; field in class:BackingStore
111 if (mRefCount >= 10) {
112 Log.w("BackingStore", "High ref-count of " + mRefCount + " on " + this + "!");
114 if (mRefCount <= 0) {
117 ++mRefCount;
122 if (mRefCount <= 0) {
125 --mRefCount;
126 if (mRefCount == 0) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DApnContext.java75 private int mRefCount = 0; field in class:ApnContext
/frameworks/base/services/core/java/com/android/server/
H A DIpSecService.java190 int mRefCount = 1; // starts at 1 for user's reference. field in class:IpSecService.RefcountedResource
201 child.mRefCount++;
272 mRefCount--;
274 if (mRefCount > 0) {
276 } else if (mRefCount < 0) {
292 mRefCount--;
300 .append(", mRefCount=")
301 .append(mRefCount)
/frameworks/base/services/core/java/com/android/server/media/
H A DMediaSessionService.java2083 private int mRefCount = 0; field in class:MediaSessionService.SessionManagerImpl.KeyEventWakeLockReceiver
2093 if (mRefCount == 0) {
2098 mRefCount = 0;
2104 if (mRefCount == 0) {
2107 mRefCount++;
2126 if (mRefCount > 0) {
2127 mRefCount--;
2128 if (mRefCount == 0) {
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiManager.java3125 private int mRefCount; field in class:WifiManager.WifiLock
3135 mRefCount = 0;
3153 if (mRefCounted ? (++mRefCount == 1) : (!mHeld)) {
3186 if (mRefCounted ? (--mRefCount == 0) : (mHeld)) {
3197 if (mRefCount < 0) {
3265 s3 = "refcounted: refcount = " + mRefCount;
3355 private int mRefCount; field in class:WifiManager.MulticastLock
3362 mRefCount = 0;
3389 if (mRefCounted ? (++mRefCount == 1) : (!mHeld)) {
3434 if (mRefCounted ? (--mRefCount
[all...]

Completed in 3609 milliseconds