Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DProfileService.java77 Integer refCount = sReferenceCount.get(mName); in ProfileService() local
78 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() local
93 if (refCount!=null) { in finalize()
94 refCount = refCount-1; in finalize()
96 refCount = 0; in finalize()
[all …]
/packages/apps/Email/provider_src/com/android/email/provider/
DContentCache.java131 Integer refCount = mMap.get(object); in subtract() local
133 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() local
148 if (refCount == null) { in add()
151 mMap.put(object, refCount + 1); in add()
160 Integer refCount = mMap.get(object); in getCount() local
161 return (refCount == null) ? 0 : refCount.intValue(); in getCount()
/packages/apps/Camera2/tests_camera/src/com/android/camera/functional/
DCameraTest.java74 int refCount = 0; in checkActivityLeak() local
76 if (c.get() != null) refCount++; in checkActivityLeak()
79 assertTrue(refCount != TEST_COUNT); in checkActivityLeak()
/packages/apps/Camera2/tests/src/com/android/camera/functional/
DCameraTest.java74 int refCount = 0; in checkActivityLeak() local
76 if (c.get() != null) refCount++; in checkActivityLeak()
79 assertTrue(refCount != TEST_COUNT); in checkActivityLeak()
/packages/apps/LegacyCamera/tests/src/com/android/camera/functional/
DCameraTest.java79 int refCount = 0; in checkActivityLeak() local
81 if (c.get() != null) refCount++; in checkActivityLeak()
84 assertTrue(refCount != TEST_COUNT); in checkActivityLeak()
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/imagedistributor/
DRefCountedImageProxy.java37 public RefCountedImageProxy(ImageProxy image, int refCount) { in RefCountedImageProxy() argument
39 mRefCount = new RefCountBase<ImageProxy>(image, refCount); in RefCountedImageProxy()
/packages/services/Car/bluetooth/bt-map-service/
Dbt_hci_startup_issues.txt85008 mGoingToSleep=WakeLock{dc8619c held=false, refCount=0}
85009 mLaunchingActivity=WakeLock{6b747a5 held=false, refCount=0}
92170 Stream volume refCount muteCount
92192 Stream volume refCount muteCount
92214 Stream volume refCount muteCount