Home
last modified time | relevance | path

Searched refs:MloLink (Results 1 – 22 of 22) sorted by relevance

/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiUsabilityStatsEntryTest.java508 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 …]
DWifiInfoTest.java82 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/
DMloLink.java40 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];
DWifiInfo.java140 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 …]
DScanResult.java127 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);
DWifiUsabilityStatsEntry.java703 mLinkId = MloLink.INVALID_MLO_LINK_ID; in LinkStats()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiLinkLayerStatsTest.java25 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()
DWifiScoreReportTest.java50 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()
DClientModeImplTest.java127 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 …]
DSupplicantStaIfaceHalAidlImplTest.java79 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()
DWifiMetricsTest.java71 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/
DTwtRequest.java19 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/
DTwtRequestTest.java19 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/
DNetworkDetail.java4 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/
DNetworkDetailTest.java24 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/
DExtendedWifiInfo.java20 import android.net.wifi.MloLink;
96 MloLink link = getAffiliatedMloLink(linkId); in updateMloRates()
DWifiScoreReport.java27 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()
DClientModeImpl.java82 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 …]
DWifiMetrics.java38 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/
DInformationElementUtil.java20 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/
Dcurrent.txt21 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();
Dsystem-current.txt1732 ….android.wifi.flags.android_v_wifi_api") @IntRange(from=android.net.wifi.MloLink.INVALID_MLO_LINK_…