Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiScoreCardTest.java223 WifiScoreCard.PerBssid perBssid = mWifiScoreCard.fetchByBssid(TEST_BSSID_1); in testUpdate() local
224 assertTrue(perBssid.id > 0); in testUpdate()
225 assertNotNull(perBssid.getL2Key()); in testUpdate()
226 assertTrue("L2Key length should be more than 16.", perBssid.getL2Key().length() > 16); in testUpdate()
232 assertEquals(perBssid, mWifiScoreCard.fetchByBssid(TEST_BSSID_1)); in testUpdate()
233 assertNotEquals(perBssid.id, mWifiScoreCard.fetchByBssid(TEST_BSSID_2).id); in testUpdate()
234 assertNotEquals(perBssid.getL2Key(), mWifiScoreCard.fetchByBssid(TEST_BSSID_2).getL2Key()); in testUpdate()
366 WifiScoreCard.PerBssid perBssid = mWifiScoreCard.fetchByBssid(TEST_BSSID_1); in testRssiPollUpdates() local
368 assertTrue(perBssid.lookupSignal(Event.SIGNAL_POLL, 5805) in testRssiPollUpdates()
369 == perBssid.lookupSignal(Event.SIGNAL_POLL, 5805)); in testRssiPollUpdates()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiScoreCard.java292 PerBssid perBssid = lookupBssid(wifiInfo.getSSID(), wifiInfo.getBSSID()); in getL2KeyAndGroupHint() local
293 if (perBssid == mPlaceholderPerBssid) { in getL2KeyAndGroupHint()
296 return new Pair<>(perBssid.getL2Key(), groupHintFromSsid(perBssid.ssid)); in getL2KeyAndGroupHint()
364 PerBssid perBssid = lookupBssid(wifiInfo.getSSID(), wifiInfo.getBSSID()); in updatePerBssid() local
365 perBssid.updateEventStats(event, in updatePerBssid()
370 perBssid.setNetworkConfigId(wifiInfo.getNetworkId()); in updatePerBssid()
371 logd("BSSID update " + event + " ID: " + perBssid.id + " " + wifiInfo); in updatePerBssid()
494 PerBssid perBssid = lookupBssid(wifiInfo.getSSID(), wifiInfo.getBSSID()); in noteNetworkAgentCreated() local
495 logd("NETWORK_AGENT_ID: " + networkAgentId + " ID: " + perBssid.id); in noteNetworkAgentCreated()
496 perBssid.mNetworkAgentId = networkAgentId; in noteNetworkAgentCreated()
[all …]
DWifiCandidates.java191 WifiScoreCard.PerBssid perBssid, in CandidateImpl() argument
205 this.mPerBssid = perBssid; in CandidateImpl()
220 this.mEstimatedPercentInternetAvailability = perBssid == null ? 50 : in CandidateImpl()
221 perBssid.estimatePercentInternetAvailability(); in CandidateImpl()
539 WifiScoreCard.PerBssid perBssid = mWifiScoreCard.lookupBssid( in add() local
542 perBssid.setSecurityType( in add()
545 perBssid.setNetworkConfigId(config.networkId); in add()
546 CandidateImpl candidate = new CandidateImpl(key, config, perBssid, nominatorId, in add()