Home
last modified time | relevance | path

Searched refs:StandardWifiEntry (Results 1 – 14 of 14) sorted by relevance

/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/
DStandardWifiEntryTest.java34 import static com.android.wifitrackerlib.StandardWifiEntry.ScanResultKey;
35 import static com.android.wifitrackerlib.StandardWifiEntry.StandardWifiEntryKey;
36 import static com.android.wifitrackerlib.StandardWifiEntry.ssidAndSecurityTypeToStandardWifiEntryKe…
155 new StandardWifiEntry( in testConstructor_mismatchedSsids_throwsException()
173 final StandardWifiEntry entry = new StandardWifiEntry( in testConstructor_scanResults_setsBestLevel()
195 final StandardWifiEntry unsecureEntry = new StandardWifiEntry( in testConstructor_targetingNewSecurity_scanResultsSetSecurity()
201 final StandardWifiEntry secureEntry = new StandardWifiEntry( in testConstructor_targetingNewSecurity_scanResultsSetSecurity()
217 final StandardWifiEntry entry = new StandardWifiEntry( in testUpdateScanResultInfo_mismatchedSsids_throwsException()
237 final StandardWifiEntry entry = new StandardWifiEntry( in testUpdateScanResultInfo_notifiesListener()
255 final StandardWifiEntry entry = new StandardWifiEntry( in testUpdateScanResultInfo_updatesLevel()
[all …]
DNetworkDetailsTrackerTest.java20 import static com.android.wifitrackerlib.StandardWifiEntry.ScanResultKey;
21 import static com.android.wifitrackerlib.StandardWifiEntry.StandardWifiEntryKey;
DUtilsTest.java19 import static com.android.wifitrackerlib.StandardWifiEntry.StandardWifiEntryKey;
153 private StandardWifiEntry getStandardWifiEntry(WifiConfiguration config) { in getStandardWifiEntry()
154 return new StandardWifiEntry(mMockInjector, mTestHandler, in getStandardWifiEntry()
251 final StandardWifiEntry entry = getStandardWifiEntry(config); in testGetAutoConnectDescription_autoJoinEnabled_returnEmptyString()
265 final StandardWifiEntry entry = getStandardWifiEntry(config); in testGetAutoConnectDescription_autoJoinDisabled_returnDisable()
280 final StandardWifiEntry entry = getStandardWifiEntry(config); in testGetMeteredDescription_noOverrideNoHint_returnEmptyString()
292 final StandardWifiEntry entry = getStandardWifiEntry(config); in testGetMeteredDescription_overrideMetered_returnMetered()
308 final StandardWifiEntry entry = getStandardWifiEntry(config); in testGetMeteredDescription__meteredHintTrueAndOverrideNone_returnMetered()
323 final StandardWifiEntry entry = getStandardWifiEntry(config); in testGetMeteredDescription__meteredHintTrueAndOverrideMetered_returnMetered()
338 final StandardWifiEntry entry = getStandardWifiEntry(config); in testGetMeteredDescription__meteredHintTrueAndOverrideNotMetered_returnUnmetered()
DKnownNetworkEntryTest.java21 import static com.android.wifitrackerlib.StandardWifiEntry.ssidAndSecurityTypeToStandardWifiEntryKe…
DStandardNetworkDetailsTrackerTest.java21 import static com.android.wifitrackerlib.StandardWifiEntry.StandardWifiEntryKey;
22 import static com.android.wifitrackerlib.StandardWifiEntry.ssidAndSecurityTypeToStandardWifiEntryKe…
DWifiPickerTrackerTest.java2633 entry -> entry instanceof StandardWifiEntry).toList()).hasSize(1); in testKnownNetworks_matchingConnectedScanResult_entryNotIncluded()
2667 entry -> entry instanceof StandardWifiEntry).toList()).hasSize(1); in testKnownNetworks_newKnownNetworkMatchesSavedNetwork_knownNetworkNotIncluded()
2857 entry -> entry instanceof StandardWifiEntry).toList()).hasSize(1); in testHotspotNetworks_duplicatesStandardEntry_standardEntryExcluded()
2867 entry -> entry instanceof StandardWifiEntry).toList()).isEmpty(); in testHotspotNetworks_duplicatesStandardEntry_standardEntryExcluded()
2912 entry -> entry instanceof StandardWifiEntry).toList()).isEmpty(); in testHotspotNetworks_duplicatesActiveStandardEntry_standardEntryExcluded()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DStandardNetworkDetailsTracker.java21 import static com.android.wifitrackerlib.StandardWifiEntry.ScanResultKey;
22 import static com.android.wifitrackerlib.StandardWifiEntry.StandardWifiEntryKey;
53 private final StandardWifiEntry mChosenEntry;
89 mChosenEntry = new StandardWifiEntry(mInjector, mMainHandler, mKey, in StandardNetworkDetailsTracker()
DWifiPickerTracker.java25 import static com.android.wifitrackerlib.StandardWifiEntry.ScanResultKey;
26 import static com.android.wifitrackerlib.StandardWifiEntry.StandardWifiEntryKey;
124 private final List<StandardWifiEntry> mStandardWifiEntryCache = new ArrayList<>();
128 private final List<StandardWifiEntry> mSuggestedWifiEntryCache = new ArrayList<>();
566 activeWifiEntries.removeIf(entry -> entry instanceof StandardWifiEntry in updateWifiEntries()
568 ((StandardWifiEntry) entry).getStandardWifiEntryKey().getScanResultKey())); in updateWifiEntries()
595 for (StandardWifiEntry entry : mStandardWifiEntryCache) { in updateWifiEntries()
772 final StandardWifiEntry newEntry = new StandardWifiEntry(mInjector, in updateStandardWifiEntryScans()
824 final StandardWifiEntry newEntry = new StandardWifiEntry(mInjector, in updateSuggestedWifiEntryScans()
1280 for (StandardWifiEntry existingEntry : mStandardWifiEntryCache) { in conditionallyCreateConnectedStandardWifiEntry()
[all …]
DHotspotNetworkEntry.java195 new StandardWifiEntry.ScanResultKey(WifiInfo.sanitizeSsid(wifiInfo.getSSID()), in connectionInfoMatches()
278 StandardWifiEntry.ScanResultKey scanResultKey = mKey.getScanResultKey(); in getSsid()
502 private StandardWifiEntry.ScanResultKey mScanResultKey;
517 mScanResultKey = new StandardWifiEntry.ScanResultKey( in HotspotNetworkEntryKey()
542 mScanResultKey = new StandardWifiEntry.ScanResultKey(keyJson.getString( in HotspotNetworkEntryKey()
581 StandardWifiEntry.ScanResultKey getScanResultKey() { in getScanResultKey()
DSavedNetworkTracker.java22 import static com.android.wifitrackerlib.StandardWifiEntry.ScanResultKey;
23 import static com.android.wifitrackerlib.StandardWifiEntry.StandardWifiEntryKey;
87 private final List<StandardWifiEntry> mStandardWifiEntryCache = new ArrayList<>();
386 .collect(Collectors.groupingBy(StandardWifiEntry.ScanResultKey::new)); in updateStandardWifiEntryScans()
469 mStandardWifiEntryCache.add(new StandardWifiEntry(mInjector, mMainHandler, in updateStandardWifiEntryConfigs()
DNetworkRequestEntry.java33 public class NetworkRequestEntry extends StandardWifiEntry {
DKnownNetworkEntry.java46 public class KnownNetworkEntry extends StandardWifiEntry{
DNetworkDetailsTracker.java100 if (key.startsWith(StandardWifiEntry.KEY_PREFIX)) { in createNetworkDetailsTracker()
DStandardWifiEntry.java99 public class StandardWifiEntry extends WifiEntry { class
134 StandardWifiEntry( in StandardWifiEntry() method in StandardWifiEntry
151 StandardWifiEntry( in StandardWifiEntry() method in StandardWifiEntry