Home
last modified time | relevance | path

Searched refs:Lifetime (Results 1 – 25 of 28) sorted by relevance

12

/packages/apps/Camera2/src/com/android/camera/async/
DLifetime.java36 public class Lifetime implements SafeCloseable { class
40 private final Lifetime mParent;
45 public Lifetime() { in Lifetime() method in Lifetime
52 public Lifetime(Lifetime parent) { in Lifetime() method in Lifetime
DHandlerFactory.java31 public Handler create(Lifetime lifetime, String threadName) { in create()
51 public Handler create(Lifetime lifetime, String threadName, int javaThreadPriority) { in create()
DObservableCombiner.java85 Lifetime callbackLifetime = new Lifetime();
/packages/apps/Camera2/src/com/android/camera/device/
DMultiCameraDeviceLifecycle.java23 import com.android.camera.async.Lifetime;
136 Lifetime requestLifetime, CameraId cameraId) { in openCamera2Device()
162 Lifetime requestLifetime, CameraId cameraId) { in openPortabilityDevice()
189 Lifetime requestLifetime, CameraId cameraId) { in openCamera2PortabilityDevice()
215 Lifetime requestLifetime, CameraId cameraId) { in openLegacyPortabilityDevice()
238 public ListenableFuture<Camera> openLegacyCameraDevice(Lifetime requestLifetime, in openLegacyCameraDevice()
280 private <TDevice> ListenableFuture<TDevice> openDevice(Lifetime requestLifetime, in openDevice()
DSingleDeviceRequest.java19 import com.android.camera.async.Lifetime;
35 private final Lifetime mLifetime;
38 public SingleDeviceRequest(Lifetime lifetime) { in SingleDeviceRequest()
54 public Lifetime getLifetime() { in getLifetime()
DSingleDeviceActions.java19 import com.android.camera.async.Lifetime;
35 Lifetime deviceLifetime) throws UnsupportedOperationException; in executeOpen()
DSingleDeviceLifecycle.java19 import com.android.camera.async.Lifetime;
37 public ListenableFuture<TDevice> createRequest(Lifetime lifetime); in createRequest()
DSingleDeviceStateMachine.java19 import com.android.camera.async.Lifetime;
70 private final Lifetime mDeviceLifetime;
106 mDeviceLifetime = new Lifetime(); in SingleDeviceStateMachine()
DCameraDeviceLifecycle.java19 import com.android.camera.async.Lifetime;
62 public ListenableFuture<TDevice> createRequest(Lifetime lifetime) { in createRequest()
DLegacyCameraActions.java23 import com.android.camera.async.Lifetime;
54 Lifetime deviceLifetime) throws UnsupportedOperationException { in executeOpen()
/packages/apps/Camera2/src/com/android/camera/one/v2/
DSimpleOneCameraFactory.java28 import com.android.camera.async.Lifetime;
111 final Lifetime lifetime = new Lifetime(); in createOneCamera()
131 public CameraStarter.CameraControls startCamera(Lifetime cameraLifetime, in createOneCamera()
139 new Lifetime(cameraLifetime), cameraCaptureSession, new HandlerFactory()); in createOneCamera()
155 new SharedImageReaderFactory(new Lifetime(cameraLifetime), imageReader, in createOneCamera()
179 BasicCameraFactory basicCameraFactory = new BasicCameraFactory(new Lifetime in createOneCamera()
DZslOneCameraFactory.java28 import com.android.camera.async.Lifetime;
144 final Lifetime lifetime = new Lifetime(); in createOneCamera()
166 public CameraControls startCamera(Lifetime cameraLifetime, in createOneCamera()
173 FrameServerFactory frameServerComponent = new FrameServerFactory(new Lifetime in createOneCamera()
182 new ZslSharedImageReaderFactory(new Lifetime(cameraLifetime), in createOneCamera()
231 new Lifetime(cameraLifetime), in createOneCamera()
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/
DSharedImageReaderFactory.java20 import com.android.camera.async.Lifetime;
55 public SharedImageReaderFactory(Lifetime lifetime, ImageReaderProxy imageReader, in SharedImageReaderFactory()
58 Lifetime(lifetime), imageReader, handlerFactory); in SharedImageReaderFactory()
65 new Lifetime(lifetime), ticketPool, imageReader.getSurface(), imageDistributor); in SharedImageReaderFactory()
DZslSharedImageReaderFactory.java23 import com.android.camera.async.Lifetime;
65 public ZslSharedImageReaderFactory(Lifetime lifetime, ImageReaderProxy imageReader, in ZslSharedImageReaderFactory()
79 new Lifetime(lifetime), rootTicketPool, Observables.of(maxRingBufferSize)); in ZslSharedImageReaderFactory()
92 new Lifetime(lifetime), ringBufferFactory.provideTicketPool(), in ZslSharedImageReaderFactory()
DImageStreamImpl.java24 import com.android.camera.async.Lifetime;
39 private final Lifetime mLifetime;
48 mLifetime = new Lifetime(); in ImageStreamImpl()
DManagedImageReader.java25 import com.android.camera.async.Lifetime;
73 private final Lifetime mLifetime;
88 public ManagedImageReader(Lifetime lifetime, TicketPool ticketPool, Surface surface, in ManagedImageReader()
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/ringbuffer/
DAvailableTicketCounter.java20 import com.android.camera.async.Lifetime;
55 Lifetime callbackLifetime = new Lifetime(); in addCallback()
DDynamicRingBufferFactory.java21 import com.android.camera.async.Lifetime;
45 public DynamicRingBufferFactory(Lifetime lifetime, TicketPool rootTicketPool, in DynamicRingBufferFactory()
/packages/apps/Camera2/src/com/android/camera/burst/
DBurstTakerImpl.java21 import com.android.camera.async.Lifetime;
48 private Lifetime mBurstLifetime;
87 mBurstLifetime = new Lifetime(); in startBurst()
DBurstCaptureCommand.java28 import com.android.camera.async.Lifetime;
68 private final Lifetime mBurstLifetime;
92 Lifetime lifetime, in BurstCaptureCommand()
/packages/apps/Camera2/src/com/android/camera/one/v2/initialization/
DInitializedOneCameraFactory.java28 import com.android.camera.async.Lifetime;
72 final Lifetime lifetime, final CameraStarter cameraStarter, CameraDeviceProxy device, in InitializedOneCameraFactory()
141 new Lifetime(lifetime), in InitializedOneCameraFactory()
DCameraStarter.java21 import com.android.camera.async.Lifetime;
64 Lifetime cameraLifetime, in startCamera()
/packages/apps/Camera2/src/com/android/camera/one/v2/common/
DBasicCameraFactory.java25 import com.android.camera.async.Lifetime;
78 public BasicCameraFactory(Lifetime lifetime, in BasicCameraFactory()
148 Lifetime(lifetime), frameServer, cameraCommandExecutor, cropRegion, in BasicCameraFactory()
/packages/apps/Camera2/src/com/android/camera/one/v2/core/
DFrameServerFactory.java22 import com.android.camera.async.Lifetime;
31 public FrameServerFactory(Lifetime lifetime, CameraCaptureSessionProxy cameraCaptureSession, in FrameServerFactory()
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/imagedistributor/
DImageDistributorFactory.java23 import com.android.camera.async.Lifetime;
41 public ImageDistributorFactory(Lifetime lifetime, ImageReaderProxy imageReader, in ImageDistributorFactory()

12