OSDN Git Service

Stub APIs for network scoring.
authorJeff Davidson <jpd@google.com>
Wed, 9 Apr 2014 19:38:15 +0000 (12:38 -0700)
committerJeff Davidson <jpd@google.com>
Wed, 16 Apr 2014 18:55:14 +0000 (11:55 -0700)
commitb51e0a6c4b249e0d6f404fafef007645221be0d3
tree0d9e03791e9c5ca89ae4e7a54eddc14a2aa45110
parent6a4a946223f4b415a174071aa23af8078a4079e3
Stub APIs for network scoring.

NetworkScoreManager defines all interactions between the framework and
the scorer app. An ACTION_SCORE_NETWORKS broadcast is sent to the
default scorer with any unscored networks, which responds by calling
updateScores() with scores for those networks. An app may also check
whether they are currently the default scorer with
getDefaultScorerPackage() and request to become the default via the
ACTION_CHANGE_DEFAULT broadcast.

Bug: 13786258
Change-Id: Id3dc0f7c1109f0e3afd73356e2475b7f34167419
core/java/android/app/ContextImpl.java
core/java/android/content/Context.java
core/java/android/net/NetworkScoreManager.java [new file with mode: 0644]
core/res/AndroidManifest.xml
core/res/res/values/strings.xml