Searched refs:hasReceiverForIntent (Results 1 – 3 of 3) sorted by relevance
131 public boolean hasReceiverForIntent(Intent intent) { in hasReceiverForIntent() method in ShadowApplication132 return getShadowInstrumentation().hasReceiverForIntent(intent); in hasReceiverForIntent()
663 boolean hasReceiverForIntent(Intent intent) {
458 assertFalse(shadowApplication.hasReceiverForIntent(new Intent("Foo"))); in canAnswerIfReceiverIsRegisteredForIntent()461 assertTrue(shadowApplication.hasReceiverForIntent(new Intent("Foo"))); in canAnswerIfReceiverIsRegisteredForIntent()468 assertFalse(shadowApplication.hasReceiverForIntent(new Intent("Foo"))); in canFindAllReceiversForAnIntent()