Searched refs:WifiBlocklistMonitor (Results 1 – 24 of 24) sorted by relevance
79 WifiBlocklistMonitor.REASON_FRAMEWORK_DISCONNECT_MBO_OCE;80 private static final int TEST_L2_FAILURE = WifiBlocklistMonitor.REASON_ASSOCIATION_REJECTION;81 private static final int TEST_DHCP_FAILURE = WifiBlocklistMonitor.REASON_DHCP_FAILURE;97 Map.entry(WifiBlocklistMonitor.REASON_AP_UNABLE_TO_HANDLE_NEW_STA, 1),98 Map.entry(WifiBlocklistMonitor.REASON_NETWORK_VALIDATION_FAILURE, 1),99 Map.entry(WifiBlocklistMonitor.REASON_WRONG_PASSWORD, 1),100 Map.entry(WifiBlocklistMonitor.REASON_EAP_FAILURE, 1),101 Map.entry(WifiBlocklistMonitor.REASON_ASSOCIATION_REJECTION, 3),102 Map.entry(WifiBlocklistMonitor.REASON_ASSOCIATION_TIMEOUT, 3),103 Map.entry(WifiBlocklistMonitor.REASON_AUTHENTICATION_FAILURE, 3),[all …]
87 private final WifiBlocklistMonitor.CarrierSpecificEapFailureConfig88 mExpectedEapFailureConfig = new WifiBlocklistMonitor.CarrierSpecificEapFailureConfig(135 WifiBlocklistMonitor.CarrierSpecificEapFailureConfig carrierOverride = in onEapFailureEapFailureConfigWithOverride()136 new WifiBlocklistMonitor.CarrierSpecificEapFailureConfig( in onEapFailureEapFailureConfigWithOverride()150 WifiBlocklistMonitor.CarrierSpecificEapFailureConfig failureConfig = in onEapFailureEapFailureConfigWithOverride()160 new WifiBlocklistMonitor.CarrierSpecificEapFailureConfig( in onEapFailureEapFailureConfigWithOverride()191 WifiBlocklistMonitor.CarrierSpecificEapFailureConfig failureConfig = in onEapFailureWithDefinedErrorCodeWithoutNotificationShown()218 WifiBlocklistMonitor.CarrierSpecificEapFailureConfig failureConfig = in onEapFailure_showNotificationFalse_notShown()242 WifiBlocklistMonitor.CarrierSpecificEapFailureConfig failureConfig = in onEapFailureWithDefinedErrorCodeWithNotificationShownWithoutSameSsid()272 WifiBlocklistMonitor.CarrierSpecificEapFailureConfig failureConfig = in onEapFailureWithDefinedErrorCodeWithNotificationShownWithSameSsid()[all …]
100 WifiBlocklistMonitor.REASON_ASSOCIATION_REJECTION;887 WifiBlocklistMonitor.REASON_ASSOCIATION_TIMEOUT); in makeAssocTimeOutExample()894 WifiBlocklistMonitor.REASON_ASSOCIATION_REJECTION); in makeAssocRejectionExample()901 WifiBlocklistMonitor.REASON_AP_UNABLE_TO_HANDLE_NEW_STA); in makeApUnableToHandleNewStaExample()974 WifiBlocklistMonitor.REASON_AUTHENTICATION_FAILURE); in makeAuthFailureAndWrongPassword()979 WifiBlocklistMonitor.REASON_WRONG_PASSWORD); in makeAuthFailureAndWrongPassword()986 WifiBlocklistMonitor.REASON_AUTHENTICATION_FAILURE); in makeAuthFailureExample()1020 WifiBlocklistMonitor.REASON_NONLOCAL_DISCONNECT_CONNECTING); in makeDisconnectionConnectingExample()1102 WifiBlocklistMonitor.REASON_ASSOCIATION_REJECTION); in testNetworkConnectionFailureLowRssi()1107 WifiBlocklistMonitor.REASON_ASSOCIATION_REJECTION); in testNetworkConnectionFailureLowRssi()[all …]
186 WifiBlocklistMonitor.CarrierSpecificEapFailureConfig config = in testLoadCarrierSpecificEapFailureConfigMap()
129 @Mock WifiBlocklistMonitor mWifiBlocklistMonitor;1323 eq(WifiBlocklistMonitor.REASON_FRAMEWORK_DISCONNECT_CONNECTED_SCORE), anyInt()); in bssidBlockListHappensWhenExitingIsLongerThanMinDuration()1809 eq(WifiBlocklistMonitor.REASON_FRAMEWORK_DISCONNECT_CONNECTED_SCORE), anyInt()); in testFrameworkGetsBlocklistCurrentBssidOperation()1892 eq(WifiBlocklistMonitor.REASON_FRAMEWORK_DISCONNECT_CONNECTED_SCORE), anyInt()); in verifyBssidBlocklistWithScoreValueOfMinus2()
534 @Mock WifiBlocklistMonitor mWifiBlocklistMonitor;2773 eq(mTestConfig), eq(WifiBlocklistMonitor.REASON_DHCP_FAILURE), anyInt()); in testDhcpFailure()4525 eq(WifiBlocklistMonitor.REASON_FAILURE_NO_RESPONSE), anyInt()); in testApNoResponseTriggerTimeout()4675 eq(mConnectedNetwork), eq(WifiBlocklistMonitor.REASON_ABNORMAL_DISCONNECT), in testAbnormalDisconnectNotifiesWifiBlocklistMonitor()4704 eq(mConnectedNetwork), eq(WifiBlocklistMonitor.REASON_ABNORMAL_DISCONNECT), in testAbnormalDisconnectIpReachabilityLostNotifiesWifiBlocklistMonitor()4731 WifiBlocklistMonitor.REASON_ASSOCIATION_TIMEOUT, testLowRssi); in testNotifiesWifiBlocklistMonitorLowRssi()4770 eq(WifiBlocklistMonitor.REASON_NONLOCAL_DISCONNECT_CONNECTING), anyInt()); in testDisconnectConnecting()4777 .thenReturn(WifiBlocklistMonitor.NUM_CONSECUTIVE_FAILURES_PER_NETWORK_EXP_BACKOFF); in triggerConnectionWithConsecutiveFailure()4798 eq(WifiBlocklistMonitor.REASON_NONLOCAL_DISCONNECT_CONNECTING), anyInt()); in testDisableNetworkConsecutiveFailures()4815 eq(WifiBlocklistMonitor.REASON_NONLOCAL_DISCONNECT_CONNECTING), anyInt()); in testDisableNetworkConsecutiveFailuresDoNotOverrideDisabledNetworks()[all …]
197 @Mock WifiBlocklistMonitor mWifiBlocklistMonitor;2364 WifiBlocklistMonitor.REASON_ASSOCIATION_TIMEOUT); in testBssidBlocklistMetrics()2370 WifiBlocklistMonitor.REASON_NETWORK_VALIDATION_FAILURE); in testBssidBlocklistMetrics()2386 buildInt32Count(WifiBlocklistMonitor.REASON_NETWORK_VALIDATION_FAILURE, 1), in testBssidBlocklistMetrics()2387 buildInt32Count(WifiBlocklistMonitor.REASON_ASSOCIATION_TIMEOUT, 3), in testBssidBlocklistMetrics()3008 testBssidBlocklistReasons.add(WifiBlocklistMonitor.REASON_ASSOCIATION_REJECTION); in testNetworkDisableReasonInUserActionEvent()
302 @Mock private WifiBlocklistMonitor mWifiBlocklistMonitor;
200 @Mock private WifiBlocklistMonitor mWifiBlocklistMonitor;
442 @Mock WifiBlocklistMonitor mWifiBlocklistMonitor;
22 import com.android.server.wifi.WifiBlocklistMonitor;228 case WifiBlocklistMonitor.REASON_AP_UNABLE_TO_HANDLE_NEW_STA: in convertBssidBlocklistReasonToWifiProtoEnum()230 case WifiBlocklistMonitor.REASON_NETWORK_VALIDATION_FAILURE: in convertBssidBlocklistReasonToWifiProtoEnum()232 case WifiBlocklistMonitor.REASON_WRONG_PASSWORD: in convertBssidBlocklistReasonToWifiProtoEnum()234 case WifiBlocklistMonitor.REASON_EAP_FAILURE: in convertBssidBlocklistReasonToWifiProtoEnum()236 case WifiBlocklistMonitor.REASON_ASSOCIATION_REJECTION: in convertBssidBlocklistReasonToWifiProtoEnum()238 case WifiBlocklistMonitor.REASON_ASSOCIATION_TIMEOUT: in convertBssidBlocklistReasonToWifiProtoEnum()240 case WifiBlocklistMonitor.REASON_AUTHENTICATION_FAILURE: in convertBssidBlocklistReasonToWifiProtoEnum()242 case WifiBlocklistMonitor.REASON_DHCP_FAILURE: in convertBssidBlocklistReasonToWifiProtoEnum()244 case WifiBlocklistMonitor.REASON_ABNORMAL_DISCONNECT: in convertBssidBlocklistReasonToWifiProtoEnum()[all …]
86 public @Nullable WifiBlocklistMonitor.CarrierSpecificEapFailureConfig onEapFailure( in onEapFailure()110 WifiBlocklistMonitor.CarrierSpecificEapFailureConfig eapFailureConfig = in onEapFailure()111 new WifiBlocklistMonitor.CarrierSpecificEapFailureConfig( in onEapFailure()116 WifiBlocklistMonitor.CarrierSpecificEapFailureConfig carrierSpecificOverride = in onEapFailure()
51 import com.android.server.wifi.WifiBlocklistMonitor.FailureReason;628 @WifiBlocklistMonitor.FailureReason int reason) { in incrementBssidBlocklistStreak()638 @WifiBlocklistMonitor.FailureReason int reason) { in getBssidBlocklistStreak()646 @WifiBlocklistMonitor.FailureReason int reason) { in resetBssidBlocklistStreak()765 new int[WifiBlocklistMonitor.NUMBER_REASON_CODES];1117 if (failureReason != WifiBlocklistMonitor.REASON_WRONG_PASSWORD) { in updateEventStats()1122 case WifiBlocklistMonitor.REASON_ASSOCIATION_REJECTION: in updateEventStats()1125 case WifiBlocklistMonitor.REASON_ASSOCIATION_TIMEOUT: in updateEventStats()1128 case WifiBlocklistMonitor.REASON_AUTHENTICATION_FAILURE: in updateEventStats()1129 case WifiBlocklistMonitor.REASON_EAP_FAILURE: in updateEventStats()[all …]
104 private final WifiBlocklistMonitor mWifiBlocklistMonitor;161 WifiBlocklistMonitor.REASON_FRAMEWORK_DISCONNECT_CONNECTED_SCORE, in notifyScoreUpdate()343 WifiBlocklistMonitor.REASON_FRAMEWORK_DISCONNECT_CONNECTED_SCORE, in blocklistCurrentBssid()556 WifiBlocklistMonitor wifiBlocklistMonitor, in WifiScoreReport()1115 WifiBlocklistMonitor.REASON_FRAMEWORK_DISCONNECT_CONNECTED_SCORE, in stopConnectedNetworkScorer()
240 private final WifiBlocklistMonitor mWifiBlocklistMonitor;723 @NonNull WifiBlocklistMonitor wifiBlocklistMonitor, in ClientModeImpl()3554 WifiBlocklistMonitor.REASON_AP_UNABLE_TO_HANDLE_NEW_STA, mWifiInfo.getRssi()); in handleNetworkDisconnect()3841 >= WifiBlocklistMonitor.NUM_CONSECUTIVE_FAILURES_PER_NETWORK_EXP_BACKOFF in reportConnectionAttemptEnd()3936 return WifiBlocklistMonitor.REASON_ASSOCIATION_TIMEOUT; in convertToWifiBlocklistMonitorFailureReason()3940 return WifiBlocklistMonitor.REASON_AP_UNABLE_TO_HANDLE_NEW_STA; in convertToWifiBlocklistMonitorFailureReason()3942 return WifiBlocklistMonitor.REASON_ASSOCIATION_REJECTION; in convertToWifiBlocklistMonitorFailureReason()3945 return WifiBlocklistMonitor.REASON_WRONG_PASSWORD; in convertToWifiBlocklistMonitorFailureReason()3948 return WifiBlocklistMonitor.REASON_EAP_FAILURE; in convertToWifiBlocklistMonitorFailureReason()3950 return WifiBlocklistMonitor.REASON_AUTHENTICATION_FAILURE; in convertToWifiBlocklistMonitorFailureReason()[all …]
224 private final WifiBlocklistMonitor mWifiBlocklistMonitor;415 new WifiBlocklistMonitor( in WifiInjector()1069 public WifiBlocklistMonitor getWifiBlocklistMonitor() { in getWifiBlocklistMonitor()
30 import com.android.server.wifi.WifiBlocklistMonitor.CarrierSpecificEapFailureConfig;
63 public class WifiBlocklistMonitor { class251 WifiBlocklistMonitor(Context context, WifiConnectivityHelper connectivityHelper, in WifiBlocklistMonitor() method in WifiBlocklistMonitor
177 private final WifiBlocklistMonitor mWifiBlocklistMonitor;1344 WifiBlocklistMonitor wifiBlocklistMonitor, in WifiConnectivityManager()3213 WifiBlocklistMonitor.REASON_FRAMEWORK_DISCONNECT_FAST_RECONNECT, 0); in retryConnectionOnLatestCandidates()
307 private final WifiBlocklistMonitor mWifiBlocklistMonitor;
260 private WifiBlocklistMonitor mWifiBlocklistMonitor;1684 public void setWifiBlocklistMonitor(WifiBlocklistMonitor wifiBlocklistMonitor) { in setWifiBlocklistMonitor()
302 private final WifiBlocklistMonitor mWifiBlocklistMonitor;
518 "com.android.server.wifi.WifiBlocklistMonitor",519 "com.android.server.wifi.WifiBlocklistMonitor$*",520 "com.android.server.wifi.WifiBlocklistMonitor.**",
584 // Metrics related to the WifiBlocklistMonitor2369 // WifiBlocklistMonitor.FailureReason.