/external/testng/src/test/java/test/listeners/ |
ResultEndMillisTest.java | 15 tng.addListener(new ResultListener()); 18 Assert.assertTrue(ResultListener.m_end > 0);
|
ResultListener.java | 7 public class ResultListener implements IResultListener2 {
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
BurstCaptureTest.java | 151 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); 157 ImageFormat.YUV_420_888, resultListener, 171 CaptureResult result = resultListener.getCaptureResult(MAX_PREVIEW_RESULT_TIMEOUT_MS); 195 mSession.capture(previewBuilder.build(), resultListener, mHandler); 201 CaptureResult result = resultListener.getCaptureResult(MAX_PREVIEW_RESULT_TIMEOUT_MS); 225 mSession.setRepeatingRequest(lockedRequest, resultListener, mHandler); 228 resultListener.drain(); 230 resultListener.getCaptureResultForRequest(lockedRequest, maxPipelineDepth); 239 mSession.captureBurst(burst, resultListener, mHandler); 257 mSession.captureBurst(burst, resultListener, mHandler) [all...] |
SurfaceViewPreviewTest.java | 206 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); 230 mSession.setRepeatingRequest(previewRequest.build(), resultListener, mHandler); 233 waitForAeStable(resultListener, UNKNOWN_LATENCY_RESULT_WAIT); 238 mSession.setRepeatingRequest(previewRequest.build(), resultListener, mHandler); 241 waitForResultValue(resultListener, CaptureResult.CONTROL_AE_STATE, 248 measureMeanFrameInterval(resultListener, FRAMES_FOR_AVERAGING, /*prevTimestamp*/ 0); 254 resultListener.drain(); 264 int resultsReceived = (int) resultListener.getTotalNumFrames(); 268 measureMeanFrameInterval(resultListener, resultsReceived, /*prevTimestamp*/ 0); 294 resultListener.drain() [all...] |
StillCaptureTest.java | 421 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); 429 maxStillSz, resultListener, imageListener); 432 waitForNumResults(resultListener, NUM_FRAMES_WAITED); 445 waitForNumResults(resultListener, NUM_FRAMES_WAITED); 502 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); 509 maxStillSz, resultListener, imageListener); 555 resultListener = new SimpleCaptureCallback(); 562 mSession.setRepeatingRequest(previewRequest.build(), resultListener, mHandler); 564 waitForResultValue(resultListener, CaptureResult.CONTROL_AWB_STATE, 568 waitForSettingsApplied(resultListener, NUM_FRAMES_WAITED_FOR_UNKNOWN_LATENCY) [all...] |
RecordingTest.java | 414 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); 416 fpsRange, resultListener, /*useHighSpeedSession*/false); 425 float durationMs = resultListener.getTotalNumFrames() * frameDurationMs; 480 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); 482 captureRate, fpsRange, resultListener, 492 float durationMs = resultListener.getTotalNumFrames() * frameDurationMs; 680 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); 681 startRecording(/* useMediaRecorder */true, resultListener, useVideoStab); 690 float durationMs = resultListener.getTotalNumFrames() * frameDurationMs; 694 ", num of frames produced: " + resultListener.getTotalNumFrames()) [all...] |
CaptureRequestTest.java | 667 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); 688 resultListener, imageListener); 690 startPreview(previewBuilder, previewSize, resultListener); 704 mSession.capture(rawRequest, resultListener, mHandler); 705 result = resultListener.getCaptureResultForRequest(rawRequest, 754 mSession.capture(previewRequest, resultListener, mHandler); 755 result = resultListener.getCaptureResultForRequest(previewRequest, [all...] |
ImageReaderTest.java | 421 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); 425 resultListener, mHandler); 428 resultListener.getCaptureResult(CAPTURE_WAIT_TIMEOUT_MS); 440 startCapture(mainRequest.build(), /*repeating*/false, resultListener, 444 resultListener.getCaptureResult(CAPTURE_WAIT_TIMEOUT_MS); 697 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); 700 startCapture(request.build(), /*repeating*/false, resultListener, mHandler); 705 resultListener.getCaptureResult(CAPTURE_WAIT_TIMEOUT_MS); [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
SetDateTimeActivity.java | 46 private class DatePickerListener implements Picker.ResultListener { 78 private class TimePickerListener implements Picker.ResultListener { 118 final Picker.ResultListener resultListener; 120 resultListener = new DatePickerListener(); 122 resultListener = new TimePickerListener(); 150 picker.setResultListener(resultListener);
|
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/ |
Camera2SurfaceViewTestCase.java | 256 * @param resultListener Capture result listener 261 CaptureCallback resultListener, 264 ImageFormat.JPEG, resultListener, MAX_READER_IMAGES, imageListener); 274 * @param resultListener Capture result listener 280 CaptureCallback resultListener, int maxNumImages, 283 ImageFormat.JPEG, resultListener, maxNumImages, imageListener); 297 * @param resultListener Capture result listener 302 CaptureCallback resultListener, 305 ImageFormat.RAW_SENSOR, resultListener, MAX_READER_IMAGES, imageListener); 451 * @param resultListener The capture listener to get capture result back [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
Camera2StillCaptureTest.java | 207 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); 214 maxStillSz, resultListener, imageListener); 260 resultListener = new SimpleCaptureCallback(); 267 mSession.setRepeatingRequest(previewRequest.build(), resultListener, mHandler); 269 waitForResultValue(resultListener, CaptureResult.CONTROL_AWB_STATE, 273 waitForSettingsApplied(resultListener, NUM_FRAMES_WAITED_FOR_UNKNOWN_LATENCY); 279 mSession.setRepeatingRequest(previewRequest.build(), resultListener, mHandler); 281 result = resultListener.getCaptureResult(WAIT_FOR_RESULT_TIMEOUT_MS); 295 resultListener = new SimpleCaptureCallback(); 302 mSession.setRepeatingRequest(previewRequest.build(), resultListener, mHandler) [all...] |
Camera2RecordingTest.java | 243 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); 245 captureRate, fpsRange, resultListener, 254 int durationMs = (int) (resultListener.getTotalNumFrames() * 1000.0f / 425 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); 426 startRecording(/* useMediaRecorder */true, resultListener, useVideoStab); 434 int durationMs = (int) (resultListener.getTotalNumFrames() * 1000.0f / 439 ", num of frames produced: " + resultListener.getTotalNumFrames()); 651 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); 665 startRecording(/* useMediaRecorder */true, resultListener, /*useVideoStab*/false); 678 mSession.captureBurst(requests, resultListener, mHandler) [all...] |
Camera2SwitchPreviewTest.java | 297 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); 304 prepareCapturePreview(previewRequest, stillRequest, resultListener, imageListener); 390 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); 393 prepareVideoPreview(previewRequest, recordingRequest, resultListener, imageListener); 524 CaptureCallback resultListener, 545 CaptureCallback resultListener, 575 mSession.setRepeatingRequest(previewRequest.build(), resultListener, mHandler);
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
Camera2SurfaceViewTestCase.java | 279 * @param resultListener Capture result listener 284 CaptureCallback resultListener, 287 ImageFormat.JPEG, resultListener, MAX_READER_IMAGES, imageListener); 297 * @param resultListener Capture result listener 303 CaptureCallback resultListener, int maxNumImages, 306 ImageFormat.JPEG, resultListener, maxNumImages, imageListener); 320 * @param resultListener Capture result listener 325 CaptureCallback resultListener, 328 ImageFormat.RAW_SENSOR, resultListener, MAX_READER_IMAGES, imageListener); 474 * @param resultListener The capture listener to get capture result back [all...] |
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/ |
GrantPermissionsViewHandler.java | 34 interface ResultListener { 71 GrantPermissionsViewHandler setResultListener(ResultListener listener);
|
GrantPermissionsWatchViewHandler.java | 26 private ResultListener mResultListener; 41 public GrantPermissionsWatchViewHandler setResultListener(ResultListener listener) {
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/television/ |
GrantPermissionsViewHandlerImpl.java | 29 private ResultListener mResultListener; 46 public GrantPermissionsViewHandlerImpl setResultListener(ResultListener listener) {
|
/external/testng/src/main/java/org/testng/remote/adapter/ |
RemoteResultListener.java | 2 * @(#)ResultListener.java Apr 9, 2007
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/ |
PinDialogFragment.java | 91 public interface ResultListener { 232 if (f instanceof ResultListener) { 233 ((ResultListener) f).pinFragmentDone(getTargetRequestCode(), result); 234 } else if (getActivity() instanceof ResultListener) { 235 final ResultListener listener = (ResultListener) getActivity();
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/picker/ |
Picker.java | 56 public interface ResultListener { 62 private ResultListener mResultListener; 206 public void setResultListener(ResultListener listener) {
|
/packages/apps/TV/src/com/android/tv/ui/sidepanel/parentalcontrols/ |
ParentalControlsFragment.java | 137 new PinDialogFragment.ResultListener() {
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/ |
RestrictedProfilePinDialogFragment.java | 32 public interface Callback extends ResultListener {
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/handheld/ |
GrantPermissionsViewHandlerImpl.java | 56 private ResultListener mResultListener; 85 public GrantPermissionsViewHandlerImpl setResultListener(ResultListener listener) {
|
/packages/apps/TV/src/com/android/tv/dialog/ |
PinDialogFragment.java | 87 public interface ResultListener { 97 private ResultListener mListener; 111 public PinDialogFragment(int type, ResultListener listener) { 206 public void setResultListener(ResultListener listener) {
|
/packages/apps/TV/src/com/android/tv/ui/sidepanel/ |
SettingsFragment.java | 130 new PinDialogFragment.ResultListener() {
|