Home
last modified time | relevance | path

Searched refs:resultKey (Results 1 – 4 of 4) sorted by relevance

/cts/tests/framework/base/windowmanager/src/android/server/wm/
DCrossAppDragAndDropTests.java271 private void assertSourceResult(String resultKey, String expectedResult) throws Exception { in assertSourceResult() argument
272 assertResult(mSourceResults, resultKey, expectedResult); in assertSourceResult()
275 private void assertTargetResult(String resultKey, String expectedResult) throws Exception { in assertTargetResult() argument
276 assertResult(mTargetResults, resultKey, expectedResult); in assertTargetResult()
279 private void assertResult(Map<String, String> results, String resultKey, String expectedResult) in assertResult() argument
282 if (results.containsKey(resultKey)) { in assertResult()
283 fail("Unexpected " + resultKey + "=" + results.get(resultKey)); in assertResult()
286 assertTrue("Missing " + resultKey, results.containsKey(resultKey)); in assertResult()
287 assertEquals(resultKey + " result mismatch,", expectedResult, in assertResult()
288 results.get(resultKey)); in assertResult()
/cts/tests/framework/base/windowmanager/dndtargetapp/src/android/server/wm/dndtargetapp/
DDropTarget.java182 private void accessContent(DragEvent event, String resultKey, boolean requestPermissions) { in accessContent() argument
188 if (resultKey.equals(RESULT_KEY_DROP_RESULT)) { in accessContent()
192 logResult(resultKey, result); in accessContent()
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2SurfaceViewTestCase.java346 CaptureResult.Key<T> resultKey, in waitForResultValue() argument
348 CameraTestUtils.waitForResultValue(listener, resultKey, expectedValue, in waitForResultValue()
369 CaptureResult.Key<T> resultKey, in waitForAnyResultValue() argument
371 CameraTestUtils.waitForAnyResultValue(listener, resultKey, expectedValues, numResultsWait, in waitForAnyResultValue()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java3353 CaptureResult.Key<T> resultKey, List<T> expectedValues, int numResultsWait, in waitForAnyResultValue() argument
3365 T value = result.get(resultKey); in waitForAnyResultValue()
3368 Log.v(TAG, "Current result value for key " + resultKey.getName() + " is: " in waitForAnyResultValue()
3379 resultKey.getName() + " after waiting for " + numResultsWait + " results"); in waitForAnyResultValue()
3399 CaptureResult.Key<T> resultKey, T expectedValue, int numResultsWait, int timeout) { in waitForResultValue() argument
3402 waitForAnyResultValue(listener, resultKey, expectedValues, numResultsWait, timeout); in waitForResultValue()