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

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
H A DCallbackHandlerTest.java65 Mockito.verify(mEmengencyListener).setEmergencyCallsOnly(captor.capture());
85 Mockito.verify(mSignalCallback).setWifiIndicators(enableArg.capture(),
86 statusArg.capture(), qsArg.capture(), inArg.capture(), outArg.capture(),
87 descArg.capture());
121 Mockito.verify(mSignalCallback).setMobileDataIndicators(statusArg.capture(),
122 qsArg.capture(), typeIconArg.capture(), qsTypeIconAr
[all...]
H A DNetworkControllerBaseTest.java263 Mockito.verify(mCallbackHandler, Mockito.atLeastOnce()).setNoSims(hasNoSimsArg.capture());
275 ArgumentCaptor.forClass(IconState.class).capture(),
276 iconArg.capture(),
277 ArgumentCaptor.forClass(Integer.class).capture(),
278 typeIconArg.capture(), dataInArg.capture(), dataOutArg.capture(),
279 ArgumentCaptor.forClass(String.class).capture(),
280 ArgumentCaptor.forClass(String.class).capture(),
281 ArgumentCaptor.forClass(Boolean.class).capture(),
[all...]
H A DNetworkControllerWifiTest.java142 inArg.capture(), outArg.capture(), Mockito.anyString());
154 enabledArg.capture(), Mockito.any(IconState.class),
155 iconArg.capture(), Mockito.anyBoolean(),
157 descArg.capture());
169 Mockito.anyBoolean(), iconArg.capture(), Mockito.any(IconState.class),
H A DNetworkControllerEthernetTest.java38 iconArg.capture());
/frameworks/base/packages/SettingsLib/tests/src/com/android/settingslib/wifi/
H A DAccessPointTest.java86 .onLevelChanged(accessPoint.capture());
93 .onAccessPointChanged(accessPoint.capture());
/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/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/tests/TtsTests/src/com/android/speech/tts/
H A DTextToSpeechTests.java108 LittleMock.verify(delegate, LittleMock.times(1)).onSynthesizeText(req.capture(),
131 LittleMock.verify(delegate, LittleMock.times(1)).onSynthesizeText(req2.capture(),
175 LittleMock.verify(delegate, LittleMock.times(1)).onSynthesizeText(req.capture(),
/frameworks/base/core/java/android/hardware/camera2/
H A DCameraCaptureSession.java28 * A configured capture session for a {@link CameraDevice}, used for capturing images from the
35 * reprocessable capture session. Once created, the session is active until a new session is
38 * <p>All capture sessions can be used for capturing images from the camera but only reprocessable
39 * capture sessions can reprocess images captured from the camera in the same session previously.
53 * <p>Any capture requests (repeating or non-repeating) submitted before the session is ready will
54 * be queued up and will begin capture once the session becomes ready. In case the session cannot be
56 * capture requests are discarded.</p>
64 * but will still complete all of its in-progress capture requests as normal, before a newly
112 * used as a target of a capture request in the first session, prepare cannot be called on it
146 * for the lifetime of the capture sessio
247 public abstract int capture(@NonNull CaptureRequest request, method in class:CameraCaptureSession
[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.h61 * Submit request for capture. The CameraDevice takes ownership of the
65 virtual status_t capture(CameraMetadata &request, int64_t *lastFrameNumber = NULL) = 0;
235 * Get next capture result frame from the result queue. Returns NOT_ENOUGH_DATA
237 * the capture result object's metadata field.
257 * Trigger pre-capture metering. The latest ID used in a trigger pre-capture
/frameworks/base/core/java/android/webkit/
H A DWebChromeClient.java464 * True indicates capture is enabled, false disabled.
466 * Use <code>getAcceptTypes</code> to determine suitable capture devices.
484 * on the device. Some advanced sources (for example, live media capture)
494 * 5. Parse the result using {@link #parseResult} only if media capture was not requested.
509 * @param capture The value of the 'capture' attribute of the input tag
517 public void openFileChooser(ValueCallback<Uri> uploadFile, String acceptType, String capture) { argument
/frameworks/rs/java/tests/RsCameraDemo/src/com/android/example/rscamera/
H A DMainActivity.java148 public void capture(View v) { method in class:MainActivity
/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.java44 import static org.easymock.EasyMock.capture;
153 mNetManager.registerObserver(capture(networkObserver));
305 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.java133 Log.e(TAG, mIdString + "Failed to create capture session; configuration failed");
154 public synchronized int capture(CaptureRequest request, CaptureCallback callback, method in class:CameraCaptureSessionImpl
159 throw new IllegalArgumentException("this capture session cannot handle reprocess " +
162 throw new IllegalArgumentException("capture request was created for another session");
170 Log.v(TAG, mIdString + "capture - request " + request + ", callback " + callback +
174 return addPendingSequence(mDeviceImpl.capture(request,
190 throw new IllegalArgumentException("This capture session cannot handle " +
398 * <p>This is used by the implementation to set the capture failure
428 * <p>When a capture sequence finishes, update the pending checked sequences set.</p>
607 * Notify the session that a pending capture sequenc
[all...]
H A DCameraConstrainedHighSpeedCaptureSessionImpl.java75 throw new IllegalArgumentException("Input capture request must not be null");
98 // Overwrite the capture intent to make sure a good value is set.
177 public int capture(CaptureRequest request, CaptureCallback listener, Handler handler) method in class:CameraConstrainedHighSpeedCaptureSessionImpl
189 "a constrained high speed capture session");
207 "a constrained high speed capture session");
/frameworks/native/include/gui/
H A DSurfaceComposerClient.h182 // capture(display, producer, Rect(), reqWidth, ...);
183 static status_t capture(
/frameworks/av/services/camera/libcameraservice/device2/
H A DCamera2Device.h50 virtual status_t capture(CameraMetadata &request, int64_t *lastFrameNumber = NULL);
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3Device.h83 virtual status_t capture(CameraMetadata &request, int64_t *lastFrameNumber = NULL);
326 * Do common work for setting up a streaming or single capture request.
400 * Thread for managing capture request submission to HAL device.
449 * Pause/unpause the capture thread. Doesn't block, so use
455 * Wait until thread processes the capture request with settings'
477 * capture request
580 * In-flight queue for tracking completion of capture requests.
765 // Insert the capture result given the pending metadata, result extras,
/frameworks/base/core/java/android/ddm/
H A DDdmHandleViewDebug.java295 ViewDebug.capture(rootView, b, targetView);

Completed in 3270 milliseconds

12