History log of /frameworks/base/core/java/android/net/ScoredNetwork.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
85870d63749b34aed7ad47ae288aebe6d11d8724 17-Mar-2016 Jeremy Joslin <jjoslin@google.com> Add a meteredHint to ScoredNetwork.

API changes to allow a meteredHint to be passed
from a network scorer through to the wifi subsystem.

BUG:27702356
Change-Id: Ic466852d855af54c1754c4663388f24f54ed0691
/frameworks/base/core/java/android/net/ScoredNetwork.java
7be8e9725f4a60f0d1a6cb175a05a320968d7439 17-Jul-2014 Jeff Davidson <jpd@google.com> Expose network scoring APIs to /system apps.

Ideally, we'd only expose the methods that we intend unbundled apps to
call (e.g. not NetworkScoreManager#setActiveScorer, which should only
be called by Settings), but this isn't harmful in terms of permissions
as the APIs still check security appropriately.

Bug: 15833200
Change-Id: I2047515b41c8be0cf7cb51dd495fe72309c05f68
/frameworks/base/core/java/android/net/ScoredNetwork.java
6a4b220f1263d95fdefe6361c2bc87bbb04bbed0 17-Apr-2014 Jeff Davidson <jpd@google.com> Initial implementation of NetworkScoreManager's backing service.

This service will ultimately be responsible for propagating scores
down to lower-level network subsystems. For now, it just keeps scores
in memory and exposes these for debugging purposes via "adb shell
dumpsys network_score".

This change also adds provisioning of a default scorer. When
NetworkScoreService is first initialized, it checks to see if it has
ever set a default scorer; if not, it reads a package name from a
build config property and attempts to set it as the default.

Also add autogenerated equals/hashCode methods to all parcelables.

Bug: 14111427
Bug: 13786258
Change-Id: I02271171653d42e12acd240b73b9e23950744f6b
/frameworks/base/core/java/android/net/ScoredNetwork.java
dc960e21ef1005fab5ef145773ddd6f40c802217 08-Apr-2014 Jeff Davidson <jpd@google.com> Data structures for communication with network scorer apps.

NetworkKey represents the necessary information to identify a network
to be scored. ScoredNetwork contains the key to identify a network as
well as a score to be used when evaluating that network (as a curve
based on RSSI).

Bug: 13767776
Change-Id: I6bfebd105c9381e615513167b4332b767b43a23a
/frameworks/base/core/java/android/net/ScoredNetwork.java