Searched refs:requestIntent (Results 1 – 3 of 3) sorted by relevance
448 int getRequestCodeForIntent(Intent requestIntent) {449 Integer requestCode = intentRequestCodeMap.get(new Intent.FilterComparison(requestIntent));452 "No intent matches " + requestIntent + " among " + intentRequestCodeMap.keySet());
601 public void receiveResult(Intent requestIntent, int resultCode, Intent resultIntent) { in receiveResult() argument604 int requestCode = shadowInstrumentation.getRequestCodeForIntent(requestIntent); in receiveResult()
226 Intent requestIntent = new Intent().setType("video/*"); in startActivityForResultAndReceiveResult_whenNoIntentMatches_shouldThrowException() local228 shadowOf(activity).receiveResult(requestIntent, Activity.RESULT_OK, in startActivityForResultAndReceiveResult_whenNoIntentMatches_shouldThrowException()232 assertThat(e.getMessage()).startsWith("No intent matches " + requestIntent); in startActivityForResultAndReceiveResult_whenNoIntentMatches_shouldThrowException()