Home | History | Annotate | Download | only in wifi_hal

Lines Matching defs:handler

85 void Netlink::stop(StopHandler handler) {
87 // Set the handler before writing so that it's guaranteed to be available
92 mStopHandler = handler;
126 // Make a copy of the stop handler while holding the lock
130 // calls stop again with a new stop handler that new stop
131 // handler might not be called if the timing is wrong.
136 StopHandler handler;
139 handler = mStopHandler;
141 if (handler) {
142 handler();
156 ReplyHandler handler) {
157 // Keep lock the entire time so that we can safely erase the handler
158 // without worrying about another call to sendAsync adding a handler that
161 // Register handler before sending in case the read thread picks up the
162 // response between the send thread sending and registering the handler.
163 mHandlers[message.sequence()] = handler;
173 // It's a failure, remove the handler and unlock the mutex
254 auto handler = mHandlers.find(message.sequence());
255 if (handler == mHandlers.end()) {
256 // No handler found, ignore message
259 replyHandler = handler->second;
260 mHandlers.erase(handler);