Home
last modified time | relevance | path

Searched refs:getRefCount (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/media/
DMediaResourceManagerTest.java96 assertEquals(0, mImageResource.getRefCount()); in testReclaimMemoryFromMediaCache()
124 assertNotSame(0, resource.getRefCount()); in testLoadImageSynchronously()
158 assertNotSame(0, resource.getRefCount()); in createAssertListener()
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
DMediaResourceManager.java144 Assert.isTrue(loadResult.loadedResource.getRefCount() > 0); in requestMediaResourceSync()
261 Assert.isTrue(result.loadedResource.getRefCount() > 0); in scheduleAsyncMediaRequest()
DPoolableImageCache.java268 if (image.getRefCount() == 1) { in getReusableBitmapFromPool()
270 if (image.getRefCount() == 1) { in getReusableBitmapFromPool()
DRefCountedMediaResource.java105 public int getRefCount() { in getRefCount() method in RefCountedMediaResource
/packages/apps/Camera2/src/com/android/camera/async/
DRefCountBase.java76 public int getRefCount() { in getRefCount() method in RefCountBase