/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | KeySetHandle.java | 23 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 D | KeySetManagerService.java | 71 private int mRefCount; field in class:KeySetManagerService.PublicKeyHandle 75 mRefCount = 1; 84 mRefCount = refCount; 97 return mRefCount; 101 mRefCount++; 106 mRefCount--; 107 return mRefCount;
|
/frameworks/opt/bitmap/src/com/android/bitmap/ |
H A D | ReusableBitmap.java | 32 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/media/mca/filterfw/java/android/filterfw/core/ |
H A D | NativeBuffer.java | 34 private int mRefCount = 1; field in class:NativeBuffer 75 ++mRefCount; 86 --mRefCount; 87 doDealloc = (mRefCount == 0);
|
H A D | Frame.java | 40 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/media/libstagefright/foundation/ |
H A D | MediaBuffer.cpp | 38 mRefCount(0), 50 mRefCount(0), 82 mRefCount(0), 95 mRefCount(0), 109 CHECK_EQ(mRefCount, 0); 114 int prevCount = __sync_fetch_and_sub(&mRefCount, 1); 128 CHECK_EQ(mRefCount, 1); 130 mRefCount = 0; 134 (void) __sync_fetch_and_add(&mRefCount, 1);
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
H A D | SessionRoute.cpp | 34 mRefCount, mActivityCount); 58 ALOG_ASSERT(route->mRefCount > 0); 59 --route->mRefCount; 60 if (route->mRefCount <= 0) { 112 route->mRefCount++; 116 route->mRefCount++;
|
H A D | AudioOutputDescriptor.cpp | 41 mRefCount[i] = 0; 91 if ((delta + (int)mRefCount[stream]) < 0) { 93 delta, stream, mRefCount[stream]); 94 mRefCount[stream] = 0; 97 mRefCount[stream] += delta; 98 ALOGV("changeRefCount() stream %d, count %d", stream, mRefCount[stream]); 122 if (mRefCount[stream] != 0) { 206 i, mCurVolume[i], mRefCount[i], mMuteCount[i]); 520 if (outputDesc->mRefCount[s] != 0) { 573 if (outputDesc->mRefCount[ [all...] |
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
H A D | SessionRoute.h | 48 mRefCount(0), 66 int mRefCount; // +/- on references member in class:android::SessionRoute
|
H A D | AudioOutputDescriptor.h | 81 uint32_t mRefCount[AUDIO_STREAM_CNT]; // number of streams of each type using this output member in class:android::AudioOutputDescriptor
|
/frameworks/base/core/java/android/net/ |
H A D | NetworkFactory.java | 106 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/include/media/stagefright/ |
H A D | MediaBuffer.h | 111 return mRefCount; 166 int mRefCount; member in class:android::MediaBuffer
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
H A D | MediaBuffer.h | 111 return mRefCount; 166 int mRefCount; member in class:android::MediaBuffer
|
/frameworks/av/services/audiopolicy/service/ |
H A D | AudioPolicyEffects.h | 138 explicit EffectVector(audio_session_t session) : mSessionId(session), mRefCount(0) {} 146 int mRefCount; member in class:android::AudioPolicyEffects::EffectVector
|
H A D | AudioPolicyEffects.cpp | 113 sessionDesc->mRefCount++; 115 ALOGV("addInputEffects(): input: %d, refCount: %d", input, sessionDesc->mRefCount); 116 if (sessionDesc->mRefCount == 1) { 155 sessionDesc->mRefCount--; 156 ALOGV("releaseInputEffects(): input: %d, refCount: %d", input, sessionDesc->mRefCount); 157 if (sessionDesc->mRefCount == 0) { 260 procDesc->mRefCount++; 263 audioSession, procDesc->mRefCount); 264 if (procDesc->mRefCount == 1) { 306 procDesc->mRefCount [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | BackingStore.java | 65 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/base/wifi/java/android/net/wifi/ |
H A D | WifiManager.java | 3013 private int mRefCount; field in class:WifiManager.WifiLock 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; field in class:WifiManager.MulticastLock 3250 mRefCount = 0; 3277 if (mRefCounted ? (++mRefCount == 1) : (!mHeld)) { 3322 if (mRefCounted ? (--mRefCount [all...] |
/frameworks/base/core/java/com/android/internal/content/ |
H A D | FileSystemProvider.java | 514 observer.mRefCount++; 525 observer.mRefCount--; 526 if (observer.mRefCount == 0) { 543 private int mRefCount = 0; field in class:FileSystemProvider.DirectoryObserver 562 return "DirectoryObserver{file=" + mFile.getAbsolutePath() + ", ref=" + mRefCount + "}";
|
/frameworks/compile/slang/ |
H A D | slang_backend.h | 105 RSObjectRefCount mRefCount; member in class:slang::Backend
|
H A D | slang_backend.cpp | 263 mRefCount(mContext->getASTContext()), 606 mRefCount.Init(); 607 mRefCount.SetDeclContext(FD); 608 mRefCount.HandleParamsAndLocals(FD); 731 clang::FunctionDecl *FD = mRefCount.CreateStaticGlobalDtor();
|
/frameworks/av/services/audioflinger/ |
H A D | Effects.h | 374 SuspendedEffectDesc() : mRefCount(0) {} 376 int mRefCount; // > 0 when suspended member in class:EffectChain::SuspendedEffectDesc
|
H A D | Effects.cpp | 2034 if (desc->mRefCount++ == 0) { 2047 if (desc->mRefCount <= 0) { 2048 ALOGW("setEffectSuspended_l() restore refcount should not be 0 %d", desc->mRefCount); 2049 desc->mRefCount = 0; 2052 if (--desc->mRefCount == 0) { 2086 if (desc->mRefCount++ == 0) { 2098 if (desc->mRefCount <= 0) { 2099 ALOGW("setEffectSuspendedAll_l() restore refcount should not be 0 %d", desc->mRefCount); 2100 desc->mRefCount = 1; 2102 if (--desc->mRefCount [all...] |
/frameworks/base/services/core/java/com/android/server/media/ |
H A D | MediaSessionService.java | 1589 private int mRefCount = 0; field in class:MediaSessionService.SessionManagerImpl.KeyEventWakeLockReceiver 1599 if (mRefCount == 0) { 1604 mRefCount = 0; 1610 if (mRefCount == 0) { 1613 mRefCount++; 1632 if (mRefCount > 0) { 1633 mRefCount--; 1634 if (mRefCount == 0) {
|
/frameworks/base/media/jni/soundpool/ |
H A D | SoundPool.h | 72 volatile int32_t mRefCount; member in class:android::Sample
|
/frameworks/av/services/audiopolicy/managerdefault/ |
H A D | AudioPolicyManager.cpp | 890 outputDesc->mRefCount[stream] = 0; 1063 outputDesc->mRefCount[stream] = 0; 1278 if (outputDesc->mRefCount[stream] == 1 || device != AUDIO_DEVICE_NONE) { 1358 if (outputDesc->mRefCount[stream] == 1) { 1373 if (outputDesc->mRefCount[stream] > 0) { 1397 if (outputDesc->mRefCount[stream] > 0) { 1402 if (outputDesc->mRefCount[stream] == 0 || forceDeviceUpdate) { 4509 int refCount = dupOutputDesc->mRefCount[j]; 5598 if (outputDesc->mRefCount[stream]) { 5601 muteCount = outputDesc->mRefCount[strea [all...] |