/packages/apps/Camera2/src/com/android/camera/device/ |
SingleDeviceActions.java | 19 import com.android.camera.async.Lifetime; 35 Lifetime deviceLifetime) throws UnsupportedOperationException;
|
SingleDeviceLifecycle.java | 19 import com.android.camera.async.Lifetime; 37 public ListenableFuture<TDevice> createRequest(Lifetime lifetime);
|
SingleDeviceRequest.java | 19 import com.android.camera.async.Lifetime; 29 * ThreadSafe class to deal with the combined future and lifetime 35 private final Lifetime mLifetime; 38 public SingleDeviceRequest(Lifetime lifetime) { 39 mLifetime = lifetime; 52 * Return the lifetime instance for this request. 54 public Lifetime getLifetime() {
|
CameraDeviceLifecycle.java | 19 import com.android.camera.async.Lifetime; 47 // TODO: Consider passing in parent lifetime to ensure this is 62 public ListenableFuture<TDevice> createRequest(Lifetime lifetime) { 64 mDeviceRequest = new SingleDeviceRequest<>(lifetime); 65 lifetime.add(mDeviceRequest);
|
MultiCameraDeviceLifecycle.java | 23 import com.android.camera.async.Lifetime; 118 * provided lifetime instead of calling close directly on the camera 128 * @param requestLifetime the lifetime for the duration of the request. 129 * Closing the lifetime will cancel any outstanding request and will 130 * cause the camera to close. Closing the lifetime instead of the device 136 Lifetime requestLifetime, CameraId cameraId) { 144 * provided lifetime instead of calling close directly on the camera 155 * @param requestLifetime the lifetime for the duration of the request. 156 * Closing the lifetime will cancel any outstanding request and will 157 * cause the camera to close. Closing the lifetime instead of the devic [all...] |
LegacyCameraActions.java | 23 import com.android.camera.async.Lifetime; 54 Lifetime deviceLifetime) throws UnsupportedOperationException {
|
Camera2Actions.java | 27 import com.android.camera.async.Lifetime; 64 Lifetime deviceLifetime) throws UnsupportedOperationException { 69 // we don't want to add the handler to the lifetime until after 72 mHandlerFactory.create(deviceLifetime, "Camera2 Lifetime"),
|
/packages/apps/Camera2/src/com/android/camera/async/ |
Lifetime.java | 33 * lifetime will only ever be closed once by that lifetime. 36 public class Lifetime implements SafeCloseable { 38 * The parent, or null if there is no parent lifetime. 40 private final Lifetime mParent; 45 public Lifetime() { 52 public Lifetime(Lifetime parent) { 61 * Adds the given object to this lifetime and returns it. 87 // lifetime has lots of shorter-lived lifetimes created an [all...] |
HandlerFactory.java | 23 * Creates new handlers backed by threads with a specified lifetime. 27 * @param lifetime The lifetime of the associated handler's thread. 31 public Handler create(Lifetime lifetime, String threadName) { 35 lifetime.add(new SafeCloseable() { 46 * @param lifetime The lifetime of the associated handler's thread. 51 public Handler create(Lifetime lifetime, String threadName, int javaThreadPriority) [all...] |
ObservableCombiner.java | 85 Lifetime callbackLifetime = new Lifetime();
|
/packages/apps/Camera2/src/com/android/camera/one/v2/core/ |
FrameServerFactory.java | 22 import com.android.camera.async.Lifetime; 31 public FrameServerFactory(Lifetime lifetime, CameraCaptureSessionProxy cameraCaptureSession, 36 Handler cameraHandler = handlerFactory.create(lifetime, "CameraMetadataHandler", 39 // TODO Maybe enable closing the FrameServer along with the lifetime?
|
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/ |
SharedImageReaderFactory.java | 20 import com.android.camera.async.Lifetime; 48 * @param lifetime The lifetime of the SharedImageReader, and other 50 * lifetime of the provided ImageReader. 55 public SharedImageReaderFactory(Lifetime lifetime, ImageReaderProxy imageReader, 58 Lifetime(lifetime), imageReader, handlerFactory); 65 new Lifetime(lifetime), ticketPool, imageReader.getSurface(), imageDistributor) [all...] |
ImageStreamImpl.java | 24 import com.android.camera.async.Lifetime; 39 private final Lifetime mLifetime; 48 mLifetime = new Lifetime();
|
ManagedImageReader.java | 25 import com.android.camera.async.Lifetime; 73 private final Lifetime mLifetime; 83 * @param lifetime 88 public ManagedImageReader(Lifetime lifetime, TicketPool ticketPool, Surface surface, 90 mLifetime = lifetime;
|
ZslSharedImageReaderFactory.java | 23 import com.android.camera.async.Lifetime; 52 * @param lifetime The lifetime of the SharedImageReader, and other 54 * lifetime of the provided ImageReader. 65 public ZslSharedImageReaderFactory(Lifetime lifetime, ImageReaderProxy imageReader, 67 ImageDistributorFactory imageDistributorFactory = new ImageDistributorFactory(lifetime, 79 new Lifetime(lifetime), rootTicketPool, Observables.of(maxRingBufferSize)); 92 new Lifetime(lifetime), ringBufferFactory.provideTicketPool() [all...] |
/packages/apps/Camera2/src/com/android/camera/burst/ |
BurstTakerImpl.java | 21 import com.android.camera.async.Lifetime; 44 * The lifetime of the burst, the burst stops capturing images once the 45 * lifetime is closed 48 private Lifetime mBurstLifetime; 87 mBurstLifetime = new Lifetime();
|
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/ringbuffer/ |
AvailableTicketCounter.java | 20 import com.android.camera.async.Lifetime; 55 Lifetime callbackLifetime = new Lifetime();
|
DynamicRingBufferFactory.java | 21 import com.android.camera.async.Lifetime; 45 public DynamicRingBufferFactory(Lifetime lifetime, TicketPool rootTicketPool, 48 lifetime.add(ringBuffer); 49 lifetime.add(maxRingBufferSize.addCallback(new Runnable() {
|
/packages/apps/Camera2/src/com/android/camera/one/v2/initialization/ |
CameraStarter.java | 21 import com.android.camera.async.Lifetime; 61 * @param cameraLifetime The lifetime of all resources to be created. 64 Lifetime cameraLifetime,
|
InitializedOneCameraFactory.java | 28 import com.android.camera.async.Lifetime; 72 final Lifetime lifetime, final CameraStarter cameraStarter, CameraDeviceProxy device, 79 final Handler cameraHandler = handlerFactory.create(lifetime, "CameraHandler"); 141 new Lifetime(lifetime), 152 mOneCamera = new GenericOneCameraImpl(lifetime, pictureTaker, manualAutoFocus, lensRange,
|
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/imagedistributor/ |
ImageDistributorFactory.java | 23 import com.android.camera.async.Lifetime; 35 * @param lifetime The lifetime of the image distributor. Images will stop 36 * being distributed when the lifetime closes. 41 public ImageDistributorFactory(Lifetime lifetime, ImageReaderProxy imageReader, 45 lifetime.add(globalTimestampStream); 51 Handler imageReaderHandler = handlerFactory.create(lifetime, "ImageDistributor",
|
/packages/apps/Camera2/src/com/android/camera/one/v2/ |
SimpleOneCameraFactory.java | 28 import com.android.camera.async.Lifetime; 111 final Lifetime lifetime = new Lifetime(); local 119 lifetime.add(imageReader); 120 lifetime.add(device); 131 public CameraStarter.CameraControls startCamera(Lifetime cameraLifetime, 139 new Lifetime(cameraLifetime), cameraCaptureSession, new HandlerFactory()); 155 new SharedImageReaderFactory(new Lifetime(cameraLifetime), imageReader, 179 BasicCameraFactory basicCameraFactory = new BasicCameraFactory(new Lifetime [all...] |
ZslOneCameraFactory.java | 28 import com.android.camera.async.Lifetime; 144 final Lifetime lifetime = new Lifetime(); local 151 lifetime.add(imageReader); 152 lifetime.add(device); 166 public CameraControls startCamera(Lifetime cameraLifetime, 173 FrameServerFactory frameServerComponent = new FrameServerFactory(new Lifetime 182 new ZslSharedImageReaderFactory(new Lifetime(cameraLifetime), 231 new Lifetime(cameraLifetime) [all...] |
/packages/apps/Camera2/src/com/android/camera/one/v2/autofocus/ |
ManualAutoFocusFactory.java | 24 import com.android.camera.async.Lifetime; 57 * @param lifetime The Lifetime for all created objects. 69 public static ManualAutoFocusFactory create(Lifetime lifetime, FrameServer frameServer, 92 lifetime.add(afHoldDelayedExecutor);
|
/external/swiftshader/third_party/LLVM/unittests/Support/ |
IRBuilderTest.cpp | 41 TEST_F(IRBuilderTest, Lifetime) {
|