/packages/modules/Wifi/framework/tests/src/android/net/wifi/ |
D | WifiUsabilityStatsEntryTest.java | 508 assertThrows("linkId is invalid - " + MloLink.INVALID_MLO_LINK_ID, in verifyInvalidLinkIdForGetApis() 510 () -> usabilityStatsEntry.getLinkState(MloLink.INVALID_MLO_LINK_ID)); in verifyInvalidLinkIdForGetApis() 511 assertThrows("linkId is invalid - " + MloLink.INVALID_MLO_LINK_ID, in verifyInvalidLinkIdForGetApis() 513 () -> usabilityStatsEntry.getRssi(MloLink.INVALID_MLO_LINK_ID)); in verifyInvalidLinkIdForGetApis() 514 assertThrows("linkId is invalid - " + MloLink.INVALID_MLO_LINK_ID, in verifyInvalidLinkIdForGetApis() 516 () -> usabilityStatsEntry.getTxLinkSpeedMbps(MloLink.INVALID_MLO_LINK_ID)); in verifyInvalidLinkIdForGetApis() 517 assertThrows("linkId is invalid - " + MloLink.INVALID_MLO_LINK_ID, in verifyInvalidLinkIdForGetApis() 519 () -> usabilityStatsEntry.getContentionTimeStats(MloLink.INVALID_MLO_LINK_ID, in verifyInvalidLinkIdForGetApis() 521 assertThrows("linkId is invalid - " + MloLink.INVALID_MLO_LINK_ID, in verifyInvalidLinkIdForGetApis() 523 () -> usabilityStatsEntry.getRateStats(MloLink.INVALID_MLO_LINK_ID)); in verifyInvalidLinkIdForGetApis() [all …]
|
D | WifiInfoTest.java | 82 List<MloLink> links = new ArrayList<>(); in addMloInfo() 83 MloLink link = new MloLink(); in addMloInfo() 94 link.setState(MloLink.MLO_LINK_STATE_UNASSOCIATED); in addMloInfo() 101 List<MloLink> links = info.getAffiliatedMloLinks(); in assertMloNoRedaction() 103 for (MloLink link : links) { in assertMloNoRedaction() 114 assertEquals(MloLink.MLO_LINK_STATE_UNASSOCIATED, link.getState()); in assertMloNoRedaction() 121 List<MloLink> links = info.getAffiliatedMloLinks(); in assertMloLocalMacRedaction() 123 for (MloLink link : links) { in assertMloLocalMacRedaction() 132 List<MloLink> links = info.getAffiliatedMloLinks(); in assertMloSensitiveLocationRedaction() 134 for (MloLink link : links) { in assertMloSensitiveLocationRedaction() [all …]
|
/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | MloLink.java | 40 public final class MloLink implements Parcelable { class 119 public MloLink() { in MloLink() method in MloLink 136 public MloLink(MloLink source, long redactions) { in MloLink() method in MloLink 434 MloLink that = (MloLink) o; in equals() 565 public static final @NonNull Creator<MloLink> CREATOR = 566 new Creator<MloLink>() { 567 public MloLink createFromParcel(Parcel in) { 568 MloLink link = new MloLink(); 589 public MloLink[] newArray(int size) { 590 return new MloLink[size];
|
D | WifiInfo.java | 140 private SparseArray<MloLink> mAffiliatedMloLinksMap = new SparseArray<>(); 146 private List<MloLink> mAffiliatedMloLinks; 516 mApMloLinkId = MloLink.INVALID_MLO_LINK_ID; in WifiInfo() 569 mApMloLinkId = MloLink.INVALID_MLO_LINK_ID; in resetMultiLinkInfo() 594 mAffiliatedMloLinks = new ArrayList<MloLink>(); in WifiInfo() 595 for (MloLink link : source.mAffiliatedMloLinks) { in WifiInfo() 596 mAffiliatedMloLinks.add(new MloLink(link, redactions)); in WifiInfo() 710 public Builder setAffiliatedMloLinks(@NonNull List<MloLink> links) { in setAffiliatedMloLinks() 836 for (MloLink link : mAffiliatedMloLinks) { in mapAffiliatedMloLinks() 847 public void setAffiliatedMloLinks(@NonNull List<MloLink> links) { in setAffiliatedMloLinks() [all …]
|
D | ScanResult.java | 127 private int mApMloLinkId = MloLink.INVALID_MLO_LINK_ID; 138 @IntRange(from = MloLink.INVALID_MLO_LINK_ID, to = MloLink.MAX_MLO_LINK_ID) 156 private List<MloLink> mAffiliatedMloLinks = Collections.emptyList(); 165 public List<MloLink> getAffiliatedMloLinks() { in getAffiliatedMloLinks() 166 return new ArrayList<MloLink>(mAffiliatedMloLinks); in getAffiliatedMloLinks() 175 public void setAffiliatedMloLinks(@NonNull List<MloLink> links) { in setAffiliatedMloLinks() 176 mAffiliatedMloLinks = new ArrayList<MloLink>(links); in setAffiliatedMloLinks() 1852 .append((mApMloLinkId == MloLink.INVALID_MLO_LINK_ID) in toString() 2019 sr.mAffiliatedMloLinks = in.createTypedArrayList(MloLink.CREATOR);
|
D | WifiUsabilityStatsEntry.java | 703 mLinkId = MloLink.INVALID_MLO_LINK_ID; in LinkStats()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiLinkLayerStatsTest.java | 25 import android.net.wifi.MloLink; 75 List<MloLink> mloLinks = new ArrayList<>(); in setupMloLinks() 76 MloLink link1 = new MloLink(); in setupMloLinks() 81 MloLink link2 = new MloLink(); in setupMloLinks() 186 for (MloLink mloLink : mWifiInfo.getAffiliatedMloLinks()) { in checkThatAverageRatesConvergeToTheRightValuesAndTotalsAreRight()
|
D | WifiScoreReportTest.java | 50 import android.net.wifi.MloLink; 855 List<MloLink> mloLinks = new ArrayList<>(); in testDataLoggingMlo() 856 MloLink link1 = new MloLink(); in testDataLoggingMlo() 861 link1.setState(MloLink.MLO_LINK_STATE_ACTIVE); in testDataLoggingMlo() 864 MloLink link2 = new MloLink(); in testDataLoggingMlo() 870 link2.setState(MloLink.MLO_LINK_STATE_ACTIVE); in testDataLoggingMlo()
|
D | ClientModeImplTest.java | 127 import android.net.wifi.MloLink; 10032 List<MloLink> mloLinks = new ArrayList<>(); in setScanResultWithMloInfo() 10033 MloLink link1 = new MloLink(); in setScanResultWithMloInfo() 10039 MloLink link2 = new MloLink(); in setScanResultWithMloInfo() 10062 when(mScanResult.getApMloLinkId()).thenReturn(MloLink.INVALID_MLO_LINK_ID); in setScanResultWithoutMloInfo() 10107 List<MloLink> mloLinks = new ArrayList<>(); in testAffiliatedLinkBssidMatchWithNullLinkMacAddress() 10109 MloLink link1 = new MloLink(); in testAffiliatedLinkBssidMatchWithNullLinkMacAddress() 10182 assertEquals(MloLink.INVALID_MLO_LINK_ID, connectionInfo.getApMloLinkId()); in verifyMloParametersUpdateRoam() 10248 for (MloLink link: mWifiInfo.getAffiliatedMloLinks()) { in verifyMloLinkChangeTidToLinkMapping() 10249 assertEquals(link.getState(), MloLink.MLO_LINK_STATE_ACTIVE); in verifyMloLinkChangeTidToLinkMapping() [all …]
|
D | SupplicantStaIfaceHalAidlImplTest.java | 79 import android.hardware.wifi.supplicant.MloLink; 3188 MloLink[] links = new MloLink[3]; in testGetConnectionMloLinksInfo() 3190 links[0] = new android.hardware.wifi.supplicant.MloLink(); in testGetConnectionMloLinksInfo() 3198 links[1] = new android.hardware.wifi.supplicant.MloLink(); in testGetConnectionMloLinksInfo() 3206 links[2] = new android.hardware.wifi.supplicant.MloLink(); in testGetConnectionMloLinksInfo()
|
D | WifiMetricsTest.java | 71 import android.net.wifi.MloLink; 4708 List<MloLink> links = new ArrayList<>(); in testClientNotification() 4709 MloLink link; in testClientNotification() 4711 link = new MloLink(); in testClientNotification() 4720 link.setState(nextRandInt() % MloLink.MLO_LINK_STATE_ACTIVE); in testClientNotification() 4755 SparseArray<MloLink> mloLinks = new SparseArray<>(); in testClientNotification() 4756 for (MloLink mloLink: info.getAffiliatedMloLinks()) { in testClientNotification()
|
/packages/modules/Wifi/framework/java/android/net/wifi/twt/ |
D | TwtRequest.java | 19 import static android.net.wifi.MloLink.INVALID_MLO_LINK_ID; 20 import static android.net.wifi.MloLink.MAX_MLO_LINK_ID; 21 import static android.net.wifi.MloLink.MIN_MLO_LINK_ID; 27 import android.net.wifi.MloLink;
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/twt/ |
D | TwtRequestTest.java | 19 import static android.net.wifi.MloLink.MAX_MLO_LINK_ID; 20 import static android.net.wifi.MloLink.MIN_MLO_LINK_ID;
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/ |
D | NetworkDetail.java | 4 import android.net.wifi.MloLink; 170 private int mMloLinkId = MloLink.INVALID_MLO_LINK_ID; 171 private List<MloLink> mAffiliatedMloLinks = Collections.emptyList(); 485 MloLink link = new MloLink(); in NetworkDetail() 709 public List<MloLink> getAffiliatedMloLinks() { in getAffiliatedMloLinks()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | NetworkDetailTest.java | 24 import android.net.wifi.MloLink; 59 assertEquals(MloLink.INVALID_MLO_LINK_ID, networkDetail.getMloLinkId()); in verifyFromScanResultNoMultiLinkIe()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | ExtendedWifiInfo.java | 20 import android.net.wifi.MloLink; 96 MloLink link = getAffiliatedMloLink(linkId); in updateMloRates()
|
D | WifiScoreReport.java | 27 import android.net.wifi.MloLink; 214 for (MloLink link : mWifiInfo.getAffiliatedMloLinks()) { in triggerUpdateOfWifiUsabilityStats() 894 for (MloLink link : mWifiInfo.getAffiliatedMloLinks()) { in logLinkMetrics() 926 mloStats.add(MloLink.getStateString(link.getState())); in logLinkMetrics()
|
D | ClientModeImpl.java | 82 import android.net.wifi.MloLink; 2722 private void updateMloLinkFromPollResults(MloLink link, WifiSignalPollResults pollResults) { in updateMloLinkFromPollResults() 2744 private void updateMloLinkFromScanResult(MloLink link) { in updateMloLinkFromScanResult() 2783 for (MloLink link : mWifiInfo.getAffiliatedMloLinks()) { in updateLinkLayerStatsRssiSpeedFrequencyCapabilities() 2785 && (link.getState() == MloLink.MLO_LINK_STATE_IDLE in updateLinkLayerStatsRssiSpeedFrequencyCapabilities() 2786 || link.getState() == MloLink.MLO_LINK_STATE_ACTIVE)) { in updateLinkLayerStatsRssiSpeedFrequencyCapabilities() 3161 List<MloLink> deepCopyAffiliatedMloLinks = new ArrayList<>(); in setMultiLinkInfoFromScanCache() 3162 for (MloLink link : matchingScanResult.getAffiliatedMloLinks()) { in setMultiLinkInfoFromScanCache() 3163 deepCopyAffiliatedMloLinks.add(new MloLink(link, NetworkCapabilities.REDACT_NONE)); in setMultiLinkInfoFromScanCache() 3168 mWifiInfo.setApMloLinkId(MloLink.INVALID_MLO_LINK_ID); in setMultiLinkInfoFromScanCache() [all …]
|
D | WifiMetrics.java | 38 import android.net.wifi.MloLink; 7345 SparseArray<MloLink> mloLinks = new SparseArray<>(); 7346 for (MloLink link: info.getAffiliatedMloLinks()) { 7365 new MloLink()).getRssi() : info.getRssi(), 7367 new MloLink()).getTxLinkSpeedMbps() : info.getTxLinkSpeedMbps(), 7369 new MloLink()).getRxLinkSpeedMbps() : info.getRxLinkSpeedMbps(),
|
/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | InformationElementUtil.java | 20 import android.net.wifi.MloLink; 351 private List<MloLink> mAffiliatedMloLinks = new ArrayList<>(); 363 public List<MloLink> getAffiliatedMloLinks() { in getAffiliatedMloLinks() 462 MloLink link = new MloLink(); in from() 1264 private int mLinkId = MloLink.INVALID_MLO_LINK_ID; 1266 private List<MloLink> mAffiliatedLinks = new ArrayList<>(); 1284 public List<MloLink> getAffiliatedLinks() { in getAffiliatedLinks() 1285 return new ArrayList<MloLink>(mAffiliatedLinks); in getAffiliatedLinks() 1332 MloLink link = new MloLink(); in parsePerStaSubElement()
|
/packages/modules/Wifi/framework/api/ |
D | current.txt | 21 public final class MloLink implements android.os.Parcelable { 22 ctor public MloLink(); 27 …method @IntRange(from=android.net.wifi.MloLink.INVALID_MLO_LINK_ID, to=0xf) public int getLinkId(); 34 …field @NonNull public static final android.os.Parcelable.Creator<android.net.wifi.MloLink> CREATOR; 48 method @NonNull public java.util.List<android.net.wifi.MloLink> getAffiliatedMloLinks(); 50 …method @IntRange(from=android.net.wifi.MloLink.INVALID_MLO_LINK_ID, to=0xf) public int getApMloLin… 376 method @NonNull public java.util.List<android.net.wifi.MloLink> getAffiliatedMloLinks(); 378 …method @IntRange(from=android.net.wifi.MloLink.INVALID_MLO_LINK_ID, to=0xf) public int getApMloLin… 380 method @NonNull public java.util.List<android.net.wifi.MloLink> getAssociatedMloLinks();
|
D | system-current.txt | 1732 ….android.wifi.flags.android_v_wifi_api") @IntRange(from=android.net.wifi.MloLink.INVALID_MLO_LINK_…
|