summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/Script.java
diff options
context:
space:
mode:
authorArc Wang <arcwang@google.com>2019-12-09 19:16:10 +0800
committerArc Wang <arcwang@google.com>2019-12-09 19:17:23 +0800
commit6e810df9b8b15ffa25696b675731dba5b6ebf6a6 (patch)
treec17d45e96987171c2ae3510b4772a146e0af6921 /rs/java/android/renderscript/Script.java
parent3e57701bbd2088792390046d180ee0e384ffa99b (diff)
[Wi-Fi] Fix transition mode problems
1. In AccessPoint#updateBestRssiInfo, if bestResult is available, cache if it’s transition mode at new variables. 2. Remove SECURITY_PSK_SAE_TRANSITION & SECURITY_OWE_TRANSITION since we will cache if an Wi-Fi AP is transition mode. 3. Enhance getSecurity(ScanResult result). For a PSK/SAE transition mode ScanResult, return SAE. For a open/OWE transition mode ScanResult, return OWE. 4. Enhance all AccessPoint#matches methods 5. Use enhanced AccessPoint#matches to replace AccessPoint#isKeyEqual 6. In WifiTracker#updateAccessPoints, it associates an AccessPoint with a configured WifiConfiguration I. If an AccessPoint is PSK/SAE transition mode, update it with a configured network of the same SSID and PSK/SAE security if it’s available. (SAE has higher priority). II. If an AccessPoint is Open/OWE transition mode, update it with a configured network of the same SSID and open/OWE security if it’s available. (OWE has higher priority). Bug: 144320676 Bug: 144320649 Bug: 144325162 Bug: 144321574 Test: atest SettingsLibTests manual: In Wi-Fi picker 1. Save a PSK network, click a PSK/SAE transition mode AP of the same SSID, it should connects. 2. Save a SAE network, click a PSK/SAE transition mode AP of the same SSID, it should connects. 3. For 1. and 2., the transition mode AP should show 'Saved'. 4. For 1. and 2., looking at saved network page, each saved network should shows correct connection status of the transition mode AP. Change-Id: Ida858af791bc60f0ccb11025901de2a79eacba3c Merged-In: I9688f51f4a4b8e3d5c080fb0d0103abb4e3fd79b
Diffstat (limited to 'rs/java/android/renderscript/Script.java')
0 files changed, 0 insertions, 0 deletions