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

/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DSimpleFrameManager.java97 int refCount = frame.decRefCount();
98 if (refCount == 0 && frame.hasNativeAllocation()) {
101 } else if (refCount < 0) {
H A DCachedFrameManager.java71 int refCount = frame.decRefCount();
72 if (refCount == 0 && frame.hasNativeAllocation()) {
77 } else if (refCount < 0) {
/frameworks/base/libs/hwui/
H A DResourceCache.cpp36 ALOGD(" ResourceCache: mCache(%d): refCount, recycled, destroyed, type = %d, %d, %d, %d",
37 i, ref->refCount, ref->recycled, ref->destroyed, ref->resourceType);
99 ref->refCount++;
170 ref->refCount--;
171 if (ref->refCount == 0) {
221 if (ref->refCount == 0) {
243 if (ref->refCount == 0) {
262 if (ref->refCount == 0) {
281 if (ref->refCount == 0) {
305 if (ref->refCount
[all...]
H A DResourceCache.h50 ResourceReference() { refCount = 0; recycled = false; destroyed = false;}
52 refCount = 0; recycled = false; destroyed = false; resourceType = type;
55 int refCount; member in class:android::uirenderer::ResourceReference
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DRenderTarget.java299 Integer refCount = mRefCounts.get(object);
300 if (refCount != null) {
301 mRefCounts.put(object, refCount + 1);
308 Integer refCount = mRefCounts.get(object);
309 if (refCount != null && refCount > 0) {
310 --refCount;
311 mRefCounts.put(object, refCount);
312 return refCount == 0;
/frameworks/base/core/java/android/nfc/
H A DNfcActivityManager.java56 int refCount = 0; field in class:NfcActivityManager.NfcApplicationState
62 refCount++;
63 if (refCount == 1) {
68 refCount--;
69 if (refCount == 0) {
71 } else if (refCount < 0) {
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp214 mBatteryAudio.refCount = 0;
2059 if (mBatteryAudio.refCount > 0) { // if playing audio
2079 if (mBatteryAudio.refCount == 0) {
2087 mBatteryAudio.refCount ++;
2091 if (mBatteryAudio.refCount <= 0) {
2092 ALOGW("Battery track warning: refCount is <= 0");
2098 if (mBatteryAudio.refCount == 1) {
2108 mBatteryAudio.refCount --;
2124 info.refCount = 0;
2137 info.refCount
[all...]
H A DMediaPlayerService.h283 int refCount; member in struct:android::MediaPlayerService::BatteryUsageInfo
309 int refCount; // how many audio streams are being played member in struct:android::MediaPlayerService::BatteryAudioFlingerUsageInfo
/frameworks/base/services/input/
H A DInputDispatcher.cpp461 entry->refCount += 1;
655 if (entry->refCount == 1) {
675 entry->refCount += 1;
733 entry->refCount += 1;
770 entry->refCount += 1;
2323 splitMotionEntry->injectionState->refCount += 1;
2642 injectionState->refCount += 1;
3781 refCount(1),
3791 refCount -= 1;
3792 if (refCount
[all...]
H A DInputDispatcher.h411 mutable int32_t refCount; member in struct:android::InputDispatcher::InjectionState
434 mutable int32_t refCount; member in struct:android::InputDispatcher::EventEntry

Completed in 301 milliseconds