Searched refs:refCount (Results 1 – 7 of 7) sorted by relevance
77 Integer refCount = sReferenceCount.get(mName); in ProfileService() local78 if (refCount==null) { in ProfileService()79 refCount = 1; in ProfileService()81 refCount = refCount+1; in ProfileService()83 sReferenceCount.put(mName, refCount); in ProfileService()84 if (DBG) log("REFCOUNT: CREATED. INSTANCE_COUNT=" +refCount); in ProfileService()92 Integer refCount = sReferenceCount.get(mName); in finalize() local93 if (refCount!=null) { in finalize()94 refCount = refCount-1; in finalize()96 refCount = 0; in finalize()[all …]
131 Integer refCount = mMap.get(object); in subtract() local133 if (refCount == null || refCount.intValue() == 0) { in subtract()136 if (refCount > 1) { in subtract()137 newCount = refCount - 1; in subtract()147 Integer refCount = mMap.get(object); in add() local148 if (refCount == null) { in add()151 mMap.put(object, refCount + 1); in add()160 Integer refCount = mMap.get(object); in getCount() local161 return (refCount == null) ? 0 : refCount.intValue(); in getCount()
116 if (rec.refCount > 0) { in changeFramesInFlight()171 mFrames[i].refCount--; in doneWithFrame()172 if (mFrames[i].refCount <= 0) { in doneWithFrame()202 if (mFrames[i].refCount == 0) { in deliverFrame()211 mFrames[i].refCount = frameDeliveries; in deliverFrame()
78 uint32_t refCount; member79 FrameRecord(uint32_t id) : frameId(id), refCount(0) {}; in FrameRecord()
74 int refCount = 0; in checkActivityLeak() local76 if (c.get() != null) refCount++; in checkActivityLeak()79 assertTrue(refCount != TEST_COUNT); in checkActivityLeak()
79 int refCount = 0; in checkActivityLeak() local81 if (c.get() != null) refCount++; in checkActivityLeak()84 assertTrue(refCount != TEST_COUNT); in checkActivityLeak()
37 public RefCountedImageProxy(ImageProxy image, int refCount) { in RefCountedImageProxy() argument39 mRefCount = new RefCountBase<ImageProxy>(image, refCount); in RefCountedImageProxy()