OSDN Git Service

Cherrypick: Create ScoredNetwork Badging API changes.
authorSundeep Ghuman <sghuman@google.com>
Fri, 16 Dec 2016 21:30:45 +0000 (13:30 -0800)
committerStephen Chen <stewchen@google.com>
Mon, 9 Jan 2017 20:57:02 +0000 (12:57 -0800)
commit8bc096c09d5013c61e8e23a810e70f392b6b25b1
tree348666ce3b5545597766df0207757cb2cb36a054
parentcf3a4a68bddd5dbca05595a29e0ba3b13d809cb4
Cherrypick: 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.

OCL: ag/1727147
Bug: 33457699
Test: Unit tests
Change-Id: If9e8a60c4670b51c395fb501f55ddece8a72981e
Merged-In: If9e8a60c4670b51c395fb501f55ddece8a72981e
api/system-current.txt
core/java/android/net/ScoredNetwork.java
core/tests/coretests/src/android/net/ScoredNetworkTest.java