Home
last modified time | relevance | path

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

/system/bt/gd/cert/
Devent_stream.py108 def register_callback(self, callback, matcher_fn=None): argument
128 self.handlers.append((callback, matcher_fn))
130 def unregister_callback(self, callback, matcher_fn=None): argument
141 self.handlers.remove((callback, matcher_fn))
152 for (callback, matcher_fn) in self.handlers:
153 if not matcher_fn or matcher_fn(event):