/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiMetricsTest.java | 167 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 …]
|
D | WifiNetworkFactoryTest.java | 152 @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 …]
|
D | WifiNetworkSuggestionsManagerTest.java | 152 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 …]
|
D | ClientModeImplTest.java | 417 @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 …]
|
D | AvailableNetworkNotifierTest.java | 51 @Mock WifiMetrics mWifiMetrics;
|
D | AdaptiveConnectivityEnabledSettingObserverTest.java | 54 @Mock private WifiMetrics mWifiMetrics;
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | LinkProbeManager.java | 59 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()
|
D | AdaptiveConnectivityEnabledSettingObserver.java | 48 private final WifiMetrics mWifiMetrics; 57 WifiMetrics wifiMetrics, FrameworkFacade frameworkFacade, in AdaptiveConnectivityEnabledSettingObserver() 75 WifiMetrics.convertAdaptiveConnectivityStateToUserActionEventType( in handleChange()
|
D | ClientModeImpl.java | 206 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 …]
|
D | MakeBeforeBreakManager.java | 43 private final WifiMetrics mWifiMetrics; 79 @NonNull WifiMetrics wifiMetrics) { in MakeBeforeBreakManager()
|
D | DeviceConfigFacade.java | 37 private final WifiMetrics mWifiMetrics; 208 public DeviceConfigFacade(Context context, Handler handler, WifiMetrics wifiMetrics) { in DeviceConfigFacade()
|
D | WifiNetworkSuggestionsManager.java | 157 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()
|
D | NetworkSuggestionNominator.java | 62 private final WifiMetrics mWifiMetrics; 67 WifiMetrics wifiMetrics) { in NetworkSuggestionNominator()
|
D | OpenNetworkNotifier.java | 41 WifiMetrics wifiMetrics, in OpenNetworkNotifier()
|
D | AvailableNetworkNotifier.java | 126 private final WifiMetrics mWifiMetrics; 164 WifiMetrics wifiMetrics, in AvailableNetworkNotifier()
|
D | ScanRequestProxy.java | 96 private final WifiMetrics mWifiMetrics; 204 WifiPermissionsUtil wifiPermissionUtil, WifiMetrics wifiMetrics, Clock clock, in ScanRequestProxy()
|
D | WifiApConfigStore.java | 73 private final WifiMetrics mWifiMetrics; 113 WifiMetrics wifiMetrics) { in WifiApConfigStore()
|
D | WifiDataStall.java | 66 private final WifiMetrics mWifiMetrics; 151 public WifiDataStall(FrameworkFacade facade, WifiMetrics wifiMetrics, Context context, in WifiDataStall()
|
D | WifiLockManager.java | 74 private final WifiMetrics mWifiMetrics; 98 Handler handler, Clock clock, WifiMetrics wifiMetrics) { in WifiLockManager()
|
D | WifiLastResortWatchdog.java | 125 private final WifiMetrics mWifiMetrics; 142 WifiMetrics wifiMetrics, in WifiLastResortWatchdog()
|
D | WifiInjector.java | 161 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/ |
D | WifiScanningServiceImpl.java | 64 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/ |
D | PasspointObjectFactory.java | 26 import com.android.server.wifi.WifiMetrics; 129 PasspointManager passpointManager, WifiMetrics wifiMetrics) { in makePasspointProvisioner()
|
D | PasspointProvisioner.java | 42 import com.android.server.wifi.WifiMetrics; 96 private final WifiMetrics mWifiMetrics; 101 WifiMetrics wifiMetrics) { in PasspointProvisioner()
|
D | PasspointManager.java | 55 import com.android.server.wifi.WifiMetrics; 129 private final WifiMetrics mWifiMetrics; 354 WifiMetrics wifiMetrics, in PasspointManager() 750 WifiMetrics.convertMeteredOverrideEnumToUserActionEventType( in setMeteredOverride()
|