26fd143326a11c9dd7942e31acca6df56288d194 |
|
29-Jul-2014 |
Jeff Davidson <jpd@google.com> |
Add NetworkScoreManager.disableScoring(). Allows the active scorer app to disable itself. Change-Id: I7bcdc3aafb95af4ea0b110b01b08ab4daf7a137f
/frameworks/base/core/java/android/net/INetworkScoreService.aidl
|
14f1ec05b2add5ee051c0d2e7c7c3b36a6e77b92 |
|
29-Apr-2014 |
Jeff Davidson <jpd@google.com> |
API for network cache subsystems. A network subsystem (e.g. Wi-Fi) will be responsible for implementing INetworkScoreCache. NetworkScoreService will load caches for each configured network subsystem. When it receives a call to update scores, it will separate the networks by type and call updateScores on the appropriate INetworkScoreCache. Each subsystem will also be responsible for requesting scores for new networks by calling NetworkScoreManager#requestScores. Bug: 14408144 Bug: 14137255 Change-Id: I76e5e5205bc359c39d6b9c1782126fb7f465cd96
/frameworks/base/core/java/android/net/INetworkScoreService.aidl
|
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/INetworkScoreService.aidl
|