/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiBlocklistMonitorTest.java | 52 private static final String TEST_SSID_2 = "TestSSID2"; field in WifiBlocklistMonitorTest 205 TEST_SSID_2, WifiBlocklistMonitor.REASON_AP_UNABLE_TO_HANDLE_NEW_STA, in verifyAddMultipleBssidsToBlocklist() 235 assertEquals(1, mWifiBlocklistMonitor.updateAndGetNumBlockedBssidsForSsid(TEST_SSID_2)); in testUpdateAndGetNumBlockedBssidsForSsid() 279 .updateAndGetBssidBlocklistForSsids(Set.of(TEST_SSID_2)).size()); in testBssidRemovalNotUpdateFirmwareConfiguration() 299 handleBssidConnectionFailureMultipleTimes(TEST_BSSID_2, TEST_SSID_2, in testIgnoreIfOnlyBssid() 338 mWifiBlocklistMonitor.handleWifiConfigurationDisabled(TEST_SSID_2); in testFailuresOnDisabledConfigsGetBlocked() 345 handleBssidConnectionFailureMultipleTimes(TEST_BSSID_2, TEST_SSID_2, in testFailuresOnDisabledConfigsGetBlocked() 354 mWifiBlocklistMonitor.handleBssidConnectionSuccess(TEST_BSSID_2, TEST_SSID_2); in testFailuresOnDisabledConfigsGetBlocked() 355 mWifiBlocklistMonitor.clearBssidBlocklistForSsid(TEST_SSID_2); in testFailuresOnDisabledConfigsGetBlocked() 356 handleBssidConnectionFailureMultipleTimes(TEST_BSSID_2, TEST_SSID_2, in testFailuresOnDisabledConfigsGetBlocked() [all …]
|
D | WifiNetworkFactoryTest.java | 123 private static final String TEST_SSID_2 = "test12345678"; field in WifiNetworkFactoryTest 895 TEST_SSID_1, TEST_SSID_2, TEST_SSID_3, TEST_SSID_4); in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatch() 936 TEST_SSID_1, TEST_SSID_2, TEST_SSID_3, TEST_SSID_4); in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatchForSaeTransitionScanResult() 977 TEST_SSID_1, TEST_SSID_2, TEST_SSID_3, TEST_SSID_4); in testNetworkSpecifierMatchSuccessUsingPrefixSsidMatch() 1019 TEST_SSID_1, TEST_SSID_2, TEST_SSID_3, TEST_SSID_4); in testNetworkSpecifierMatchSuccessUsingLiteralBssidMatch() 1060 TEST_SSID_1, TEST_SSID_2, TEST_SSID_3, TEST_SSID_4); in testNetworkSpecifierMatchSuccessUsingOuiPrefixBssidMatch() 1104 TEST_SSID_1, TEST_SSID_1, TEST_SSID_1, TEST_SSID_2); in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatchWithMultipleBssidMatches() 1149 TEST_SSID_1, TEST_SSID_1, TEST_SSID_2, TEST_SSID_2); in testNetworkSpecifierMatchFailUsingLiteralSsidMatchWhenSsidNotFound() 1187 TEST_SSID_1, TEST_SSID_2, TEST_SSID_3, TEST_SSID_4); in testNetworkSpecifierMatchFailUsingLiteralSsidMatchWhenKeyMgmtDiffers() 1303 String[] testIds = new String[]{TEST_SSID_1, TEST_SSID_2}; in testNetworkSpecifierHandleUserSelectionConnectToNetworkExceedApprovedListCapacity() [all …]
|
D | ActiveModeWardenTest.java | 118 private static final String TEST_SSID_2 = "\"Ssid45678\""; field in ActiveModeWardenTest 2682 externalRequestListener, TEST_SSID_2, TEST_BSSID_2); in requestRemoveAdditionalClientModeManager() 2723 externalRequestListener, TEST_WORKSOURCE, TEST_SSID_2, TEST_BSSID_2); in requestRemoveAdditionalClientModeManagerWhenNotAllowed() 2726 externalRequestListener, TEST_WORKSOURCE, TEST_SSID_2, TEST_BSSID_2); in requestRemoveAdditionalClientModeManagerWhenNotAllowed() 2729 externalRequestListener, TEST_WORKSOURCE, TEST_SSID_2, TEST_BSSID_2); in requestRemoveAdditionalClientModeManagerWhenNotAllowed() 2770 externalRequestListener, TEST_SSID_2, TEST_BSSID_2); in requestAdditionalClientModeManagerWhenAlreadyPresent() 2774 config2.SSID = TEST_SSID_2; in requestAdditionalClientModeManagerWhenAlreadyPresent() 3137 externalRequestListener, TEST_WORKSOURCE, TEST_SSID_2, TEST_BSSID_2); in requestHighPrioSecondaryTransientClientModeManagerWhenConnectedToLocalOnlyBssid() 3151 config2.SSID = TEST_SSID_2; in requestHighPrioSecondaryTransientClientModeManagerWhenConnectedToLocalOnlyBssid() 3158 externalRequestListener, TEST_WORKSOURCE, TEST_SSID_2, TEST_BSSID_2); in requestHighPrioSecondaryTransientClientModeManagerWhenConnectedToLocalOnlyBssid() [all …]
|
D | OpenNetworkNotifierTest.java | 75 private static final String TEST_SSID_2 = "Test SSID 2"; field in OpenNetworkNotifierTest 318 newNetwork.SSID = TEST_SSID_2; in screenOff_notificationShowing_handleScanResults_recommendationCanBeUpdated() 764 List<ScanDetail> scanResults = createOpenScanResults(TEST_SSID_1, TEST_SSID_2); in networkWithHighestRssiIsRecommended() 782 List<ScanDetail> scanResults = createOpenScanResults(mTestNetwork.SSID, TEST_SSID_2); in blacklistBestNetworkSsid_shouldNeverRecommendNetwork()
|
D | WifiHealthMonitorTest.java | 81 static final WifiSsid TEST_SSID_2 = WifiSsid.createFromAsciiEncoded("Poe's Place"); field in WifiHealthMonitorTest 161 mWifiInfo.setSSID(TEST_SSID_2); in setUp()
|
D | WifiScoreCardTest.java | 88 static final WifiSsid TEST_SSID_2 = WifiSsid.createFromAsciiEncoded("Poe's Ravn"); field in WifiScoreCardTest 278 mWifiInfo.setSSID(TEST_SSID_2); in testClearBssidBlocklistStreakForSsid() 1064 mWifiInfo.setSSID(TEST_SSID_2); in testNetworkSwitchWithOverlapping()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/ |
D | AddWifiNetworkTaskTest.java | 58 private static final String TEST_SSID_2 = "TEST_SSID_2"; field in AddWifiNetworkTaskTest 180 when(mWifiInfo.getSSID()).thenReturn(TEST_SSID_2); in testNoWifiInfoInProvider() 208 when(mWifiInfo.getSSID()).thenReturn(TEST_SSID_2); in testFailingAddingNetwork() 238 when(mWifiInfo.getSSID()).thenReturn(TEST_SSID_2); in testFailingToReconnectAfterAddingNetwork() 274 when(mWifiInfo.getSSID()).thenReturn(TEST_SSID_2); in testReconnectAfterAddingNetworkSuccess()
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/ |
D | WifiScannerTest.java | 87 private static final String TEST_SSID_2 = "TEST2"; field in WifiScannerTest 177 PnoNetwork pnoNetwork2 = new PnoNetwork(TEST_SSID_2); in canSerializeAndDeserializePnoSettings() 484 scanResult2.SSID = TEST_SSID_2; in testScanDataAddResults() 490 assertEquals(TEST_SSID_2, consolidatedScanResults[1].SSID); in testScanDataAddResults()
|