/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | IntentFilterTest.java | 15 IntentFilter intentFilter = new IntentFilter(); in addDataScheme_shouldAddTheDataScheme() local 16 intentFilter.addDataScheme("http"); in addDataScheme_shouldAddTheDataScheme() 17 intentFilter.addDataScheme("ftp"); in addDataScheme_shouldAddTheDataScheme() 19 assertThat(intentFilter.getDataScheme(0), equalTo("http")); in addDataScheme_shouldAddTheDataScheme() 20 assertThat(intentFilter.getDataScheme(1), equalTo("ftp")); in addDataScheme_shouldAddTheDataScheme() 25 IntentFilter intentFilter = new IntentFilter(); in addDataAuthority_shouldAddTheDataAuthority() local 26 intentFilter.addDataAuthority("test.com", "8080"); in addDataAuthority_shouldAddTheDataAuthority() 27 intentFilter.addDataAuthority("example.com", "42"); in addDataAuthority_shouldAddTheDataAuthority() 29 assertThat(intentFilter.getDataAuthority(0).getHost(), equalTo("test.com")); in addDataAuthority_shouldAddTheDataAuthority() 30 assertThat(intentFilter.getDataAuthority(0).getPort(), equalTo(8080)); in addDataAuthority_shouldAddTheDataAuthority() [all …]
|
D | ContextWrapperTest.java | 43 contextWrapper.registerReceiver(receiver, intentFilter("foo", "baz")); in registerReceiver_shouldRegisterForAllIntentFilterActions() 58 contextWrapper.registerReceiver(larryReceiver, intentFilter("foo", "baz")); in sendBroadcast_shouldSendIntentToEveryInterestedReceiver() 61 contextWrapper.registerReceiver(bobReceiver, intentFilter("foo")); in sendBroadcast_shouldSendIntentToEveryInterestedReceiver() 77 contextWrapper.registerReceiver(receiver, intentFilter("foo", "baz")); in unregisterReceiver_shouldUnregisterReceiver() 93 …new ContextWrapper(Robolectric.application).registerReceiver(receiver, intentFilter("foo", "baz")); in broadcastReceivers_shouldBeSharedAcrossContextsPerApplicationContext() 192 private IntentFilter intentFilter(String... actions) {
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowApplication.java | 328 if (wrapper.intentFilter.matchAction(intent.getAction())) { in sendBroadcast() 416 Iterator<String> actions = registeredReceiver.intentFilter.actionsIterator(); in assertNoBroadcastListenersOfActionRegistered() 432 if (wrapper.intentFilter.matchAction(intent.getAction())) { in hasReceiverForIntent() 442 if (wrapper.intentFilter.matchAction(intent.getAction())) { in getReceiversForIntent() 520 public IntentFilter intentFilter; field in ShadowApplication.Wrapper 524 … public Wrapper(BroadcastReceiver broadcastReceiver, IntentFilter intentFilter, Context context) { in Wrapper() argument 526 this.intentFilter = intentFilter; in Wrapper() 536 return intentFilter; in getIntentFilter()
|
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/ |
D | NetworkMonitorAutoDetect.java | 262 private final IntentFilter intentFilter; field in NetworkMonitorAutoDetect 297 intentFilter = new IntentFilter(ConnectivityManager.CONNECTIVITY_ACTION); in NetworkMonitorAutoDetect() 333 context.registerReceiver(this, intentFilter); in registerReceiver()
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/ |
D | ApplicationResolverTest.java | 52 assertTrue(receivers.get(0).intentFilter.matchAction("com.xtremelabs.robolectric.ACTION1")); in shouldRegisterReceiversFromTheManifest()
|
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/mock/ |
D | MockContext.java | 299 … public Intent registerReceiver(BroadcastReceiver broadcastReceiver, IntentFilter intentFilter) { in registerReceiver() argument 304 …nt registerReceiver(BroadcastReceiver broadcastReceiver, IntentFilter intentFilter, String s, Hand… in registerReceiver() argument
|
/external/robolectric/v3/ |
D | shadows-support-v4-3.1-SNAPSHOT.jar | META-INF/
META-INF/MANIFEST.MF
META-INF/services/
org/
... |
D | robolectric-3.1-SNAPSHOT.jar | META-INF/
META-INF/MANIFEST.MF
org/
org/robolectric/
org/ ... |
/external/robolectric/v3/runtime/ |
D | shadows-core-3.1-SNAPSHOT-22.jar | META-INF/
META-INF/MANIFEST.MF
linux-x86_64/
linux-x86_64/ ... |
D | shadows-core-3.1-SNAPSHOT-19.jar | META-INF/
META-INF/MANIFEST.MF
linux-x86_64/
linux-x86_64/ ... |
D | shadows-core-3.1-SNAPSHOT-16.jar | META-INF/
META-INF/MANIFEST.MF
linux-x86_64/
linux-x86_64/ ... |
D | shadows-core-3.1-SNAPSHOT-21.jar | META-INF/
META-INF/MANIFEST.MF
linux-x86_64/
linux-x86_64/ ... |
D | shadows-core-3.1-SNAPSHOT-18.jar | META-INF/
META-INF/MANIFEST.MF
linux-x86_64/
linux-x86_64/ ... |
D | shadows-core-3.1-SNAPSHOT-17.jar | META-INF/
META-INF/MANIFEST.MF
linux-x86_64/
linux-x86_64/ ... |
D | android-all-5.1.1_r9-robolectric-1.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |
D | android-all-5.0.0_r2-robolectric-1.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |
D | android-all-4.4_r1-robolectric-1.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |
D | android-all-4.3_r2-robolectric-0.jar | META-INF/
META-INF/MANIFEST.MF
android/
android/accessibilityservice/
android/ ... |
D | android-all-4.2.2_r1.2-robolectric-0.jar | META-INF/
META-INF/MANIFEST.MF
android/
android/accessibilityservice/
android/ ... |
D | android-all-4.1.2_r1-robolectric-0.jar | META-INF/
META-INF/MANIFEST.MF
android/
android/accessibilityservice/
android/ ... |