/packages/apps/Camera2/src/com/android/camera/one/v2/common/ |
D | BasicCameraFactory.java | 78 public BasicCameraFactory(Lifetime lifetime, in BasicCameraFactory() argument 130 lifetime.add(zoomCallback); in BasicCameraFactory() 133 lifetime.add(flashCallback); in BasicCameraFactory() 136 lifetime.add(exposureCallback); in BasicCameraFactory() 139 lifetime.add(hdrCallback); in BasicCameraFactory() 144 Lifetime(lifetime), frameServer, cameraCommandExecutor, cropRegion, in BasicCameraFactory()
|
/packages/services/Car/service/src/com/android/car/storagemonitoring/ |
D | WearInformationProvider.java | 24 default int convertLifetime(int lifetime) { in convertLifetime() argument 25 if ((lifetime <= 0) || (lifetime > 11)) return WearInformation.UNKNOWN_LIFETIME_ESTIMATE; in convertLifetime() 26 return 10 * (lifetime - 1); in convertLifetime()
|
D | WearInformation.java | 74 private String lifetimeToString(int lifetime) { in lifetimeToString() argument 75 if (lifetime == UNKNOWN_LIFETIME_ESTIMATE) return UNKNOWN; in lifetimeToString() 77 return lifetime + "%"; in lifetimeToString()
|
/packages/apps/Camera2/src/com/android/camera/async/ |
D | HandlerFactory.java | 31 public Handler create(Lifetime lifetime, String threadName) { in create() argument 35 lifetime.add(new SafeCloseable() { in create() 51 public Handler create(Lifetime lifetime, String threadName, int javaThreadPriority) { in create() argument 56 lifetime.add(new SafeCloseable() { in create()
|
/packages/services/Car/car-lib/src/android/car/storagemonitoring/ |
D | LifetimeWriteInfo.java | 104 LifetimeWriteInfo lifetime = (LifetimeWriteInfo)other; in equals() local 105 return partition.equals(lifetime.partition) && in equals() 106 fstype.equals(lifetime.fstype) && in equals() 107 writtenBytes == lifetime.writtenBytes; in equals()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/ |
D | ZslOneCameraFactory.java | 144 final Lifetime lifetime = new Lifetime(); in createOneCamera() local 151 lifetime.add(imageReader); in createOneCamera() 152 lifetime.add(device); in createOneCamera() 245 lifetime.add(cameraCommandExecutor); in createOneCamera() 310 lifetime.add(Observables.addThreadSafeCallback(readyObservable, in createOneCamera() 324 return new InitializedOneCameraFactory(lifetime, cameraStarter, device, in createOneCamera()
|
D | SimpleOneCameraFactory.java | 111 final Lifetime lifetime = new Lifetime(); in createOneCamera() local 119 lifetime.add(imageReader); in createOneCamera() 120 lifetime.add(device); in createOneCamera() 237 lifetime.add(Observables.addThreadSafeCallback(ready, readyState)); in createOneCamera() 251 return new InitializedOneCameraFactory(lifetime, cameraStarter, device, outputSurfaces, in createOneCamera()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/ |
D | ZslSharedImageReaderFactory.java | 65 public ZslSharedImageReaderFactory(Lifetime lifetime, ImageReaderProxy imageReader, in ZslSharedImageReaderFactory() argument 67 ImageDistributorFactory imageDistributorFactory = new ImageDistributorFactory(lifetime, in ZslSharedImageReaderFactory() 79 new Lifetime(lifetime), rootTicketPool, Observables.of(maxRingBufferSize)); in ZslSharedImageReaderFactory() 92 new Lifetime(lifetime), ringBufferFactory.provideTicketPool(), in ZslSharedImageReaderFactory()
|
D | SharedImageReaderFactory.java | 55 public SharedImageReaderFactory(Lifetime lifetime, ImageReaderProxy imageReader, in SharedImageReaderFactory() argument 58 Lifetime(lifetime), imageReader, handlerFactory); in SharedImageReaderFactory() 65 new Lifetime(lifetime), ticketPool, imageReader.getSurface(), imageDistributor); in SharedImageReaderFactory()
|
D | ManagedImageReader.java | 88 public ManagedImageReader(Lifetime lifetime, TicketPool ticketPool, Surface surface, in ManagedImageReader() argument 90 mLifetime = lifetime; in ManagedImageReader()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/initialization/ |
D | InitializedOneCameraFactory.java | 72 final Lifetime lifetime, final CameraStarter cameraStarter, CameraDeviceProxy device, in InitializedOneCameraFactory() argument 79 final Handler cameraHandler = handlerFactory.create(lifetime, "CameraHandler"); in InitializedOneCameraFactory() 141 new Lifetime(lifetime), in InitializedOneCameraFactory() 152 mOneCamera = new GenericOneCameraImpl(lifetime, pictureTaker, manualAutoFocus, lensRange, in InitializedOneCameraFactory()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/imagedistributor/ |
D | ImageDistributorFactory.java | 41 public ImageDistributorFactory(Lifetime lifetime, ImageReaderProxy imageReader, in ImageDistributorFactory() argument 45 lifetime.add(globalTimestampStream); in ImageDistributorFactory() 51 Handler imageReaderHandler = handlerFactory.create(lifetime, "ImageDistributor", in ImageDistributorFactory()
|
/packages/apps/Camera2/src/com/android/camera/device/ |
D | CameraDeviceLifecycle.java | 62 public ListenableFuture<TDevice> createRequest(Lifetime lifetime) { in createRequest() argument 64 mDeviceRequest = new SingleDeviceRequest<>(lifetime); in createRequest() 65 lifetime.add(mDeviceRequest); in createRequest()
|
D | SingleDeviceRequest.java | 38 public SingleDeviceRequest(Lifetime lifetime) { in SingleDeviceRequest() argument 39 mLifetime = lifetime; in SingleDeviceRequest()
|
D | SingleDeviceLifecycle.java | 37 public ListenableFuture<TDevice> createRequest(Lifetime lifetime); in createRequest() argument
|
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/ringbuffer/ |
D | DynamicRingBufferFactory.java | 45 public DynamicRingBufferFactory(Lifetime lifetime, TicketPool rootTicketPool, in DynamicRingBufferFactory() argument 48 lifetime.add(ringBuffer); in DynamicRingBufferFactory() 49 lifetime.add(maxRingBufferSize.addCallback(new Runnable() { in DynamicRingBufferFactory()
|
/packages/modules/NetworkStack/src/android/net/ip/ |
D | IpClientLinkObserver.java | 173 public void onInterfaceDnsServerInfo(String iface, long lifetime, String[] addresses) { in onInterfaceDnsServerInfo() argument 176 boolean changed = mDnsServerRepository.addServers(lifetime, addresses); in onInterfaceDnsServerInfo() 279 public synchronized boolean addServers(long lifetime, String[] addresses) { in addServers() argument 284 long expiry = now + 1000 * lifetime; in addServers()
|
/packages/modules/NetworkStack/src/android/net/apf/ |
D | ApfFilter.java | 596 long lifetime = getUint32(mPacket, offset + 4); in rdnssOptionToString() local 598 sb.append("DNS ").append(lifetime).append("s"); in rdnssOptionToString() 692 long lifetime; in Ra() local 699 lifetime = getUint32(mPacket, in Ra() 701 builder.updatePrefixValidLifetime(lifetime); in Ra() 706 lifetime = getUint32(mPacket, in Ra() 708 builder.updatePrefixPreferredLifetime(lifetime); in Ra() 716 lifetime = getUint32(mPacket, position + ICMP6_4_BYTE_LIFETIME_OFFSET); in Ra() 717 builder.updateRdnssLifetime(lifetime); in Ra() 721 lifetime = getUint32(mPacket, position + ICMP6_4_BYTE_LIFETIME_OFFSET); in Ra() [all …]
|
/packages/apps/Camera2/src/com/android/camera/one/v2/core/ |
D | FrameServerFactory.java | 31 public FrameServerFactory(Lifetime lifetime, CameraCaptureSessionProxy cameraCaptureSession, in FrameServerFactory() argument 36 Handler cameraHandler = handlerFactory.create(lifetime, "CameraMetadataHandler", in FrameServerFactory()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/autofocus/ |
D | ManualAutoFocusFactory.java | 69 public static ManualAutoFocusFactory create(Lifetime lifetime, FrameServer frameServer, in create() argument 92 lifetime.add(afHoldDelayedExecutor); in create()
|
/packages/modules/NetworkStack/src/com/android/server/ |
D | NetworkObserverRegistry.java | 133 public void onInterfaceDnsServerInfo(String ifName, long lifetime, String[] servers) { in onInterfaceDnsServerInfo() argument 134 invokeForAllObservers(o -> o.onInterfaceDnsServerInfo(ifName, lifetime, servers)); in onInterfaceDnsServerInfo()
|
D | NetworkObserver.java | 75 default void onInterfaceDnsServerInfo(String ifName, long lifetime, String[] servers) {} in onInterfaceDnsServerInfo() argument
|
/packages/apps/Camera2/src/com/android/camera/burst/ |
D | BurstCaptureCommand.java | 92 Lifetime lifetime, in BurstCaptureCommand() argument 101 mBurstLifetime = lifetime; in BurstCaptureCommand()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/apf/ |
D | ApfTest.java | 1804 private void verifyRaLifetime(byte[] program, ByteBuffer packet, int lifetime) { in verifyRaLifetime() argument 1806 final int ageLimit = lifetime / FRACTION_OF_LIFETIME; in verifyRaLifetime() 1812 assertPass(program, packet.array(), lifetime); in verifyRaLifetime() 1833 ByteBuffer packet, int lifetime) throws IOException, ErrnoException { in verifyRaLifetime() argument 1838 verifyRaLifetime(program, packet, lifetime); in verifyRaLifetime()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/ |
D | tutorial.md | 384 s.SetString(StringRef(cstr)); // ok, assume safe lifetime, null-terminated 419 If you want to add a non-constant string or a string without sufficient lifetime (see [Create Strin… 448 If you need to create a name from a non-constant string or a string without sufficient lifetime (se…
|