Home
last modified time | relevance | path

Searched refs:StandardWifiEntryKey (Results 1 – 10 of 10) sorted by relevance

/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DStandardNetworkDetailsTracker.java22 import static com.android.wifitrackerlib.StandardWifiEntry.StandardWifiEntryKey;
52 private final StandardWifiEntryKey mKey;
84 mKey = new StandardWifiEntryKey(key); in StandardNetworkDetailsTracker()
198 return mKey.equals(new StandardWifiEntryKey(config, mKey.isTargetingNewNetworks())); in configMatches()
DWifiPickerTracker.java26 import static com.android.wifitrackerlib.StandardWifiEntry.StandardWifiEntryKey;
115 private final Map<StandardWifiEntryKey, List<WifiConfiguration>> mStandardWifiConfigCache =
118 private final Map<StandardWifiEntryKey, List<WifiConfiguration>> mSuggestedConfigCache =
121 private final ArrayMap<StandardWifiEntryKey, List<WifiConfiguration>>
770 final StandardWifiEntryKey entryKey = in updateStandardWifiEntryScans()
771 new StandardWifiEntryKey(scanKey, true /* isTargetingNewNetworks */); in updateStandardWifiEntryScans()
797 final Set<StandardWifiEntryKey> userSharedEntryKeys = in updateSuggestedWifiEntryScans()
800 .map(StandardWifiEntryKey::new) in updateSuggestedWifiEntryScans()
809 final Set<StandardWifiEntryKey> seenEntryKeys = new ArraySet<>(); in updateSuggestedWifiEntryScans()
811 final StandardWifiEntryKey entryKey = entry.getStandardWifiEntryKey(); in updateSuggestedWifiEntryScans()
[all …]
DStandardWifiEntry.java103 @NonNull private final StandardWifiEntryKey mKey;
137 @NonNull StandardWifiEntryKey key, in StandardWifiEntry()
154 @NonNull StandardWifiEntryKey key, in StandardWifiEntry()
174 StandardWifiEntryKey getStandardWifiEntryKey() { in getStandardWifiEntryKey()
862 static StandardWifiEntryKey ssidAndSecurityTypeToStandardWifiEntryKey( in ssidAndSecurityTypeToStandardWifiEntryKey()
869 static StandardWifiEntryKey ssidAndSecurityTypeToStandardWifiEntryKey( in ssidAndSecurityTypeToStandardWifiEntryKey()
871 return new StandardWifiEntryKey( in ssidAndSecurityTypeToStandardWifiEntryKey()
1048 static class StandardWifiEntryKey { class in StandardWifiEntry
1062 StandardWifiEntryKey(@NonNull ScanResultKey scanResultKey) { in StandardWifiEntryKey() method in StandardWifiEntry.StandardWifiEntryKey
1070 StandardWifiEntryKey(@NonNull ScanResultKey scanResultKey, boolean isTargetingNewNetworks) { in StandardWifiEntryKey() method in StandardWifiEntry.StandardWifiEntryKey
[all …]
DKnownNetworkEntry.java68 @NonNull Handler callbackHandler, @NonNull StandardWifiEntryKey key, in KnownNetworkEntry()
80 @NonNull Handler callbackHandler, @NonNull StandardWifiEntryKey key, in KnownNetworkEntry()
DNetworkRequestEntry.java41 @NonNull StandardWifiEntryKey key, @NonNull WifiManager wifiManager, in NetworkRequestEntry()
DSavedNetworkTracker.java23 import static com.android.wifitrackerlib.StandardWifiEntry.StandardWifiEntryKey;
455 final Map<StandardWifiEntryKey, List<WifiConfiguration>> wifiConfigsByKey = configs.stream() in updateStandardWifiEntryConfigs()
457 .collect(Collectors.groupingBy(StandardWifiEntryKey::new)); in updateStandardWifiEntryConfigs()
468 for (StandardWifiEntryKey key : wifiConfigsByKey.keySet()) { in updateStandardWifiEntryConfigs()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/
DStandardNetworkDetailsTrackerTest.java21 import static com.android.wifitrackerlib.StandardWifiEntry.StandardWifiEntryKey;
140 final StandardWifiEntryKey key = in testGetWifiEntry_HasCorrectKey()
166 final StandardWifiEntryKey key = in testConstructor_lifecycleCallbacksWhenRegistering_populatesChosenEntry()
182 final StandardWifiEntryKey key = in testScanResultsAvailableAction_updates_getLevel()
221 final StandardWifiEntryKey key = in testConfiguredNetworksChangedAction_updates_isSaved()
261 final StandardWifiEntryKey key = in testWifiStateChanged_disabled_clearsLevel()
DNetworkDetailsTrackerTest.java21 import static com.android.wifitrackerlib.StandardWifiEntry.StandardWifiEntryKey;
116 new StandardWifiEntryKey(new ScanResultKey("ssid", in testCreateNetworkDetailsTracker_returnsStandardNetworkDetailsTracker()
DStandardWifiEntryTest.java35 import static com.android.wifitrackerlib.StandardWifiEntry.StandardWifiEntryKey;
739 new StandardWifiEntryKey(config), Collections.singletonList(config), null, in getSavedStandardWifiEntry()
751 new StandardWifiEntryKey(config), Collections.singletonList(config), null, in getSavedDOStandardWifiEntry()
1550 assertThat(new StandardWifiEntryKey(config, true /* isTargetingNewNetworks */)) in testStandardWifiEntryKeyConstructor_fromConfig_matchesFromScanResultKey()
1551 .isEqualTo(new StandardWifiEntryKey( in testStandardWifiEntryKeyConstructor_fromConfig_matchesFromScanResultKey()
1561 final StandardWifiEntryKey entryKey = new StandardWifiEntryKey( in testStandardWifiEntryKey_toAndFromJson_matches()
1564 assertThat(new StandardWifiEntryKey(entryKey.toString())).isEqualTo(entryKey); in testStandardWifiEntryKey_toAndFromJson_matches()
DUtilsTest.java19 import static com.android.wifitrackerlib.StandardWifiEntry.StandardWifiEntryKey;
155 new StandardWifiEntryKey(config), Collections.singletonList(config), null, in getStandardWifiEntry()