Home
last modified time | relevance | path

Searched refs:wifiKey (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/android/net/
DNetworkKey.java60 public final WifiKey wifiKey; field in NetworkKey
76 WifiKey wifiKey; in createFromScanResult() local
78 wifiKey = new WifiKey(String.format("\"%s\"", ssid), bssid); in createFromScanResult()
83 return new NetworkKey(wifiKey); in createFromScanResult()
104 WifiKey wifiKey; in createFromWifiInfo() local
106 wifiKey = new WifiKey(ssid, bssid); in createFromWifiInfo()
111 return new NetworkKey(wifiKey); in createFromWifiInfo()
121 public NetworkKey(WifiKey wifiKey) { in NetworkKey() argument
123 this.wifiKey = wifiKey; in NetworkKey()
130 wifiKey = WifiKey.CREATOR.createFromParcel(in); in NetworkKey()
[all …]
DWifiKey.java98 WifiKey wifiKey = (WifiKey) o; in equals()
100 return Objects.equals(ssid, wifiKey.ssid) && Objects.equals(bssid, wifiKey.bssid); in equals()
/frameworks/base/wifi/java/android/net/wifi/
DWifiNetworkScoreCache.java223 if (networkKey.wifiKey == null) return null; in buildNetworkKey()
225 String key = networkKey.wifiKey.ssid; in buildNetworkKey()
227 if (networkKey.wifiKey.bssid != null) { in buildNetworkKey()
228 key = key + networkKey.wifiKey.bssid; in buildNetworkKey()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkScoreServiceTest.java158 when(mWifiInfo.getSSID()).thenReturn(SCORED_NETWORK.networkKey.wifiKey.ssid); in setUp()
159 when(mWifiInfo.getBSSID()).thenReturn(SCORED_NETWORK.networkKey.wifiKey.bssid); in setUp()
176 mScanResults.add(createScanResult(SSID, SCORED_NETWORK.networkKey.wifiKey.bssid)); in populateScanResults()
177 mScanResults.add(createScanResult(SSID_2, SCORED_NETWORK_2.networkKey.wifiKey.bssid)); in populateScanResults()
795 createScanResult("", SCORED_NETWORK.networkKey.wifiKey.bssid), in testScanResultsScoreCacheFilter_invalidScanResults()
796 createScanResult(WifiSsid.NONE, SCORED_NETWORK.networkKey.wifiKey.bssid), in testScanResultsScoreCacheFilter_invalidScanResults()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiNetworkSelectorTestUtil.java346 WifiKey wifiKey = new WifiKey("\"" + scanResult.SSID + "\"", scanResult.BSSID); in configureScoreCache() local
347 NetworkKey ntwkKey = new NetworkKey(wifiKey); in configureScoreCache()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DAccessPoint.java307 mScoredNetworkCache.put(timedScore.getScore().networkKey.wifiKey.bssid, timedScore); in AccessPoint()
/frameworks/base/api/
Dsystem-current.txt4121 field public final android.net.WifiKey wifiKey;