/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/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiBlocklistMonitorTest.java | 67 private static final String TEST_SSID_2 = "\"TestSSID2\""; field in WifiBlocklistMonitorTest 281 WifiConfiguration config2 = WifiConfigurationTestUtil.createPskNetwork(TEST_SSID_2); in verifyAddMultipleBssidsToBlocklist() 321 assertEquals(1, mWifiBlocklistMonitor.updateAndGetNumBlockedBssidsForSsid(TEST_SSID_2)); in testUpdateAndGetNumBlockedBssidsForSsid() 365 .updateAndGetBssidBlocklistForSsids(Set.of(TEST_SSID_2)).size()); in testBssidRemovalNotUpdateFirmwareConfiguration() 385 handleBssidConnectionFailureMultipleTimes(TEST_BSSID_2, TEST_SSID_2, in testIgnoreIfOnlyBssid() 424 mWifiBlocklistMonitor.handleWifiConfigurationDisabled(TEST_SSID_2); in testFailuresOnDisabledConfigsGetBlocked() 431 handleBssidConnectionFailureMultipleTimes(TEST_BSSID_2, TEST_SSID_2, in testFailuresOnDisabledConfigsGetBlocked() 440 mWifiBlocklistMonitor.handleBssidConnectionSuccess(TEST_BSSID_2, TEST_SSID_2); in testFailuresOnDisabledConfigsGetBlocked() 441 mWifiBlocklistMonitor.clearBssidBlocklistForSsid(TEST_SSID_2); in testFailuresOnDisabledConfigsGetBlocked() 442 handleBssidConnectionFailureMultipleTimes(TEST_BSSID_2, TEST_SSID_2, in testFailuresOnDisabledConfigsGetBlocked() [all …]
|
D | ExternalPnoScanRequestManagerTest.java | 69 private static final String TEST_SSID_2 = "\"TEST_SSID_2\""; field in ExternalPnoScanRequestManagerTest 72 WifiSsid.fromString(TEST_SSID_2)); 74 Arrays.asList(TEST_SSID_1, TEST_SSID_2) 193 scanResult3.setWifiSsid(WifiSsid.fromString(TEST_SSID_2)); in testRemoveRequest_afterDelivery()
|
D | WifiNetworkFactoryTest.java | 147 private static final String TEST_SSID_2 = "test12345678"; field in WifiNetworkFactoryTest 946 TEST_SSID_1, TEST_SSID_2, TEST_SSID_3, TEST_SSID_4); in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatch() 987 TEST_SSID_1, TEST_SSID_2, TEST_SSID_3, TEST_SSID_4); in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatchForSaeTransitionScanResult() 1028 TEST_SSID_1, TEST_SSID_2, TEST_SSID_3, TEST_SSID_4); in testNetworkSpecifierMatchSuccessUsingPrefixSsidMatch() 1070 TEST_SSID_1, TEST_SSID_2, TEST_SSID_3, TEST_SSID_4); in testNetworkSpecifierMatchSuccessUsingLiteralBssidMatch() 1111 TEST_SSID_1, TEST_SSID_2, TEST_SSID_3, TEST_SSID_4); in testNetworkSpecifierMatchSuccessUsingOuiPrefixBssidMatch() 1155 TEST_SSID_1, TEST_SSID_1, TEST_SSID_1, TEST_SSID_2); in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatchWithMultipleBssidMatches() 1200 TEST_SSID_1, TEST_SSID_1, TEST_SSID_2, TEST_SSID_2); in testNetworkSpecifierMatchFailUsingLiteralSsidMatchWhenSsidNotFound() 1238 TEST_SSID_1, TEST_SSID_2, TEST_SSID_3, TEST_SSID_4); in testNetworkSpecifierMatchFailUsingLiteralSsidMatchWhenKeyMgmtDiffers() 1355 String[] testIds = new String[]{TEST_SSID_1, TEST_SSID_2}; in testNetworkSpecifierHandleUserSelectionConnectToNetworkExceedApprovedListCapacity() [all …]
|
D | ActiveModeWardenTest.java | 139 private static final String TEST_SSID_2 = "\"Ssid45678\""; field in ActiveModeWardenTest 803 additionalClientModeManager, externalRequestListener, TEST_SSID_2, in testSwitchFromConnectModeToScanOnlyModeRemovesAdditionalCMMs() 3148 externalRequestListener, TEST_SSID_2, TEST_BSSID_2); in requestRemoveAdditionalClientModeManager() 3190 externalRequestListener, TEST_WORKSOURCE, TEST_SSID_2, TEST_BSSID_2, false); in requestRemoveAdditionalClientModeManagerWhenNotAllowed() 3193 externalRequestListener, TEST_WORKSOURCE, TEST_SSID_2, TEST_BSSID_2); in requestRemoveAdditionalClientModeManagerWhenNotAllowed() 3196 externalRequestListener, TEST_WORKSOURCE, TEST_SSID_2, TEST_BSSID_2); in requestRemoveAdditionalClientModeManagerWhenNotAllowed() 3241 externalRequestListener, TEST_SSID_2, TEST_BSSID_2); in requestAdditionalClientModeManagerWhenAlreadyPresent() 3245 config2.SSID = TEST_SSID_2; in requestAdditionalClientModeManagerWhenAlreadyPresent() 3280 externalRequestListener, TEST_SSID_2, TEST_BSSID_2); in requestAdditionalClientModeManagerWhenAlreadyPresentSameBssid() 3289 config2.SSID = TEST_SSID_2; in requestAdditionalClientModeManagerWhenAlreadyPresentSameBssid() [all …]
|
D | OpenNetworkNotifierTest.java | 79 private static final String TEST_SSID_2 = "Test SSID 2"; field in OpenNetworkNotifierTest 327 newNetwork.SSID = TEST_SSID_2; in screenOff_notificationShowing_handleScanResults_recommendationCanBeUpdated() 826 List<ScanDetail> scanResults = createOpenScanResults(TEST_SSID_1, TEST_SSID_2); in networkWithHighestRssiIsRecommended() 844 List<ScanDetail> scanResults = createOpenScanResults(mTestNetwork.SSID, TEST_SSID_2); in blacklistBestNetworkSsid_shouldNeverRecommendNetwork()
|
D | WifiHealthMonitorTest.java | 81 static final WifiSsid TEST_SSID_2 = WifiSsid.fromUtf8Text("Poe's Place"); field in WifiHealthMonitorTest 166 mWifiInfo.setSSID(TEST_SSID_2); in setUp()
|
D | WifiScoreCardTest.java | 89 static final WifiSsid TEST_SSID_2 = WifiSsid.fromUtf8Text("Poe's Ravn"); field in WifiScoreCardTest 276 mWifiInfo.setSSID(TEST_SSID_2); in testClearBssidBlocklistStreakForSsid() 1069 mWifiInfo.setSSID(TEST_SSID_2); in testNetworkSwitchWithOverlapping()
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/ |
D | WifiScannerTest.java | 89 private static final String TEST_SSID_2 = "TEST2"; field in WifiScannerTest 180 PnoNetwork pnoNetwork2 = new PnoNetwork(TEST_SSID_2); in canSerializeAndDeserializePnoSettings() 463 scanResult2.SSID = TEST_SSID_2; in testScanDataAddResults() 469 assertEquals(TEST_SSID_2, consolidatedScanResults[1].SSID); in testScanDataAddResults()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | PasspointProviderTest.java | 126 private static final String TEST_SSID_2 = "TestSSID2"; field in PasspointProviderTest 1719 scanResult.SSID = TEST_SSID_2; in createSecondaryTestScanResult()
|