/frameworks/av/include/media/ |
H A D | SoundPool.h | 79 volatile int32_t mRefCount; member in class:android::Sample
|
/frameworks/av/include/media/stagefright/ |
H A D | MediaBuffer.h | 103 int mRefCount; member in class:android::MediaBuffer
|
/frameworks/av/media/libmedia/ |
H A D | SoundPool.cpp | 475 mRefCount = 0;
|
/frameworks/av/media/libstagefright/ |
H A D | MediaBuffer.cpp | 36 mRefCount(0), 49 mRefCount(0), 62 mRefCount(0), 76 mRefCount(0), 89 CHECK_EQ(mRefCount, 0); 94 int prevCount = __sync_fetch_and_sub(&mRefCount, 1); 108 CHECK_EQ(mRefCount, 1); 110 mRefCount = 0; 114 (void) __sync_fetch_and_add(&mRefCount, 1); 186 return mRefCount; [all...] |
/frameworks/av/services/audioflinger/ |
H A D | Effects.cpp | 1770 if (desc->mRefCount++ == 0) { 1783 if (desc->mRefCount <= 0) { 1784 ALOGW("setEffectSuspended_l() restore refcount should not be 0 %d", desc->mRefCount); 1785 desc->mRefCount = 1; 1787 if (--desc->mRefCount == 0) { 1821 if (desc->mRefCount++ == 0) { 1833 if (desc->mRefCount <= 0) { 1834 ALOGW("setEffectSuspendedAll_l() restore refcount should not be 0 %d", desc->mRefCount); 1835 desc->mRefCount = 1; 1837 if (--desc->mRefCount [all...] |
H A D | Effects.h | 340 SuspendedEffectDesc() : mRefCount(0) {} 342 int mRefCount; member in class:EffectChain::SuspendedEffectDesc
|
H A D | Threads.cpp | 785 for (int j = 0; j < desc->mRefCount; j++) { 837 desc->mRefCount++; 843 if (--desc->mRefCount == 0) {
|
H A D | Threads.h | 366 SuspendedSessionDesc() : mRefCount(0) {} 368 int mRefCount; // number of active suspend requests member in class:ThreadBase::SuspendedSessionDesc
|
/frameworks/av/services/audiopolicy/ |
H A D | AudioPolicyEffects.cpp | 105 inputDesc->mRefCount++; 107 ALOGV("addInputEffects(): input: %d, refCount: %d", input, inputDesc->mRefCount); 108 if (inputDesc->mRefCount == 1) { 144 inputDesc->mRefCount--; 145 ALOGV("releaseInputEffects(): input: %d, refCount: %d", input, inputDesc->mRefCount); 146 if (inputDesc->mRefCount == 0) { 249 procDesc->mRefCount++; 252 audioSession, procDesc->mRefCount); 253 if (procDesc->mRefCount == 1) { 292 procDesc->mRefCount [all...] |
H A D | AudioPolicyEffects.h | 138 EffectVector(int session) : mSessionId(session), mRefCount(0) {} 146 int mRefCount; member in class:android::AudioPolicyEffects::EffectVector
|
H A D | AudioPolicyManager.cpp | 1007 outputDesc->mRefCount[stream] = 0; 1138 outputDesc->mRefCount[stream] = 0; 1268 if (outputDesc->mRefCount[stream] == 1) { 1362 if (outputDesc->mRefCount[stream] > 0) { 1366 if (outputDesc->mRefCount[stream] == 0) { 1601 inputDesc->mRefCount = 0; 1656 if (inputDesc->mRefCount == 0) { 1682 inputDesc->mRefCount++; 1703 if (inputDesc->mRefCount == 0) { 1708 inputDesc->mRefCount [all...] |
H A D | AudioPolicyManager.h | 507 uint32_t mRefCount[AUDIO_STREAM_CNT]; // number of streams of each type using this output member in class:android::AudioPolicyManager::AudioOutputDescriptor 533 uint32_t mRefCount; // number of AudioRecord clients using member in class:android::AudioPolicyManager::AudioInputDescriptor
|
/frameworks/base/core/java/android/net/ |
H A D | ConnectivityManager.java | 2120 private final AtomicInteger mRefCount; field in class:ConnectivityManager.CallbackHandler 2128 mRefCount = refCount; 2233 synchronized(mRefCount) { 2234 if (mRefCount.decrementAndGet() == 0) {
|
H A D | NetworkFactory.java | 104 private int mRefCount = 0; field in class:NetworkFactory 254 if (++mRefCount == 1) startNetwork(); 258 if (--mRefCount == 0) stopNetwork();
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
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;
|
H A D | NativeBuffer.java | 34 private int mRefCount = 1; field in class:NativeBuffer 75 ++mRefCount; 86 --mRefCount; 87 doDealloc = (mRefCount == 0);
|
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/ |
H A D | ExternalStorageProvider.java | 555 observer.mRefCount++; 566 observer.mRefCount--; 567 if (observer.mRefCount == 0) { 584 private int mRefCount = 0; field in class:ExternalStorageProvider.DirectoryObserver 603 return "DirectoryObserver{file=" + mFile.getAbsolutePath() + ", ref=" + mRefCount + "}";
|
/frameworks/base/services/core/java/com/android/server/media/ |
H A D | MediaSessionService.java | 1035 private int mRefCount = 0; field in class:MediaSessionService.SessionManagerImpl.KeyEventWakeLockReceiver 1045 if (mRefCount == 0) { 1050 mRefCount = 0; 1056 if (mRefCount == 0) { 1059 mRefCount++; 1078 if (mRefCount > 0) { 1079 mRefCount--; 1080 if (mRefCount == 0) {
|
/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 | 2076 private int mRefCount; field in class:WifiManager.WifiLock 2086 mRefCount = 0; 2104 if (mRefCounted ? (++mRefCount == 1) : (!mHeld)) { 2136 if (mRefCounted ? (--mRefCount == 0) : (mHeld)) { 2146 if (mRefCount < 0) { 2213 s3 = "refcounted: refcount = " + mRefCount; 2302 private int mRefCount; field in class:WifiManager.MulticastLock 2309 mRefCount = 0; 2336 if (mRefCounted ? (++mRefCount == 1) : (!mHeld)) { 2380 if (mRefCounted ? (--mRefCount [all...] |
/frameworks/compile/slang/ |
H A D | slang_rs_backend.cpp | 70 mRefCount(mContext->getASTContext()), 79 mRefCount.Init(); 80 mRefCount.Visit(FD->getBody()); 164 clang::FunctionDecl *FD = mRefCount.CreateStaticGlobalDtor();
|
H A D | slang_rs_backend.h | 60 RSObjectRefCount mRefCount; member in class:slang::RSBackend
|
/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/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
H A D | ApnContext.java | 76 private int mRefCount = 0; field in class:ApnContext 274 if (mRefCount++ == 0) { 282 if (mRefCount-- == 1) {
|