Home
last modified time | relevance | path

Searched refs:WifiKey (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/core/java/android/net/
DWifiKey.java33 public class WifiKey implements Parcelable { class
66 public WifiKey(String ssid, String bssid) { in WifiKey() method in WifiKey
77 private WifiKey(Parcel in) { in WifiKey() method in WifiKey
98 WifiKey wifiKey = (WifiKey) o; in equals()
113 public static final @android.annotation.NonNull Creator<WifiKey> CREATOR =
114 new Creator<WifiKey>() {
116 public WifiKey createFromParcel(Parcel in) {
117 return new WifiKey(in);
121 public WifiKey[] newArray(int size) {
122 return new WifiKey[size];
DNetworkKey.java60 public final WifiKey wifiKey;
76 WifiKey wifiKey; in createFromScanResult()
78 wifiKey = new WifiKey(String.format("\"%s\"", ssid), bssid); in createFromScanResult()
104 WifiKey wifiKey; in createFromWifiInfo()
106 wifiKey = new WifiKey(ssid, bssid); in createFromWifiInfo()
121 public NetworkKey(WifiKey wifiKey) { in NetworkKey()
130 wifiKey = WifiKey.CREATOR.createFromParcel(in); in NetworkKey()
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiNetworkScoreCacheTest.java28 import android.net.WifiKey;
61 public static final WifiKey VALID_KEY = new WifiKey(FORMATTED_SSID, BSSID);
89 private static ScoredNetwork buildScoredNetwork(WifiKey key, RssiCurve curve) { in buildScoredNetwork()
135 WifiKey key2 = new WifiKey("\"ssid2\"", BSSID); in updateScoresShouldAddNewNetwork()
212 new WifiKey(FORMATTED_SSID2, BSSID), mockRssiCurve); in leastRecentlyUsedScore_shouldBeEvictedFromCache()
214 new WifiKey(FORMATTED_SSID3, BSSID), mockRssiCurve); in leastRecentlyUsedScore_shouldBeEvictedFromCache()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/wifi/
DTimestampedScoredNetworkTest.java22 import android.net.WifiKey;
38 new NetworkKey(new WifiKey("\"" + ssid + "\"", "00:00:00:00:00:00")), null); in createTestScoredNetwork()
DWifiUtilsTest.java29 import android.net.WifiKey;
174 new NetworkKey(new WifiKey(TEST_SSID, TEST_BSSID)), in buildScoredNetworkWithGivenBadgeCurve()
/frameworks/base/core/tests/coretests/src/android/net/
DNetworkRecommendationProviderTest.java63 mTestNetworkKeys[0] = new NetworkKey(new WifiKey("\"ssid_01\"", "00:00:00:00:00:11")); in setUp()
64 mTestNetworkKeys[1] = new NetworkKey(new WifiKey("\"ssid_02\"", "00:00:00:00:00:22")); in setUp()
DNetworkKeyTest.java98 NetworkKey expected = new NetworkKey(new WifiKey(VALID_SSID, VALID_BSSID)); in createFromWifi_validWifiInfo()
166 NetworkKey expected = new NetworkKey(new WifiKey(VALID_SSID, VALID_BSSID)); in createFromScanResult_validWifiSsid()
DScoredNetworkTest.java55 = new NetworkKey(new WifiKey("\"ssid\"", "00:00:00:00:00:00"));
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkScoreServiceTest.java55 import android.net.WifiKey;
113 new ScoredNetwork(new NetworkKey(new WifiKey(quote(SSID), "00:00:00:00:00:00")),
116 new ScoredNetwork(new NetworkKey(new WifiKey(quote(SSID_2), "00:00:00:00:00:00")),
815 new ScoredNetwork(new NetworkKey(new WifiKey(quote("newSsid"), in testScanResultsScoreCacheFilter_scoresFiltered()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
DWifiTrackerTest.java45 import android.net.WifiKey;
101 new NetworkKey(new WifiKey('"' + SSID_1 + '"', BSSID_1));
111 new NetworkKey(new WifiKey('"' + SSID_2 + '"', BSSID_2));
692 assertTrue(mRequestedKeys.contains(new NetworkKey(new WifiKey('"' + ssid + '"', bssid)))); in scoresShouldBeRequestedForNewScanResultOnly()
DAccessPointTest.java39 import android.net.WifiKey;
614 new NetworkKey(new WifiKey(TEST_SSID, TEST_BSSID)),
/frameworks/base/api/
Dsystem-current.txt4115 ctor public NetworkKey(android.net.WifiKey);
4121 field public final android.net.WifiKey wifiKey;
4241 public class WifiKey implements android.os.Parcelable {
4242 ctor public WifiKey(String, String);
4245 field @NonNull public static final android.os.Parcelable.Creator<android.net.WifiKey> CREATOR;
/frameworks/base/config/
Dpreloaded-classes2605 android.net.WifiKey$1
2606 android.net.WifiKey