Searched refs:refCountDelegate (Results 1 – 7 of 7) sorted by relevance
29 private RefCountDelegate refCountDelegate; field in RefCountDelegateTest35 refCountDelegate = new RefCountDelegate(mockReleaseCallback); in setUp()40 refCountDelegate.release(); in testReleaseRunsReleaseCallback()46 refCountDelegate.retain(); in testRetainIncreasesRefCount()48 refCountDelegate.release(); in testRetainIncreasesRefCount()51 refCountDelegate.release(); in testRetainIncreasesRefCount()57 refCountDelegate.release(); in testReleaseAfterFreeThrowsIllegalStateException()58 refCountDelegate.release(); in testReleaseAfterFreeThrowsIllegalStateException()63 refCountDelegate.release(); in testRetainAfterFreeThrowsIllegalStateException()64 refCountDelegate.retain(); in testRetainAfterFreeThrowsIllegalStateException()[all …]
28 private final RefCountDelegate refCountDelegate; field in MediaSource32 refCountDelegate = new RefCountDelegate(() -> JniCommon.nativeReleaseRef(nativeSource)); in MediaSource()43 refCountDelegate.release(); in dispose()58 if (refCountDelegate.safeRetain()) { in runWithReference()62 refCountDelegate.release(); in runWithReference()
49 private final RefCountDelegate refCountDelegate; field in EncodedImage63 refCountDelegate.retain(); in retain()68 refCountDelegate.release(); in release()84 this.refCountDelegate = new RefCountDelegate(releaseCallback); in EncodedImage()
41 private final RefCountDelegate refCountDelegate; field in TextureBufferImpl81 this.refCountDelegate = new RefCountDelegate(() -> refCountMonitor.onDestroy(this)); in TextureBufferImpl()119 refCountDelegate.retain(); in retain()125 refCountDelegate.release(); in release()
27 private final RefCountDelegate refCountDelegate; field in JavaI420Buffer39 this.refCountDelegate = new RefCountDelegate(releaseCallback); in JavaI420Buffer()156 refCountDelegate.retain(); in retain()161 refCountDelegate.release(); in release()
20 private final RefCountDelegate refCountDelegate; field in NV21Buffer26 this.refCountDelegate = new RefCountDelegate(releaseCallback); in NV21Buffer()48 refCountDelegate.retain(); in retain()53 refCountDelegate.release(); in release()
22 private final RefCountDelegate refCountDelegate; field in NV12Buffer31 this.refCountDelegate = new RefCountDelegate(releaseCallback); in NV12Buffer()51 refCountDelegate.retain(); in retain()56 refCountDelegate.release(); in release()