Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DMockWifiP2pMonitor.java45 SparseArray<Handler> ifaceHandlers = mHandlerMap.get(iface); in registerHandler() local
46 if (ifaceHandlers == null) { in registerHandler()
47 ifaceHandlers = new SparseArray<>(); in registerHandler()
48 mHandlerMap.put(iface, ifaceHandlers); in registerHandler()
50 ifaceHandlers.put(what, handler); in registerHandler()
66 SparseArray<Handler> ifaceHandlers = mHandlerMap.get(iface); in sendMessage() local
67 if (ifaceHandlers != null) { in sendMessage()
69 sendMessage(ifaceHandlers, message)); in sendMessage()
82 private boolean sendMessage(SparseArray<Handler> ifaceHandlers, Message message) { in sendMessage() argument
83 Handler handler = ifaceHandlers.get(message.what); in sendMessage()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DMockWifiMonitor.java43 SparseArray<Handler> ifaceHandlers = mHandlerMap.get(iface); in registerHandler() local
44 if (ifaceHandlers == null) { in registerHandler()
45 ifaceHandlers = new SparseArray<>(); in registerHandler()
46 mHandlerMap.put(iface, ifaceHandlers); in registerHandler()
48 ifaceHandlers.put(what, handler); in registerHandler()
64 SparseArray<Handler> ifaceHandlers = mHandlerMap.get(iface); in sendMessage() local
65 if (ifaceHandlers != null) { in sendMessage()
67 sendMessage(ifaceHandlers, message)); in sendMessage()
80 private boolean sendMessage(SparseArray<Handler> ifaceHandlers, Message message) { in sendMessage() argument
81 Handler handler = ifaceHandlers.get(message.what); in sendMessage()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiMonitor.java123 SparseArray<Set<Handler>> ifaceHandlers = mHandlerMap.get(iface); in registerHandler() local
124 if (ifaceHandlers == null) { in registerHandler()
125 ifaceHandlers = new SparseArray<>(); in registerHandler()
126 mHandlerMap.put(iface, ifaceHandlers); in registerHandler()
128 Set<Handler> ifaceWhatHandlers = ifaceHandlers.get(what); in registerHandler()
131 ifaceHandlers.put(what, ifaceWhatHandlers); in registerHandler()
143 SparseArray<Set<Handler>> ifaceHandlers = mHandlerMap.get(iface); in deregisterHandler() local
144 if (ifaceHandlers == null) { in deregisterHandler()
147 Set<Handler> ifaceWhatHandlers = ifaceHandlers.get(what); in deregisterHandler()
241 SparseArray<Set<Handler>> ifaceHandlers = mHandlerMap.get(iface); in sendMessage() local
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pMonitor.java103 SparseArray<Set<Handler>> ifaceHandlers = mHandlerMap.get(iface); in registerHandler() local
104 if (ifaceHandlers == null) { in registerHandler()
105 ifaceHandlers = new SparseArray<>(); in registerHandler()
106 mHandlerMap.put(iface, ifaceHandlers); in registerHandler()
108 Set<Handler> ifaceWhatHandlers = ifaceHandlers.get(what); in registerHandler()
111 ifaceHandlers.put(what, ifaceWhatHandlers); in registerHandler()
203 SparseArray<Set<Handler>> ifaceHandlers = mHandlerMap.get(iface); in sendMessage() local
204 if (iface != null && ifaceHandlers != null) { in sendMessage()
206 Set<Handler> ifaceWhatHandlers = ifaceHandlers.get(message.what); in sendMessage()