WifiNetworkSuggestionsManager: Maintain scan result lookup map
Optimize lookup of network suggestions matching a given scan result
using a map of ScanResultMatchInfo to WifiNetworkSuggestions. This is
similar to the cache maintained in WifiConfigManager to speed up saved
networks lookup from scan results.
Note that there could be multiple network suggestions matching a single
scan result (multiple apps could give us the same network suggestion).
Bug: 115504887
Test: ./frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Change-Id: Ie3df68216e59320c62c9a96ebea2992b0163326d
2 files changed