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()
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 …]
DWifiNetworkFactoryTest.java126 @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 …]
DWifiNetworkSuggestionsManagerTest.java103 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 …]
DWifiConnectivityManagerTest.java141 @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()
DClientModeImplTest.java346 @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 …]
DScanOnlyModeManagerTest.java64 @Mock WifiMetrics mWifiMetrics;
DWifiDataStallTest.java47 @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()
DWifiDataStall.java39 private final WifiMetrics mWifiMetrics;
44 public WifiDataStall(Context context, FrameworkFacade facade, WifiMetrics wifiMetrics) { in WifiDataStall()
DOpenNetworkNotifier.java42 WifiMetrics wifiMetrics, in OpenNetworkNotifier()
DScanOnlyModeManager.java47 private final WifiMetrics mWifiMetrics;
59 @NonNull WifiMetrics wifiMetrics, in ScanOnlyModeManager()
DCarrierNetworkNotifier.java47 WifiMetrics wifiMetrics, in CarrierNetworkNotifier()
DClientModeManager.java48 private final WifiMetrics mWifiMetrics;
58 Listener listener, WifiMetrics wifiMetrics, ClientModeImpl clientModeImpl) { in ClientModeManager()
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()
DAvailableNetworkNotifier.java125 private final WifiMetrics mWifiMetrics;
160 WifiMetrics wifiMetrics, in AvailableNetworkNotifier()
DWifiInjector.java111 private final WifiMetrics mWifiMetrics;
200 mWifiMetrics = new WifiMetrics(mContext, mFrameworkFacade, mClock, clientModeImplLooper, in WifiInjector()
386 public WifiMetrics getWifiMetrics() { in getWifiMetrics()
DWifiLastResortWatchdog.java100 private WifiMetrics mWifiMetrics;
114 WifiLastResortWatchdog(WifiInjector wifiInjector, Clock clock, WifiMetrics wifiMetrics, in WifiLastResortWatchdog()
DWifiConfigStore.java164 private final WifiMetrics mWifiMetrics;
213 public WifiConfigStore(Context context, Looper looper, Clock clock, WifiMetrics wifiMetrics, in WifiConfigStore()
DWifiScoreReport.java95 WifiMetrics wifiMetrics) { in calculateAndReportScore()
DWifiLockManager.java62 private final WifiMetrics mWifiMetrics;
85 WifiNative wifiNative, Clock clock, WifiMetrics wifiMetrics) { in WifiLockManager()
DSoftApManager.java83 private final WifiMetrics mWifiMetrics;
129 @NonNull WifiMetrics wifiMetrics, in SoftApManager()
DClientModeImpl.java193 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/
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