/frameworks/base/libs/hwui/ |
D | ResourceCache.cpp | 38 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()
|
D | ResourceCache.h | 46 refCount = 0; destroyed = false; resourceType = type; in ResourceReference() 49 int refCount; variable
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | RenderTarget.java | 299 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/ |
D | SimpleFrameManager.java | 97 int refCount = frame.decRefCount(); in releaseFrame() local 98 if (refCount == 0 && frame.hasNativeAllocation()) { in releaseFrame() 101 } else if (refCount < 0) { in releaseFrame()
|
D | CachedFrameManager.java | 71 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/ |
D | KeySetHandle.java | 33 protected KeySetHandle(long id, int refCount) { in KeySetHandle() argument 35 mRefCount = refCount; in KeySetHandle()
|
D | KeySetManagerService.java | 82 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/ |
D | NfcActivityManager.java | 58 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/ |
D | ResourcesManager.java | 356 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/ |
D | MediaPlayerService.cpp | 276 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 …]
|
D | MediaPlayerService.h | 241 int refCount; member 267 int refCount; // how many audio streams are being played member
|
/frameworks/native/services/inputflinger/ |
D | InputDispatcher.cpp | 469 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 …]
|
D | InputDispatcher.h | 414 mutable int32_t refCount; member 437 mutable int32_t refCount; member
|
/frameworks/base/core/java/android/net/ |
D | ConnectivityManager.java | 2617 AtomicInteger refCount, ConnectivityManager cm) { in CallbackHandler() argument 2620 mRefCount = refCount; in CallbackHandler()
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.cpp | 4051 int refCount = dupOutputDesc->mRefCount[j]; in AudioPolicyManager() local 4052 outputDesc2->changeRefCount((audio_stream_type_t)j,-refCount); in AudioPolicyManager()
|