Searched refs:refCount (Results 1 - 12 of 12) 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.cpp42 ALOGD(" ResourceCache: mCache(%zu): refCount, recycled, destroyed, type = %d, %d, %d, %d",
43 i, ref->refCount, ref->recycled, ref->destroyed, ref->resourceType);
89 ref->refCount++;
128 ref->refCount--;
129 if (ref->refCount == 0) {
164 if (ref->refCount == 0) {
186 if (ref->refCount == 0) {
211 if (ref->refCount == 0) {
245 if (ref->refCount == 0) {
H A DResourceCache.h47 refCount = 0; recycled = false; destroyed = false; resourceType = type;
50 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.java59 int refCount = 0; field in class:NfcActivityManager.NfcApplicationState
65 refCount++;
66 if (refCount == 1) {
71 refCount--;
72 if (refCount == 0) {
74 } else if (refCount < 0) {
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp275 mBatteryAudio.refCount = 0;
2224 if (mBatteryAudio.refCount > 0) { // if playing audio
2244 if (mBatteryAudio.refCount == 0) {
2252 mBatteryAudio.refCount ++;
2256 if (mBatteryAudio.refCount <= 0) {
2257 ALOGW("Battery track warning: refCount is <= 0");
2263 if (mBatteryAudio.refCount == 1) {
2273 mBatteryAudio.refCount --;
2289 info.refCount = 0;
2302 info.refCount
[all...]
H A DMediaPlayerService.h294 int refCount; member in struct:android::MediaPlayerService::BatteryUsageInfo
320 int refCount; // how many audio streams are being played member in struct:android::MediaPlayerService::BatteryAudioFlingerUsageInfo
/frameworks/native/services/inputflinger/
H A DInputDispatcher.cpp464 entry->refCount += 1;
652 if (entry->refCount == 1) {
672 entry->refCount += 1;
730 entry->refCount += 1;
767 entry->refCount += 1;
2313 splitMotionEntry->injectionState->refCount += 1;
2642 injectionState->refCount += 1;
3807 refCount(1),
3817 refCount -= 1;
3818 if (refCount
[all...]
H A DInputDispatcher.h408 mutable int32_t refCount; member in struct:android::InputDispatcher::InjectionState
431 mutable int32_t refCount; member in struct:android::InputDispatcher::EventEntry
/frameworks/base/core/java/android/net/
H A DConnectivityManager.java2125 AtomicInteger refCount, ConnectivityManager cm) {
2128 mRefCount = refCount;
2124 CallbackHandler(Looper looper, HashMap<NetworkRequest, NetworkCallback>callbackMap, AtomicInteger refCount, ConnectivityManager cm) argument
/frameworks/av/services/audiopolicy/
H A DAudioPolicyManager.cpp4009 int refCount = dupOutputDesc->mRefCount[j]; local
4010 outputDesc2->changeRefCount((audio_stream_type_t)j,-refCount);
5981 ALOGW("changeRefCount() invalid delta %d for stream %d, refCount %d",
6097 snprintf(buffer, SIZE, " Stream volume refCount muteCount\n");

Completed in 1545 milliseconds