Home
last modified time | relevance | path

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

123

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiMetricsTest.java167 WifiMetrics mWifiMetrics;
214 mWifiMetrics = new WifiMetrics(mContext, mFacade, mClock, mTestLooper.getLooper(), in setUp()
268 WifiMetrics.ConnectionEvent.FAILURE_AUTHENTICATION_FAILURE, in startAndEndConnectionEventSucceeds()
273 WifiMetrics.ConnectionEvent.FAILURE_AUTHENTICATION_FAILURE, in startAndEndConnectionEventSucceeds()
295 String[] args = {WifiMetrics.PROTO_DUMP_ARG}; in dumpProtoAndDeserialize()
318 String[] args = {WifiMetrics.PROTO_DUMP_ARG, WifiMetrics.CLEAN_DUMP_ARG}; in cleanDumpProtoAndDeserialize()
1691 int upper = WifiMetrics.LOW_WIFI_SCORE + 7; in testScoreBeachEvents()
1692 int mid = WifiMetrics.LOW_WIFI_SCORE; in testScoreBeachEvents()
1693 int lower = WifiMetrics.LOW_WIFI_SCORE - 8; in testScoreBeachEvents()
1722 int upper = WifiMetrics.LOW_WIFI_USABILITY_SCORE + 7; in testWifiUsabilityScoreBreachEvents()
[all …]
DWifiNetworkFactoryTest.java152 @Mock WifiMetrics mWifiMetrics;
597 WifiMetrics.ConnectionEvent.FAILURE_NONE, mSelectedNetwork, TEST_BSSID_1); in testHandleAcceptNetworkRequestFromFgAppWithSpecifierWithConnectedRequestFromFgApp()
623 WifiMetrics.ConnectionEvent.FAILURE_NONE, mSelectedNetwork, TEST_BSSID_1); in testHandleAcceptNetworkRequestFromFgSvcWithSpecifierWithConnectedRequestFromFgApp()
653 WifiMetrics.ConnectionEvent.FAILURE_NONE, mSelectedNetwork, TEST_BSSID_1); in testHandleAcceptNetworkRequestFromFgSvcWithSpecifierWithSameConnectedRequestFromFgApp()
1727 WifiMetrics.ConnectionEvent.FAILURE_DHCP, mSelectedNetwork, TEST_BSSID_1); in testNetworkSpecifierHandleConnectionFailure()
1759 WifiMetrics.ConnectionEvent.FAILURE_DHCP, connectedNetwork, TEST_BSSID_1); in testNetworkSpecifierHandleConnectionFailureToWrongNetwork()
1774 WifiMetrics.ConnectionEvent.FAILURE_DHCP, mSelectedNetwork, TEST_BSSID_1); in testNetworkSpecifierHandleConnectionFailureToWrongNetwork()
1803 WifiMetrics.ConnectionEvent.FAILURE_DHCP, mSelectedNetwork, TEST_BSSID_2); in testNetworkSpecifierHandleConnectionFailureToWrongBssid()
1818 WifiMetrics.ConnectionEvent.FAILURE_DHCP, mSelectedNetwork, TEST_BSSID_1); in testNetworkSpecifierHandleConnectionFailureToWrongBssid()
1847 WifiMetrics.ConnectionEvent.FAILURE_NONE, mSelectedNetwork, TEST_BSSID_1); in testNetworkSpecifierHandleConnectionSuccess()
[all …]
DWifiNetworkSuggestionsManagerTest.java152 private @Mock WifiMetrics mWifiMetrics;
1419 WifiMetrics.ConnectionEvent.FAILURE_NONE, connectNetwork, TEST_BSSID); in testOnNetworkConnectionSuccessWithOneMatch()
1458 WifiMetrics.ConnectionEvent.FAILURE_NONE, connectNetwork, TEST_BSSID); in testOnNetworkConnectionSuccessWithOneMatchFromCarrierPrivilegedApp()
1516 WifiMetrics.ConnectionEvent.FAILURE_NONE, connectNetwork, TEST_BSSID); in testOnSavedOpenNetworkConnectionSuccessWithMultipleMatch()
1558 WifiMetrics.ConnectionEvent.FAILURE_AUTHENTICATION_FAILURE, in testOnNetworkConnectionFailureWithOneMatchButCallbackOnBinderDied()
1603 WifiMetrics.ConnectionEvent.FAILURE_DHCP, connectNetwork, TEST_BSSID); in testOnNetworkConnectionFailureWithOneMatch()
1661 WifiMetrics.ConnectionEvent.FAILURE_NONE, connectNetwork, TEST_BSSID); in testOnNetworkConnectionSuccessWithMultipleMatch()
1721 WifiMetrics.ConnectionEvent.FAILURE_NONE, connectNetwork, TEST_BSSID); in testOnNetworkConnectionSuccessWithBssidMultipleMatch()
1784 WifiMetrics.ConnectionEvent.FAILURE_NONE, connectNetwork, TEST_BSSID); in testOnNetworkConnectionSuccessWithBssidAndWithoutBssidMultipleMatch()
1837 WifiMetrics.ConnectionEvent.FAILURE_NONE, connectNetwork, TEST_BSSID); in testOnNetworkConnectionWhenAppNotApproved()
[all …]
DClientModeImplTest.java417 @Mock WifiMetrics mWifiMetrics;
1844 any(), eq(WifiMetrics.ConnectionEvent.FAILURE_NETWORK_DISCONNECTION), in connectWhileObtainingIp()
2037 any(), eq(WifiMetrics.ConnectionEvent.FAILURE_NETWORK_DISCONNECTION), in testDisconnectionEventInL2ConnectingStateEndsConnectionEvent()
3391 WifiMetrics.ConnectionEvent.FAILURE_ASSOCIATION_REJECTION, TEST_BSSID_STR, in testReportConnectionEventIsCalledAfterAssociationFailure()
3394 eq(WifiMetrics.ConnectionEvent.FAILURE_ASSOCIATION_REJECTION), in testReportConnectionEventIsCalledAfterAssociationFailure()
3397 eq(WifiMetrics.ConnectionEvent.FAILURE_ASSOCIATION_REJECTION), in testReportConnectionEventIsCalledAfterAssociationFailure()
3437 WifiMetrics.ConnectionEvent.FAILURE_AUTHENTICATION_FAILURE, TEST_BSSID_STR, in testReportConnectionEventIsCalledAfterAuthenticationFailure()
3440 eq(WifiMetrics.ConnectionEvent.FAILURE_AUTHENTICATION_FAILURE), in testReportConnectionEventIsCalledAfterAuthenticationFailure()
3443 eq(WifiMetrics.ConnectionEvent.FAILURE_AUTHENTICATION_FAILURE), in testReportConnectionEventIsCalledAfterAuthenticationFailure()
3846 WifiMetrics.ConnectionEvent.FAILURE_DHCP, TEST_BSSID_STR, TEST_SSID); in testReportConnectionEventIsCalledAfterDhcpFailure()
[all …]
DAvailableNetworkNotifierTest.java51 @Mock WifiMetrics mWifiMetrics;
DAdaptiveConnectivityEnabledSettingObserverTest.java54 @Mock private WifiMetrics mWifiMetrics;
/packages/modules/Wifi/service/java/com/android/server/wifi/
DLinkProbeManager.java59 WifiMetrics.MAX_LINK_PROBE_STA_EVENTS;
69 private final WifiMetrics mWifiMetrics;
105 public LinkProbeManager(Clock clock, WifiNative wifiNative, WifiMetrics wifiMetrics, in LinkProbeManager()
274 private final WifiMetrics mWifiMetrics;
287 Experiment(Clock clock, WifiMetrics wifiMetrics, in Experiment()
DAdaptiveConnectivityEnabledSettingObserver.java48 private final WifiMetrics mWifiMetrics;
57 WifiMetrics wifiMetrics, FrameworkFacade frameworkFacade, in AdaptiveConnectivityEnabledSettingObserver()
75 WifiMetrics.convertAdaptiveConnectivityStateToUserActionEventType( in handleChange()
DClientModeImpl.java206 private final WifiMetrics mWifiMetrics;
629 @NonNull WifiMetrics wifiMetrics, in ClientModeImpl()
2811 case WifiMetrics.ConnectionEvent.FAILURE_NONE:
2813 case WifiMetrics.ConnectionEvent.FAILURE_CONNECT_NETWORK_FAILED:
2842 if (level2FailureCode != WifiMetrics.ConnectionEvent.FAILURE_NONE) {
2863 if (level2FailureCode == WifiMetrics.ConnectionEvent.FAILURE_NONE) {
2866 == WifiMetrics.ConnectionEvent.FAILURE_AUTHENTICATION_FAILURE
2876 == WifiMetrics.ConnectionEvent.FAILURE_ASSOCIATION_REJECTION;
2878 == WifiMetrics.ConnectionEvent.FAILURE_AUTHENTICATION_FAILURE
2938 case WifiMetrics.ConnectionEvent.FAILURE_ASSOCIATION_TIMED_OUT:
[all …]
DMakeBeforeBreakManager.java43 private final WifiMetrics mWifiMetrics;
79 @NonNull WifiMetrics wifiMetrics) { in MakeBeforeBreakManager()
DDeviceConfigFacade.java37 private final WifiMetrics mWifiMetrics;
208 public DeviceConfigFacade(Context context, Handler handler, WifiMetrics wifiMetrics) { in DeviceConfigFacade()
DWifiNetworkSuggestionsManager.java157 private final WifiMetrics mWifiMetrics;
649 WifiMetrics wifiMetrics, WifiCarrierInfoManager wifiCarrierInfoManager, in WifiNetworkSuggestionsManager()
2099 if (failureCode == WifiMetrics.ConnectionEvent.FAILURE_NONE) { in handleConnectionAttemptEnded()
2146 case WifiMetrics.ConnectionEvent.FAILURE_ASSOCIATION_REJECTION: in internalConnectionEventToSuggestionFailureCode()
2147 case WifiMetrics.ConnectionEvent.FAILURE_ASSOCIATION_TIMED_OUT: in internalConnectionEventToSuggestionFailureCode()
2149 case WifiMetrics.ConnectionEvent.FAILURE_SSID_TEMP_DISABLED: in internalConnectionEventToSuggestionFailureCode()
2150 case WifiMetrics.ConnectionEvent.FAILURE_AUTHENTICATION_FAILURE: in internalConnectionEventToSuggestionFailureCode()
2152 case WifiMetrics.ConnectionEvent.FAILURE_DHCP: in internalConnectionEventToSuggestionFailureCode()
DNetworkSuggestionNominator.java62 private final WifiMetrics mWifiMetrics;
67 WifiMetrics wifiMetrics) { in NetworkSuggestionNominator()
DOpenNetworkNotifier.java41 WifiMetrics wifiMetrics, in OpenNetworkNotifier()
DAvailableNetworkNotifier.java126 private final WifiMetrics mWifiMetrics;
164 WifiMetrics wifiMetrics, in AvailableNetworkNotifier()
DScanRequestProxy.java96 private final WifiMetrics mWifiMetrics;
204 WifiPermissionsUtil wifiPermissionUtil, WifiMetrics wifiMetrics, Clock clock, in ScanRequestProxy()
DWifiApConfigStore.java73 private final WifiMetrics mWifiMetrics;
113 WifiMetrics wifiMetrics) { in WifiApConfigStore()
DWifiDataStall.java66 private final WifiMetrics mWifiMetrics;
151 public WifiDataStall(FrameworkFacade facade, WifiMetrics wifiMetrics, Context context, in WifiDataStall()
DWifiLockManager.java74 private final WifiMetrics mWifiMetrics;
98 Handler handler, Clock clock, WifiMetrics wifiMetrics) { in WifiLockManager()
DWifiLastResortWatchdog.java125 private final WifiMetrics mWifiMetrics;
142 WifiMetrics wifiMetrics, in WifiLastResortWatchdog()
DWifiInjector.java161 private final WifiMetrics mWifiMetrics;
290 mWifiMetrics = new WifiMetrics(mContext, mFrameworkFacade, mClock, wifiLooper, in WifiInjector()
581 public WifiMetrics getWifiMetrics() { in getWifiMetrics()
/packages/modules/Wifi/service/java/com/android/server/wifi/scanner/
DWifiScanningServiceImpl.java64 import com.android.server.wifi.WifiMetrics;
411 private final WifiMetrics mWifiMetrics;
1089 WifiMetrics.ScanMetrics.SCAN_TYPE_SINGLE); in processMessage()
1299 WifiMetrics.ScanMetrics.SCAN_TYPE_SINGLE); in tryToStartNewScan()
1314 WifiMetrics.ScanMetrics.SCAN_TYPE_SINGLE); in tryToStartNewScan()
1378 WifiMetrics.ScanMetrics.SCAN_TYPE_SINGLE, results.getResults().length); in handleScanResults()
1626 WifiMetrics.ScanMetrics.SCAN_TYPE_BACKGROUND, in processMessage()
1639 WifiMetrics.ScanMetrics.SCAN_TYPE_BACKGROUND); in processMessage()
1778 WifiMetrics.ScanMetrics.SCAN_TYPE_BACKGROUND); in updateSchedule()
1793 WifiMetrics.ScanMetrics.SCAN_TYPE_BACKGROUND); in updateSchedule()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointObjectFactory.java26 import com.android.server.wifi.WifiMetrics;
129 PasspointManager passpointManager, WifiMetrics wifiMetrics) { in makePasspointProvisioner()
DPasspointProvisioner.java42 import com.android.server.wifi.WifiMetrics;
96 private final WifiMetrics mWifiMetrics;
101 WifiMetrics wifiMetrics) { in PasspointProvisioner()
DPasspointManager.java55 import com.android.server.wifi.WifiMetrics;
129 private final WifiMetrics mWifiMetrics;
354 WifiMetrics wifiMetrics, in PasspointManager()
750 WifiMetrics.convertMeteredOverrideEnumToUserActionEventType( in setMeteredOverride()

123