Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/dispatcher/
DInjectionState.cpp24 : refCount(1), in InjectionState()
34 refCount -= 1; in release()
35 if (refCount == 0) { in release()
38 ALOG_ASSERT(refCount > 0); in release()
DEntry.cpp65 refCount(1), in EventEntry()
77 refCount -= 1; in release()
78 if (refCount == 0) { in release()
81 ALOG_ASSERT(refCount > 0); in release()
237 eventEntry->refCount += 1; in DispatchEntry()
DInjectionState.h43 mutable int32_t refCount; member
DEntry.h45 mutable int32_t refCount; member
DInputDispatcher.cpp484 entry->refCount += 1; in addRecentEventLocked()
716 if (entry->refCount == 1) { in synthesizeKeyRepeatLocked()
737 entry->refCount += 1; in synthesizeKeyRepeatLocked()
793 entry->refCount += 1; in dispatchKeyLocked()
832 entry->refCount += 1; in dispatchKeyLocked()
2581 splitMotionEntry->injectionState->refCount += 1; in splitMotionEvent()
2963 injectionState->refCount += 1; in injectInputEvent()
/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.java84 private PublicKeyHandle(long id, int refCount, PublicKey key) { in PublicKeyHandle() argument
86 mRefCount = refCount; in PublicKeyHandle()
792 int refCount = 0; in readKeySetListLPw() local
793 mKeySets.put(currentKeySetId, new KeySetHandle(currentKeySetId, refCount)); in readKeySetListLPw()
807 int refCount = 0; in readPublicKeyLPw() local
811 PublicKeyHandle pkh = new PublicKeyHandle(identifier, refCount, pub); in readPublicKeyLPw()
/frameworks/base/core/java/android/nfc/
DNfcActivityManager.java59 int refCount = 0; field in NfcActivityManager.NfcApplicationState
65 refCount++; in register()
66 if (refCount == 1) { in register()
71 refCount--; in unregister()
72 if (refCount == 0) { in unregister()
74 } else if (refCount < 0) { in unregister()
/frameworks/base/core/java/android/app/
DResourcesManager.java577 final int refCount = mResourceImpls.size(); in findKeyForResourceImplLocked() local
578 for (int i = 0; i < refCount; i++) { in findKeyForResourceImplLocked()
633 final int refCount = activityResources.activityResources.size(); in getOrCreateResourcesForActivityLocked() local
634 for (int i = 0; i < refCount; i++) { in getOrCreateResourcesForActivityLocked()
666 final int refCount = mResourceReferences.size(); in getOrCreateResourcesLocked() local
667 for (int i = 0; i < refCount; i++) { in getOrCreateResourcesLocked()
946 final int refCount = activityResources.activityResources.size(); in updateResourcesForActivity() local
947 for (int i = 0; i < refCount; i++) { in updateResourcesForActivity()
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.cpp2623 mBatteryAudio.refCount = 0; in BatteryTracker()
2665 if (mBatteryAudio.refCount > 0) { // if playing audio in addBatteryData()
2685 if (mBatteryAudio.refCount == 0) { in addBatteryData()
2693 mBatteryAudio.refCount ++; in addBatteryData()
2697 if (mBatteryAudio.refCount <= 0) { in addBatteryData()
2704 if (mBatteryAudio.refCount == 1) { in addBatteryData()
2714 mBatteryAudio.refCount --; in addBatteryData()
2730 info.refCount = 0; in addBatteryData()
2743 info.refCount ++; in addBatteryData()
2747 info.refCount ++; in addBatteryData()
[all …]
DMediaPlayerService.h273 int refCount; member
299 int refCount; // how many audio streams are being played member
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
DEthernetNetworkFactory.java111 if (++network.refCount == 1) { in needNetworkFor()
124 if (--network.refCount == 0) { in releaseNetworkFor()
306 long refCount = 0; field in NetworkInterfaceState
596 + "refCount: " + refCount + ", " in toString()
/frameworks/base/tests/net/java/com/android/server/
DIpSecServiceRefcountedResourceTest.java71 int refCount, in assertResourceState() argument
78 assertEquals(refCount, resource.mRefCount); in assertResourceState()
/frameworks/av/media/libstagefright/
DMPEG4Writer.cpp4543 size_t refCount = refs.value.size(); in writeIrefBox() local
4544 if (refCount > 65535) { in writeIrefBox()
4546 refCount = 65535; in writeIrefBox()
4548 writeInt16((uint16_t)refCount); in writeIrefBox()
4549 for (size_t refIndex = 0; refIndex < refCount; refIndex++) { in writeIrefBox()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt48125 Landroid/nfc/NfcActivityManager$NfcApplicationState;->refCount:I