Home
last modified time | relevance | path

Searched refs:refCount (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/libs/hwui/
DResourceCache.cpp35 i, ref->refCount, ref->recycled, ref->destroyed, ref->resourceType); in logCache()
56 ref->refCount++; in incrementRefcount()
86 ref->refCount--; in decrementRefcount()
87 if (ref->refCount == 0) { in decrementRefcount()
125 if (ref->refCount == 0) { in recycle()
142 if (ref->refCount == 0) { in destructor()
159 if (ref->refCount == 0) { in destructor()
173 if (ref->refCount == 0) { in destructor()
187 if (ref->refCount == 0) { in destructor()
DResourceCache.h43 ResourceReference() { refCount = 0; recycled = false; destroyed = false;} in ResourceReference()
45 refCount = 0; recycled = false; destroyed = false; resourceType = type; in ResourceReference()
48 int refCount; variable
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DSimpleFrameManager.java97 int refCount = frame.decRefCount(); in releaseFrame() local
98 if (refCount == 0 && frame.hasNativeAllocation()) { in releaseFrame()
101 } else if (refCount < 0) { in releaseFrame()
DCachedFrameManager.java71 int refCount = frame.decRefCount(); in releaseFrame() local
72 if (refCount == 0 && frame.hasNativeAllocation()) { in releaseFrame()
77 } else if (refCount < 0) { in releaseFrame()
/frameworks/base/core/java/android/nfc/
DNfcActivityManager.java54 int refCount = 0; field in NfcActivityManager.NfcApplicationState
60 refCount++; in register()
61 if (refCount == 1) { in register()
66 refCount--; in unregister()
67 if (refCount == 0) { in unregister()
69 } else if (refCount < 0) { in unregister()
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.cpp227 mBatteryAudio.refCount = 0; in MediaPlayerService()
2038 if (mBatteryAudio.refCount > 0) { // if playing audio in addBatteryData()
2058 if (mBatteryAudio.refCount == 0) { in addBatteryData()
2066 mBatteryAudio.refCount ++; in addBatteryData()
2070 if (mBatteryAudio.refCount <= 0) { in addBatteryData()
2077 if (mBatteryAudio.refCount == 1) { in addBatteryData()
2087 mBatteryAudio.refCount --; in addBatteryData()
2103 info.refCount = 0; in addBatteryData()
2116 info.refCount ++; in addBatteryData()
2120 info.refCount ++; in addBatteryData()
[all …]
DMediaPlayerService.h258 int refCount; member
284 int refCount; // how many audio streams are being played member
/frameworks/base/services/input/
DInputDispatcher.cpp623 if (entry->refCount == 1) { in synthesizeKeyRepeatLocked()
643 entry->refCount += 1; in synthesizeKeyRepeatLocked()
701 entry->refCount += 1; in dispatchKeyLocked()
738 entry->refCount += 1; in dispatchKeyLocked()
2278 splitMotionEntry->injectionState->refCount += 1; in splitMotionEvent()
2586 injectionState->refCount += 1; in injectInputEvent()
3691 refCount(1), in InjectionState()
3701 refCount -= 1; in release()
3702 if (refCount == 0) { in release()
3705 ALOG_ASSERT(refCount > 0); in release()
[all …]
DInputDispatcher.h408 mutable int32_t refCount; member
431 mutable int32_t refCount; member
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DGsmDataConnectionTracker.java1074 int refCount = dcac.getRefCountSync(); in setupData() local
1075 if (DBG) log("setupData: init dc and apnContext refCount=" + refCount); in setupData()
1078 if (refCount == 0) { in setupData()