Home
last modified time | relevance | path

Searched refs:linkId (Results 1 – 18 of 18) sorted by relevance

/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiSignalPollResults.java39 SignalPollResult(int linkId, int currentRssiDbm, int txBitrateMbps, in SignalPollResult() argument
41 this.linkId = linkId; in SignalPollResult()
51 public final int linkId; field in WifiSignalPollResults.SignalPollResult
90 public void addEntry(int linkId, int currentRssiDbm, int txBitRateMbps, int rxBitRateMbps, in addEntry() argument
99 mBestLinkId = linkId; in addEntry()
102 mEntries.put(linkId, in addEntry()
103 new SignalPollResult(linkId, currentRssiDbm, txBitRateMbps, rxBitRateMbps, in addEntry()
123 public int getRssi(int linkId) { in getRssi() argument
124 return mEntries.getOrDefault(linkId, mDefault).currentRssiDbm; in getRssi()
142 public int getTxLinkSpeed(int linkId) { in getTxLinkSpeed() argument
[all …]
DExtendedWifiInfo.java89 int linkId, in updateMloRates() argument
96 MloLink link = getAffiliatedMloLink(linkId); in updateMloRates()
DWifiScoreReport.java215 int linkId = link.getLinkId(); in triggerUpdateOfWifiUsabilityStats() local
216 link.setRssi(pollResults.getRssi(linkId)); in triggerUpdateOfWifiUsabilityStats()
217 link.setTxLinkSpeedMbps(pollResults.getTxLinkSpeed(linkId)); in triggerUpdateOfWifiUsabilityStats()
218 link.setRxLinkSpeedMbps(pollResults.getRxLinkSpeed(linkId)); in triggerUpdateOfWifiUsabilityStats()
220 pollResults.getFrequency(linkId))); in triggerUpdateOfWifiUsabilityStats()
221 link.setBand(ScanResult.toBand(pollResults.getFrequency(linkId))); in triggerUpdateOfWifiUsabilityStats()
DTwtManager.java420 int linkId, int sessionId) { in onTwtSessionCreate() argument
431 iTwtCallback.onCreate(wakeDurationUs, wakeIntervalUs, linkId, getOwnerUid(cmdId), in onTwtSessionCreate()
DWifiVendorHal.java1764 int linkId, int sessionId) {
1769 linkId,
DClientModeImpl.java2724 int linkId = link.getLinkId(); in updateMloLinkFromPollResults() local
2725 int rssi = RssiUtil.calculateAdjustedRssi(pollResults.getRssi(linkId)); in updateMloLinkFromPollResults()
2729 link.setTxLinkSpeedMbps(pollResults.getTxLinkSpeed(linkId)); in updateMloLinkFromPollResults()
2730 link.setRxLinkSpeedMbps(pollResults.getRxLinkSpeed(linkId)); in updateMloLinkFromPollResults()
2732 pollResults.getFrequency(linkId))); in updateMloLinkFromPollResults()
2733 link.setBand(ScanResult.toBand(pollResults.getFrequency(linkId))); in updateMloLinkFromPollResults()
2735 logd("updateMloLinkFromPollResults: linkId=" + linkId + " rssi=" + link.getRssi() in updateMloLinkFromPollResults()
DWifiMetrics.java8781 public long getTotalBeaconRxCount(int linkId) {
8782 if (!mLastLinkMetrics.contains(linkId)) return 0;
8783 return mLastLinkMetrics.get(linkId).getTotalBeaconRx();
8787 public @android.net.wifi.WifiUsabilityStatsEntry.LinkState int getLinkUsageState(int linkId) {
8788 if (!mLastLinkMetrics.contains(linkId)) {
8791 return mLastLinkMetrics.get(linkId).getLinkUsageState();
DSupplicantStaIfaceHalAidlImpl.java3179 nativeSignalPollResults.addEntry(r.linkId, r.currentRssiDbm, r.txBitrateMbps, in getSignalPollResults()
3224 halInfo.links[i].linkId, in getConnectionMloLinksInfo()
DWifiNative.java5466 void onTwtSessionCreate(int cmdId, int wakeDurationUs, long wakeIntervalUs, int linkId,
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiUsabilityStatsEntry.java743 public LinkStats(int linkId, int state, int radioId, int rssi, int txLinkSpeedMpbs, in LinkStats() argument
748 this.mLinkId = linkId; in LinkStats()
962 public @LinkState int getLinkState(int linkId) { in getLinkState() argument
963 if (mLinkStats.contains(linkId)) return mLinkStats.get(linkId).mState; in getLinkState()
964 throw new NoSuchElementException("linkId is invalid - " + linkId); in getLinkState()
988 public int getRssi(int linkId) { in getRssi() argument
989 if (mLinkStats.contains(linkId)) return mLinkStats.get(linkId).mRssi; in getRssi()
990 throw new NoSuchElementException("linkId is invalid - " + linkId); in getRssi()
1001 public long getRadioId(int linkId) { in getRadioId() argument
1002 if (mLinkStats.contains(linkId)) return mLinkStats.get(linkId).mRadioId; in getRadioId()
[all …]
DWifiInfo.java699 public Builder setApMloLinkId(int linkId) { in setApMloLinkId() argument
700 mWifiInfo.setApMloLinkId(linkId); in setApMloLinkId()
830 public void setApMloLinkId(int linkId) { in setApMloLinkId() argument
831 mApMloLinkId = linkId; in setApMloLinkId()
862 public boolean updateMloLinkStaAddress(int linkId, MacAddress macAddress) { in updateMloLinkStaAddress() argument
864 if (link.getLinkId() == linkId) { in updateMloLinkStaAddress()
882 public boolean updateMloLinkState(int linkId, @MloLink.MloLinkState int state) { in updateMloLinkState() argument
888 if (link.getLinkId() == linkId) { in updateMloLinkState()
961 public MloLink getAffiliatedMloLink(int linkId) { in getAffiliatedMloLink() argument
962 return mAffiliatedMloLinksMap.get(linkId); in getAffiliatedMloLink()
DMloLink.java244 public void setLinkId(int linkId) { in setLinkId() argument
245 mLinkId = linkId; in setLinkId()
DScanResult.java147 public void setApMloLinkId(int linkId) { in setApMloLinkId() argument
148 mApMloLinkId = linkId; in setApMloLinkId()
/packages/modules/Wifi/framework/java/android/net/wifi/twt/
DTwtRequest.java179 @IntRange(from = MIN_MLO_LINK_ID, to = MAX_MLO_LINK_ID) int linkId) { in setLinkId()
180 if (linkId < MIN_MLO_LINK_ID || linkId > MAX_MLO_LINK_ID) { in setLinkId()
183 mLinkId = linkId; in setLinkId()
/packages/modules/Wifi/service/java/com/android/server/wifi/hal/
DWifiStaIface.java139 void onTwtSessionCreate(int cmdId, int wakeDurationUs, long wakeIntervalUs, int linkId, in onTwtSessionCreate() argument
DWifiStaIfaceAidlImpl.java1363 stats.links[linkIndex].link_id = aidlStats.linkId; in setIfaceStatsPerLinkFromAidl()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DSupplicantStaIfaceHalAidlImplTest.java3191 links[0].linkId = 1; in testGetConnectionMloLinksInfo()
3199 links[1].linkId = 2; in testGetConnectionMloLinksInfo()
3207 links[2].linkId = 3; in testGetConnectionMloLinksInfo()
3232 assertEquals(nativeInfo.links[0].getLinkId(), info.links[0].linkId); in testGetConnectionMloLinksInfo()
3240 assertEquals(nativeInfo.links[1].getLinkId(), info.links[1].linkId); in testGetConnectionMloLinksInfo()
3250 assertEquals(nativeInfo.links[2].getLinkId(), info.links[2].linkId); in testGetConnectionMloLinksInfo()
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DInformationElementUtil.java460 int linkId = ie.bytes[tbttInfoStartOffset + mldStartOffset in from() local
463 link.setLinkId(linkId); in from()