Home
last modified time | relevance | path

Searched refs:link2 (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiLinkLayerStatsTest.java81 MloLink link2 = new MloLink(); in setupMloLinks() local
82 link2.setBand(WifiScanner.WIFI_BAND_5_GHZ); in setupMloLinks()
83 link2.setChannel(44); in setupMloLinks()
84 link2.setApMacAddress(MacAddress.fromString("01:02:03:04:05:07")); in setupMloLinks()
85 link2.setLinkId(2); in setupMloLinks()
87 mloLinks.add(link2); in setupMloLinks()
DWifiScoreReportTest.java864 MloLink link2 = new MloLink(); in testDataLoggingMlo() local
865 link2.setBand(WifiScanner.WIFI_BAND_5_GHZ); in testDataLoggingMlo()
866 link2.setChannel(44); in testDataLoggingMlo()
867 link2.setApMacAddress(MacAddress.fromString("01:02:03:04:05:07")); in testDataLoggingMlo()
868 link2.setTxLinkSpeedMbps(600); in testDataLoggingMlo()
869 link2.setLinkId(2); in testDataLoggingMlo()
870 link2.setState(MloLink.MLO_LINK_STATE_ACTIVE); in testDataLoggingMlo()
873 mloLinks.add(link2); in testDataLoggingMlo()
896 link2.setRssi(-65 + i); in testDataLoggingMlo()
897 link2.setRetriedTxPacketsRate(0.2 + i); in testDataLoggingMlo()
[all …]
DClientModeImplTest.java10039 MloLink link2 = new MloLink(); in setScanResultWithMloInfo() local
10040 link2.setBand(WifiScanner.WIFI_BAND_5_GHZ); in setScanResultWithMloInfo()
10041 link2.setChannel(TEST_CHANNEL_1); in setScanResultWithMloInfo()
10042 link2.setApMacAddress(MacAddress.fromString(TEST_BSSID_STR1)); in setScanResultWithMloInfo()
10043 link2.setLinkId(TEST_MLO_LINK_ID_1); in setScanResultWithMloInfo()
10044 link2.setRssi(TEST_RSSI); in setScanResultWithMloInfo()
10046 mloLinks.add(link2); in setScanResultWithMloInfo()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiInfoTest.java888 MloLink link2 = new MloLink(link1, 0); in testMloLink() local
891 assertTrue(link1.equals(link2)); in testMloLink()
892 assertEquals(link2.hashCode(), link1.hashCode()); in testMloLink()
893 assertEquals(link2.toString(), link1.toString()); in testMloLink()
897 assertFalse(link1.equals(link2)); in testMloLink()
898 assertNotEquals(link2.hashCode(), link1.hashCode()); in testMloLink()
899 assertNotEquals(link2.toString(), link1.toString()); in testMloLink()