[WifiNetworkSelector] Allow activation of candidate scorer by expid
Use ScoringParams.getExperimentIdentifier() as the means of activating
a particular WifiCandidates.CandidateScorer instance.
For now, use CompatibiltyScorer.java as a subject.
Bug: 112196799
Test: manual:
Test: adb shell dumpsys wifi | grep CompatibiltyScorer
Test: Note message CompatibiltyScorer would choose ... expid 42478243
Test: adb shell settings put global wifi_score_params expid=42478243
Test: wait for network selection
Test: repeat dumpsys/grep above, note message says "chooses"
Test: adb shell settings delete global wifi_score_params # to reset
Change-Id: Ie9dd20a49ebf050438a5239cc85f85bac9f7cbab
2 files changed