Home
last modified time | relevance | path

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

/system/bt/gd/cert/
Devent_callback_stream.py70 def register_callback(self, callback, matcher_fn=None): argument
90 self.handlers.append((callback, matcher_fn))
92 def unregister_callback(self, callback, matcher_fn=None): argument
103 self.handlers.remove((callback, matcher_fn))
137 for (callback, matcher_fn) in self.handlers:
138 if not matcher_fn or matcher_fn(event):