/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiBlocklistMonitorTest.java | 51 private static final String TEST_SSID_1 = "TestSSID1"; field in WifiBlocklistMonitorTest 189 TEST_BSSID_1, TEST_SSID_1, in verifyAddTestBssidToBlocklist() 198 TEST_SSID_1, WifiBlocklistMonitor.REASON_AP_UNABLE_TO_HANDLE_NEW_STA, in verifyAddMultipleBssidsToBlocklist() 202 TEST_SSID_1, WifiBlocklistMonitor.REASON_AP_UNABLE_TO_HANDLE_NEW_STA, in verifyAddMultipleBssidsToBlocklist() 217 handleBssidConnectionFailureMultipleTimes(bssid, TEST_SSID_1, reason, times); in handleBssidConnectionFailureMultipleTimes() 234 assertEquals(2, mWifiBlocklistMonitor.updateAndGetNumBlockedBssidsForSsid(TEST_SSID_1)); in testUpdateAndGetNumBlockedBssidsForSsid() 265 .updateAndGetBssidBlocklistForSsids(Set.of(TEST_SSID_1)).size()); in testBssidRemovalUpdatesFirmwareConfiguration() 297 handleBssidConnectionFailureMultipleTimes(TEST_BSSID_1, TEST_SSID_1, in testIgnoreIfOnlyBssid() 319 handleBssidConnectionFailureMultipleTimes(TEST_BSSID_1, TEST_SSID_1, in testIgnoreIfOnlyBssidNotApplicableForSomeFailures() 343 handleBssidConnectionFailureMultipleTimes(TEST_BSSID_1, TEST_SSID_1, in testFailuresOnDisabledConfigsGetBlocked() [all …]
|
D | WifiNetworkFactoryTest.java | 122 private static final String TEST_SSID_1 = "test1234"; field in WifiNetworkFactoryTest 593 sendNetworkRequestAndSetupForConnectionStatus(TEST_SSID_1); in testHandleAcceptNetworkRequestFromFgAppWithSpecifierWithConnectedRequestFromFgApp() 619 sendNetworkRequestAndSetupForConnectionStatus(TEST_SSID_1); in testHandleAcceptNetworkRequestFromFgSvcWithSpecifierWithConnectedRequestFromFgApp() 649 sendNetworkRequestAndSetupForConnectionStatus(TEST_SSID_1); in testHandleAcceptNetworkRequestFromFgSvcWithSpecifierWithSameConnectedRequestFromFgApp() 839 mSelectedNetwork.SSID = "\"" + TEST_SSID_1 + "\""; in testPeriodicScanCancelOnUserSelectNetwork() 895 TEST_SSID_1, TEST_SSID_2, TEST_SSID_3, TEST_SSID_4); in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatch() 899 new PatternMatcher(TEST_SSID_1, PatternMatcher.PATTERN_LITERAL); in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatch() 936 TEST_SSID_1, TEST_SSID_2, TEST_SSID_3, TEST_SSID_4); in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatchForSaeTransitionScanResult() 940 new PatternMatcher(TEST_SSID_1, PatternMatcher.PATTERN_LITERAL); in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatchForSaeTransitionScanResult() 977 TEST_SSID_1, TEST_SSID_2, TEST_SSID_3, TEST_SSID_4); in testNetworkSpecifierMatchSuccessUsingPrefixSsidMatch() [all …]
|
D | OpenNetworkNotifierTest.java | 74 private static final String TEST_SSID_1 = "Test SSID 1"; field in OpenNetworkNotifierTest 113 mTestNetwork.SSID = TEST_SSID_1; in setUp() 566 mNotificationController.handleWifiConnected(TEST_SSID_1); in networkConnectionSuccess_wasNotInConnectingFlow_doesNothing() 589 mNotificationController.handleWifiConnected(TEST_SSID_1); in networkConnectionSuccess_wasShowingNotification_clearsNotification() 621 mNotificationController.handleWifiConnected(TEST_SSID_1); in networkConnectionSuccess_wasInConnectingFlow_postsConnectedNotification() 753 List<ScanDetail> scanResults = createOpenScanResults(TEST_SSID_1); in onlyNetworkIsRecommended() 764 List<ScanDetail> scanResults = createOpenScanResults(TEST_SSID_1, TEST_SSID_2); in networkWithHighestRssiIsRecommended() 804 mNotificationController.handleWifiConnected(TEST_SSID_1); in removeNetworkFromBlacklist_returnsEarlyIfNothingIsRemoved()
|
D | ActiveModeWardenTest.java | 117 private static final String TEST_SSID_1 = "\"Ssid12345\""; field in ActiveModeWardenTest 2615 config1.SSID = TEST_SSID_1; in requestAdditionalClientModeManager() 2700 config1.SSID = TEST_SSID_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() 2808 config1.SSID = TEST_SSID_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 | WifiScoreCardTest.java | 87 static final WifiSsid TEST_SSID_1 = WifiSsid.createFromAsciiEncoded("Joe's Place"); field in WifiScoreCardTest 144 mWifiInfo.setSSID(TEST_SSID_1); in setUp() 218 mWifiInfo.setSSID(TEST_SSID_1); in testUpdate() 242 mWifiInfo.setSSID(TEST_SSID_1); in testBssidBlocklistStreakOperations() 267 mWifiInfo.setSSID(TEST_SSID_1); in testClearBssidBlocklistStreakForSsid() 295 mWifiInfo.setSSID(TEST_SSID_1); in testClearBssidBlocklistStreakForSsid() 306 mWifiInfo.setSSID(TEST_SSID_1); in testSetBssidConnectionTimestampMs() 322 mWifiInfo.setSSID(TEST_SSID_1); in testIdentifiers()
|
D | WifiHealthMonitorTest.java | 80 static final WifiSsid TEST_SSID_1 = WifiSsid.createFromAsciiEncoded("Joe's Place"); field in WifiHealthMonitorTest 155 mWifiInfo.setSSID(TEST_SSID_1); in setUp()
|
D | WifiConfigurationUtilTest.java | 67 static final String TEST_SSID_1 = "\"test_ssid_1\""; field in WifiConfigurationUtilTest 851 WifiConfiguration network1 = WifiConfigurationTestUtil.createPskNetwork(TEST_SSID_1); in testIsSameNetworkReturnsFalseOnDifferentSSID()
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/ |
D | WifiNetworkAgentSpecifierTest.java | 40 private static final String TEST_SSID_1 = "456test"; field in WifiNetworkAgentSpecifierTest 118 wifiConfiguration2.SSID = TEST_SSID_1; in testWifiNetworkAgentSpecifierDoesNotSatisifyWhenSsidDifferent() 272 wifiConfigurationNetworkAgent.SSID = "\"" + TEST_SSID_1 + "\""; in testWifiNetworkAgentSpecifierDoesNotSatisfyNetworkSpecifierWithSsidPattern() 348 wifiConfigurationNetworkAgent.SSID = "\"" + TEST_SSID_1 + "\""; in testWifiNetworkAgentSpecifierLocalOnlyMatching()
|
D | WifiScannerTest.java | 86 private static final String TEST_SSID_1 = "TEST1"; field in WifiScannerTest 176 PnoNetwork pnoNetwork1 = new PnoNetwork(TEST_SSID_1); in canSerializeAndDeserializePnoSettings() 217 PnoNetwork pnoNetwork = new PnoNetwork(TEST_SSID_1); in pnoNetworkFrequencyIsNotNull() 480 scanResult1.SSID = TEST_SSID_1; in testScanDataAddResults() 489 assertEquals(TEST_SSID_1, consolidatedScanResults[0].SSID); in testScanDataAddResults() 496 scanResult1.SSID = TEST_SSID_1; in testScanDataParcel()
|
D | WifiNetworkSuggestionTest.java | 48 private static final String TEST_SSID_1 = "\"Test1234\""; field in WifiNetworkSuggestionTest 1138 configuration1.SSID = TEST_SSID_1; in testWifiNetworkSuggestionEqualsFailsWhenSsidIsDifferent()
|