/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiBlocklistMonitorTest.java | 54 private static final String TEST_BSSID_1 = "0a:08:5c:67:89:00"; field in WifiBlocklistMonitorTest 189 TEST_BSSID_1, TEST_SSID_1, in verifyAddTestBssidToBlocklist() 191 assertTrue(mWifiBlocklistMonitor.updateAndGetBssidBlocklist().contains(TEST_BSSID_1)); in verifyAddTestBssidToBlocklist() 197 mWifiBlocklistMonitor.handleBssidConnectionFailure(TEST_BSSID_1, in verifyAddMultipleBssidsToBlocklist() 211 assertTrue(bssidList.contains(TEST_BSSID_1)); in verifyAddMultipleBssidsToBlocklist() 247 assertTrue(mWifiBlocklistMonitor.updateAndGetBssidBlocklist().contains(TEST_BSSID_1)); in testBssidIsRemovedFromBlocklistAfterTimeout() 291 when(mWifiLastResortWatchdog.isBssidOnlyApOfSsid(TEST_BSSID_1)).thenReturn(true); in testIgnoreIfOnlyBssid() 297 handleBssidConnectionFailureMultipleTimes(TEST_BSSID_1, TEST_SSID_1, in testIgnoreIfOnlyBssid() 314 when(mWifiLastResortWatchdog.isBssidOnlyApOfSsid(TEST_BSSID_1)).thenReturn(true); in testIgnoreIfOnlyBssidNotApplicableForSomeFailures() 319 handleBssidConnectionFailureMultipleTimes(TEST_BSSID_1, TEST_SSID_1, in testIgnoreIfOnlyBssidNotApplicableForSomeFailures() [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 | 126 private static final String TEST_BSSID_1 = "12:34:23:23:45:ac"; field in WifiNetworkFactoryTest 597 WifiMetrics.ConnectionEvent.FAILURE_NONE, mSelectedNetwork, TEST_BSSID_1); in testHandleAcceptNetworkRequestFromFgAppWithSpecifierWithConnectedRequestFromFgApp() 623 WifiMetrics.ConnectionEvent.FAILURE_NONE, mSelectedNetwork, TEST_BSSID_1); in testHandleAcceptNetworkRequestFromFgSvcWithSpecifierWithConnectedRequestFromFgApp() 653 WifiMetrics.ConnectionEvent.FAILURE_NONE, mSelectedNetwork, TEST_BSSID_1); in testHandleAcceptNetworkRequestFromFgSvcWithSpecifierWithSameConnectedRequestFromFgApp() 1025 Pair.create(MacAddress.fromString(TEST_BSSID_1), MacAddress.BROADCAST_ADDRESS); in testNetworkSpecifierMatchSuccessUsingLiteralBssidMatch() 1727 WifiMetrics.ConnectionEvent.FAILURE_DHCP, mSelectedNetwork, TEST_BSSID_1); in testNetworkSpecifierHandleConnectionFailure() 1759 WifiMetrics.ConnectionEvent.FAILURE_DHCP, connectedNetwork, TEST_BSSID_1); in testNetworkSpecifierHandleConnectionFailureToWrongNetwork() 1774 WifiMetrics.ConnectionEvent.FAILURE_DHCP, mSelectedNetwork, TEST_BSSID_1); in testNetworkSpecifierHandleConnectionFailureToWrongNetwork() 1818 WifiMetrics.ConnectionEvent.FAILURE_DHCP, mSelectedNetwork, TEST_BSSID_1); in testNetworkSpecifierHandleConnectionFailureToWrongBssid() 1847 WifiMetrics.ConnectionEvent.FAILURE_NONE, mSelectedNetwork, TEST_BSSID_1); in testNetworkSpecifierHandleConnectionSuccess() [all …]
|
D | WifiScoreCardTest.java | 90 static final MacAddress TEST_BSSID_1 = MacAddress.fromString("aa:bb:cc:dd:ee:ff"); field in WifiScoreCardTest 145 mWifiInfo.setBSSID(TEST_BSSID_1.toString()); in setUp() 219 mWifiInfo.setBSSID(TEST_BSSID_1.toString()); in testUpdate() 223 WifiScoreCard.PerBssid perBssid = mWifiScoreCard.fetchByBssid(TEST_BSSID_1); in testUpdate() 232 assertEquals(perBssid, mWifiScoreCard.fetchByBssid(TEST_BSSID_1)); in testUpdate() 243 mWifiInfo.setBSSID(TEST_BSSID_1.toString()); in testBssidBlocklistStreakOperations() 268 mWifiInfo.setBSSID(TEST_BSSID_1.toString()); in testClearBssidBlocklistStreakForSsid() 296 mWifiInfo.setBSSID(TEST_BSSID_1.toString()); in testClearBssidBlocklistStreakForSsid() 307 mWifiInfo.setBSSID(TEST_BSSID_1.toString()); in testSetBssidConnectionTimestampMs() 323 mWifiInfo.setBSSID(TEST_BSSID_1.toString()); in testIdentifiers() [all …]
|
D | ActiveModeWardenTest.java | 120 private static final String TEST_BSSID_1 = "01:12:23:34:45:56"; field in ActiveModeWardenTest 2617 when(mClientModeManager.getConnectedBssid()).thenReturn(TEST_BSSID_1); in requestAdditionalClientModeManager() 2702 when(mClientModeManager.getConnectedBssid()).thenReturn(TEST_BSSID_1); in requestRemoveAdditionalClientModeManagerWhenNotAllowed() 2750 externalRequestListener, TEST_WORKSOURCE, TEST_SSID_1, TEST_BSSID_1); in requestAdditionalClientModeManagerWhenWifiIsOff() 2753 externalRequestListener, TEST_WORKSOURCE, TEST_SSID_1, TEST_BSSID_1); in requestAdditionalClientModeManagerWhenWifiIsOff() 2756 externalRequestListener, TEST_WORKSOURCE, TEST_SSID_1, TEST_BSSID_1); in requestAdditionalClientModeManagerWhenWifiIsOff() 2810 when(mClientModeManager.getConnectedBssid()).thenReturn(TEST_BSSID_1); in requestAdditionalClientModeManagerWhenConnectingToPrimaryBssid() 2831 externalRequestListener, TEST_WORKSOURCE, TEST_SSID_1, TEST_BSSID_1); in requestAdditionalClientModeManagerWhenConnectingToPrimaryBssid() 2834 externalRequestListener, TEST_WORKSOURCE, TEST_SSID_1, TEST_BSSID_1); in requestAdditionalClientModeManagerWhenConnectingToPrimaryBssid() 2837 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 154 mWifiInfo.setBSSID(TEST_BSSID_1.toString()); in setUp()
|
D | WifiConfigurationUtilTest.java | 69 static final String TEST_BSSID_1 = "11:22:11:22:cc:dd"; field in WifiConfigurationUtilTest 840 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() 411 wifiConfigurationNetworkAgent.BSSID = TEST_BSSID_1; in testWifiNetworkAgentSpecifierDoesNotSatisfyNetworkSpecifierWithBssidPattern() 444 wifiConfigurationNetworkAgent.BSSID = TEST_BSSID_1; in testWifiNetworkAgentSpecifierDoesNotSatisfyNetworkSpecifierWithSsidAndBssidPattern()
|