Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/
DWifiKey.java35 public class WifiKey implements Parcelable { class
68 public WifiKey(String ssid, String bssid) { in WifiKey() method in WifiKey
79 private WifiKey(Parcel in) { in WifiKey() method in WifiKey
100 WifiKey wifiKey = (WifiKey) o; in equals()
116 public static final @android.annotation.NonNull Creator<WifiKey> CREATOR =
117 new Creator<WifiKey>() {
119 public WifiKey createFromParcel(Parcel in) {
120 return new WifiKey(in);
124 public WifiKey[] newArray(int size) {
125 return new WifiKey[size];
DNetworkKey.java71 public final WifiKey wifiKey;
94 final WifiKey wifiKey = new WifiKey(String.format("\"%s\"", ssid), bssid); in createFromScanResult()
117 WifiKey wifiKey; in createFromWifiInfo()
119 wifiKey = new WifiKey(ssid, bssid); in createFromWifiInfo()
134 public NetworkKey(WifiKey wifiKey) { in NetworkKey()
143 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.java99 NetworkKey expected = new NetworkKey(new WifiKey(VALID_SSID, VALID_BSSID)); in createFromWifi_validWifiInfo()
167 NetworkKey expected = new NetworkKey(new WifiKey(VALID_SSID, VALID_BSSID)); in createFromScanResult_validSsid()
DScoredNetworkTest.java55 = new NetworkKey(new WifiKey("\"ssid\"", "00:00:00:00:00:00"));
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiNetworkSelectorTestUtil.java28 import android.net.WifiKey;
346 WifiKey wifiKey = new WifiKey("\"" + scanResult.SSID + "\"", scanResult.BSSID); in configureScoreCache()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkScoreServiceTest.java56 import android.net.WifiKey;
114 new ScoredNetwork(new NetworkKey(new WifiKey(quote(SSID), "00:00:00:00:00:00")),
117 new ScoredNetwork(new NetworkKey(new WifiKey(quote(SSID_2), "00:00:00:00:00:00")),
816 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;
615 new NetworkKey(new WifiKey(TEST_SSID, TEST_BSSID)),
/frameworks/base/api/
Dsystem-current.txt4604 ctor public NetworkKey(android.net.WifiKey);
4611 field public final android.net.WifiKey wifiKey;
4887 public class WifiKey implements android.os.Parcelable {
4888 ctor public WifiKey(String, String);
4891 field @NonNull public static final android.os.Parcelable.Creator<android.net.WifiKey> CREATOR;
/frameworks/base/non-updatable-api/
Dsystem-current.txt4604 ctor public NetworkKey(android.net.WifiKey);
4611 field public final android.net.WifiKey wifiKey;
4793 public class WifiKey implements android.os.Parcelable {
4794 ctor public WifiKey(String, String);
4797 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
Dboot-image-profile.txt10690 HSPLandroid/net/WifiKey$1;-><init>()V
10691 HSPLandroid/net/WifiKey$1;->createFromParcel(Landroid/os/Parcel;)Landroid/net/WifiKey;
10692 HSPLandroid/net/WifiKey$1;->createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object;
10693 HSPLandroid/net/WifiKey;-><init>(Ljava/lang/String;Ljava/lang/String;)V
10694 HSPLandroid/net/WifiKey;->equals(Ljava/lang/Object;)Z
10695 HSPLandroid/net/WifiKey;->hashCode()I
10696 HSPLandroid/net/WifiKey;->writeToParcel(Landroid/os/Parcel;I)V
34972 Landroid/net/WifiKey$1;
34973 Landroid/net/WifiKey;
42206 HSPLandroid/net/NetworkKey;-><init>(Landroid/net/WifiKey;)V
Dhiddenapi-greylist-max-o.txt47656 Landroid/net/WifiKey;-><init>(Landroid/os/Parcel;)V
47657 Landroid/net/WifiKey;->BSSID_PATTERN:Ljava/util/regex/Pattern;
47658 Landroid/net/WifiKey;->SSID_PATTERN:Ljava/util/regex/Pattern;