/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() 1308 int upper = WifiMetrics.LOW_WIFI_SCORE + 7; in testScoreBeachEvents() 1309 int mid = WifiMetrics.LOW_WIFI_SCORE; in testScoreBeachEvents() 1310 int lower = WifiMetrics.LOW_WIFI_SCORE - 8; in testScoreBeachEvents() 1333 int upper = WifiMetrics.LOW_WIFI_USABILITY_SCORE + 7; in testWifiUsabilityScoreBreachEvents() [all …]
|
D | WifiNetworkFactoryTest.java | 126 @Mock WifiMetrics mWifiMetrics; 461 WifiMetrics.ConnectionEvent.FAILURE_NONE, mSelectedNetwork); in testHandleAcceptNetworkRequestFromFgAppWithSpecifierWithConnectedRequestFromFgApp() 488 WifiMetrics.ConnectionEvent.FAILURE_NONE, mSelectedNetwork); in testHandleAcceptNetworkRequestFromFgSvcWithSpecifierWithConnectedRequestFromFgApp() 1346 WifiMetrics.ConnectionEvent.FAILURE_DHCP, mSelectedNetwork); in testNetworkSpecifierHandleConnectionFailure() 1377 WifiMetrics.ConnectionEvent.FAILURE_DHCP, connectedNetwork); in testNetworkSpecifierHandleConnectionFailureToWrongNetwork() 1392 WifiMetrics.ConnectionEvent.FAILURE_DHCP, mSelectedNetwork); in testNetworkSpecifierHandleConnectionFailureToWrongNetwork() 1420 WifiMetrics.ConnectionEvent.FAILURE_NONE, mSelectedNetwork); in testNetworkSpecifierHandleConnectionSuccess() 1442 WifiMetrics.ConnectionEvent.FAILURE_NONE, mSelectedNetwork); in testNetworkSpecifierDuplicateHandleConnectionSuccess() 1454 WifiMetrics.ConnectionEvent.FAILURE_NONE, mSelectedNetwork); in testNetworkSpecifierDuplicateHandleConnectionSuccess() 1470 WifiMetrics.ConnectionEvent.FAILURE_NONE, mSelectedNetwork); in testNetworkSpecifierHandleConnectionFailureAfterSuccess() [all …]
|
D | WifiNetworkSuggestionsManagerTest.java | 103 private @Mock WifiMetrics mWifiMetrics; 820 WifiMetrics.ConnectionEvent.FAILURE_NONE, networkSuggestion.wifiConfiguration, in testOnNetworkConnectionSuccessWithOneMatch() 854 WifiMetrics.ConnectionEvent.FAILURE_DHCP, networkSuggestion.wifiConfiguration, in testOnNetworkConnectionFailureWithOneMatch() 899 WifiMetrics.ConnectionEvent.FAILURE_NONE, wifiConfiguration, TEST_BSSID); in testOnNetworkConnectionSuccessWithMultipleMatch() 961 WifiMetrics.ConnectionEvent.FAILURE_NONE, wifiConfiguration, TEST_BSSID); in testOnNetworkConnectionSuccessWithBssidMultipleMatch() 1024 WifiMetrics.ConnectionEvent.FAILURE_NONE, wifiConfiguration1, TEST_BSSID); in testOnNetworkConnectionSuccessWithBssidAndWithoutBssidMultipleMatch() 1074 WifiMetrics.ConnectionEvent.FAILURE_NONE, networkSuggestion.wifiConfiguration, in testOnNetworkConnectionWhenAppNotApproved() 1105 WifiMetrics.ConnectionEvent.FAILURE_NONE, networkSuggestion.wifiConfiguration, in testOnNetworkConnectionWhenIsAppInteractionRequiredNotSet() 1139 WifiMetrics.ConnectionEvent.FAILURE_NONE, networkSuggestion.wifiConfiguration, in testOnNetworkConnectionWhenAppDoesNotHoldLocationPermission() 1335 WifiMetrics.ConnectionEvent.FAILURE_NONE, networkSuggestion.wifiConfiguration, in testRemoveNetworkSuggestionsMatchingConnectionSuccessWithOneMatch() [all …]
|
D | WifiConnectivityManagerTest.java | 141 @Mock private WifiMetrics mWifiMetrics; 679 WifiMetrics.ConnectionEvent.FAILURE_NONE); in wifiConnected_openNetworkNotifierHandlesConnection() 708 WifiMetrics.ConnectionEvent.FAILURE_CONNECT_NETWORK_FAILED); in wifiConnectionEndsWithFailure_openNetworkNotifierHandlesConnectionFailure() 723 WifiMetrics.ConnectionEvent.FAILURE_NONE); in wifiConnectionEndsWithSuccess_openNetworkNotifierDoesNotHandleConnectionFailure() 822 WifiMetrics.ConnectionEvent.FAILURE_NONE); in wifiConnected_carrierNetworkNotifierHandlesConnection() 851 WifiMetrics.ConnectionEvent.FAILURE_CONNECT_NETWORK_FAILED); in wifiConnectionEndsWithFailure_carrierNetworkNotifierHandlesConnectionFailure() 867 WifiMetrics.ConnectionEvent.FAILURE_NONE); in wifiConnectionEndsWithSuccess_carrierNetworkNotifierDoesNotHandleConnectionFailure()
|
D | ClientModeImplTest.java | 346 @Mock WifiMetrics mWifiMetrics; 2771 WifiMetrics.ConnectionEvent.FAILURE_ASSOCIATION_REJECTION); in testReportConnectionEventIsCalledAfterAssociationFailure() 2773 eq(WifiMetrics.ConnectionEvent.FAILURE_ASSOCIATION_REJECTION), in testReportConnectionEventIsCalledAfterAssociationFailure() 2776 eq(WifiMetrics.ConnectionEvent.FAILURE_ASSOCIATION_REJECTION), in testReportConnectionEventIsCalledAfterAssociationFailure() 2800 WifiMetrics.ConnectionEvent.FAILURE_AUTHENTICATION_FAILURE); in testReportConnectionEventIsCalledAfterAuthenticationFailure() 2802 eq(WifiMetrics.ConnectionEvent.FAILURE_AUTHENTICATION_FAILURE), in testReportConnectionEventIsCalledAfterAuthenticationFailure() 2805 eq(WifiMetrics.ConnectionEvent.FAILURE_AUTHENTICATION_FAILURE), in testReportConnectionEventIsCalledAfterAuthenticationFailure() 2855 WifiMetrics.ConnectionEvent.FAILURE_DHCP); in testReportConnectionEventIsCalledAfterDhcpFailure() 2857 eq(WifiMetrics.ConnectionEvent.FAILURE_DHCP), any(WifiConfiguration.class)); in testReportConnectionEventIsCalledAfterDhcpFailure() 2859 eq(WifiMetrics.ConnectionEvent.FAILURE_DHCP), any(WifiConfiguration.class), in testReportConnectionEventIsCalledAfterDhcpFailure() [all …]
|
D | ScanOnlyModeManagerTest.java | 64 @Mock WifiMetrics mWifiMetrics;
|
D | WifiDataStallTest.java | 47 @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 | WifiDataStall.java | 39 private final WifiMetrics mWifiMetrics; 44 public WifiDataStall(Context context, FrameworkFacade facade, WifiMetrics wifiMetrics) { in WifiDataStall()
|
D | OpenNetworkNotifier.java | 42 WifiMetrics wifiMetrics, in OpenNetworkNotifier()
|
D | ScanOnlyModeManager.java | 47 private final WifiMetrics mWifiMetrics; 59 @NonNull WifiMetrics wifiMetrics, in ScanOnlyModeManager()
|
D | CarrierNetworkNotifier.java | 47 WifiMetrics wifiMetrics, in CarrierNetworkNotifier()
|
D | ClientModeManager.java | 48 private final WifiMetrics mWifiMetrics; 58 Listener listener, WifiMetrics wifiMetrics, ClientModeImpl clientModeImpl) { in ClientModeManager()
|
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 | AvailableNetworkNotifier.java | 125 private final WifiMetrics mWifiMetrics; 160 WifiMetrics wifiMetrics, in AvailableNetworkNotifier()
|
D | WifiInjector.java | 111 private final WifiMetrics mWifiMetrics; 200 mWifiMetrics = new WifiMetrics(mContext, mFrameworkFacade, mClock, clientModeImplLooper, in WifiInjector() 386 public WifiMetrics getWifiMetrics() { in getWifiMetrics()
|
D | WifiLastResortWatchdog.java | 100 private WifiMetrics mWifiMetrics; 114 WifiLastResortWatchdog(WifiInjector wifiInjector, Clock clock, WifiMetrics wifiMetrics, in WifiLastResortWatchdog()
|
D | WifiConfigStore.java | 164 private final WifiMetrics mWifiMetrics; 213 public WifiConfigStore(Context context, Looper looper, Clock clock, WifiMetrics wifiMetrics, in WifiConfigStore()
|
D | WifiScoreReport.java | 95 WifiMetrics wifiMetrics) { in calculateAndReportScore()
|
D | WifiLockManager.java | 62 private final WifiMetrics mWifiMetrics; 85 WifiNative wifiNative, Clock clock, WifiMetrics wifiMetrics) { in WifiLockManager()
|
D | SoftApManager.java | 83 private final WifiMetrics mWifiMetrics; 129 @NonNull WifiMetrics wifiMetrics, in SoftApManager()
|
D | ClientModeImpl.java | 193 private final WifiMetrics mWifiMetrics; 3127 case WifiMetrics.ConnectionEvent.FAILURE_NONE: in handleConnectionAttemptEndForDiagnostics() 3129 case WifiMetrics.ConnectionEvent.FAILURE_CONNECT_NETWORK_FAILED: in handleConnectionAttemptEndForDiagnostics() 3145 if (level2FailureCode != WifiMetrics.ConnectionEvent.FAILURE_NONE) { in reportConnectionAttemptEnd() 3231 WifiMetrics.ConnectionEvent.FAILURE_DHCP, in handleIPv4Failure() 3986 ? WifiMetrics.ConnectionEvent.FAILURE_ASSOCIATION_TIMED_OUT in processMessage() 3987 : WifiMetrics.ConnectionEvent.FAILURE_ASSOCIATION_REJECTION, in processMessage() 4049 WifiMetrics.ConnectionEvent.FAILURE_AUTHENTICATION_FAILURE, in processMessage() 4304 WifiMetrics.ConnectionEvent.FAILURE_CONNECT_NETWORK_FAILED, in processMessage() 5021 WifiMetrics.ConnectionEvent.FAILURE_NETWORK_DISCONNECTION, in processMessage() [all …]
|
/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()
|