Home
last modified time | relevance | path

Searched refs:WifiBlocklistMonitor (Results 1 – 24 of 24) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiBlocklistMonitorTest.java79 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 …]
DEapFailureNotifierTest.java87 private final WifiBlocklistMonitor.CarrierSpecificEapFailureConfig
88 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 …]
DWifiScoreCardTest.java100 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 …]
DWifiGlobalsTest.java186 WifiBlocklistMonitor.CarrierSpecificEapFailureConfig config = in testLoadCarrierSpecificEapFailureConfigMap()
DWifiScoreReportTest.java129 @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()
DClientModeImplTest.java534 @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 …]
DWifiMetricsTest.java197 @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()
DWifiConnectivityManagerTest.java302 @Mock private WifiBlocklistMonitor mWifiBlocklistMonitor;
DWifiConfigManagerTest.java200 @Mock private WifiBlocklistMonitor mWifiBlocklistMonitor;
DWifiServiceImplTest.java442 @Mock WifiBlocklistMonitor mWifiBlocklistMonitor;
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DMetricsUtils.java22 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 …]
/packages/modules/Wifi/service/java/com/android/server/wifi/
DEapFailureNotifier.java86 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()
DWifiScoreCard.java51 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 …]
DWifiScoreReport.java104 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()
DClientModeImpl.java240 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 …]
DWifiInjector.java224 private final WifiBlocklistMonitor mWifiBlocklistMonitor;
415 new WifiBlocklistMonitor( in WifiInjector()
1069 public WifiBlocklistMonitor getWifiBlocklistMonitor() { in getWifiBlocklistMonitor()
DWifiGlobals.java30 import com.android.server.wifi.WifiBlocklistMonitor.CarrierSpecificEapFailureConfig;
DWifiBlocklistMonitor.java63 public class WifiBlocklistMonitor { class
251 WifiBlocklistMonitor(Context context, WifiConnectivityHelper connectivityHelper, in WifiBlocklistMonitor() method in WifiBlocklistMonitor
DWifiConnectivityManager.java177 private final WifiBlocklistMonitor mWifiBlocklistMonitor;
1344 WifiBlocklistMonitor wifiBlocklistMonitor, in WifiConnectivityManager()
3213 WifiBlocklistMonitor.REASON_FRAMEWORK_DISCONNECT_FAST_RECONNECT, 0); in retryConnectionOnLatestCandidates()
DWifiConfigManager.java307 private final WifiBlocklistMonitor mWifiBlocklistMonitor;
DWifiMetrics.java260 private WifiBlocklistMonitor mWifiBlocklistMonitor;
1684 public void setWifiBlocklistMonitor(WifiBlocklistMonitor wifiBlocklistMonitor) { in setWifiBlocklistMonitor()
DWifiServiceImpl.java302 private final WifiBlocklistMonitor mWifiBlocklistMonitor;
/packages/modules/Wifi/service/tests/wifitests/
DAndroid.bp518 "com.android.server.wifi.WifiBlocklistMonitor",
519 "com.android.server.wifi.WifiBlocklistMonitor$*",
520 "com.android.server.wifi.WifiBlocklistMonitor.**",
/packages/modules/Wifi/service/proto/src/
Dmetrics.proto584 // Metrics related to the WifiBlocklistMonitor
2369 // WifiBlocklistMonitor.FailureReason.