/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiBlocklistMonitorTest.java | 69 private static final String TEST_BSSID_1 = "0a:08:5c:67:89:00"; field in WifiBlocklistMonitorTest 267 TEST_BSSID_1, config, in verifyAddTestBssidToBlocklist() 269 assertTrue(mWifiBlocklistMonitor.updateAndGetBssidBlocklist().contains(TEST_BSSID_1)); in verifyAddTestBssidToBlocklist() 271 new ArraySet<>(Arrays.asList(new String[]{TEST_SSID_1}))).contains(TEST_BSSID_1)); in verifyAddTestBssidToBlocklist() 272 assertTrue(mWifiBlocklistMonitor.getBssidBlocklistForSsids(null).contains(TEST_BSSID_1)); in verifyAddTestBssidToBlocklist() 274 Collections.EMPTY_SET).contains(TEST_BSSID_1)); in verifyAddTestBssidToBlocklist() 282 mWifiBlocklistMonitor.handleBssidConnectionFailure(TEST_BSSID_1, in verifyAddMultipleBssidsToBlocklist() 296 assertTrue(bssidList.contains(TEST_BSSID_1)); in verifyAddMultipleBssidsToBlocklist() 333 assertTrue(mWifiBlocklistMonitor.updateAndGetBssidBlocklist().contains(TEST_BSSID_1)); in testBssidIsRemovedFromBlocklistAfterTimeout() 377 when(mWifiLastResortWatchdog.isBssidOnlyApOfSsid(TEST_BSSID_1)).thenReturn(true); in testIgnoreIfOnlyBssid() [all …]
|
D | ScanDetailCacheTest.java | 38 private static final String TEST_BSSID_1 = "0a:08:5c:67:89:01"; field in ScanDetailCacheTest 59 ScanDetail scanDetail = createScanDetailForNetwork(mWifiConfiguration, TEST_BSSID_1, in testPut() 62 assertEquals(scanDetail, mScanDetailCache.getScanDetail(TEST_BSSID_1)); in testPut() 68 ScanDetail s1 = createScanDetailForNetwork(mWifiConfiguration, TEST_BSSID_1, in testGetMostRecentScanResult() 90 assertEquals(s1, mScanDetailCache.getScanDetail(TEST_BSSID_1)); in testGetMostRecentScanResult()
|
D | WifiNetworkFactoryTest.java | 150 private static final String TEST_BSSID_1 = "12:34:23:23:45:ac"; field in WifiNetworkFactoryTest 651 WifiMetrics.ConnectionEvent.FAILURE_NONE, mSelectedNetwork, TEST_BSSID_1, in testHandleAcceptNetworkRequestFromFgAppWithSpecifierWithConnectedRequestFromFgApp() 675 WifiMetrics.ConnectionEvent.FAILURE_NONE, mSelectedNetwork, TEST_BSSID_1, in testHandleAcceptNetworkRequestFromFgSvcWithSpecifierWithConnectedRequestFromFgApp() 703 WifiMetrics.ConnectionEvent.FAILURE_NONE, mSelectedNetwork, TEST_BSSID_1, in testHandleAcceptNetworkRequestFromFgSvcWithSpecifierWithSameConnectedRequestFromFgApp() 1076 Pair.create(MacAddress.fromString(TEST_BSSID_1), MacAddress.BROADCAST_ADDRESS); in testNetworkSpecifierMatchSuccessUsingLiteralBssidMatch() 1783 WifiMetrics.ConnectionEvent.FAILURE_DHCP, mSelectedNetwork, TEST_BSSID_1, in testNetworkSpecifierHandleConnectionFailure() 1821 TEST_BSSID_1, WifiMetricsProto.ConnectionEvent.AUTH_FAILURE_WRONG_PSWD); in testNetworkSpecifierHandleAuthFailure() 1854 …WifiMetrics.ConnectionEvent.FAILURE_DHCP, connectedNetwork, TEST_BSSID_1, WifiMetricsProto.Connect… in testNetworkSpecifierHandleConnectionFailureToWrongNetwork() 1869 …WifiMetrics.ConnectionEvent.FAILURE_DHCP, mSelectedNetwork, TEST_BSSID_1, WifiMetricsProto.Connect… in testNetworkSpecifierHandleConnectionFailureToWrongNetwork() 1913 …WifiMetrics.ConnectionEvent.FAILURE_DHCP, mSelectedNetwork, TEST_BSSID_1, WifiMetricsProto.Connect… in testNetworkSpecifierHandleConnectionFailureToWrongBssid() [all …]
|
D | WifiScoreCardTest.java | 91 static final MacAddress TEST_BSSID_1 = MacAddress.fromString("aa:bb:cc:dd:ee:ff"); field in WifiScoreCardTest 146 mWifiInfo.setBSSID(TEST_BSSID_1.toString()); in setUp() 217 mWifiInfo.setBSSID(TEST_BSSID_1.toString()); in testUpdate() 221 WifiScoreCard.PerBssid perBssid = mWifiScoreCard.fetchByBssid(TEST_BSSID_1); in testUpdate() 230 assertEquals(perBssid, mWifiScoreCard.fetchByBssid(TEST_BSSID_1)); in testUpdate() 241 mWifiInfo.setBSSID(TEST_BSSID_1.toString()); in testBssidBlocklistStreakOperations() 266 mWifiInfo.setBSSID(TEST_BSSID_1.toString()); in testClearBssidBlocklistStreakForSsid() 294 mWifiInfo.setBSSID(TEST_BSSID_1.toString()); in testClearBssidBlocklistStreakForSsid() 305 mWifiInfo.setBSSID(TEST_BSSID_1.toString()); in testSetBssidConnectionTimestampMs() 321 mWifiInfo.setBSSID(TEST_BSSID_1.toString()); in testIdentifiers() [all …]
|
D | ActiveModeWardenTest.java | 141 private static final String TEST_BSSID_1 = "01:12:23:34:45:56"; field in ActiveModeWardenTest 3060 when(mClientModeManager.getConnectedBssid()).thenReturn(TEST_BSSID_1); in requestAdditionalClientModeManager() 3169 when(mClientModeManager.getConnectedBssid()).thenReturn(TEST_BSSID_1); in requestRemoveAdditionalClientModeManagerWhenNotAllowed() 3221 externalRequestListener, TEST_WORKSOURCE, TEST_SSID_1, TEST_BSSID_1, false); in requestAdditionalClientModeManagerWhenWifiIsOff() 3224 externalRequestListener, TEST_WORKSOURCE, TEST_SSID_1, TEST_BSSID_1); in requestAdditionalClientModeManagerWhenWifiIsOff() 3227 externalRequestListener, TEST_WORKSOURCE, TEST_SSID_1, TEST_BSSID_1); in requestAdditionalClientModeManagerWhenWifiIsOff() 3322 when(mClientModeManager.getConnectedBssid()).thenReturn(TEST_BSSID_1); in requestAdditionalClientModeManagerWhenConnectingToPrimaryBssid() 3343 externalRequestListener, TEST_WORKSOURCE, TEST_SSID_1, TEST_BSSID_1, false); in requestAdditionalClientModeManagerWhenConnectingToPrimaryBssid() 3346 externalRequestListener, TEST_WORKSOURCE, TEST_SSID_1, TEST_BSSID_1); in requestAdditionalClientModeManagerWhenConnectingToPrimaryBssid() 3349 externalRequestListener, TEST_WORKSOURCE, TEST_SSID_1, TEST_BSSID_1); in requestAdditionalClientModeManagerWhenConnectingToPrimaryBssid() [all …]
|
D | WifiHealthMonitorTest.java | 82 static final MacAddress TEST_BSSID_1 = MacAddress.fromString("aa:bb:cc:dd:ee:ff"); field in WifiHealthMonitorTest 159 mWifiInfo.setBSSID(TEST_BSSID_1.toString()); in setUp()
|
D | WifiConfigurationUtilTest.java | 75 static final String TEST_BSSID_1 = "11:22:11:22:cc:dd"; field in WifiConfigurationUtilTest 973 network1.getNetworkSelectionStatus().setNetworkSelectionBSSID(TEST_BSSID_1); in testIsSameNetworkReturnsTrueOnSameNetworkWithDifferentBSSID()
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/ |
D | WifiNetworkAgentSpecifierTest.java | 44 private static final String TEST_BSSID_1 = "aa:cc:12:aa:0b:c0"; field in WifiNetworkAgentSpecifierTest 140 wifiConfiguration2.BSSID = TEST_BSSID_1; in testWifiNetworkAgentSpecifierDoesNotSatisifyWhenBssidDifferent() 482 wifiConfigurationNetworkAgent.BSSID = TEST_BSSID_1; in testWifiNetworkAgentSpecifierDoesNotSatisfyNetworkSpecifierWithBssidPattern() 515 wifiConfigurationNetworkAgent.BSSID = TEST_BSSID_1; in testWifiNetworkAgentSpecifierDoesNotSatisfyNetworkSpecifierWithSsidAndBssidPattern()
|