/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 | 71 private int mRefCount; field in KeySetManagerService.PublicKeyHandle 75 mRefCount = 1; in PublicKeyHandle() 84 mRefCount = refCount; in PublicKeyHandle() 97 return mRefCount; in getRefCountLPr() 101 mRefCount++; in incrRefCountLPw() 106 mRefCount--; in decrRefCountLPw() 107 return mRefCount; in decrRefCountLPw()
|
/frameworks/av/media/libstagefright/foundation/ |
D | MediaBuffer.cpp | 38 mRefCount(0), in MediaBuffer() 50 mRefCount(0), in MediaBuffer() 82 mRefCount(0), in MediaBuffer() 95 mRefCount(0), in MediaBuffer() 109 CHECK_EQ(mRefCount, 0); in release() 114 int prevCount = __sync_fetch_and_sub(&mRefCount, 1); in release() 128 CHECK_EQ(mRefCount, 1); in claim() 130 mRefCount = 0; in claim() 134 (void) __sync_fetch_and_add(&mRefCount, 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/av/services/audiopolicy/common/managerdefinitions/src/ |
D | SessionRoute.cpp | 34 mRefCount, mActivityCount); in log() 58 ALOG_ASSERT(route->mRefCount > 0); in removeRoute() 59 --route->mRefCount; in removeRoute() 60 if (route->mRefCount <= 0) { in removeRoute() 112 route->mRefCount++; in addRoute() 116 route->mRefCount++; in addRoute()
|
D | AudioOutputDescriptor.cpp | 42 mRefCount[i] = 0; in AudioOutputDescriptor() 92 if ((delta + (int)mRefCount[stream]) < 0) { in changeRefCount() 94 delta, stream, mRefCount[stream]); in changeRefCount() 95 mRefCount[stream] = 0; in changeRefCount() 98 mRefCount[stream] += delta; in changeRefCount() 99 ALOGV("changeRefCount() stream %d, count %d", stream, mRefCount[stream]); in changeRefCount() 123 if (mRefCount[stream] != 0) { in isStreamActive() 207 i, mCurVolume[i], mRefCount[i], mMuteCount[i]); in dump() 522 if (outputDesc->mRefCount[s] != 0) { in isAnyOutputActive() 575 if (outputDesc->mRefCount[s] != 0) { in isAnyOutputActive()
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
D | Frame.java | 40 private int mRefCount = 1; field in Frame 138 return mRefCount; in getRefCount() 197 mRefCount = 1; in reset() 218 ++mRefCount; in incRefCount() 219 return mRefCount; in incRefCount() 223 --mRefCount; in decRefCount() 224 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/av/services/audiopolicy/service/ |
D | AudioPolicyEffects.cpp | 113 sessionDesc->mRefCount++; in addInputEffects() 115 ALOGV("addInputEffects(): input: %d, refCount: %d", input, sessionDesc->mRefCount); in addInputEffects() 116 if (sessionDesc->mRefCount == 1) { in addInputEffects() 155 sessionDesc->mRefCount--; in releaseInputEffects() 156 ALOGV("releaseInputEffects(): input: %d, refCount: %d", input, sessionDesc->mRefCount); in releaseInputEffects() 157 if (sessionDesc->mRefCount == 0) { in releaseInputEffects() 260 procDesc->mRefCount++; in addOutputSessionEffects() 263 audioSession, procDesc->mRefCount); in addOutputSessionEffects() 264 if (procDesc->mRefCount == 1) { in addOutputSessionEffects() 306 procDesc->mRefCount--; in releaseOutputSessionEffects() [all …]
|
D | AudioPolicyEffects.h | 138 explicit EffectVector(audio_session_t session) : mSessionId(session), mRefCount(0) {} in EffectVector() 146 int mRefCount; variable
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | SessionRoute.h | 48 mRefCount(0), in SessionRoute() 66 int mRefCount; // +/- on references variable
|
D | AudioOutputDescriptor.h | 81 uint32_t mRefCount[AUDIO_STREAM_CNT]; // number of streams of each type using this output variable
|
/frameworks/base/core/java/android/net/ |
D | NetworkFactory.java | 106 private int mRefCount = 0; field in NetworkFactory 273 if (++mRefCount == 1) startNetwork(); in needNetworkFor() 277 if (--mRefCount == 0) stopNetwork(); in releaseNetworkFor() 321 append(mNetworkRequests.size()).append(", refCount=").append(mRefCount). in toString()
|
/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/base/wifi/java/android/net/wifi/ |
D | WifiManager.java | 3013 private int mRefCount; 3023 mRefCount = 0; 3041 if (mRefCounted ? (++mRefCount == 1) : (!mHeld)) { 3074 if (mRefCounted ? (--mRefCount == 0) : (mHeld)) { 3085 if (mRefCount < 0) { 3153 s3 = "refcounted: refcount = " + mRefCount; 3243 private int mRefCount; 3250 mRefCount = 0; 3277 if (mRefCounted ? (++mRefCount == 1) : (!mHeld)) { 3322 if (mRefCounted ? (--mRefCount == 0) : (mHeld)) { [all …]
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | MediaBuffer.h | 111 return mRefCount; in localRefcount() 166 int mRefCount; variable
|
/frameworks/base/core/java/com/android/internal/content/ |
D | FileSystemProvider.java | 514 observer.mRefCount++; in startObserving() 525 observer.mRefCount--; in stopObserving() 526 if (observer.mRefCount == 0) { in stopObserving() 543 private int mRefCount = 0; field in FileSystemProvider.DirectoryObserver 562 return "DirectoryObserver{file=" + mFile.getAbsolutePath() + ", ref=" + mRefCount + "}"; in toString()
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaSessionService.java | 1589 private int mRefCount = 0; field in MediaSessionService.SessionManagerImpl.KeyEventWakeLockReceiver 1599 if (mRefCount == 0) { in onTimeout() 1604 mRefCount = 0; in onTimeout() 1610 if (mRefCount == 0) { in aquireWakeLockLocked() 1613 mRefCount++; in aquireWakeLockLocked() 1632 if (mRefCount > 0) { in onReceiveResult() 1633 mRefCount--; in onReceiveResult() 1634 if (mRefCount == 0) { in onReceiveResult()
|
/frameworks/av/services/audioflinger/ |
D | Effects.cpp | 2034 if (desc->mRefCount++ == 0) { in setEffectSuspended_l() 2047 if (desc->mRefCount <= 0) { in setEffectSuspended_l() 2048 ALOGW("setEffectSuspended_l() restore refcount should not be 0 %d", desc->mRefCount); in setEffectSuspended_l() 2049 desc->mRefCount = 0; in setEffectSuspended_l() 2052 if (--desc->mRefCount == 0) { in setEffectSuspended_l() 2086 if (desc->mRefCount++ == 0) { in setEffectSuspendedAll_l() 2098 if (desc->mRefCount <= 0) { in setEffectSuspendedAll_l() 2099 ALOGW("setEffectSuspendedAll_l() restore refcount should not be 0 %d", desc->mRefCount); in setEffectSuspendedAll_l() 2100 desc->mRefCount = 1; in setEffectSuspendedAll_l() 2102 if (--desc->mRefCount == 0) { in setEffectSuspendedAll_l()
|
D | Effects.h | 374 SuspendedEffectDesc() : mRefCount(0) {} in SuspendedEffectDesc() 376 int mRefCount; // > 0 when suspended 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/soundpool/ |
D | SoundPool.h | 72 volatile int32_t mRefCount; variable
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.cpp | 890 outputDesc->mRefCount[stream] = 0; in getOutputForDevice() 1063 outputDesc->mRefCount[stream] = 0; in getOutputForDevice() 1277 if (outputDesc->mRefCount[stream] == 1 || device != AUDIO_DEVICE_NONE) { in startSource() 1357 if (outputDesc->mRefCount[stream] == 1) { in stopOutput() 1373 if (outputDesc->mRefCount[stream] > 0) { in stopOutput() 1397 if (outputDesc->mRefCount[stream] > 0) { in stopSource() 1402 if (outputDesc->mRefCount[stream] == 0 || forceDeviceUpdate) { in stopSource() 4511 int refCount = dupOutputDesc->mRefCount[j]; in AudioPolicyManager() 5600 if (outputDesc->mRefCount[stream]) { in AudioPolicyManager() 5603 muteCount = outputDesc->mRefCount[stream]; in AudioPolicyManager()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | ApnContext.java | 76 private int mRefCount = 0; field in ApnContext
|