/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiMetricsTest.java | 134 WifiMetrics mWifiMetrics; 164 mWifiMetrics = new WifiMetrics(mContext, mFacade, mClock, mTestLooper.getLooper(), in setUp() 184 WifiMetrics.ConnectionEvent.FAILURE_AUTHENTICATION_FAILURE, in startAndEndConnectionEventSucceeds() 189 WifiMetrics.ConnectionEvent.FAILURE_AUTHENTICATION_FAILURE, in startAndEndConnectionEventSucceeds() 211 String[] args = {WifiMetrics.PROTO_DUMP_ARG}; in dumpProtoAndDeserialize() 234 String[] args = {WifiMetrics.PROTO_DUMP_ARG, WifiMetrics.CLEAN_DUMP_ARG}; in cleanDumpProtoAndDeserialize() 1300 int upper = WifiMetrics.LOW_WIFI_SCORE + 7; in testScoreBeachEvents() 1301 int mid = WifiMetrics.LOW_WIFI_SCORE; in testScoreBeachEvents() 1302 int lower = WifiMetrics.LOW_WIFI_SCORE - 8; in testScoreBeachEvents() 1325 int upper = WifiMetrics.LOW_WIFI_USABILITY_SCORE + 7; in testWifiUsabilityScoreBreachEvents() [all …]
|
D | WifiNetworkSuggestionsManagerTest.java | 104 private @Mock WifiMetrics mWifiMetrics; 866 WifiMetrics.ConnectionEvent.FAILURE_NONE, networkSuggestion.wifiConfiguration, in testOnNetworkConnectionSuccessWithOneMatch() 900 WifiMetrics.ConnectionEvent.FAILURE_DHCP, networkSuggestion.wifiConfiguration, in testOnNetworkConnectionFailureWithOneMatch() 949 WifiMetrics.ConnectionEvent.FAILURE_NONE, wifiConfiguration, TEST_BSSID); in testOnNetworkConnectionSuccessWithMultipleMatch() 1011 WifiMetrics.ConnectionEvent.FAILURE_NONE, wifiConfiguration, TEST_BSSID); in testOnNetworkConnectionSuccessWithBssidMultipleMatch() 1074 WifiMetrics.ConnectionEvent.FAILURE_NONE, wifiConfiguration1, TEST_BSSID); in testOnNetworkConnectionSuccessWithBssidAndWithoutBssidMultipleMatch() 1124 WifiMetrics.ConnectionEvent.FAILURE_NONE, networkSuggestion.wifiConfiguration, in testOnNetworkConnectionWhenAppNotApproved() 1158 WifiMetrics.ConnectionEvent.FAILURE_NONE, networkSuggestion.wifiConfiguration, in testOnNetworkConnectionWhenIsAppInteractionRequiredNotSet() 1195 WifiMetrics.ConnectionEvent.FAILURE_NONE, networkSuggestion.wifiConfiguration, in testOnNetworkConnectionWhenAppDoesNotHoldLocationPermission() 1395 WifiMetrics.ConnectionEvent.FAILURE_NONE, networkSuggestion.wifiConfiguration, in testRemoveNetworkSuggestionsMatchingConnectionSuccessWithOneMatchNoCarrierProvision() [all …]
|
D | WifiNetworkFactoryTest.java | 136 @Mock WifiMetrics mWifiMetrics; 472 WifiMetrics.ConnectionEvent.FAILURE_NONE, mSelectedNetwork); in testHandleAcceptNetworkRequestFromFgAppWithSpecifierWithConnectedRequestFromFgApp() 499 WifiMetrics.ConnectionEvent.FAILURE_NONE, mSelectedNetwork); in testHandleAcceptNetworkRequestFromFgSvcWithSpecifierWithConnectedRequestFromFgApp() 1414 WifiMetrics.ConnectionEvent.FAILURE_DHCP, mSelectedNetwork); in testNetworkSpecifierHandleConnectionFailure() 1445 WifiMetrics.ConnectionEvent.FAILURE_DHCP, connectedNetwork); in testNetworkSpecifierHandleConnectionFailureToWrongNetwork() 1460 WifiMetrics.ConnectionEvent.FAILURE_DHCP, mSelectedNetwork); in testNetworkSpecifierHandleConnectionFailureToWrongNetwork() 1488 WifiMetrics.ConnectionEvent.FAILURE_NONE, mSelectedNetwork); in testNetworkSpecifierHandleConnectionSuccess() 1510 WifiMetrics.ConnectionEvent.FAILURE_NONE, mSelectedNetwork); in testNetworkSpecifierDuplicateHandleConnectionSuccess() 1522 WifiMetrics.ConnectionEvent.FAILURE_NONE, mSelectedNetwork); in testNetworkSpecifierDuplicateHandleConnectionSuccess() 1538 WifiMetrics.ConnectionEvent.FAILURE_NONE, mSelectedNetwork); in testNetworkSpecifierHandleConnectionFailureAfterSuccess() [all …]
|
D | WifiConnectivityManagerTest.java | 145 @Mock private WifiMetrics mWifiMetrics; 684 WifiMetrics.ConnectionEvent.FAILURE_NONE); in wifiConnected_openNetworkNotifierHandlesConnection() 713 WifiMetrics.ConnectionEvent.FAILURE_CONNECT_NETWORK_FAILED); in wifiConnectionEndsWithFailure_openNetworkNotifierHandlesConnectionFailure() 728 WifiMetrics.ConnectionEvent.FAILURE_NONE); in wifiConnectionEndsWithSuccess_openNetworkNotifierDoesNotHandleConnectionFailure() 827 WifiMetrics.ConnectionEvent.FAILURE_NONE); in wifiConnected_carrierNetworkNotifierHandlesConnection() 856 WifiMetrics.ConnectionEvent.FAILURE_CONNECT_NETWORK_FAILED); in wifiConnectionEndsWithFailure_carrierNetworkNotifierHandlesConnectionFailure() 872 WifiMetrics.ConnectionEvent.FAILURE_NONE); in wifiConnectionEndsWithSuccess_carrierNetworkNotifierDoesNotHandleConnectionFailure()
|
D | ClientModeImplTest.java | 353 @Mock WifiMetrics mWifiMetrics; 2960 WifiMetrics.ConnectionEvent.FAILURE_ASSOCIATION_REJECTION); in testReportConnectionEventIsCalledAfterAssociationFailure() 2962 eq(WifiMetrics.ConnectionEvent.FAILURE_ASSOCIATION_REJECTION), in testReportConnectionEventIsCalledAfterAssociationFailure() 2965 eq(WifiMetrics.ConnectionEvent.FAILURE_ASSOCIATION_REJECTION), in testReportConnectionEventIsCalledAfterAssociationFailure() 2989 WifiMetrics.ConnectionEvent.FAILURE_AUTHENTICATION_FAILURE); in testReportConnectionEventIsCalledAfterAuthenticationFailure() 2991 eq(WifiMetrics.ConnectionEvent.FAILURE_AUTHENTICATION_FAILURE), in testReportConnectionEventIsCalledAfterAuthenticationFailure() 2994 eq(WifiMetrics.ConnectionEvent.FAILURE_AUTHENTICATION_FAILURE), in testReportConnectionEventIsCalledAfterAuthenticationFailure() 3044 WifiMetrics.ConnectionEvent.FAILURE_DHCP); in testReportConnectionEventIsCalledAfterDhcpFailure() 3046 eq(WifiMetrics.ConnectionEvent.FAILURE_DHCP), any(WifiConfiguration.class)); in testReportConnectionEventIsCalledAfterDhcpFailure() 3048 eq(WifiMetrics.ConnectionEvent.FAILURE_DHCP), any(WifiConfiguration.class), in testReportConnectionEventIsCalledAfterDhcpFailure() [all …]
|
D | ScanOnlyModeManagerTest.java | 64 @Mock WifiMetrics mWifiMetrics;
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | LinkProbeManager.java | 61 WifiMetrics.MAX_LINK_PROBE_STA_EVENTS; 71 private final WifiMetrics mWifiMetrics; 107 public LinkProbeManager(Clock clock, WifiNative wifiNative, WifiMetrics wifiMetrics, in LinkProbeManager() 291 private final WifiMetrics mWifiMetrics; 304 Experiment(Clock clock, WifiMetrics wifiMetrics, in Experiment()
|
D | ScanOnlyModeManager.java | 47 private final WifiMetrics mWifiMetrics; 59 @NonNull WifiMetrics wifiMetrics, in ScanOnlyModeManager()
|
D | OpenNetworkNotifier.java | 42 WifiMetrics wifiMetrics, in OpenNetworkNotifier()
|
D | WifiDataStall.java | 49 private final WifiMetrics mWifiMetrics; 68 public WifiDataStall(Context context, FrameworkFacade facade, WifiMetrics wifiMetrics, in WifiDataStall()
|
D | ClientModeManager.java | 48 private final WifiMetrics mWifiMetrics; 58 Listener listener, WifiMetrics wifiMetrics, ClientModeImpl clientModeImpl) { in ClientModeManager()
|
D | CarrierNetworkNotifier.java | 47 WifiMetrics wifiMetrics, in CarrierNetworkNotifier()
|
D | SarManager.java | 93 private final WifiMetrics mWifiMetrics; 103 WifiMetrics wifiMetrics) { in SarManager()
|
D | ScanRequestProxy.java | 85 private final WifiMetrics mWifiMetrics; 235 WifiPermissionsUtil wifiPermissionUtil, WifiMetrics wifiMetrics, Clock clock, in ScanRequestProxy()
|
D | ClientModeImpl.java | 200 private final WifiMetrics mWifiMetrics; 3141 case WifiMetrics.ConnectionEvent.FAILURE_NONE: in handleConnectionAttemptEndForDiagnostics() 3143 case WifiMetrics.ConnectionEvent.FAILURE_CONNECT_NETWORK_FAILED: in handleConnectionAttemptEndForDiagnostics() 3159 if (level2FailureCode != WifiMetrics.ConnectionEvent.FAILURE_NONE) { in reportConnectionAttemptEnd() 3164 == WifiMetrics.ConnectionEvent.FAILURE_ASSOCIATION_REJECTION; in reportConnectionAttemptEnd() 3166 == WifiMetrics.ConnectionEvent.FAILURE_AUTHENTICATION_FAILURE in reportConnectionAttemptEnd() 3255 WifiMetrics.ConnectionEvent.FAILURE_DHCP, in handleIPv4Failure() 4014 ? WifiMetrics.ConnectionEvent.FAILURE_ASSOCIATION_TIMED_OUT in processMessage() 4015 : WifiMetrics.ConnectionEvent.FAILURE_ASSOCIATION_REJECTION, in processMessage() 4077 WifiMetrics.ConnectionEvent.FAILURE_AUTHENTICATION_FAILURE, in processMessage() [all …]
|
D | AvailableNetworkNotifier.java | 125 private final WifiMetrics mWifiMetrics; 160 WifiMetrics wifiMetrics, in AvailableNetworkNotifier()
|
D | WifiInjector.java | 113 private final WifiMetrics mWifiMetrics; 208 mWifiMetrics = new WifiMetrics(mContext, mFrameworkFacade, mClock, clientModeImplLooper, in WifiInjector() 395 public WifiMetrics getWifiMetrics() { in getWifiMetrics()
|
D | WifiLockManager.java | 62 private final WifiMetrics mWifiMetrics; 85 WifiNative wifiNative, Clock clock, WifiMetrics wifiMetrics) { in WifiLockManager()
|
D | WifiConfigStore.java | 186 private final WifiMetrics mWifiMetrics; 235 public WifiConfigStore(Context context, Looper looper, Clock clock, WifiMetrics wifiMetrics, in WifiConfigStore()
|
D | WifiLastResortWatchdog.java | 106 private WifiMetrics mWifiMetrics; 125 WifiMetrics wifiMetrics, ClientModeImpl clientModeImpl, Looper clientModeImplLooper, in WifiLastResortWatchdog()
|
D | WifiScoreReport.java | 96 WifiMetrics wifiMetrics) { in calculateAndReportScore()
|
D | SoftApManager.java | 88 private final WifiMetrics mWifiMetrics; 136 @NonNull WifiMetrics wifiMetrics, in SoftApManager()
|
D | WifiConnectivityManager.java | 148 private final WifiMetrics mWifiMetrics; 596 CarrierNetworkConfig carrierNetworkConfig, WifiMetrics wifiMetrics, Looper looper, in WifiConnectivityManager() 1195 if (failureCode == WifiMetrics.ConnectionEvent.FAILURE_NONE) { in handleConnectionAttemptEnded()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | PasspointObjectFactory.java | 26 import com.android.server.wifi.WifiMetrics; 129 PasspointManager passpointManager, WifiMetrics wifiMetrics) { in makePasspointProvisioner()
|
D | PasspointProvisioner.java | 39 import com.android.server.wifi.WifiMetrics; 93 private final WifiMetrics mWifiMetrics; 98 WifiMetrics wifiMetrics) { in PasspointProvisioner()
|