Home
last modified time | relevance | path

Searched refs:refCount (Results 1 – 15 of 15) 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()
DInjectionState.h28 mutable int32_t refCount; member
DInputDispatcher.cpp383 combinedMotionEntry->injectionState->refCount += 1; in createDispatchEntry()
3677 splitMotionEntry->injectionState->refCount += 1; in splitMotionEvent()
4152 injectionState->refCount += 1; in injectInputEvent()
/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.java89 private PublicKeyHandle(long id, int refCount, PublicKey key) { in PublicKeyHandle() argument
91 mRefCount = refCount; in PublicKeyHandle()
789 int refCount = 0; in readKeySetListLPw() local
790 mKeySets.put(currentKeySetId, new KeySetHandle(currentKeySetId, refCount)); in readKeySetListLPw()
802 int refCount = 0; in readPublicKeyLPw() local
806 PublicKeyHandle pkh = new PublicKeyHandle(identifier, refCount, pub); in readPublicKeyLPw()
/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/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/opt/net/ethernet/java/com/android/server/ethernet/
DEthernetNetworkFactory.java106 if (++network.refCount == 1) { in needNetworkFor()
119 if (--network.refCount == 0) { in releaseNetworkFor()
312 long refCount = 0; field in NetworkInterfaceState
602 + "refCount: " + refCount + ", " in toString()
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.cpp2827 mBatteryAudio.refCount = 0; in BatteryTracker()
2869 if (mBatteryAudio.refCount > 0) { // if playing audio in addBatteryData()
2889 if (mBatteryAudio.refCount == 0) { in addBatteryData()
2897 mBatteryAudio.refCount ++; in addBatteryData()
2901 if (mBatteryAudio.refCount <= 0) { in addBatteryData()
2908 if (mBatteryAudio.refCount == 1) { in addBatteryData()
2918 mBatteryAudio.refCount --; in addBatteryData()
2934 info.refCount = 0; in addBatteryData()
2947 info.refCount ++; in addBatteryData()
2951 info.refCount ++; in addBatteryData()
[all …]
DMediaPlayerService.h277 int refCount; member
303 int refCount; // how many audio streams are being played member
/frameworks/base/core/java/android/app/
DResourcesManager.java678 int refCount = mResourceImpls.size(); in findKeyForResourceImplLocked() local
679 for (int i = 0; i < refCount; i++) { in findKeyForResourceImplLocked()
1184 final int refCount = activityResources.activityResources.size(); in updateResourcesForActivity() local
1185 for (int i = 0; i < refCount; i++) { in updateResourcesForActivity()
/frameworks/av/media/libstagefright/
DMPEG4Writer.cpp5169 size_t refCount = refs.value.size(); in writeIrefBox() local
5170 if (refCount > 65535) { in writeIrefBox()
5172 refCount = 65535; in writeIrefBox()
5174 writeInt16((uint16_t)refCount); in writeIrefBox()
5175 for (size_t refIndex = 0; refIndex < refCount; refIndex++) { in writeIrefBox()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt37609 Landroid/nfc/NfcActivityManager$NfcApplicationState;->refCount:I