Home
last modified time | relevance | path

Searched refs:eventBus (Results 1 – 8 of 8) sorted by relevance

/external/guava/guava/src/com/google/common/eventbus/
DSubscriberExceptionContext.java27 private final EventBus eventBus; field in SubscriberExceptionContext
40 EventBus eventBus, Object event, Object subscriber, Method subscriberMethod) { in SubscriberExceptionContext() argument
41 this.eventBus = checkNotNull(eventBus); in SubscriberExceptionContext()
52 return eventBus; in getEventBus()
/external/guava/android/guava/src/com/google/common/eventbus/
DSubscriberExceptionContext.java27 private final EventBus eventBus; field in SubscriberExceptionContext
40 EventBus eventBus, Object event, Object subscriber, Method subscriberMethod) { in SubscriberExceptionContext() argument
41 this.eventBus = checkNotNull(eventBus); in SubscriberExceptionContext()
52 return eventBus; in getEventBus()
/external/guava/guava-tests/benchmark/com/google/common/eventbus/
DEventBusBenchmark.java29 private EventBus eventBus; field in EventBusBenchmark
33 eventBus = new EventBus("for benchmarking purposes"); in setUp()
34 eventBus.register(this); in setUp()
40 eventBus.post("hello there"); in postStrings()
/external/guava/android/guava-tests/benchmark/com/google/common/eventbus/
DEventBusBenchmark.java29 private EventBus eventBus; field in EventBusBenchmark
33 eventBus = new EventBus("for benchmarking purposes"); in setUp()
34 eventBus.register(this); in setUp()
40 eventBus.post("hello there"); in postStrings()
/external/guava/android/guava-tests/test/com/google/common/eventbus/
DEventBusTest.java120 final EventBus eventBus = new EventBus(handler); in testSubscriberThrowsException() local
130 eventBus.register(subscriber); in testSubscriberThrowsException()
131 eventBus.post(EVENT); in testSubscriberThrowsException()
134 assertEquals("EventBus should be available.", eventBus, handler.context.getEventBus()); in testSubscriberThrowsException()
144 final EventBus eventBus = in testSubscriberThrowsExceptionHandlerThrowsException() local
159 eventBus.register(subscriber); in testSubscriberThrowsExceptionHandlerThrowsException()
161 eventBus.post(EVENT); in testSubscriberThrowsExceptionHandlerThrowsException()
266 EventBus eventBus = new EventBus("a b ; - \" < > / \\ €"); in testToString() local
267 assertEquals("EventBus{a b ; - \" < > / \\ €}", eventBus.toString()); in testToString()
DPackageSanityTests.java41 private final EventBus eventBus = new EventBus(); field in PackageSanityTests.DummySubscriber
47 return Subscriber.create(eventBus, this, subscriberMethod()); in toSubscriber()
51 return new SubscriberExceptionContext(eventBus, new Object(), this, subscriberMethod()); in toContext()
/external/guava/guava-tests/test/com/google/common/eventbus/
DEventBusTest.java120 final EventBus eventBus = new EventBus(handler); in testSubscriberThrowsException() local
130 eventBus.register(subscriber); in testSubscriberThrowsException()
131 eventBus.post(EVENT); in testSubscriberThrowsException()
134 assertEquals("EventBus should be available.", eventBus, handler.context.getEventBus()); in testSubscriberThrowsException()
144 final EventBus eventBus = in testSubscriberThrowsExceptionHandlerThrowsException() local
159 eventBus.register(subscriber); in testSubscriberThrowsExceptionHandlerThrowsException()
161 eventBus.post(EVENT); in testSubscriberThrowsExceptionHandlerThrowsException()
266 EventBus eventBus = new EventBus("a b ; - \" < > / \\ €"); in testToString() local
267 assertEquals("EventBus{a b ; - \" < > / \\ €}", eventBus.toString()); in testToString()
DPackageSanityTests.java41 private final EventBus eventBus = new EventBus(); field in PackageSanityTests.DummySubscriber
47 return Subscriber.create(eventBus, this, subscriberMethod()); in toSubscriber()
51 return new SubscriberExceptionContext(eventBus, new Object(), this, subscriberMethod()); in toContext()