Home
last modified time | relevance | path

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

/aosp12/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
H A DConnectedClientsTracker.java89 final Map<MacAddress, TetheredClient> clientsMap = new HashMap<>(); in updateConnectedClients() local
100 addLease(clientsMap, prunedClient); in updateConnectedClients()
108 if (clientsMap.containsKey(client)) continue; in updateConnectedClients()
109 clientsMap.put(client, new TetheredClient( in updateConnectedClients()
113 final HashSet<TetheredClient> clients = new HashSet<>(clientsMap.values()); in updateConnectedClients()
120 private static void addLease(Map<MacAddress, TetheredClient> clientsMap, TetheredClient lease) { in addLease() argument
121 final TetheredClient aggregateClient = clientsMap.getOrDefault( in addLease()
125 clientsMap.put(lease.getMacAddress(), lease); in addLease()
134 clientsMap.put(lease.getMacAddress(), aggregateClient.addAddresses(lease)); in addLease()
/aosp12/packages/modules/Wifi/framework/java/android/net/wifi/
H A DWifiManager.java4683 private List<WifiClient> getConnectedClientList(Map<String, List<WifiClient>> clientsMap) { in getConnectedClientList() argument
4685 for (List<WifiClient> it : clientsMap.values()) { in getConnectedClientList()