Current network bonus score adjustment

make current network bonus more dynamic across RSSI and throughput:
1) a minimum bonus score X (currently 20)
2) a potentially larger value (Y percent of current score)
Take a maximum of these two values.
Both X and Y are configurable through overlay. This makes network more sticky at high RSSI/throughput cases.

The above bonus score is not applied if current network is not internet validated and user doesn't expect it.

Bug: 153447053
Bug: 153662212
Test: atest com.android.server.wifi
Change-Id: Ia75fd6945b8d3f5837c08ff2a983ec883920376f
7 files changed