Home
last modified time | relevance | path

Searched refs:mReferenceCount (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/android/database/sqlite/
DSQLiteClosable.java30 private int mReferenceCount = 1; field in SQLiteClosable
57 if (mReferenceCount <= 0) { in acquireReference()
61 mReferenceCount++; in acquireReference()
74 refCountIsZero = --mReferenceCount == 0; in releaseReference()
92 refCountIsZero = --mReferenceCount == 0; in releaseReferenceFromContainer()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareNativeManager.java52 private int mReferenceCount = 0; field in WifiAwareNativeManager
135 + mReferenceCount); in tryToGetAware()
139 mReferenceCount++; in tryToGetAware()
180 mReferenceCount = 1; in tryToGetAware()
191 + mReferenceCount); in releaseAware()
203 mReferenceCount--; in releaseAware()
204 if (mReferenceCount != 0) { in releaseAware()
219 + mReferenceCount); in awareIsDown()
222 mReferenceCount = 0; in awareIsDown()
279 pw.println(" mReferenceCount: " + mReferenceCount); in dump()
/frameworks/base/core/java/android/os/
DSharedMemory.java356 private int mReferenceCount; field in SharedMemory.MemoryRegistration
360 mReferenceCount = 1; in MemoryRegistration()
365 mReferenceCount++; in acquire()
370 mReferenceCount--; in release()
371 if (mReferenceCount == 0) { in release()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3StreamSplitter.cpp784 mReferenceCount(requestedSurfaces.size()) {} in BufferTracker()
793 return mReferenceCount; in decrementReferenceCountLocked()
798 if (mReferenceCount > 0) in decrementReferenceCountLocked()
799 --mReferenceCount; in decrementReferenceCountLocked()
800 return mReferenceCount; in decrementReferenceCountLocked()
DCamera3StreamSplitter.h205 size_t mReferenceCount; variable
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java4612 private int mReferenceCount;
4622 if (mReferenceCount != 0) {
4625 mReferenceCount = 0;
4637 mReferenceCount += 1;
4638 if (mReferenceCount == 1) {
4651 mReferenceCount -= 1;
4652 if (mReferenceCount == 0) {
4658 } else if (mReferenceCount < 0) {
4661 mReferenceCount = 0;
4669 return mName + ": ref count=" + mReferenceCount;
[all …]