/frameworks/base/services/core/java/com/android/server/pm/ |
D | KeySetHandle.java | 23 private int mRefCount; field in KeySetHandle 27 mRefCount = 1; in KeySetHandle() 35 mRefCount = refCount; in KeySetHandle() 43 return mRefCount; in getRefCountLPr() 50 mRefCount = newCount; in setRefCountLPw() 55 mRefCount++; in incrRefCountLPw() 60 mRefCount--; in decrRefCountLPw() 61 return mRefCount; in decrRefCountLPw()
|
D | KeySetManagerService.java | 73 private int mRefCount; field in KeySetManagerService.PublicKeyHandle 77 mRefCount = 1; in PublicKeyHandle() 86 mRefCount = refCount; in PublicKeyHandle() 99 return mRefCount; in getRefCountLPr() 103 mRefCount++; in incrRefCountLPw() 108 mRefCount--; in decrRefCountLPw() 109 return mRefCount; in decrRefCountLPw()
|
/frameworks/av/media/libstagefright/foundation/ |
D | MediaBuffer.cpp | 36 mRefCount(0), in MediaBuffer() 47 mRefCount(0), in MediaBuffer() 84 mRefCount(0), in MediaBuffer() 97 CHECK_EQ(mRefCount, 0); in release() 102 int prevCount = mRefCount.fetch_sub(1); in release() 116 CHECK_EQ(mRefCount.load(std::memory_order_relaxed), 1); in claim() 118 mRefCount.store(0, std::memory_order_relaxed); in claim() 122 (void) mRefCount.fetch_add(1); in add_ref()
|
/frameworks/opt/bitmap/src/com/android/bitmap/ |
D | ReusableBitmap.java | 32 private int mRefCount = 0; field in ReusableBitmap 79 mRefCount++; in acquireReference() 84 if (mRefCount == 0) { in releaseReference() 87 mRefCount--; in releaseReference() 92 return mRefCount; in getRefCount() 100 sb.append(mRefCount); in toString()
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
D | Frame.java | 39 private int mRefCount = 1; field in Frame 142 return mRefCount; in getRefCount() 202 mRefCount = 1; in reset() 223 ++mRefCount; in incRefCount() 224 return mRefCount; in incRefCount() 228 --mRefCount; in decRefCount() 229 return mRefCount; in decRefCount()
|
D | NativeBuffer.java | 34 private int mRefCount = 1; field in NativeBuffer 75 ++mRefCount; in retain() 86 --mRefCount; in release() 87 doDealloc = (mRefCount == 0); in release()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | BackingStore.java | 65 private int mRefCount = 1; field in BackingStore 111 if (mRefCount >= 10) { in retain() 112 Log.w("BackingStore", "High ref-count of " + mRefCount + " on " + this + "!"); in retain() 114 if (mRefCount <= 0) { in retain() 117 ++mRefCount; in retain() 122 if (mRefCount <= 0) { in release() 125 --mRefCount; in release() 126 if (mRefCount == 0) { in release()
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyEffects.cpp | 116 sessionDesc->mRefCount++; in addInputEffects() 118 ALOGV("addInputEffects(): input: %d, refCount: %d", input, sessionDesc->mRefCount); in addInputEffects() 119 if (sessionDesc->mRefCount == 1) { in addInputEffects() 158 sessionDesc->mRefCount--; in releaseInputEffects() 159 ALOGV("releaseInputEffects(): input: %d, refCount: %d", input, sessionDesc->mRefCount); in releaseInputEffects() 160 if (sessionDesc->mRefCount == 0) { in releaseInputEffects() 263 procDesc->mRefCount++; in addOutputSessionEffects() 266 audioSession, procDesc->mRefCount); in addOutputSessionEffects() 267 if (procDesc->mRefCount == 1) { in addOutputSessionEffects() 309 procDesc->mRefCount--; in releaseOutputSessionEffects() [all …]
|
D | AudioPolicyEffects.h | 187 explicit EffectVector(audio_session_t session) : mSessionId(session), mRefCount(0) {} in EffectVector() 195 int mRefCount; variable
|
/frameworks/libs/net/common/device/android/net/ |
D | NetworkFactory.java | 105 private int mRefCount = 0; field in NetworkFactory 362 if (++mRefCount == 1) startNetwork(); in needNetworkFor() 366 if (--mRefCount == 0) stopNetwork(); in releaseNetworkFor() 407 + mNetworkRequests.size() + ", refCount=" + mRefCount in toString()
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | MediaBuffer.h | 92 return mRefCount.load(std::memory_order_relaxed); in localRefcount() 161 std::atomic<int> mRefCount; variable
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiManager.java | 3892 private int mRefCount; field in WifiLock 3902 mRefCount = 0; in WifiLock() 3920 if (mRefCounted ? (++mRefCount == 1) : (!mHeld)) { in acquire() 3953 if (mRefCounted ? (--mRefCount == 0) : (mHeld)) { in release() 3964 if (mRefCount < 0) { in release() 4032 s3 = "refcounted: refcount = " + mRefCount; in toString() 4123 private int mRefCount; field in MulticastLock 4130 mRefCount = 0; in MulticastLock() 4157 if (mRefCounted ? (++mRefCount == 1) : (!mHeld)) { in acquire() 4202 if (mRefCounted ? (--mRefCount == 0) : (mHeld)) { in release() [all …]
|
/frameworks/base/services/core/java/com/android/server/ |
D | IpSecService.java | 197 int mRefCount = 1; // starts at 1 for user's reference. field in IpSecService.RefcountedResource 208 child.mRefCount++; in RefcountedResource() 280 mRefCount--; in releaseReference() 282 if (mRefCount > 0) { in releaseReference() 284 } else if (mRefCount < 0) { in releaseReference() 300 mRefCount--; in releaseReference() 309 .append(mRefCount) in toString()
|
/frameworks/base/media/jni/ |
D | android_media_ImageWriter.cpp | 135 int mRefCount = 0; member in JNIImageWriterContext::BufferDetacher 145 mRefCount++; in addRef() 146 if (mRefCount == 1) { in addRef() 154 mRefCount--; in removeRef() 155 if (mRefCount == 0) { in removeRef()
|
/frameworks/base/tests/net/java/com/android/server/ |
D | IpSecServiceRefcountedResourceTest.java | 78 assertEquals(refCount, resource.mRefCount); in assertResourceState() 357 assertEquals(-1, refcountedResource.mRefCount); in fuzzTest()
|
/frameworks/compile/slang/ |
D | slang_backend.cpp | 263 mRefCount(mContext->getASTContext()), in Backend() 606 mRefCount.Init(); in AnnotateFunction() 607 mRefCount.SetDeclContext(FD); in AnnotateFunction() 608 mRefCount.HandleParamsAndLocals(FD); in AnnotateFunction() 731 clang::FunctionDecl *FD = mRefCount.CreateStaticGlobalDtor(); in HandleTranslationUnitPre()
|
D | slang_backend.h | 105 RSObjectRefCount mRefCount; variable
|
/frameworks/av/services/audioflinger/ |
D | Effects.cpp | 2443 if (desc->mRefCount++ == 0) { in setEffectSuspended_l() 2456 if (desc->mRefCount <= 0) { in setEffectSuspended_l() 2457 ALOGW("setEffectSuspended_l() restore refcount should not be 0 %d", desc->mRefCount); in setEffectSuspended_l() 2458 desc->mRefCount = 0; in setEffectSuspended_l() 2461 if (--desc->mRefCount == 0) { in setEffectSuspended_l() 2495 if (desc->mRefCount++ == 0) { in setEffectSuspendedAll_l() 2507 if (desc->mRefCount <= 0) { in setEffectSuspendedAll_l() 2508 ALOGW("setEffectSuspendedAll_l() restore refcount should not be 0 %d", desc->mRefCount); in setEffectSuspendedAll_l() 2509 desc->mRefCount = 1; in setEffectSuspendedAll_l() 2511 if (--desc->mRefCount == 0) { in setEffectSuspendedAll_l()
|
D | Effects.h | 566 SuspendedEffectDesc() : mRefCount(0) {} in SuspendedEffectDesc() 568 int mRefCount; // > 0 when suspended variable
|
D | Threads.h | 473 SuspendedSessionDesc() : mRefCount(0) {} in SuspendedSessionDesc() 475 int mRefCount; // number of active suspend requests variable
|
D | Threads.cpp | 1077 for (int j = 0; j < desc->mRefCount; j++) { in checkSuspendOnAddEffectChain_l() 1129 desc->mRefCount++; in updateSuspendedSessions_l() 1135 if (--desc->mRefCount == 0) { in updateSuspendedSessions_l()
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaSessionService.java | 2324 private int mRefCount = 0; field in MediaSessionService.SessionManagerImpl.KeyEventWakeLockReceiver 2334 if (mRefCount == 0) { in onTimeout() 2339 mRefCount = 0; in onTimeout() 2345 if (mRefCount == 0) { in aquireWakeLockLocked() 2348 mRefCount++; in aquireWakeLockLocked() 2367 if (mRefCount > 0) { in onReceiveResult() 2368 mRefCount--; in onReceiveResult() 2369 if (mRefCount == 0) { in onReceiveResult()
|
/frameworks/base/media/jni/soundpool/ |
D | SoundPool.h | 73 volatile int32_t mRefCount; variable
|
D | SoundPool.cpp | 497 mRefCount = 0; in init()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 18229 Landroid/filterfw/core/Frame;->mRefCount:I 18457 Landroid/filterfw/core/NativeBuffer;->mRefCount:I 44429 Landroid/net/NetworkFactory;->mRefCount:I 47308 Landroid/net/wifi/WifiManager$MulticastLock;->mRefCount:I 47329 Landroid/net/wifi/WifiManager$WifiLock;->mRefCount:I
|