Home
last modified time | relevance | path

Searched refs:perBssid (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiScoreCardTest.java221 WifiScoreCard.PerBssid perBssid = mWifiScoreCard.fetchByBssid(TEST_BSSID_1); in testUpdate() local
222 assertTrue(perBssid.id > 0); in testUpdate()
223 assertNotNull(perBssid.getL2Key()); in testUpdate()
224 assertTrue("L2Key length should be more than 16.", perBssid.getL2Key().length() > 16); in testUpdate()
230 assertEquals(perBssid, mWifiScoreCard.fetchByBssid(TEST_BSSID_1)); in testUpdate()
231 assertNotEquals(perBssid.id, mWifiScoreCard.fetchByBssid(TEST_BSSID_2).id); in testUpdate()
232 assertNotEquals(perBssid.getL2Key(), mWifiScoreCard.fetchByBssid(TEST_BSSID_2).getL2Key()); in testUpdate()
364 WifiScoreCard.PerBssid perBssid = mWifiScoreCard.fetchByBssid(TEST_BSSID_1); in testRssiPollUpdates() local
366 assertTrue(perBssid.lookupSignal(Event.SIGNAL_POLL, 5805) in testRssiPollUpdates()
367 == perBssid.lookupSignal(Event.SIGNAL_POLL, 5805)); in testRssiPollUpdates()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiScoreCard.java291 PerBssid perBssid = lookupBssid(wifiInfo.getSSID(), wifiInfo.getBSSID()); in getL2KeyAndGroupHint() local
292 if (perBssid == mPlaceholderPerBssid) { in getL2KeyAndGroupHint()
295 return new Pair<>(perBssid.getL2Key(), groupHintFromSsid(perBssid.ssid)); in getL2KeyAndGroupHint()
363 PerBssid perBssid = lookupBssid(wifiInfo.getSSID(), wifiInfo.getBSSID()); in updatePerBssid() local
364 perBssid.updateEventStats(event, in updatePerBssid()
369 perBssid.setNetworkConfigId(wifiInfo.getNetworkId()); in updatePerBssid()
370 logd("BSSID update " + event + " ID: " + perBssid.id + " " + wifiInfo); in updatePerBssid()
493 PerBssid perBssid = lookupBssid(wifiInfo.getSSID(), wifiInfo.getBSSID()); in noteNetworkAgentCreated() local
494 logd("NETWORK_AGENT_ID: " + networkAgentId + " ID: " + perBssid.id); in noteNetworkAgentCreated()
495 perBssid.mNetworkAgentId = networkAgentId; in noteNetworkAgentCreated()
[all …]
DWifiCandidates.java253 WifiScoreCard.PerBssid perBssid, in CandidateImpl() argument
271 this.mPerBssid = perBssid; in CandidateImpl()
288 this.mEstimatedPercentInternetAvailability = perBssid == null ? 50 : in CandidateImpl()
289 perBssid.estimatePercentInternetAvailability(); in CandidateImpl()
713 WifiScoreCard.PerBssid perBssid = mWifiScoreCard.lookupBssid( in add() local
716 perBssid.setSecurityType( in add()
719 perBssid.setNetworkConfigId(config.networkId); in add()
720 CandidateImpl candidate = new CandidateImpl(key, config, perBssid, nominatorId, in add()
DClientModeImpl.java7418 WifiScoreCard.PerBssid perBssid = mWifiScoreCard.lookupBssid( in processMessageImpl() local
7420 int probInternet = perBssid.estimatePercentInternetAvailability(); in processMessageImpl()