Home
last modified time | relevance | path

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

/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DConnectedClientsTracker.java97 final Map<MacAddress, TetheredClient> clientsMap = new HashMap<>(); in updateConnectedClients() local
123 addLease(clientsMap, prunedClient); in updateConnectedClients()
130 addWifiClientsIfNoLeases(clientsMap, wifiClientMacs); in updateConnectedClients()
131 addWifiClientsIfNoLeases(clientsMap, localOnlyClientMacs); in updateConnectedClients()
133 final HashSet<TetheredClient> clients = new HashSet<>(clientsMap.values()); in updateConnectedClients()
141 final Map<MacAddress, TetheredClient> clientsMap, final Set<MacAddress> clientMacs) { in addWifiClientsIfNoLeases() argument
143 if (clientsMap.containsKey(mac)) continue; in addWifiClientsIfNoLeases()
144 clientsMap.put(mac, new TetheredClient( in addWifiClientsIfNoLeases()
149 private static void addLease(Map<MacAddress, TetheredClient> clientsMap, TetheredClient lease) { in addLease() argument
150 final TetheredClient aggregateClient = clientsMap.getOrDefault( in addLease()
[all …]
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiManager.java6777 private List<WifiClient> getConnectedClientList(Map<String, List<WifiClient>> clientsMap) { in getConnectedClientList() argument
6779 for (List<WifiClient> it : clientsMap.values()) { in getConnectedClientList()