Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/database/sqlite/
DSQLiteClosable.java27 private int mReferenceCount = 1; field in SQLiteClosable
54 if (mReferenceCount <= 0) { in acquireReference()
58 mReferenceCount++; in acquireReference()
71 refCountIsZero = --mReferenceCount == 0; in releaseReference()
89 refCountIsZero = --mReferenceCount == 0; in releaseReferenceFromContainer()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareNativeManager.java53 private int mReferenceCount = 0; field in WifiAwareNativeManager
121 + mReferenceCount); in tryToGetAware()
125 mReferenceCount++; in tryToGetAware()
166 mReferenceCount = 1; in tryToGetAware()
177 + mReferenceCount); in releaseAware()
189 mReferenceCount--; in releaseAware()
190 if (mReferenceCount != 0) { in releaseAware()
204 + mReferenceCount); in awareIsDown()
207 mReferenceCount = 0; in awareIsDown()
261 pw.println(" mReferenceCount: " + mReferenceCount); in dump()
/frameworks/base/core/java/android/os/
DSharedMemory.java339 private int mReferenceCount; field in SharedMemory.MemoryRegistration
343 mReferenceCount = 1; in MemoryRegistration()
348 mReferenceCount++; in acquire()
353 mReferenceCount--; in release()
354 if (mReferenceCount == 0) { in release()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3StreamSplitter.cpp748 mReferenceCount(requestedSurfaces.size()) {} in BufferTracker()
757 return mReferenceCount; in decrementReferenceCountLocked()
762 if (mReferenceCount > 0) in decrementReferenceCountLocked()
763 --mReferenceCount; in decrementReferenceCountLocked()
764 return mReferenceCount; in decrementReferenceCountLocked()
DCamera3StreamSplitter.h198 size_t mReferenceCount; variable
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java4027 private int mReferenceCount; field in PowerManagerService.SuspendBlockerImpl
4037 if (mReferenceCount != 0) { in finalize()
4040 mReferenceCount = 0; in finalize()
4052 mReferenceCount += 1; in acquire()
4053 if (mReferenceCount == 1) { in acquire()
4066 mReferenceCount -= 1; in release()
4067 if (mReferenceCount == 0) { in release()
4073 } else if (mReferenceCount < 0) { in release()
4076 mReferenceCount = 0; in release()
4084 return mName + ": ref count=" + mReferenceCount; in toString()
[all …]
/frameworks/base/config/
Dhiddenapi-light-greylist.txt2033 Landroid/database/sqlite/SQLiteClosable;->mReferenceCount:I