commit | db71b18d435c00e01ac42c0060c683d5d0384f87 | [log] [tgz] |
---|---|---|
author | Roshan Pius <rpius@google.com> | Thu May 25 15:23:54 2017 -0700 |
committer | Roshan Pius <rpius@google.com> | Fri Jun 02 11:26:09 2017 -0700 |
tree | baa06e2bc7eaaf8dcbd2355ab6e9c034c67f5e93 | |
parent | d44502f93cfe4eeee6b8c85a825f1dd509fc874d [diff] |
WifiConfigManager: Optimize scan result to config lookup Use a hashmap to store the configured networks SSID & security type. This will ease the lookup for networks from the provided scan result and removed the unnecessary M (num scan results) * N (num saved networks) loop for lookup. Bug: 31489297 Test: Manual tests Test: Existing WifiConfigManager Unit tests for matching passes. Test: Some new tests in ConfigurationMap. Change-Id: I73e312fd3c1684981748b11d1e22479d45e9b510