History log of /frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiNetworkHistory.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
478dd448011f5b9cf9dfaa0c5c950399b88d90d1 06-Jul-2016 Roshan Pius <rpius@google.com> WifiNetworkHistory: Ignore file not found exceptions

Raise a info log message instead of logging an error when the
networkHistory.txt file is not found.

While there,
Cleanup the logs to remove the "reset to default" sentence from the logs.

BUG: 29641462
Change-Id: I572f248d0991d66ebdd118fc7ddb26680e1d7b15
TEST: Manual testing.
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiNetworkHistory.java
3ea09e080a9ab3ed594356d8f3e498ec61a4d0fb 02-Jun-2016 Jack Tian <jack.tian@sonyericsson.com> DO NOT MERGE: Repeatedly prompting when no internet connection

When internet connection is not avaiable there is always
a prompt even if user has checked "never ask again" on the
dialog prompt.
This is caused by noInternetAccessExpected reset while reloading
network configuration and this patch puts noInternetAccessExpected
into network history so that its value is not lost.

Bug: 29085788
Bug: 29111340

(cherry picked from commit 4854de88e57279bf930f0754b268093061e88544)

Change-Id: I407a5c60e89d7da4ac7fe30df08087fe24039f98
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiNetworkHistory.java
0195dc3dabc52cfb1455308109625a23ee126880 20-May-2016 Roshan Pius <rpius@google.com> WifiNetworHistory: Don't persist QNS blacklist

QNS blacklists network temporarily by setting the network status. Reset
this value when we bootup so that this not persisted. This is especially
needed as we move away from using wall clock for blacklist time.

Also,
Remove the unused blacklist timestamp key from network history parsing.

BUG: 28824635
Change-Id: Ie64c11f358b2e3389ec419cfcfdde8bb04298dd4
TEST: Compliles & unit-test passes
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiNetworkHistory.java
ea2048738be95ae9d5367a42ba798503a7039a6b 15-Apr-2016 Jeremy Joslin <jjoslin@google.com> Use external scores on saved networks if requested.

When a saved network has the useExternalScores boolean set to true then
lump it in with the ephemeral networks when considering it as a
candidate.

Externally scored saved networks are only considered if a saved network
candidate cannot be found.

BUG: 25562019
Change-Id: Icdb7318103e14e518536c3179cd30c87cc2c3035
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiNetworkHistory.java
913bb9047c0eab77653b47a0ed69dbe0bd3d479f 13-Apr-2016 Samuel Tan <samueltan@google.com> Remove WifiConfigManager.mDeletedSSIDs

mDeletedSSIDs are introduced in WifiConfigStore in
go/ag/585797, where it was used in
WifiConfigStore.associateWithConfiguration(). This method
was later removed in go/pag/215262, but mDeletedSSIDs
was not. Later, mDeletedSSIDs was moved to WifiConfigManager
in a WifiConfigStore refactor.

Since this variable is no longer used, delete it and all
references to it.

BUG: 28088479
Change-Id: I056ae6f6654269100fc96f25b299a9fece85be93
TEST: 'runtest frameworks-wifi' passes.
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiNetworkHistory.java
11b4c4c3c813237826117270741c63faa0d312aa 26-Mar-2016 Rebecca Silberstein <silberst@google.com> Extend NetworkHistory to incorporate hasEverConnected

Add boolean to NetworkHistory (tracked in
WifiConfiguration.NetworkSelectionStatus) to track if we have ever
connected to the given network with the current configuration.

BUG: 27856504
Change-Id: I5f858afe3128fbc7293b15f8b95892da7cae171e
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiNetworkHistory.java
3ab8ec5cfa986b07e1c948af0f45bd333edef24c 21-Mar-2016 Jeremy Joslin <jjoslin@google.com> Allow ephemeral WiFi conns to be marked as metered

Pass through the metered hint from the score cache to the
WifiStateMachine when making an ephemeral connection. The
NetworkPolicyManagerService already looks for the hint after
every NETWORK_STATE_CHANGED_ACTION and takes the correct action.

BUG: 27120794
Change-Id: I3d4a5030724e8e0fb1084c67d74fb768bd9ad2b5
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiNetworkHistory.java
adf70a7b3856bed24be4ddaf3a7d69da37c1f952 01-Mar-2016 Randy Pan <zpan@google.com> Fix WifiConfigManager thread safety issue

Change ScanDetailCaches type from HashMap to ConcurrentHashMap,
which is thread safe.

Bug: 27064997
Change-Id: I7d7228e8ad479af2b4d14e6a544c1bfc94bd5f2c
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiNetworkHistory.java
01dd88cf3004bbb9e3b6fd2257814e11d617a06d 25-Feb-2016 Glen Kuhne <kuh@google.com> Merge "WifiNetworkHistory log level lowering" into mm-wireless-dev
f99504e885ef365adb0c54263dcf7fecfedf9f1c 25-Feb-2016 Glen Kuhne <kuh@google.com> WifiNetworkHistory log level lowering

Lowered the log level of a few chatty log commands spamming Error
messages.

BUG=27294533

Change-Id: I668f0e96dcd59e2a61a5028f0402e511478d94ef
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiNetworkHistory.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/WifiNetworkHistory.java
c485ebf64d1049d17db8108b85653f53fcdc8949 23-Feb-2016 Glen Kuhne <kuh@google.com> WifiConfigStore Refactor read&write NetworkHistory

Created a new helper class: WifiNetworkHistory
Moved readNetworkHistory() and writeKnownNetworkHistory() from
WifiConfigStore into this class, replacing them with calls to the
helper.

BUG=27294533
Change-Id: I10d43e3fd37e251d1845ef726fea0faf136d9626
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiNetworkHistory.java