4efd1ca53643c9608700d32da05504a315821d7d |
|
19-Aug-2017 |
Stephen Chen <stewchen@google.com> |
Check contents of Bundle for ScoredNetwork.equals Bundle just uses object equality, so this improves the equality of ScoredNetwork by checking the contents of the bundle. Bug: 34824590 Test: runtest --path frameworks/base/core/tests/coretests/src/android/net/ScoredNetworkTest.java Change-Id: I1c39e574d4e1e23e0155467302be5e34076fe9a0
/frameworks/base/core/tests/coretests/src/android/net/ScoredNetworkTest.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/tests/coretests/src/android/net/ScoredNetworkTest.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/tests/coretests/src/android/net/ScoredNetworkTest.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/tests/coretests/src/android/net/ScoredNetworkTest.java
|
3824db6141c9ecabfc0ab900f2120e3aef3e9425 |
|
21-Jul-2014 |
Jeff Davidson <jpd@google.com> |
Delete most network scorer tests from coretests. Anything which tests public API functionality will be moved to a compatibility test suite. The only remaining test is NetworkScorerAppManagerTest, which contains unit tests for an internal helper class that is not (and should not be) exposed via @SystemApi or otherwise. Bug: 16355542 Change-Id: I478da97d3a4d09407992af37e45466dc484fa8cf
/frameworks/base/core/tests/coretests/src/android/net/ScoredNetworkTest.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/tests/coretests/src/android/net/ScoredNetworkTest.java
|