History log of /frameworks/opt/net/wifi/service/java/com/android/server/wifi/ScanDetailCache.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
01282351e9b99a4929a6f30ac9813c2567c7f829 13-Sep-2016 Peter Qiu <zqiu@google.com> Remove HomeSP dependency from ScanDetail

Processing of scan result and mapping to passpoint service provider
will be done inside of PasspointManager, so no need to carry it
around in ScanDetail.

Bug: 31364818
Test: runtest frameworks-wifi

Change-Id: Ie1df66bf2d62fda0d715e94eb385d51e144fd9fe
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ScanDetailCache.java
22b5eca14a99c2bbeeae8361c665923ce71e1603 28-Jun-2016 Roshan Pius <rpius@google.com> WifiConfigManagerNew: Scan results to config lookup

Add methods to perform:
1. Scan results to saved network lookup.
2. Cache the scan results for each saved network. Also, need to maintain
this list so that it doesn't grow uncontrolled.
3. Rename ScanDetailUtil to ScanResultUtil to accomodate scan result
helper classes for encryption type lookup.
4. Change ScanDetailCache to always trim the cache to the provided fixed
size.

While there,
Fix couple of checkstyle errors in the test.

BUG:29822168
TEST: Unit tests
Change-Id: I281ddcd606d73b8d04d6c9b33b9fc2d4f408f173
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ScanDetailCache.java
44381a1aa4faa21a3dfc16ec4485069a58c966a8 02-Jul-2016 Samuel Tan <samueltan@google.com> WifiConfigManager: do not use ScanDetailCache to set SSID for...
passpoint networks

For passpoint networks, set the WPA supplicant SSID field for the
network being selected in WifiConfigManager.selectNetwork() to the
SSID stored in the WifiConfiguration argument, since we know that QNS
will set this field to the SSID of the network it has selected.

This replaces the previous logic of looking for the SSID in a cached
ScanDetail, which is not guaranteed to match correspond to the network
selectNetwork() is attempting to connect to.

While there:
- Use the BSSID set by WSM for the network we are connecting to, to
get the ScanDetail we need to set |mSelectedPasspointNetwork|.
Using this BSSID ensures that we end up getting the NetworkDetail
corresponding to the passpoint network we are selecting.
- Remove ScanDetailCache.getFirst(), since it is no longer used
anywhere else.

BUG: 29946781
TEST: In the lab, there are currently two Passpoint APs, each
broadcasting a network that the same Passpoint profile can be
used to connect to. One of these networks ("X") rejects the Passpoint
credentials presented to it, while the other ("Y") accepts them. Verify
that a device loaded with the aforementioned Passpoint profile
will try to connect to X and fail, and then attempt to connect to
Y and succeed.

Change-Id: Iaac40738c952684694ef07f244cd8880e0d91fa3
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ScanDetailCache.java
ff21cf2ed3aa7e71056ec68ce2c14eba22ef4b28 24-Mar-2016 Rebecca Silberstein <silberst@google.com> Fix checkstyle issues in ScanDetail and ScanDetailCache

Remove extra comments and fix unused import.

BUG: 27836797
Change-Id: I1b43dbafb94de2d5dea5b660e3ee9417300261c1
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ScanDetailCache.java
7713c37038f24f06039e5c4c3c191e10a1b9e159 02-Mar-2016 Randy Pan <zpan@google.com> Fix ScanDetailCache thread safety issue

Changed the type of ScanDetailCache HashMap to ConcurrentHashMap.
Tuned ScanDetailCaches and ScanDetailCache ConcurrentHashMap
concurrency level parameter to save memory.

Bug: 27064997
Change-Id: Icc0a36970fc58142968bccfe2d94a7d5a039344d
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ScanDetailCache.java
c14fe5d3f6a84d8a0788956e15f9102a3aa354a6 25-Feb-2016 Rebecca Silberstein <silberst@google.com> Fix checkstyle issues with ScanDetailCache

ScanDetailCache was missing the header and documentation. Fix these
along with other style issues.

BUG=27361133

Change-Id: I0e289b1df02774cdfe7d787124dd5630156995bd
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ScanDetailCache.java
23fe1c9201d6e734f3b4f727144a91c3a20a2627 24-Feb-2016 Randy Pan <zpan@google.com> Retire ScanResult.autoJoinStatus

This attribute is no longer in use.

Bug: 27340037
Change-Id: Id65230daf2c1b7085568f65fe3018cef54869fd0
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ScanDetailCache.java
cb59612d2af82044ee74e8f595c9a40498db14b4 19-Jun-2015 Pierre Vandwalle <vandwalle@google.com> make PNO autojoin retries exponential, use elapsedTime instead of upTime for aging out networks
Bug:21856344

Change-Id: I99ed09467aba757eb09ceb8e0fe8eaff3fbf5e67
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ScanDetailCache.java
e3e4fad6e9b2022018a33507e93a39c6446f9916 19-Jun-2015 Pierre Vandwalle <vandwalle@google.com> use the scan result timestamp for aging out networks
Bug:21936726

Change-Id: Icfbae91053663fc7a2ad26a649e2764f5cd5b884
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ScanDetailCache.java
a547460e835d6dfde84eda72df470846d11ba807 11-Apr-2015 Vinit Deshpande <vinitd@google.com> Fix incorrect matching of Passpoint networks

Change-Id: I09cd67d666a781ec6eb2c0f339331d5725149799
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ScanDetailCache.java
8eefaf2c281b44fb7a4d951ba587f447800c4b4f 09-Apr-2015 Vinit Deshpande <vinitd@google.com> Use PasspointMatchInfo to select good passpoint network

This allows selection using various parameters that we care
about; such as WAN metrics et al.

This ignores RSSI based selection of BSSIDs for now; that
may come in later.

Change-Id: Ic88f41a0b26d031c11765e7988deeb092a6472ca
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ScanDetailCache.java
4d381bc39f5263effdae73ec99065eb299b806ca 09-Apr-2015 Vinit Deshpande <vinitd@google.com> Store PasspointMatchInfo in ScanDetailCache

This change moves ScanDetailCache as a stand alone class; since
it has lot of logic related sorting and finding candidates.

This will get used in network selection going forward.

Change-Id: If039779f4274dca64fa7aceae62dca26caeae2d4
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ScanDetailCache.java