Home
last modified time | relevance | path

Searched refs:WifiMetrics (Results 1 – 25 of 56) sorted by relevance

123

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiMetricsTest.java134 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 …]
DWifiNetworkSuggestionsManagerTest.java104 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 …]
DWifiNetworkFactoryTest.java136 @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 …]
DWifiConnectivityManagerTest.java145 @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()
DClientModeImplTest.java353 @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 …]
DScanOnlyModeManagerTest.java64 @Mock WifiMetrics mWifiMetrics;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DLinkProbeManager.java61 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()
DScanOnlyModeManager.java47 private final WifiMetrics mWifiMetrics;
59 @NonNull WifiMetrics wifiMetrics, in ScanOnlyModeManager()
DOpenNetworkNotifier.java42 WifiMetrics wifiMetrics, in OpenNetworkNotifier()
DWifiDataStall.java49 private final WifiMetrics mWifiMetrics;
68 public WifiDataStall(Context context, FrameworkFacade facade, WifiMetrics wifiMetrics, in WifiDataStall()
DClientModeManager.java48 private final WifiMetrics mWifiMetrics;
58 Listener listener, WifiMetrics wifiMetrics, ClientModeImpl clientModeImpl) { in ClientModeManager()
DCarrierNetworkNotifier.java47 WifiMetrics wifiMetrics, in CarrierNetworkNotifier()
DSarManager.java93 private final WifiMetrics mWifiMetrics;
103 WifiMetrics wifiMetrics) { in SarManager()
DScanRequestProxy.java85 private final WifiMetrics mWifiMetrics;
235 WifiPermissionsUtil wifiPermissionUtil, WifiMetrics wifiMetrics, Clock clock, in ScanRequestProxy()
DClientModeImpl.java200 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 …]
DAvailableNetworkNotifier.java125 private final WifiMetrics mWifiMetrics;
160 WifiMetrics wifiMetrics, in AvailableNetworkNotifier()
DWifiInjector.java113 private final WifiMetrics mWifiMetrics;
208 mWifiMetrics = new WifiMetrics(mContext, mFrameworkFacade, mClock, clientModeImplLooper, in WifiInjector()
395 public WifiMetrics getWifiMetrics() { in getWifiMetrics()
DWifiLockManager.java62 private final WifiMetrics mWifiMetrics;
85 WifiNative wifiNative, Clock clock, WifiMetrics wifiMetrics) { in WifiLockManager()
DWifiConfigStore.java186 private final WifiMetrics mWifiMetrics;
235 public WifiConfigStore(Context context, Looper looper, Clock clock, WifiMetrics wifiMetrics, in WifiConfigStore()
DWifiLastResortWatchdog.java106 private WifiMetrics mWifiMetrics;
125 WifiMetrics wifiMetrics, ClientModeImpl clientModeImpl, Looper clientModeImplLooper, in WifiLastResortWatchdog()
DWifiScoreReport.java96 WifiMetrics wifiMetrics) { in calculateAndReportScore()
DSoftApManager.java88 private final WifiMetrics mWifiMetrics;
136 @NonNull WifiMetrics wifiMetrics, in SoftApManager()
DWifiConnectivityManager.java148 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/
DPasspointObjectFactory.java26 import com.android.server.wifi.WifiMetrics;
129 PasspointManager passpointManager, WifiMetrics wifiMetrics) { in makePasspointProvisioner()
DPasspointProvisioner.java39 import com.android.server.wifi.WifiMetrics;
93 private final WifiMetrics mWifiMetrics;
98 WifiMetrics wifiMetrics) { in PasspointProvisioner()

123