Home
last modified time | relevance | path

Searched refs:refCount (Results 1 – 7 of 7) 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.h41 ResourceReference() { refCount = 0; recycled = false; destroyed = false;} in ResourceReference()
43 refCount = 0; recycled = false; destroyed = false; resourceType = type; in ResourceReference()
46 int refCount; variable
/frameworks/base/media/libmediaplayerservice/
DMediaPlayerService.cpp221 mBatteryAudio.refCount = 0; in MediaPlayerService()
1746 if (mBatteryAudio.refCount > 0) { // if playing audio in addBatteryData()
1766 if (mBatteryAudio.refCount == 0) { in addBatteryData()
1774 mBatteryAudio.refCount ++; in addBatteryData()
1778 if (mBatteryAudio.refCount <= 0) { in addBatteryData()
1785 if (mBatteryAudio.refCount == 1) { in addBatteryData()
1795 mBatteryAudio.refCount --; in addBatteryData()
1811 info.refCount = 0; in addBatteryData()
1824 info.refCount ++; in addBatteryData()
1828 info.refCount ++; in addBatteryData()
[all …]
DMediaPlayerService.h204 int refCount; member
230 int refCount; // how many audio streams are being played member
/frameworks/base/services/input/
DInputDispatcher.cpp712 if (entry->refCount == 1) { in synthesizeKeyRepeatLocked()
732 entry->refCount += 1; in synthesizeKeyRepeatLocked()
790 entry->refCount += 1; in dispatchKeyLocked()
828 entry->refCount += 1; in dispatchKeyLocked()
951 entry->injectionState->refCount += 1; in dispatchMotionLocked()
2622 splitMotionEntry->injectionState->refCount += 1; in splitMotionEvent()
3106 injectionState->refCount += 1; in injectInputEvent()
4098 refCount(1), in InjectionState()
4108 refCount -= 1; in release()
4109 if (refCount == 0) { in release()
[all …]
DInputDispatcher.h410 mutable int32_t refCount; member
433 mutable int32_t refCount; member
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DGsmDataConnectionTracker.java992 int refCount = dcac.getRefCountSync(); in setupData() local
993 if (DBG) log("setupData: init dc and apnContext refCount=" + refCount); in setupData()
996 if (refCount == 0) { in setupData()