summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorRoshan Pius <rpius@google.com>2019-11-14 07:19:12 -0800
committerRoshan Pius <rpius@google.com>2019-11-19 20:26:46 -0800
commitc278f80c282e1ec4563b75b2c3f7c169e3d26023 (patch)
tree7ebb9b2dc2619c51b6e5075d74c041d36167dcd5 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentb7213a25b17961051f4a6ca2e5f490a0c263e254 (diff)
NetworkScoreManager: Add @SystemApi for wifi mainline module
Add formal API's for API's that the wifi mainline module uses: a) NetworkScoreManager.requestNetworkScores - Request new network scores. b) NetworkScoreManager.registerNetworkScoreCallback - @SystemApi wrapper over the existing registerNetworkScoreCache. c) NetworkKey.createFromScanResult - Create NetworkKey from ScanResult. Also, a) Converted the existing WifiNetworkScoreCache callback implementation to support both the new @SystemApi (used by wifi) and the old @hide API (used by settings). b) Stopped invoking dump on all the callbacks from NetworkScoreService. The dump of each callback should be invoked at their client site (i.e wifi service should dump state of the callback it registers with the service). c) Added a helper method |dumpWithLatestScanResults| to help dump the state of the WifiNetworkScoreCache from wifi service. Bug: 144487252 Test: a) Device boots up and connects to wifi network. b) Manually verified that network scores are being requested & updated with the new interface. Change-Id: Id5a66189150e7a088127519373a832f63bdd12ac
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions