Home
last modified time | relevance | path

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

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowApplication.java131 public boolean hasReceiverForIntent(Intent intent) { in hasReceiverForIntent() method in ShadowApplication
132 return getShadowInstrumentation().hasReceiverForIntent(intent); in hasReceiverForIntent()
DShadowInstrumentation.java663 boolean hasReceiverForIntent(Intent intent) {
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowApplicationTest.java458 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()