Searched defs:mRefCount (Results 1 - 17 of 17) sorted by relevance

/frameworks/av/include/media/stagefright/
H A DMediaBuffer.h103 int mRefCount; member in class:android::MediaBuffer
/frameworks/compile/slang/
H A Dslang_rs_backend.h60 RSObjectRefCount mRefCount; member in class:slang::RSBackend
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DNativeBuffer.java34 private int mRefCount = 1; field in class:NativeBuffer
75 ++mRefCount;
86 --mRefCount;
87 doDealloc = (mRefCount == 0);
H A DFrame.java40 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/services/audiopolicy/
H A DAudioPolicyEffects.h138 EffectVector(int session) : mSessionId(session), mRefCount(0) {}
146 int mRefCount; member in class:android::AudioPolicyEffects::EffectVector
H A DAudioPolicyManager.h507 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/opt/bitmap/src/com/android/bitmap/
H A DReusableBitmap.java32 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/core/java/android/net/
H A DNetworkFactory.java104 private int mRefCount = 0; field in class:NetworkFactory
254 if (++mRefCount == 1) startNetwork();
258 if (--mRefCount == 0) stopNetwork();
H A DConnectivityManager.java2120 private final AtomicInteger mRefCount; field in class:ConnectivityManager.CallbackHandler
2128 mRefCount = refCount;
2233 synchronized(mRefCount) {
2234 if (mRefCount.decrementAndGet() == 0) {
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
H A DExternalStorageProvider.java555 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/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DApnContext.java76 private int mRefCount = 0; field in class:ApnContext
274 if (mRefCount++ == 0) {
282 if (mRefCount-- == 1) {
/frameworks/av/include/media/
H A DSoundPool.h79 volatile int32_t mRefCount; member in class:android::Sample
/frameworks/av/services/audioflinger/
H A DEffects.h340 SuspendedEffectDesc() : mRefCount(0) {}
342 int mRefCount; member in class:EffectChain::SuspendedEffectDesc
H A DThreads.h366 SuspendedSessionDesc() : mRefCount(0) {}
368 int mRefCount; // number of active suspend requests member in class:ThreadBase::SuspendedSessionDesc
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DBackingStore.java65 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/services/core/java/com/android/server/media/
H A DMediaSessionService.java1035 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/wifi/java/android/net/wifi/
H A DWifiManager.java2076 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...]

Completed in 384 milliseconds