/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiSignalPollResults.java | 39 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 …]
|
D | ExtendedWifiInfo.java | 89 int linkId, in updateMloRates() argument 96 MloLink link = getAffiliatedMloLink(linkId); in updateMloRates()
|
D | WifiScoreReport.java | 215 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()
|
D | TwtManager.java | 420 int linkId, int sessionId) { in onTwtSessionCreate() argument 431 iTwtCallback.onCreate(wakeDurationUs, wakeIntervalUs, linkId, getOwnerUid(cmdId), in onTwtSessionCreate()
|
D | WifiVendorHal.java | 1764 int linkId, int sessionId) { 1769 linkId,
|
D | ClientModeImpl.java | 2724 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()
|
D | WifiMetrics.java | 8781 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();
|
D | SupplicantStaIfaceHalAidlImpl.java | 3179 nativeSignalPollResults.addEntry(r.linkId, r.currentRssiDbm, r.txBitrateMbps, in getSignalPollResults() 3224 halInfo.links[i].linkId, in getConnectionMloLinksInfo()
|
D | WifiNative.java | 5466 void onTwtSessionCreate(int cmdId, int wakeDurationUs, long wakeIntervalUs, int linkId,
|
/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | WifiUsabilityStatsEntry.java | 743 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 …]
|
D | WifiInfo.java | 699 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()
|
D | MloLink.java | 244 public void setLinkId(int linkId) { in setLinkId() argument 245 mLinkId = linkId; in setLinkId()
|
D | ScanResult.java | 147 public void setApMloLinkId(int linkId) { in setApMloLinkId() argument 148 mApMloLinkId = linkId; in setApMloLinkId()
|
/packages/modules/Wifi/framework/java/android/net/wifi/twt/ |
D | TwtRequest.java | 179 @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/ |
D | WifiStaIface.java | 139 void onTwtSessionCreate(int cmdId, int wakeDurationUs, long wakeIntervalUs, int linkId, in onTwtSessionCreate() argument
|
D | WifiStaIfaceAidlImpl.java | 1363 stats.links[linkIndex].link_id = aidlStats.linkId; in setIfaceStatsPerLinkFromAidl()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | SupplicantStaIfaceHalAidlImplTest.java | 3191 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/ |
D | InformationElementUtil.java | 460 int linkId = ie.bytes[tbttInfoStartOffset + mldStartOffset in from() local 463 link.setLinkId(linkId); in from()
|