Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DMockWifiMonitor.java38 SparseArray<Handler> ifaceHandlers = mHandlerMap.get(iface); in registerHandler() local
39 if (ifaceHandlers == null) { in registerHandler()
40 ifaceHandlers = new SparseArray<>(); in registerHandler()
41 mHandlerMap.put(iface, ifaceHandlers); in registerHandler()
43 ifaceHandlers.put(what, handler); in registerHandler()
59 SparseArray<Handler> ifaceHandlers = mHandlerMap.get(iface); in sendMessage() local
60 if (ifaceHandlers != null) { in sendMessage()
62 sendMessage(ifaceHandlers, message)); in sendMessage()
75 private boolean sendMessage(SparseArray<Handler> ifaceHandlers, Message message) { in sendMessage() argument
76 Handler handler = ifaceHandlers.get(message.what); in sendMessage()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DMockWifiP2pMonitor.java38 SparseArray<Handler> ifaceHandlers = mHandlerMap.get(iface); in registerHandler() local
39 if (ifaceHandlers == null) { in registerHandler()
40 ifaceHandlers = new SparseArray<>(); in registerHandler()
41 mHandlerMap.put(iface, ifaceHandlers); in registerHandler()
43 ifaceHandlers.put(what, handler); in registerHandler()
59 SparseArray<Handler> ifaceHandlers = mHandlerMap.get(iface); in sendMessage() local
60 if (ifaceHandlers != null) { in sendMessage()
62 sendMessage(ifaceHandlers, message)); in sendMessage()
75 private boolean sendMessage(SparseArray<Handler> ifaceHandlers, Message message) { in sendMessage() argument
76 Handler handler = ifaceHandlers.get(message.what); in sendMessage()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiMonitor.java151 SparseArray<Set<Handler>> ifaceHandlers = mHandlerMap.get(iface); in registerHandler() local
152 if (ifaceHandlers == null) { in registerHandler()
153 ifaceHandlers = new SparseArray<>(); in registerHandler()
154 mHandlerMap.put(iface, ifaceHandlers); in registerHandler()
156 Set<Handler> ifaceWhatHandlers = ifaceHandlers.get(what); in registerHandler()
159 ifaceHandlers.put(what, ifaceWhatHandlers); in registerHandler()
171 SparseArray<Set<Handler>> ifaceHandlers = mHandlerMap.get(iface); in deregisterHandler() local
172 if (ifaceHandlers == null) { in deregisterHandler()
175 Set<Handler> ifaceWhatHandlers = ifaceHandlers.get(what); in deregisterHandler()
251 SparseArray<Set<Handler>> ifaceHandlers = mHandlerMap.get(iface); in sendMessage() local
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pMonitor.java94 SparseArray<Set<Handler>> ifaceHandlers = mHandlerMap.get(iface); in registerHandler() local
95 if (ifaceHandlers == null) { in registerHandler()
96 ifaceHandlers = new SparseArray<>(); in registerHandler()
97 mHandlerMap.put(iface, ifaceHandlers); in registerHandler()
99 Set<Handler> ifaceWhatHandlers = ifaceHandlers.get(what); in registerHandler()
102 ifaceHandlers.put(what, ifaceWhatHandlers); in registerHandler()
178 SparseArray<Set<Handler>> ifaceHandlers = mHandlerMap.get(iface); in sendMessage() local
179 if (iface != null && ifaceHandlers != null) { in sendMessage()
181 Set<Handler> ifaceWhatHandlers = ifaceHandlers.get(message.what); in sendMessage()