/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiBlocklistMonitorTest.java | 66 private static final String TEST_SSID_1 = "\"TestSSID1\""; field in WifiBlocklistMonitorTest 265 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(TEST_SSID_1); in verifyAddTestBssidToBlocklist() 271 new ArraySet<>(Arrays.asList(new String[]{TEST_SSID_1}))).contains(TEST_BSSID_1)); in verifyAddTestBssidToBlocklist() 280 WifiConfiguration config1 = WifiConfigurationTestUtil.createPskNetwork(TEST_SSID_1); in verifyAddMultipleBssidsToBlocklist() 302 handleBssidConnectionFailureMultipleTimes(bssid, TEST_SSID_1, reason, times); in handleBssidConnectionFailureMultipleTimes() 320 assertEquals(2, mWifiBlocklistMonitor.updateAndGetNumBlockedBssidsForSsid(TEST_SSID_1)); in testUpdateAndGetNumBlockedBssidsForSsid() 351 .updateAndGetBssidBlocklistForSsids(Set.of(TEST_SSID_1)).size()); in testBssidRemovalUpdatesFirmwareConfiguration() 383 handleBssidConnectionFailureMultipleTimes(TEST_BSSID_1, TEST_SSID_1, in testIgnoreIfOnlyBssid() 405 handleBssidConnectionFailureMultipleTimes(TEST_BSSID_1, TEST_SSID_1, in testIgnoreIfOnlyBssidNotApplicableForSomeFailures() 429 handleBssidConnectionFailureMultipleTimes(TEST_BSSID_1, TEST_SSID_1, in testFailuresOnDisabledConfigsGetBlocked() [all …]
|
D | WifiNetworkFactoryTest.java | 146 private static final String TEST_SSID_1 = "test1234"; field in WifiNetworkFactoryTest 647 sendNetworkRequestAndSetupForConnectionStatus(TEST_SSID_1); in testHandleAcceptNetworkRequestFromFgAppWithSpecifierWithConnectedRequestFromFgApp() 671 sendNetworkRequestAndSetupForConnectionStatus(TEST_SSID_1); in testHandleAcceptNetworkRequestFromFgSvcWithSpecifierWithConnectedRequestFromFgApp() 699 sendNetworkRequestAndSetupForConnectionStatus(TEST_SSID_1); in testHandleAcceptNetworkRequestFromFgSvcWithSpecifierWithSameConnectedRequestFromFgApp() 890 mSelectedNetwork.SSID = "\"" + TEST_SSID_1 + "\""; in testPeriodicScanCancelOnUserSelectNetwork() 946 TEST_SSID_1, TEST_SSID_2, TEST_SSID_3, TEST_SSID_4); in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatch() 950 new PatternMatcher(TEST_SSID_1, PatternMatcher.PATTERN_LITERAL); in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatch() 987 TEST_SSID_1, TEST_SSID_2, TEST_SSID_3, TEST_SSID_4); in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatchForSaeTransitionScanResult() 991 new PatternMatcher(TEST_SSID_1, PatternMatcher.PATTERN_LITERAL); in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatchForSaeTransitionScanResult() 1028 TEST_SSID_1, TEST_SSID_2, TEST_SSID_3, TEST_SSID_4); in testNetworkSpecifierMatchSuccessUsingPrefixSsidMatch() [all …]
|
D | ExternalPnoScanRequestManagerTest.java | 68 private static final String TEST_SSID_1 = "\"TEST_SSID_1\""; field in ExternalPnoScanRequestManagerTest 71 WifiSsid.fromString(TEST_SSID_1), 74 Arrays.asList(TEST_SSID_1, TEST_SSID_2) 191 scanResult2.setWifiSsid(WifiSsid.fromString(TEST_SSID_1)); in testRemoveRequest_afterDelivery()
|
D | OpenNetworkNotifierTest.java | 78 private static final String TEST_SSID_1 = "Test SSID 1"; field in OpenNetworkNotifierTest 120 mTestNetwork.SSID = TEST_SSID_1; in setUp() 624 mNotificationController.handleWifiConnected(TEST_SSID_1); in networkConnectionSuccess_wasNotInConnectingFlow_doesNothing() 647 mNotificationController.handleWifiConnected(TEST_SSID_1); in networkConnectionSuccess_wasShowingNotification_clearsNotification() 679 mNotificationController.handleWifiConnected(TEST_SSID_1); in networkConnectionSuccess_wasInConnectingFlow_postsConnectedNotification() 815 List<ScanDetail> scanResults = createOpenScanResults(TEST_SSID_1); in onlyNetworkIsRecommended() 826 List<ScanDetail> scanResults = createOpenScanResults(TEST_SSID_1, TEST_SSID_2); in networkWithHighestRssiIsRecommended() 866 mNotificationController.handleWifiConnected(TEST_SSID_1); in removeNetworkFromBlacklist_returnsEarlyIfNothingIsRemoved()
|
D | WifiScoreCardTest.java | 88 static final WifiSsid TEST_SSID_1 = WifiSsid.fromUtf8Text("Joe's Place"); field in WifiScoreCardTest 145 mWifiInfo.setSSID(TEST_SSID_1); in setUp() 216 mWifiInfo.setSSID(TEST_SSID_1); in testUpdate() 240 mWifiInfo.setSSID(TEST_SSID_1); in testBssidBlocklistStreakOperations() 265 mWifiInfo.setSSID(TEST_SSID_1); in testClearBssidBlocklistStreakForSsid() 293 mWifiInfo.setSSID(TEST_SSID_1); in testClearBssidBlocklistStreakForSsid() 304 mWifiInfo.setSSID(TEST_SSID_1); in testSetBssidConnectionTimestampMs() 320 mWifiInfo.setSSID(TEST_SSID_1); in testIdentifiers()
|
D | ActiveModeWardenTest.java | 138 private static final String TEST_SSID_1 = "\"Ssid12345\""; field in ActiveModeWardenTest 3058 config1.SSID = TEST_SSID_1; in requestAdditionalClientModeManager() 3167 config1.SSID = TEST_SSID_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() 3320 config1.SSID = TEST_SSID_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 | 80 static final WifiSsid TEST_SSID_1 = WifiSsid.fromUtf8Text("Joe's Place"); field in WifiHealthMonitorTest 160 mWifiInfo.setSSID(TEST_SSID_1); in setUp()
|
D | WifiConfigurationUtilTest.java | 73 static final String TEST_SSID_1 = "\"test_ssid_1\""; field in WifiConfigurationUtilTest 984 WifiConfiguration network1 = WifiConfigurationTestUtil.createPskNetwork(TEST_SSID_1); in testIsSameNetworkReturnsFalseOnDifferentSSID()
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/ |
D | WifiScannerTest.java | 88 private static final String TEST_SSID_1 = "TEST1"; field in WifiScannerTest 179 PnoNetwork pnoNetwork1 = new PnoNetwork(TEST_SSID_1); in canSerializeAndDeserializePnoSettings() 220 PnoNetwork pnoNetwork = new PnoNetwork(TEST_SSID_1); in pnoNetworkFrequencyIsNotNull() 299 scanResult.SSID = TEST_SSID_1; in testGetSingleScanResults() 310 assertEquals(TEST_SSID_1, results.get(0).SSID); in testGetSingleScanResults() 459 scanResult1.SSID = TEST_SSID_1; in testScanDataAddResults() 468 assertEquals(TEST_SSID_1, consolidatedScanResults[0].SSID); in testScanDataAddResults() 475 scanResult1.SSID = TEST_SSID_1; in testScanDataParcel()
|
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() 419 wifiConfigurationNetworkAgent.SSID = "\"" + TEST_SSID_1 + "\""; in testWifiNetworkAgentSpecifierLocalOnlyMatching()
|
D | WifiNetworkSuggestionTest.java | 51 private static final String TEST_SSID_1 = "\"Test1234\""; field in WifiNetworkSuggestionTest 1158 configuration1.SSID = TEST_SSID_1; in testWifiNetworkSuggestionEqualsFailsWhenSsidIsDifferent()
|