Home | History | Annotate | Download | only in imagebackend

Lines Matching refs:protocol

240      * and applies its specified release protocol of closing image and/or
252 ImageReleaseProtocol protocol = mImageSemaphoreMap.get(img);
253 if (protocol == null || protocol.getCount() <= 0) {
261 protocol.addCount(-1);
264 if (protocol.getCount() == 0) {
272 if (protocol.closeOnRelease) {
278 if (protocol.blockUntilRelease) {
279 protocol.signal();
284 mImageSemaphoreMap.put(img, protocol);
449 ImageReleaseProtocol protocol = setSemaphoreReferenceCount(img, countImageRefs,
456 if (protocol.blockUntilRelease) {
457 protocol.block();
606 BlockSignalProtocol protocol = new BlockSignalProtocol();
607 protocol.setCount(sessionTaskCount.get(captureSession));
609 shadowTask = new ImageShadowTask(protocol, captureSession,
697 * @return The protocol object that keeps tracks of the image reference
710 ImageReleaseProtocol protocol = new ImageReleaseProtocol(blockUntilRelease,
712 protocol.setCount(count);
714 mImageSemaphoreMap.put(img, protocol);
721 return protocol;
738 ImageReleaseProtocol protocol = mImageSemaphoreMap.get(img);
744 protocol.addCount(count);
745 mImageSemaphoreMap.put(img, protocol);