Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiScoreCardTest.java113 WifiScoreCard.PerBssid perBssid = mWifiScoreCard.fetchByBssid(TEST_BSSID_1); in testUpdate() local
114 assertTrue(perBssid.id > 0); in testUpdate()
115 assertNotNull(perBssid.l2Key); in testUpdate()
116 assertTrue("L2Key length should be more than 16.", perBssid.l2Key.length() > 16); in testUpdate()
122 assertEquals(perBssid, mWifiScoreCard.fetchByBssid(TEST_BSSID_1)); in testUpdate()
123 assertNotEquals(perBssid.id, mWifiScoreCard.fetchByBssid(TEST_BSSID_2).id); in testUpdate()
124 assertNotEquals(perBssid.l2Key, mWifiScoreCard.fetchByBssid(TEST_BSSID_2).l2Key); in testUpdate()
172 WifiScoreCard.PerBssid perBssid = mWifiScoreCard.fetchByBssid(TEST_BSSID_1); in testRssiPollUpdates() local
174 assertTrue(perBssid.lookupSignal(Event.SIGNAL_POLL, 5805) in testRssiPollUpdates()
175 == perBssid.lookupSignal(Event.SIGNAL_POLL, 5805)); in testRssiPollUpdates()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiScoreCard.java161 PerBssid perBssid = lookupBssid(wifiInfo.getSSID(), wifiInfo.getBSSID()); in getL2KeyAndGroupHint() local
162 if (perBssid == mDummyPerBssid) { in getL2KeyAndGroupHint()
165 final long groupIdHash = computeHashLong(perBssid.ssid, mDummyPerBssid.bssid); in getL2KeyAndGroupHint()
166 return new Pair<>(perBssid.l2Key, groupHintFromLong(groupIdHash)); in getL2KeyAndGroupHint()
201 PerBssid perBssid = lookupBssid(wifiInfo.getSSID(), wifiInfo.getBSSID()); in update() local
202 perBssid.updateEventStats(event, in update()
206 perBssid.setNetworkConfigId(wifiInfo.getNetworkId()); in update()
208 if (DBG) Log.d(TAG, event.toString() + " ID: " + perBssid.id + " " + wifiInfo); in update()
280 PerBssid perBssid = lookupBssid(wifiInfo.getSSID(), wifiInfo.getBSSID()); in noteNetworkAgentCreated() local
282 Log.d(TAG, "NETWORK_AGENT_ID: " + networkAgentId + " ID: " + perBssid.id); in noteNetworkAgentCreated()
[all …]
DWifiCandidates.java141 WifiScoreCard.PerBssid perBssid, in CandidateImpl() argument
150 this.mPerBssid = perBssid; in CandidateImpl()
374 WifiScoreCard.PerBssid perBssid = mWifiScoreCard.lookupBssid( in add() local
377 perBssid.setSecurityType( in add()
379 perBssid.setNetworkConfigId(config.networkId); in add()
381 scanDetail, config, evaluatorId, evaluatorScore, perBssid, in add()