Home
last modified time | relevance | path

Searched refs:requestIntent (Results 1 – 3 of 3) sorted by relevance

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowInstrumentation.java448 int getRequestCodeForIntent(Intent requestIntent) {
449 Integer requestCode = intentRequestCodeMap.get(new Intent.FilterComparison(requestIntent));
452 "No intent matches " + requestIntent + " among " + intentRequestCodeMap.keySet());
DShadowActivity.java601 public void receiveResult(Intent requestIntent, int resultCode, Intent resultIntent) { in receiveResult() argument
604 int requestCode = shadowInstrumentation.getRequestCodeForIntent(requestIntent); in receiveResult()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowActivityTest.java226 Intent requestIntent = new Intent().setType("video/*"); in startActivityForResultAndReceiveResult_whenNoIntentMatches_shouldThrowException() local
228 shadowOf(activity).receiveResult(requestIntent, Activity.RESULT_OK, in startActivityForResultAndReceiveResult_whenNoIntentMatches_shouldThrowException()
232 assertThat(e.getMessage()).startsWith("No intent matches " + requestIntent); in startActivityForResultAndReceiveResult_whenNoIntentMatches_shouldThrowException()