Home
last modified time | relevance | path

Searched refs:numResultsWait (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DCamera2SurfaceViewTestCase.java348 T expectedValue, int numResultsWait) { in waitForResultValue() argument
351 waitForAnyResultValue(listener, resultKey, expectedValues, numResultsWait); in waitForResultValue()
372 List<T> expectedValues, int numResultsWait) { in waitForAnyResultValue() argument
373 if (numResultsWait < 0 || listener == null || expectedValues == null) { in waitForAnyResultValue()
393 } while (i++ < numResultsWait); in waitForAnyResultValue()
397 resultKey.getName() + " after waiting for " + numResultsWait + " results"); in waitForAnyResultValue()
480 int numResultsWait) { in waitForNumResults() argument
481 if (numResultsWait < 0 || resultListener == null) { in waitForNumResults()
487 for (int i = 0; i < numResultsWait; i++) { in waitForNumResults()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestUtils.java488 int numResultsWait) { in getCaptureResultForRequest() argument
489 return getTotalCaptureResultForRequest(myRequest, numResultsWait); in getCaptureResultForRequest()
507 int numResultsWait) { in getTotalCaptureResultForRequest() argument
510 return getTotalCaptureResultsForRequests(captureRequests, numResultsWait)[0]; in getTotalCaptureResultForRequest()
527 List<CaptureRequest> captureRequests, int numResultsWait) { in getTotalCaptureResultsForRequests() argument
528 if (numResultsWait < 0) { in getTotalCaptureResultsForRequests()
566 } while (i++ < numResultsWait); in getTotalCaptureResultsForRequests()
569 + "waiting for " + numResultsWait + " results"); in getTotalCaptureResultsForRequests()