Searched refs:capture (Results 1 - 25 of 36) sorted by relevance

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
H A DNetworkControllerWifiTest.java137 ArgumentCaptor.forClass(Boolean.class).capture(),
138 ArgumentCaptor.forClass(Boolean.class).capture(),
139 ArgumentCaptor.forClass(Integer.class).capture(),
140 inArg.capture(), outArg.capture(),
141 ArgumentCaptor.forClass(String.class).capture(),
142 ArgumentCaptor.forClass(String.class).capture());
155 enabledArg.capture(), connectedArg.capture(), iconArg.capture(),
[all...]
H A DNetworkControllerBaseTest.java211 Mockito.verify(mSignalCluster, Mockito.atLeastOnce()).setNoSims(hasNoSimsArg.capture());
215 .onNoSimVisibleChanged(hasNoSimsArg.capture());
229 .onMobileDataSignalChanged(visibleArg.capture(), iconArg.capture(),
230 ArgumentCaptor.forClass(String.class).capture(),
231 typeIconArg.capture(),
232 dataInArg.capture(),
233 dataOutArg.capture(),
234 ArgumentCaptor.forClass(String.class).capture(),
235 ArgumentCaptor.forClass(String.class).capture(),
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
H A DEnergyProbe.java56 public int capture(int freq) throws InterruptedException { method in class:EnergyProbe
/frameworks/webview/chromium/java/com/android/webview/chromium/
H A DFileChooserParamsAdapter.java63 return mParams.capture;
/frameworks/base/services/usb/java/com/android/server/usb/
H A DUsbAudioManager.java96 private boolean waitForAlsaFile(int card, int device, boolean capture) { argument
100 String alsaDevPath = "/dev/snd/pcmC" + card + "D" + device + (capture ? "c" : "p");
/frameworks/base/core/java/android/hardware/camera2/
H A DCameraCaptureSession.java23 * A configured capture session for a {@link CameraDevice}, used for capturing
40 * <p>Any capture requests (repeating or non-repeating) submitted before the session is ready will
41 * be queued up and will begin capture once the session becomes ready. In case the session cannot be
43 * capture requests are discarded.</p>
51 * but will still complete all of its in-progress capture requests as normal, before a newly
71 * capture session was created.</p>
75 * capture. Requests submitted through this method have higher priority than
80 * @param request the settings for this capture
82 * processed. If null, no metadata will be produced for this capture,
88 * @return int A unique capture sequenc
106 public abstract int capture(CaptureRequest request, CaptureCallback listener, Handler handler) method in class:CameraCaptureSession
[all...]
/frameworks/base/tests/TtsTests/src/com/android/speech/tts/
H A DTextToSpeechTests.java101 LittleMock.verify(delegate, LittleMock.times(1)).onSynthesizeText(req.capture(),
124 LittleMock.verify(delegate, LittleMock.times(1)).onSynthesizeText(req2.capture(),
160 LittleMock.verify(delegate, LittleMock.times(1)).onSynthesizeText(req.capture(),
/frameworks/base/tests/Camera2Tests/CameraToo/src/com/example/android/camera2/cameratoo/
H A DCameraTooActivity.java79 /** Our image capture session. */
192 mCaptureSession.capture(requester.build(), /*listener*/null, /*handler*/null);
194 Log.e(TAG, "Failed to file actual capture request", ex);
197 Log.e(TAG, "Failed to build actual capture request", ex);
200 Log.e(TAG, "User attempted to perform a capture outside our session");
251 // Prepare an ImageReader in case the user wants to capture images
260 // gorgeous previews but the storage of garbage capture data.
320 Log.e(TAG, "Failed to create a capture session", ex);
403 public CapturedImageSaver(Image capture) { argument
404 mCapture = capture;
[all...]
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DCaptureCollector.java91 // Send a request error if the capture has not yet started.
129 "setJpegTimestamp called for capture with no jpeg targets.");
157 "setJpegProduced called for capture with no jpeg targets.");
188 "setPreviewTimestamp called for capture with no preview targets.");
218 "setPreviewProduced called for capture with no preview targets.");
458 * Called to alert the {@link CaptureCollector} that the jpeg capture has begun.
460 * @param timestamp the time of the jpeg capture.
461 * @return the {@link RequestHolder} for the request associated with this capture.
480 * Called to alert the {@link CaptureCollector} that the jpeg capture has completed.
482 * @return a pair containing the {@link RequestHolder} and the timestamp of the capture
646 onRequestCompleted(CaptureHolder capture) argument
[all...]
/frameworks/av/services/camera/libcameraservice/common/
H A DCameraDeviceBase.h59 * Submit request for capture. The CameraDevice takes ownership of the
63 virtual status_t capture(CameraMetadata &request, int64_t *lastFrameNumber = NULL) = 0;
222 * Get next capture result frame from the result queue. Returns NOT_ENOUGH_DATA
224 * the capture result object's metadata field.
244 * Trigger pre-capture metering. The latest ID used in a trigger pre-capture
/frameworks/base/core/java/android/webkit/
H A DWebChromeClient.java462 * True indicates capture is enabled, false disabled.
464 * Use <code>getAcceptTypes</code> to determine suitable capture devices.
482 * on the device. Some advanced sources (for example, live media capture)
492 * 5. Parse the result using {@link #parseResult} only if media capture was not requested.
507 * @param capture The value of the 'capture' attribute of the input tag
515 public void openFileChooser(ValueCallback<Uri> uploadFile, String acceptType, String capture) { argument
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
H A DMediaPresetReverbTest.java232 int energy1000 = probe.capture(1000);
315 int energy1000 = probe.capture(1000);
H A DMediaEnvReverbTest.java389 int energy1000 = probe.capture(1000);
474 int energy1000 = probe.capture(1000);
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DNetworkPolicyManagerServiceTest.java42 import static org.easymock.EasyMock.capture;
209 mActivityManager.registerProcessObserver(capture(processObserver));
215 mNetworkManager.registerObserver(capture(networkObserver));
868 capture(tag.capture), anyInt(),
948 public Capture<T> capture = new Capture<T>() { field in class:NetworkPolicyManagerServiceTest.FutureCapture
H A DNetworkStatsServiceTest.java43 import static org.easymock.EasyMock.capture;
152 mNetManager.registerObserver(capture(networkObserver));
304 mNetManager.registerObserver(capture(networkObserver));
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
H A DAndroidCamera2AgentImpl.java398 // response to our latest request is when our one-time capture progresses.
441 // Send a one-time capture to trigger the camera driver to lock focus.
448 mSession.capture(
470 // Send a one-time capture to trigger the camera driver to resume scanning.
477 mSession.capture(
525 // Only set the JPEG capture orientation if requested to do so; otherwise,
526 // capture in the sensor's physical orientation. (e.g., JPEG rotation is
559 // perform autoexposure convergence automatically upon capture.
564 // significant capture time by not forcing a recalculation.
565 Log.i(TAG, "Skipping pre-capture autoexposur
[all...]
H A DCameraAgent.java734 * <p>If capture rotation is not requested, future captures will be returned in the sensor's
739 * @param capture Whether to adjust the JPEG capture orientation as well as the preview one.
741 public void setDisplayOrientation(final int degrees, final boolean capture) { argument
748 capture ? 1 : 0)
/frameworks/base/core/java/android/hardware/camera2/impl/
H A DCameraCaptureSessionImpl.java135 Log.e(TAG, mIdString + "Failed to create capture session; configuration failed");
146 public synchronized int capture(CaptureRequest request, CaptureCallback callback, method in class:CameraCaptureSessionImpl
157 Log.v(TAG, mIdString + "capture - request " + request + ", callback " + callback +
161 return addPendingSequence(mDeviceImpl.capture(request,
354 * <p>This is used by the implementation to set the capture failure
384 * <p>When a capture sequence finishes, update the pending checked sequences set.</p>
575 * Notify the session that a pending capture sequence has just been queued.
588 * Notify the session that a pending capture sequence is now finished.
601 * No repeating request is set; and the capture queue has fully drained.
653 // Fast path: A new capture sessio
[all...]
/frameworks/native/include/gui/
H A DSurfaceComposerClient.h182 // capture(display, producer, Rect(), reqWidth, ...);
183 static status_t capture(
/frameworks/av/services/camera/libcameraservice/api_pro/
H A DProCamera2Client.cpp212 return mDevice->capture(metadata);
/frameworks/av/services/camera/libcameraservice/device2/
H A DCamera2Device.h50 virtual status_t capture(CameraMetadata &request, int64_t *lastFrameNumber = NULL);
/frameworks/base/core/java/android/ddm/
H A DDdmHandleViewDebug.java285 ViewDebug.capture(rootView, b, targetView);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DFlashlightController.java201 mSession.capture(request, null, mHandler);
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3Device.h83 virtual status_t capture(CameraMetadata &request, int64_t *lastFrameNumber = NULL);
282 * Do common work for setting up a streaming or single capture request.
356 * Thread for managing capture request submission to HAL device.
404 * Pause/unpause the capture thread. Doesn't block, so use
410 * Wait until thread processes the capture request with settings'
519 * In-flight queue for tracking completion of capture requests.
667 // Insert the capture result given the pending metadata, result extras,
/frameworks/base/core/java/android/view/
H A DViewDebug.java306 * @return the View to capture from, or null if not found
314 // Maximum delay in ms after which we stop trying to capture a View's drawing
442 capture(view, clientStream, params[0]);
738 private static void capture(View root, final OutputStream clientStream, String parameter) method in class:ViewDebug
742 capture(root, clientStream, captureView);
746 public static void capture(View root, final OutputStream clientStream, View captureView) method in class:ViewDebug
751 Log.w("View", "Failed to create capture bitmap!");
793 Log.w("View", "Could not complete the capture of the view " + captureView);

Completed in 960 milliseconds

12