Searched refs:SafeCloseable (Results 1 – 25 of 40) sorted by relevance
12
/packages/apps/Camera2/src/com/android/camera/async/ |
D | Lifetime.java | 36 public class Lifetime implements SafeCloseable { 42 private final Set<SafeCloseable> mCloseables; 47 mCloseables = new HashSet<SafeCloseable>(); in Lifetime() 54 mCloseables = new HashSet<SafeCloseable>(); in Lifetime() 63 public <T extends SafeCloseable> T add(T closeable) { in add() 80 List<SafeCloseable> toClose = new ArrayList<SafeCloseable>(); in close() 96 for (SafeCloseable closeable : toClose) { in close()
|
D | Observables.java | 36 private static final SafeCloseable NOOP_CALLBACK_HANDLE = new SafeCloseable() { 63 public SafeCloseable addCallback(Runnable callback, Executor executor) { in transform() 102 public SafeCloseable addCallback(Runnable callback, Executor executor) { 110 public static <T> SafeCloseable addThreadSafeCallback(final Observable<T> observable,
|
D | HandlerFactory.java | 35 lifetime.add(new SafeCloseable() { in create() 56 lifetime.add(new SafeCloseable() { in create()
|
D | RefCountBase.java | 26 public class RefCountBase<T extends SafeCloseable> implements SafeCloseable {
|
D | Listenable.java | 25 public class Listenable<T> implements SafeCloseable { 30 private SafeCloseable mExistingCallbackHandle;
|
D | ConcurrentState.java | 76 public SafeCloseable addCallback(Runnable callback, Executor executor) { in addCallback() 79 return new SafeCloseable() { in addCallback()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/common/ |
D | BasicCameraFactory.java | 27 import com.android.camera.async.SafeCloseable; 128 SafeCloseable zoomCallback = zoom.addCallback(mPreviewUpdater, MoreExecutors in BasicCameraFactory() 131 SafeCloseable flashCallback = flash.addCallback(mPreviewUpdater, MoreExecutors in BasicCameraFactory() 134 SafeCloseable exposureCallback = exposure.addCallback(mPreviewUpdater, MoreExecutors in BasicCameraFactory() 137 SafeCloseable hdrCallback = hdrSceneSetting.addCallback(mPreviewUpdater, MoreExecutors in BasicCameraFactory()
|
/packages/apps/Camera2/src/com/android/camera/settings/ |
D | SettingObserver.java | 20 import com.android.camera.async.SafeCloseable; 34 private class Listener implements SettingsManager.OnSettingChangedListener, SafeCloseable { 87 public SafeCloseable addCallback(@Nonnull Runnable callback, @Nonnull Executor executor) { in addCallback()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/ticketpool/ |
D | Ticket.java | 19 import com.android.camera.async.SafeCloseable; 28 public interface Ticket extends SafeCloseable {
|
/packages/apps/Camera2/src/com/android/camera/processing/memory/ |
D | LruResourcePool.java | 19 import com.android.camera.async.SafeCloseable; 40 public interface Resource<T> extends SafeCloseable {
|
/packages/apps/Camera2/src/com/android/camera/device/ |
D | SingleDeviceLifecycle.java | 20 import com.android.camera.async.SafeCloseable; 26 public interface SingleDeviceLifecycle<TDevice, TKey> extends SafeCloseable {
|
D | SingleDeviceRequest.java | 20 import com.android.camera.async.SafeCloseable; 33 public class SingleDeviceRequest<TDevice> implements SafeCloseable {
|
/packages/apps/Camera2/src/com/android/camera/captureintent/resource/ |
D | ResourceSurfaceTexture.java | 19 import com.android.camera.async.SafeCloseable; 31 public interface ResourceSurfaceTexture extends SafeCloseable {
|
D | ResourceOpenedCamera.java | 22 import com.android.camera.async.SafeCloseable; 33 public interface ResourceOpenedCamera extends SafeCloseable {
|
D | ResourceCaptureTools.java | 21 import com.android.camera.async.SafeCloseable; 36 public interface ResourceCaptureTools extends SafeCloseable {
|
D | ResourceConstructed.java | 29 import com.android.camera.async.SafeCloseable; 43 public interface ResourceConstructed extends SafeCloseable {
|
/packages/apps/Camera2/src/com/android/camera/burst/ |
D | SurfaceTextureContainer.java | 22 import com.android.camera.async.SafeCloseable; 28 public class SurfaceTextureContainer implements SafeCloseable {
|
D | RingBuffer.java | 21 import com.android.camera.async.SafeCloseable; 32 class RingBuffer<T extends ImageProxy> implements SafeCloseable {
|
/packages/apps/Camera2/src/com/android/camera/one/v2/camera2proxy/ |
D | ImageProxy.java | 21 import com.android.camera.async.SafeCloseable; 37 public interface ImageProxy extends SafeCloseable {
|
D | CameraDeviceProxy.java | 24 import com.android.camera.async.SafeCloseable; 35 public interface CameraDeviceProxy extends SafeCloseable {
|
D | ImageReaderProxy.java | 23 import com.android.camera.async.SafeCloseable; 33 public interface ImageReaderProxy extends SafeCloseable {
|
D | CameraCaptureSessionProxy.java | 28 import com.android.camera.async.SafeCloseable; 38 public interface CameraCaptureSessionProxy extends SafeCloseable {
|
/packages/apps/Camera2/src/com/android/camera/one/v2/core/ |
D | FrameServer.java | 21 import com.android.camera.async.SafeCloseable; 39 public interface Session extends SafeCloseable {
|
/packages/apps/Camera2/src/com/android/camera/one/v2/initialization/ |
D | GenericOneCameraImpl.java | 24 import com.android.camera.async.SafeCloseable; 55 private final SafeCloseable mCloseListener; 69 public GenericOneCameraImpl(SafeCloseable closeListener, PictureTaker pictureTaker, in GenericOneCameraImpl()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/imagesaver/ |
D | ImageSaver.java | 20 import com.android.camera.async.SafeCloseable; 47 public interface ImageSaver extends SafeCloseable {
|
12