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.java242 private void assertSourceResult(String resultKey, String expectedResult) throws Exception { in assertSourceResult() argument
243 assertResult(mSourceResults, resultKey, expectedResult); in assertSourceResult()
246 private void assertTargetResult(String resultKey, String expectedResult) throws Exception { in assertTargetResult() argument
247 assertResult(mTargetResults, resultKey, expectedResult); in assertTargetResult()
250 private void assertResult(Map<String, String> results, String resultKey, String expectedResult) in assertResult() argument
253 if (results.containsKey(resultKey)) { in assertResult()
254 fail("Unexpected " + resultKey + "=" + results.get(resultKey)); in assertResult()
257 assertTrue("Missing " + resultKey, results.containsKey(resultKey)); in assertResult()
258 assertEquals(resultKey + " result mismatch,", expectedResult, in assertResult()
259 results.get(resultKey)); in assertResult()
/cts/tests/framework/base/windowmanager/dndtargetapp/src/android/server/wm/dndtargetapp/
DDropTarget.java144 private void accessContent(DragEvent event, String resultKey, boolean requestPermissions) { in accessContent() argument
150 if (resultKey.equals(RESULT_KEY_DROP_RESULT)) { in accessContent()
154 logResult(resultKey, result); in accessContent()
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2SurfaceViewTestCase.java358 CaptureResult.Key<T> resultKey, in waitForResultValue() argument
360 CameraTestUtils.waitForResultValue(listener, resultKey, expectedValue, in waitForResultValue()
381 CaptureResult.Key<T> resultKey, in waitForAnyResultValue() argument
383 CameraTestUtils.waitForAnyResultValue(listener, resultKey, expectedValues, numResultsWait, in waitForAnyResultValue()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java2829 CaptureResult.Key<T> resultKey, List<T> expectedValues, int numResultsWait, in waitForAnyResultValue() argument
2841 T value = result.get(resultKey); in waitForAnyResultValue()
2844 Log.v(TAG, "Current result value for key " + resultKey.getName() + " is: " in waitForAnyResultValue()
2855 resultKey.getName() + " after waiting for " + numResultsWait + " results"); in waitForAnyResultValue()
2875 CaptureResult.Key<T> resultKey, T expectedValue, int numResultsWait, int timeout) { in waitForResultValue() argument
2878 waitForAnyResultValue(listener, resultKey, expectedValues, numResultsWait, timeout); in waitForResultValue()