/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 | 78 private int mRefCount; field in KeySetManagerService.PublicKeyHandle 82 mRefCount = 1; in PublicKeyHandle() 91 mRefCount = refCount; in PublicKeyHandle() 104 return mRefCount; in getRefCountLPr() 108 mRefCount++; in incrRefCountLPw() 113 mRefCount--; in decrRefCountLPw() 114 return mRefCount; in decrRefCountLPw()
|
D | PackageManagerService.java | 5030 if (current.mRefCount > 0) { in live() 5041 if (current.mRefCount > 0) { in snapshot() 5606 int mRefCount = 0; field in PackageManagerService.ThreadComputer 5608 if (mRefCount != 0 && mComputer != c) { in acquire() 5609 throw new RuntimeException("computer mismatch, count = " + mRefCount); in acquire() 5612 mRefCount++; in acquire() 5615 if (mRefCount == 0 || mComputer == null) { in acquire() 5618 mRefCount++; in acquire() 5621 if (--mRefCount == 0) { in release()
|
/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/packages/SystemUI/src/com/android/systemui/glwallpaper/ |
D | ImageWallpaperRenderer.java | 122 private final AtomicInteger mRefCount; field in ImageWallpaperRenderer.WallpaperTexture 130 mRefCount = new AtomicInteger(); in WallpaperTexture() 135 mRefCount.incrementAndGet(); in use() 136 synchronized (mRefCount) { in use() 152 synchronized (mRefCount) { in use() 153 final int count = mRefCount.decrementAndGet(); in use() 179 return "{" + getHash() + ", " + mRefCount.get() + "}"; in toString()
|
/frameworks/libs/net/common/device/android/net/ |
D | NetworkFactory.java | 89 private int mRefCount = 0; field in NetworkFactory 156 if (++mRefCount == 1) startNetwork(); in needNetworkFor() 160 if (--mRefCount == 0) stopNetwork(); in releaseNetworkFor()
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/ |
D | RemoteInlineSuggestionUi.java | 82 private int mRefCount = 0; field in RemoteInlineSuggestionUi 177 mRefCount += delta; in handleUpdateRefCount() 178 if (mRefCount <= 0) { in handleUpdateRefCount() 208 mRefCount = 0; in handleInlineSuggestionUiReady()
|
/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 | 118 sessionDesc->mRefCount++; in addInputEffects() 120 ALOGV("addInputEffects(): input: %d, refCount: %d", input, sessionDesc->mRefCount); in addInputEffects() 121 if (sessionDesc->mRefCount == 1) { in addInputEffects() 163 sessionDesc->mRefCount--; in releaseInputEffects() 164 ALOGV("releaseInputEffects(): input: %d, refCount: %d", input, sessionDesc->mRefCount); in releaseInputEffects() 165 if (sessionDesc->mRefCount == 0) { in releaseInputEffects() 268 procDesc->mRefCount++; in addOutputSessionEffects() 271 audioSession, procDesc->mRefCount); in addOutputSessionEffects() 272 if (procDesc->mRefCount == 1) { in addOutputSessionEffects() 317 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/av/media/libstagefright/include/media/stagefright/ |
D | MediaBuffer.h | 96 return mRefCount.load(std::memory_order_relaxed); in localRefcount() 177 std::atomic<int> mRefCount; variable
|
/frameworks/base/services/core/java/com/android/server/ |
D | IpSecService.java | 199 int mRefCount = 1; // starts at 1 for user's reference. field in IpSecService.RefcountedResource 210 child.mRefCount++; in RefcountedResource() 282 mRefCount--; in releaseReference() 284 if (mRefCount > 0) { in releaseReference() 286 } else if (mRefCount < 0) { in releaseReference() 302 mRefCount--; in releaseReference() 311 .append(mRefCount) in toString()
|
/frameworks/base/media/jni/ |
D | android_media_ImageWriter.cpp | 144 int mRefCount = 0; member in JNIImageWriterContext::BufferDetacher 159 mRefCount++; in addRef() 160 if (mRefCount == 1) { in addRef() 168 mRefCount--; in removeRef() 169 if (mRefCount == 0) { in removeRef()
|
/frameworks/compile/slang/ |
D | slang_backend.h | 105 RSObjectRefCount mRefCount; variable
|
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()
|
/frameworks/av/services/audioflinger/ |
D | Effects.cpp | 2574 if (desc->mRefCount++ == 0) { in setEffectSuspended_l() 2587 if (desc->mRefCount <= 0) { in setEffectSuspended_l() 2588 ALOGW("setEffectSuspended_l() restore refcount should not be 0 %d", desc->mRefCount); in setEffectSuspended_l() 2589 desc->mRefCount = 0; in setEffectSuspended_l() 2592 if (--desc->mRefCount == 0) { in setEffectSuspended_l() 2626 if (desc->mRefCount++ == 0) { in setEffectSuspendedAll_l() 2638 if (desc->mRefCount <= 0) { in setEffectSuspendedAll_l() 2639 ALOGW("setEffectSuspendedAll_l() restore refcount should not be 0 %d", desc->mRefCount); in setEffectSuspendedAll_l() 2640 desc->mRefCount = 1; in setEffectSuspendedAll_l() 2642 if (--desc->mRefCount == 0) { in setEffectSuspendedAll_l()
|
D | Effects.h | 586 SuspendedEffectDesc() : mRefCount(0) {} in SuspendedEffectDesc() 588 int mRefCount; // > 0 when suspended variable
|
D | Threads.h | 537 SuspendedSessionDesc() : mRefCount(0) {} in SuspendedSessionDesc() 539 int mRefCount; // number of active suspend requests variable
|
D | Threads.cpp | 1153 for (int j = 0; j < desc->mRefCount; j++) { in checkSuspendOnAddEffectChain_l() 1205 desc->mRefCount++; in updateSuspendedSessions_l() 1211 if (--desc->mRefCount == 0) { in updateSuspendedSessions_l()
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaSessionService.java | 2408 private int mRefCount = 0; field in MediaSessionService.SessionManagerImpl.KeyEventWakeLockReceiver 2418 if (mRefCount == 0) { in onTimeout() 2423 mRefCount = 0; in onTimeout() 2429 if (mRefCount == 0) { in acquireWakeLockLocked() 2432 mRefCount++; in acquireWakeLockLocked() 2451 if (mRefCount > 0) { in onReceiveResult() 2452 mRefCount--; in onReceiveResult() 2453 if (mRefCount == 0) { in onReceiveResult()
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 18220 Landroid/filterfw/core/Frame;->mRefCount:I 18448 Landroid/filterfw/core/NativeBuffer;->mRefCount:I
|