Searched refs:refCount (Results 1 - 10 of 10) sorted by relevance
/frameworks/base/libs/hwui/ |
H A D | ResourceCache.h | 45 ResourceReference() { refCount = 0; recycled = false; destroyed = false;} 47 refCount = 0; recycled = false; destroyed = false; resourceType = type; 50 int refCount; member in class:android::uirenderer::ResourceReference
|
H A D | ResourceCache.cpp | 34 ALOGD(" ResourceCache: mCache(%d): refCount, recycled, destroyed, type = %d, %d, %d, %d", 35 i, ref->refCount, ref->recycled, ref->destroyed, ref->resourceType); 93 ref->refCount++; 156 ref->refCount--; 157 if (ref->refCount == 0) { 203 if (ref->refCount == 0) { 225 if (ref->refCount == 0) { 244 if (ref->refCount == 0) { 263 if (ref->refCount == 0) { 294 if (ref->refCount [all...] |
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | SimpleFrameManager.java | 97 int refCount = frame.decRefCount(); 98 if (refCount == 0 && frame.hasNativeAllocation()) { 101 } else if (refCount < 0) {
|
H A D | CachedFrameManager.java | 71 int refCount = frame.decRefCount(); 72 if (refCount == 0 && frame.hasNativeAllocation()) { 77 } else if (refCount < 0) {
|
/frameworks/base/core/java/android/nfc/ |
H A D | NfcActivityManager.java | 54 int refCount = 0; field in class:NfcActivityManager.NfcApplicationState 60 refCount++; 61 if (refCount == 1) { 66 refCount--; 67 if (refCount == 0) { 69 } else if (refCount < 0) {
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaPlayerService.cpp | 210 mBatteryAudio.refCount = 0; 1904 if (mBatteryAudio.refCount > 0) { // if playing audio 1924 if (mBatteryAudio.refCount == 0) { 1932 mBatteryAudio.refCount ++; 1936 if (mBatteryAudio.refCount <= 0) { 1937 ALOGW("Battery track warning: refCount is <= 0"); 1943 if (mBatteryAudio.refCount == 1) { 1953 mBatteryAudio.refCount --; 1969 info.refCount = 0; 1982 info.refCount [all...] |
H A D | MediaPlayerService.h | 263 int refCount; member in struct:android::MediaPlayerService::BatteryUsageInfo 289 int refCount; // how many audio streams are being played member in struct:android::MediaPlayerService::BatteryAudioFlingerUsageInfo
|
/frameworks/base/services/input/ |
H A D | InputDispatcher.cpp | 641 if (entry->refCount == 1) { 661 entry->refCount += 1; 719 entry->refCount += 1; 756 entry->refCount += 1; 2322 splitMotionEntry->injectionState->refCount += 1; 2641 injectionState->refCount += 1; 3753 refCount(1), 3763 refCount -= 1; 3764 if (refCount == 0) { 3767 ALOG_ASSERT(refCount > [all...] |
H A D | InputDispatcher.h | 408 mutable int32_t refCount; member in struct:android::InputDispatcher::InjectionState 431 mutable int32_t refCount; member in struct:android::InputDispatcher::EventEntry
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
H A D | GsmDataConnectionTracker.java | 1096 int refCount = dcac.getRefCountSync(); 1097 if (DBG) log("setupData: init dc and apnContext refCount=" + refCount); 1100 if (refCount == 0) {
|
Completed in 66 milliseconds