Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DResourceCache.cpp38 i, ref->refCount, ref->destroyed, ref->resourceType); in logCache()
76 ref->refCount++; in incrementRefcountLocked()
95 ref->refCount--; in decrementRefcountLocked()
96 if (ref->refCount == 0) { in decrementRefcountLocked()
125 if (ref->refCount == 0) { in destructorLocked()
DResourceCache.h46 refCount = 0; destroyed = false; resourceType = type; in ResourceReference()
49 int refCount; variable
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DRenderTarget.java299 Integer refCount = mRefCounts.get(object); in addReferenceTo() local
300 if (refCount != null) { in addReferenceTo()
301 mRefCounts.put(object, refCount + 1); in addReferenceTo()
308 Integer refCount = mRefCounts.get(object); in removeReferenceTo() local
309 if (refCount != null && refCount > 0) { in removeReferenceTo()
310 --refCount; in removeReferenceTo()
311 mRefCounts.put(object, refCount); in removeReferenceTo()
312 return refCount == 0; in removeReferenceTo()
/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/services/core/java/com/android/server/pm/
DKeySetHandle.java33 protected KeySetHandle(long id, int refCount) { in KeySetHandle() argument
35 mRefCount = refCount; in KeySetHandle()
DKeySetManagerService.java82 private PublicKeyHandle(long id, int refCount, PublicKey key) { in PublicKeyHandle() argument
84 mRefCount = refCount; in PublicKeyHandle()
755 int refCount = 0; in readKeySetListLPw() local
756 mKeySets.put(currentKeySetId, new KeySetHandle(currentKeySetId, refCount)); in readKeySetListLPw()
770 int refCount = 0; in readPublicKeyLPw() local
774 PublicKeyHandle pkh = new PublicKeyHandle(identifier, refCount, pub); in readPublicKeyLPw()
/frameworks/base/core/java/android/nfc/
DNfcActivityManager.java58 int refCount = 0; field in NfcActivityManager.NfcApplicationState
64 refCount++; in register()
65 if (refCount == 1) { in register()
70 refCount--; in unregister()
71 if (refCount == 0) { in unregister()
73 } else if (refCount < 0) { in unregister()
/frameworks/base/core/java/android/app/
DResourcesManager.java356 final int refCount = mResourceImpls.size(); in findKeyForResourceImplLocked() local
357 for (int i = 0; i < refCount; i++) { in findKeyForResourceImplLocked()
386 final int refCount = activityResources.activityResources.size(); in getOrCreateResourcesForActivityLocked() local
387 for (int i = 0; i < refCount; i++) { in getOrCreateResourcesForActivityLocked()
418 final int refCount = mResourceReferences.size(); in getOrCreateResourcesLocked() local
419 for (int i = 0; i < refCount; i++) { in getOrCreateResourcesLocked()
701 final int refCount = activityResources.activityResources.size(); in updateResourcesForActivity() local
702 for (int i = 0; i < refCount; i++) { in updateResourcesForActivity()
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.cpp276 mBatteryAudio.refCount = 0; in MediaPlayerService()
2281 if (mBatteryAudio.refCount > 0) { // if playing audio in addBatteryData()
2301 if (mBatteryAudio.refCount == 0) { in addBatteryData()
2309 mBatteryAudio.refCount ++; in addBatteryData()
2313 if (mBatteryAudio.refCount <= 0) { in addBatteryData()
2320 if (mBatteryAudio.refCount == 1) { in addBatteryData()
2330 mBatteryAudio.refCount --; in addBatteryData()
2346 info.refCount = 0; in addBatteryData()
2359 info.refCount ++; in addBatteryData()
2363 info.refCount ++; in addBatteryData()
[all …]
DMediaPlayerService.h241 int refCount; member
267 int refCount; // how many audio streams are being played member
/frameworks/native/services/inputflinger/
DInputDispatcher.cpp469 entry->refCount += 1; in addRecentEventLocked()
659 if (entry->refCount == 1) { in synthesizeKeyRepeatLocked()
679 entry->refCount += 1; in synthesizeKeyRepeatLocked()
737 entry->refCount += 1; in dispatchKeyLocked()
774 entry->refCount += 1; in dispatchKeyLocked()
2366 splitMotionEntry->injectionState->refCount += 1; in splitMotionEvent()
2698 injectionState->refCount += 1; in injectInputEvent()
3851 refCount(1), in InjectionState()
3861 refCount -= 1; in release()
3862 if (refCount == 0) { in release()
[all …]
DInputDispatcher.h414 mutable int32_t refCount; member
437 mutable int32_t refCount; member
/frameworks/base/core/java/android/net/
DConnectivityManager.java2617 AtomicInteger refCount, ConnectivityManager cm) { in CallbackHandler() argument
2620 mRefCount = refCount; in CallbackHandler()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp4051 int refCount = dupOutputDesc->mRefCount[j]; in AudioPolicyManager() local
4052 outputDesc2->changeRefCount((audio_stream_type_t)j,-refCount); in AudioPolicyManager()