d831be95fb26b6e2b93b41ed056be43071c75ca2 |
|
30-Mar-2017 |
Stephen Chen <stewchen@google.com> |
Remove ScoredNetwork.BADGING constants. Bug: 35323372 Bug: 35114358 Test: make, runtest --path frameworks/base/core/tests/coretests/src/android/net/ScoredNetworkTest.java Change-Id: I9640e374abe428235d94e0407d9d21f390550d2f
/frameworks/base/core/java/android/net/ScoredNetwork.java
|
699deaf6103d182dbd291ca2b420f30b439753d4 |
|
14-Feb-2017 |
Sundeep Ghuman <sghuman@google.com> |
Move Badging from ScoredNetwork to NetworkingBadging. This is a non-functional refactor. The old enums will be removed once ag/35323372 is addressed. Bug: 35114358 Test: Ran existing tests (see files touched). Change-Id: I08fd8c7964463b5908ce361e61f8fe811d0ff6f3
/frameworks/base/core/java/android/net/ScoredNetwork.java
|
c3cd62f848c3bf3aeff06b1795fd000a8fd68e8a |
|
06-Feb-2017 |
Sundeep Ghuman <sghuman@google.com> |
Fix typo in ScoredNetwork javadoc. Bug: 34824590 Test: NA Change-Id: I1dcb9a2ca7de1e42f28ecf5b916700ffb184da72
/frameworks/base/core/java/android/net/ScoredNetwork.java
|
7a9612f032a5a759117ce712b89a173048c5d621 |
|
12-Jan-2017 |
Sundeep Ghuman <sghuman@google.com> |
Fix ScoredNetwork: unparcel bundle in toString. Calling isEmpty will ensure the bundle is unparceled before converting to a string. Test: dumped network_score Change-Id: Icaa4e736af55c6112805a2ce0e829739bbb5b312
/frameworks/base/core/java/android/net/ScoredNetwork.java
|
23ccbcd404513dda9988197440d34598c3576330 |
|
12-Jan-2017 |
Sundeep Ghuman <sghuman@google.com> |
Modify WifiNetworkScoreCache to print full Score. Test: dumped network_score and verified printout Change-Id: I3689449db91e8c5e96bed349749f074c5626bd03
/frameworks/base/core/java/android/net/ScoredNetwork.java
|
6c929621536664d6c014b177e7e6983f1fbd67ac |
|
16-Dec-2016 |
Sundeep Ghuman <sghuman@google.com> |
Create ScoredNetwork Badging API changes. Defines an attribute bundles key to hold the badging curve, the enums for badge values, and an API to retrieve a badge for a specific RSSI. Bug: 33457699 Test: Unit tests Change-Id: If9e8a60c4670b51c395fb501f55ddece8a72981e
/frameworks/base/core/java/android/net/ScoredNetwork.java
|
c63d5b0c74ad7330d9893640cdfce0e03f91c0f1 |
|
07-Dec-2016 |
Sundeep Ghuman <sghuman@google.com> |
Define the calculateRankingScore method and Key. Define the key to be used to store the rankingScoreOffset inside the ScoredNetwork bundle. Implement a platform API method to calculate the ranking score for a given rssi. Bug: 33049302 Test: Unit tests Change-Id: Ia3fea2197d7c211a2313fced8713d79d8d5f4f6e Topic: ScoredNetworkRankingScore
/frameworks/base/core/java/android/net/ScoredNetwork.java
|
23f98ebe33ffcbb3d8765e29c8f7d6a11bd67607 |
|
12-Dec-2016 |
Sundeep Ghuman <sghuman@google.com> |
Fix erroneous constructor in ScoredNetwork.java Test: Unit tests in ag/310934. Change-Id: I0075b15f59796872ea9779c04373563607d2f883
/frameworks/base/core/java/android/net/ScoredNetwork.java
|
d1daf6d22aeb502c0f94261f3421999c2da6ee51 |
|
29-Nov-2016 |
Jeremy Joslin <jjoslin@google.com> |
API for requesting network recommendations. Defining a new system API that will allow the system to request network recommendations from a NetworkScoreService implementation. Test: Coming in a future CL. BUG: 32909424 Merged-In: I2d5c0a843b928b04e87c1862a78702a02fd54c31 Change-Id: Idd33095c6cd2f5b391796c900399f18a2c40fcc3
/frameworks/base/core/java/android/net/ScoredNetwork.java
|
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
|