Searched refs:peerInfo (Results 1 – 9 of 9) sorted by relevance
/packages/modules/Wifi/service/java/com/android/server/wifi/rtt/ |
D | RttMetrics.java | 203 PerPeerTypeInfo peerInfo; in recordResult() local 205 peerInfo = mPerPeerTypeInfo[PEER_AP]; in recordResult() 207 peerInfo = mPerPeerTypeInfo[PEER_AWARE]; in recordResult() 212 peerInfo.statusHistogram.put(WifiMetricsProto.WifiRttLog.MISSING_RESULT, in recordResult() 213 peerInfo.statusHistogram.get(WifiMetricsProto.WifiRttLog.MISSING_RESULT) + 1); in recordResult() 224 private void updatePeerInfoWithRequestInfo(PerPeerTypeInfo peerInfo, WorkSource ws, in updatePeerInfoWithRequestInfo() argument 231 peerInfo.numCalls++; in updatePeerInfoWithRequestInfo() 232 peerInfo.numIndividualCalls += numIndividualCalls; in updatePeerInfoWithRequestInfo() 233 peerInfo.numRequestsHistogram.put(numIndividualCalls, in updatePeerInfoWithRequestInfo() 234 peerInfo.numRequestsHistogram.get(numIndividualCalls) + 1); in updatePeerInfoWithRequestInfo() [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareDiscoverySessionState.java | 229 PeerInfo peerInfo = mPeerInfoByRequestorInstanceId.get(peerId); in sendMessage() local 230 if (peerInfo == null) { in sendMessage() 242 peerInfo.mInstanceId, peerInfo.mMac, message, messageId); in sendMessage() 296 PeerInfo peerInfo = mPeerInfoByRequestorInstanceId.valueAt(i); in onMatchExpired() local 297 if (peerInfo.mInstanceId == requestorInstanceId) { in onMatchExpired() 336 PeerInfo peerInfo = mPeerInfoByRequestorInstanceId.valueAt(i); in getPeerIdOrAddIfNew() local 337 if (peerInfo.mInstanceId == requestorInstanceId && Arrays.equals(peerMac, in getPeerIdOrAddIfNew() 338 peerInfo.mMac)) { in getPeerIdOrAddIfNew()
|
D | WifiAwareDataPathStateManager.java | 1480 WifiAwareDiscoverySessionState.PeerInfo peerInfo = session.getPeerInfo( in processNetworkSpecifier() local 1482 if (peerInfo == null) { in processNetworkSpecifier() 1488 peerInstanceId = peerInfo.mInstanceId; in processNetworkSpecifier() 1490 peerMac = peerInfo.mMac; in processNetworkSpecifier()
|
D | WifiAwareStateManager.java | 612 WifiAwareDiscoverySessionState.PeerInfo peerInfo = session.getPeerInfo( in requestMacAddresses() local 614 if (peerInfo != null) { in requestMacAddresses() 615 peerIdToMacMap.put(peerId, peerInfo.mMac); in requestMacAddresses()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiLinkLayerStats.java | 270 public PeerInfo[] peerInfo; field in WifiLinkLayerStats 442 int numPeers = this.peerInfo == null ? 0 : this.peerInfo.length; in toString() 445 PeerInfo peer = this.peerInfo[i]; in toString()
|
D | WifiMetrics.java | 6390 if (stats.peerInfo != null && stats.peerInfo.length > 0 6391 && stats.peerInfo[0].rateStats != null) { 6392 wifiUsabilityStatsEntry.staCount = stats.peerInfo[0].staCount; 6393 wifiUsabilityStatsEntry.channelUtilization = stats.peerInfo[0].chanUtil; 6394 int numRates = stats.peerInfo[0].rateStats != null 6395 ? stats.peerInfo[0].rateStats.length : 0; 6399 WifiLinkLayerStats.RateStat curRate = stats.peerInfo[0].rateStats[i];
|
D | WifiVendorHal.java | 1301 stats.peerInfo = new PeerInfo[iface.peers.size()]; in setIfaceStats_1_5() 1302 for (int i = 0; i < stats.peerInfo.length; i++) { in setIfaceStats_1_5() 1322 stats.peerInfo[i] = peer; in setIfaceStats_1_5()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiVendorHalTest.java | 1386 assertEquals(iface.peers.get(i).staCount, wifiLinkLayerStats.peerInfo[i].staCount); in verifyIFaceStats_1_5() 1387 assertEquals(iface.peers.get(i).chanUtil, wifiLinkLayerStats.peerInfo[i].chanUtil); in verifyIFaceStats_1_5() 1390 wifiLinkLayerStats.peerInfo[i].rateStats[j].preamble); in verifyIFaceStats_1_5() 1392 wifiLinkLayerStats.peerInfo[i].rateStats[j].nss); in verifyIFaceStats_1_5() 1394 wifiLinkLayerStats.peerInfo[i].rateStats[j].bw); in verifyIFaceStats_1_5() 1396 wifiLinkLayerStats.peerInfo[i].rateStats[j].rateMcsIdx); in verifyIFaceStats_1_5() 1398 wifiLinkLayerStats.peerInfo[i].rateStats[j].bitRateInKbps); in verifyIFaceStats_1_5() 1400 wifiLinkLayerStats.peerInfo[i].rateStats[j].txMpdu); in verifyIFaceStats_1_5() 1402 wifiLinkLayerStats.peerInfo[i].rateStats[j].rxMpdu); in verifyIFaceStats_1_5() 1404 wifiLinkLayerStats.peerInfo[i].rateStats[j].mpduLost); in verifyIFaceStats_1_5() [all …]
|
D | WifiMetricsTest.java | 3788 out.peerInfo = createNewPeerInfo(current.peerInfo); in nextRandomStats() 4039 for (int i = 0; i < stats.peerInfo.length; i++) { in assertUsabilityStatsAssignment() 4040 PeerInfo curPeer = stats.peerInfo[i]; in assertUsabilityStatsAssignment() 4181 PeerInfo[] peerInfo = new PeerInfo[1]; in createNewWifiLinkLayerStats() local 4182 peerInfo[0] = new PeerInfo(); in createNewWifiLinkLayerStats() 4183 peerInfo[0].rateStats = rateStats; in createNewWifiLinkLayerStats() 4184 stats.peerInfo = peerInfo; in createNewWifiLinkLayerStats()
|