Searched refs:event_type (Results 1 – 7 of 7) sorted by relevance
/tools/test/connectivity/acts/framework/acts/event/ |
D | event_bus.py | 40 def register(self, event_type, func, filter_fn=None, order=0): argument 61 subscription = EventSubscription(event_type, func, 91 if subscription.event_type in self._subscriptions.keys(): 92 subscription_list = self._subscriptions[subscription.event_type] 98 self._subscriptions[subscription.event_type] = subscription_list 158 event_type = subscription.event_type 161 if (event_type in self._subscriptions and 162 subscription in self._subscriptions[event_type]): 163 self._subscriptions[event_type].remove(subscription) 177 if from_event is None or subscription.event_type == from_event: [all …]
|
D | decorators.py | 21 def subscribe_static(event_type, event_filter=None, order=0): argument 28 super().__init__(event_type, func, 35 def subscribe(event_type, event_filter=None, order=0): argument 39 super().__init__(event_type, func,
|
D | event_subscription.py | 28 def __init__(self, event_type, func, event_filter=None, order=0): argument 29 self._event_type = event_type 35 def event_type(self): member in EventSubscription
|
D | subscription_handle.py | 22 def __init__(self, event_type, func, event_filter=None, order=0): argument 23 self._event_type = event_type
|
D | subscription_bundle.py | 28 def add(self, event_type, func, event_filter=None, argument 38 subscription = EventSubscription(event_type, func,
|
/tools/test/connectivity/acts/framework/tests/event/ |
D | event_bus_test.py | 104 mock_subscription.event_type = mock_type 167 subscription.event_type = sub_type 189 subscription.event_type = sub_type
|
D | event_subscription_test.py | 39 self.assertEqual(expected_event_type, subscription.event_type)
|