/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 | 81 private int mRefCount; field in KeySetManagerService.PublicKeyHandle 85 mRefCount = 1; in PublicKeyHandle() 94 mRefCount = refCount; in PublicKeyHandle() 107 return mRefCount; in getRefCountLPr() 111 mRefCount++; in incrRefCountLPw() 116 mRefCount--; in decrRefCountLPw() 117 return mRefCount; in decrRefCountLPw()
|
/frameworks/av/media/module/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/ex/camera2/extensions/service_based_sample/oem_library/src/java/androidx/camera/extensions/impl/service/ |
D | ImageWrapper.java | 127 private int mRefCount = 1; field in ImageWrapper 141 if (mRefCount <= 0) { in increment() 144 mRefCount++; in increment() 152 if (mRefCount <= 0) { in decrement() 155 mRefCount--; in decrement() 156 if (mRefCount <= 0) { in decrement()
|
/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 | 55 private int mRefCount = 1; field in BackingStore 101 if (mRefCount >= 10) { in retain() 102 Log.w("BackingStore", "High ref-count of " + mRefCount + " on " + this + "!"); in retain() 104 if (mRefCount <= 0) { in retain() 107 ++mRefCount; in retain() 112 if (mRefCount <= 0) { in release() 115 --mRefCount; in release() 116 if (mRefCount == 0) { in release()
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyEffects.cpp | 84 sessionDesc->mRefCount++; in addInputEffects() 86 ALOGV("addInputEffects(): input: %d, refCount: %d", input, sessionDesc->mRefCount); in addInputEffects() 87 if (sessionDesc->mRefCount == 1) { in addInputEffects() 130 sessionDesc->mRefCount--; in releaseInputEffects() 131 ALOGV("releaseInputEffects(): input: %d, refCount: %d", input, sessionDesc->mRefCount); in releaseInputEffects() 132 if (sessionDesc->mRefCount == 0) { in releaseInputEffects() 213 procDesc->mRefCount++; in addOutputSessionEffects() 216 audioSession, procDesc->mRefCount); in addOutputSessionEffects() 217 if (procDesc->mRefCount == 1) { in addOutputSessionEffects() 261 procDesc->mRefCount--; in releaseOutputSessionEffects() [all …]
|
D | AudioPolicyEffects.h | 177 int mRefCount = 0; variable
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | MediaBuffer.h | 96 return mRefCount.load(std::memory_order_relaxed); in localRefcount() 176 std::atomic<int> mRefCount; variable
|
/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/base/media/jni/ |
D | android_media_ImageWriter.cpp | 148 int mRefCount = 0; member in JNIImageWriterContext::BufferDetacher 163 mRefCount++; in addRef() 164 if (mRefCount == 1) { in addRef() 172 mRefCount--; in removeRef() 173 if (mRefCount == 0) { in removeRef()
|
/frameworks/av/services/audioflinger/ |
D | Effects.cpp | 2809 if (desc->mRefCount++ == 0) { in setEffectSuspended_l() 2822 if (desc->mRefCount <= 0) { in setEffectSuspended_l() 2823 ALOGW("setEffectSuspended_l() restore refcount should not be 0 %d", desc->mRefCount); in setEffectSuspended_l() 2824 desc->mRefCount = 0; in setEffectSuspended_l() 2827 if (--desc->mRefCount == 0) { in setEffectSuspended_l() 2861 if (desc->mRefCount++ == 0) { in setEffectSuspendedAll_l() 2873 if (desc->mRefCount <= 0) { in setEffectSuspendedAll_l() 2874 ALOGW("setEffectSuspendedAll_l() restore refcount should not be 0 %d", desc->mRefCount); in setEffectSuspendedAll_l() 2875 desc->mRefCount = 1; in setEffectSuspendedAll_l() 2877 if (--desc->mRefCount == 0) { in setEffectSuspendedAll_l()
|
D | Effects.h | 662 SuspendedEffectDesc() : mRefCount(0) {} in SuspendedEffectDesc() 664 int mRefCount; // > 0 when suspended variable
|
D | Threads.h | 579 SuspendedSessionDesc() : mRefCount(0) {} in SuspendedSessionDesc() 581 int mRefCount; // number of active suspend requests variable
|
D | Threads.cpp | 1331 for (int j = 0; j < desc->mRefCount; j++) { in checkSuspendOnAddEffectChain_l() 1383 desc->mRefCount++; in updateSuspendedSessions_l() 1389 if (--desc->mRefCount == 0) { in updateSuspendedSessions_l()
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaSessionService.java | 2794 private int mRefCount = 0; field in MediaSessionService.SessionManagerImpl.KeyEventWakeLockReceiver 2804 if (mRefCount == 0) { in onTimeout() 2809 mRefCount = 0; in onTimeout() 2815 if (mRefCount == 0) { in acquireWakeLockLocked() 2818 mRefCount++; in acquireWakeLockLocked() 2837 if (mRefCount > 0) { in onReceiveResult() 2838 mRefCount--; in onReceiveResult() 2839 if (mRefCount == 0) { in onReceiveResult()
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 15342 Landroid/filterfw/core/Frame;->mRefCount:I 15570 Landroid/filterfw/core/NativeBuffer;->mRefCount:I
|