Home
last modified time | relevance | path

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

1234

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiMetricsTest.java23 import static com.android.server.wifi.WifiMetrics.convertBandwidthEnumToUsabilityStatsType;
24 import static com.android.server.wifi.WifiMetrics.convertPreambleTypeEnumToUsabilityStatsType;
25 import static com.android.server.wifi.WifiMetrics.convertSpatialStreamEnumToUsabilityStatsType;
176 WifiMetrics mWifiMetrics;
231 new WifiMetrics( in setUp()
296 WifiMetrics.ConnectionEvent.FAILURE_AUTHENTICATION_FAILURE, in startAndEndConnectionEventSucceeds()
302 WifiMetrics.ConnectionEvent.FAILURE_AUTHENTICATION_FAILURE, in startAndEndConnectionEventSucceeds()
327 String[] args = {WifiMetrics.PROTO_DUMP_ARG}; in dumpProtoAndDeserialize()
350 String[] args = {WifiMetrics.PROTO_DUMP_ARG, WifiMetrics.CLEAN_DUMP_ARG}; in cleanDumpProtoAndDeserialize()
1742 int upper = WifiMetrics.LOW_WIFI_SCORE + 7; in testScoreBeachEvents()
[all …]
DWifiNetworkFactoryTest.java177 @Mock WifiMetrics mWifiMetrics;
651 WifiMetrics.ConnectionEvent.FAILURE_NONE, mSelectedNetwork, TEST_BSSID_1, in testHandleAcceptNetworkRequestFromFgAppWithSpecifierWithConnectedRequestFromFgApp()
675 WifiMetrics.ConnectionEvent.FAILURE_NONE, mSelectedNetwork, TEST_BSSID_1, in testHandleAcceptNetworkRequestFromFgSvcWithSpecifierWithConnectedRequestFromFgApp()
703 WifiMetrics.ConnectionEvent.FAILURE_NONE, mSelectedNetwork, TEST_BSSID_1, in testHandleAcceptNetworkRequestFromFgSvcWithSpecifierWithSameConnectedRequestFromFgApp()
1783 WifiMetrics.ConnectionEvent.FAILURE_DHCP, mSelectedNetwork, TEST_BSSID_1, in testNetworkSpecifierHandleConnectionFailure()
1820 WifiMetrics.ConnectionEvent.FAILURE_AUTHENTICATION_FAILURE, mSelectedNetwork, in testNetworkSpecifierHandleAuthFailure()
1854WifiMetrics.ConnectionEvent.FAILURE_DHCP, connectedNetwork, TEST_BSSID_1, WifiMetricsProto.Connect… in testNetworkSpecifierHandleConnectionFailureToWrongNetwork()
1869WifiMetrics.ConnectionEvent.FAILURE_DHCP, mSelectedNetwork, TEST_BSSID_1, WifiMetricsProto.Connect… in testNetworkSpecifierHandleConnectionFailureToWrongNetwork()
1898WifiMetrics.ConnectionEvent.FAILURE_DHCP, mSelectedNetwork, TEST_BSSID_2, WifiMetricsProto.Connect… in testNetworkSpecifierHandleConnectionFailureToWrongBssid()
1913WifiMetrics.ConnectionEvent.FAILURE_DHCP, mSelectedNetwork, TEST_BSSID_1, WifiMetricsProto.Connect… in testNetworkSpecifierHandleConnectionFailureToWrongBssid()
[all …]
DAvailableNetworkNotifierTest.java54 @Mock WifiMetrics mWifiMetrics;
DAdaptiveConnectivityEnabledSettingObserverTest.java54 @Mock private WifiMetrics mWifiMetrics;
DWifiNetworkSuggestionsManagerTest.java177 private @Mock WifiMetrics mWifiMetrics;
1458 WifiMetrics.ConnectionEvent.FAILURE_NONE, connectNetwork, TEST_BSSID); in testOnNetworkConnectionSuccessWithOneMatch()
1498 WifiMetrics.ConnectionEvent.FAILURE_NONE, connectNetwork, TEST_BSSID); in testOnNetworkConnectionSuccessWithOneMatchFromCarrierPrivilegedApp()
1557 WifiMetrics.ConnectionEvent.FAILURE_NONE, connectNetwork, TEST_BSSID); in testOnSavedOpenNetworkConnectionSuccessWithMultipleMatch()
1600 WifiMetrics.ConnectionEvent.FAILURE_AUTHENTICATION_FAILURE, in testOnNetworkConnectionFailureWithOneMatchButCallbackOnBinderDied()
1646 WifiMetrics.ConnectionEvent.FAILURE_DHCP, connectNetwork, TEST_BSSID); in testOnNetworkConnectionFailureWithOneMatch()
1705 WifiMetrics.ConnectionEvent.FAILURE_NONE, connectNetwork, TEST_BSSID); in testOnNetworkConnectionSuccessWithMultipleMatch()
1766 WifiMetrics.ConnectionEvent.FAILURE_NONE, connectNetwork, TEST_BSSID); in testOnNetworkConnectionSuccessWithBssidMultipleMatch()
1830 WifiMetrics.ConnectionEvent.FAILURE_NONE, connectNetwork, TEST_BSSID); in testOnNetworkConnectionSuccessWithBssidAndWithoutBssidMultipleMatch()
1884 WifiMetrics.ConnectionEvent.FAILURE_NONE, connectNetwork, TEST_BSSID); in testOnNetworkConnectionWhenAppNotApproved()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiPulledAtomLogger.java223 WifiMetrics.convertSecurityModeToProto(config), in wifiConfigToStatsEvent()
224 WifiMetrics.convertMacRandomizationToProto(config.getMacRandomizationSetting()), in wifiConfigToStatsEvent()
225 WifiMetrics.convertMeteredOverrideToProto(config.meteredOverride), in wifiConfigToStatsEvent()
226 WifiMetrics.convertEapMethodToProto(config), in wifiConfigToStatsEvent()
227 WifiMetrics.convertEapInnerMethodToProto(config), in wifiConfigToStatsEvent()
228 WifiMetrics.isFreeOpenRoaming(config), in wifiConfigToStatsEvent()
229 WifiMetrics.isSettledOpenRoaming(config), in wifiConfigToStatsEvent()
230 WifiMetrics.convertTofuConnectionStateToProto(config), in wifiConfigToStatsEvent()
231 WifiMetrics.convertTofuDialogStateToProto(config)); in wifiConfigToStatsEvent()
DAdaptiveConnectivityEnabledSettingObserver.java48 private final WifiMetrics mWifiMetrics;
57 WifiMetrics wifiMetrics, FrameworkFacade frameworkFacade, in AdaptiveConnectivityEnabledSettingObserver()
75 WifiMetrics.convertAdaptiveConnectivityStateToUserActionEventType( in handleChange()
DWifiScoreReport.java119 private final WifiMetrics mWifiMetrics;
299 mIsUsable ? WifiMetrics.WifiUsabilityState.USABLE in notifyStatusUpdate()
300 : WifiMetrics.WifiUsabilityState.UNUSABLE); in notifyStatusUpdate()
412 ? WifiMetrics.WifiUsabilityState.UNUSABLE in reportNetworkScoreToConnectivityServiceIfNecessary()
413 : WifiMetrics.WifiUsabilityState.USABLE); in reportNetworkScoreToConnectivityServiceIfNecessary()
554 WifiScoreReport(ScoringParams scoringParams, Clock clock, WifiMetrics wifiMetrics, in WifiScoreReport()
590 WifiMetrics.WifiUsabilityState.UNKNOWN); in WifiScoreReport()
607 WifiMetrics.WifiUsabilityState.UNKNOWN); in reset()
DWifiNetworkFactory.java25 import static com.android.server.wifi.WifiMetrics.ConnectionEvent.FAILURE_AUTHENTICATION_FAILURE;
142 private final WifiMetrics mWifiMetrics;
322 WifiMetrics.ConnectionEvent.FAILURE_ASSOCIATION_TIMED_OUT, in onAlarm()
565 WifiMetrics wifiMetrics, in WifiNetworkFactory()
1252 if (failureCode == WifiMetrics.ConnectionEvent.FAILURE_NONE) { in handleConnectionAttemptEnded()
2149 case WifiMetrics.ConnectionEvent.FAILURE_ASSOCIATION_REJECTION: in internalConnectionEventToLocalOnlyFailureCode()
2150 case WifiMetrics.ConnectionEvent.FAILURE_ASSOCIATION_TIMED_OUT: in internalConnectionEventToLocalOnlyFailureCode()
2152 case WifiMetrics.ConnectionEvent.FAILURE_SSID_TEMP_DISABLED: in internalConnectionEventToLocalOnlyFailureCode()
2155 case WifiMetrics.ConnectionEvent.FAILURE_DHCP: in internalConnectionEventToLocalOnlyFailureCode()
2157 case WifiMetrics.ConnectionEvent.FAILURE_NETWORK_NOT_FOUND: in internalConnectionEventToLocalOnlyFailureCode()
[all …]
DOpenNetworkNotifier.java43 WifiMetrics wifiMetrics, in OpenNetworkNotifier()
DClientModeImpl.java234 private final WifiMetrics mWifiMetrics;
704 @NonNull WifiMetrics wifiMetrics, in ClientModeImpl()
3785 case WifiMetrics.ConnectionEvent.FAILURE_NONE: in handleConnectionAttemptEndForDiagnostics()
3787 case WifiMetrics.ConnectionEvent.FAILURE_CONNECT_NETWORK_FAILED: in handleConnectionAttemptEndForDiagnostics()
3791 case WifiMetrics.ConnectionEvent.FAILURE_NO_RESPONSE: in handleConnectionAttemptEndForDiagnostics()
3823 if (level2FailureCode != WifiMetrics.ConnectionEvent.FAILURE_NONE) { in reportConnectionAttemptEnd()
3837 == WifiMetrics.ConnectionEvent.FAILURE_ASSOCIATION_TIMED_OUT in reportConnectionAttemptEnd()
3839 == WifiMetrics.ConnectionEvent.FAILURE_ASSOCIATION_REJECTION); in reportConnectionAttemptEnd()
3856 if (level2FailureCode == WifiMetrics.ConnectionEvent.FAILURE_NONE) { in reportConnectionAttemptEnd()
3859 == WifiMetrics.ConnectionEvent.FAILURE_AUTHENTICATION_FAILURE in reportConnectionAttemptEnd()
[all …]
DMakeBeforeBreakManager.java50 private final WifiMetrics mWifiMetrics;
129 @NonNull WifiMetrics wifiMetrics) { in MakeBeforeBreakManager()
DWifiSettingsStore.java154 private final WifiMetrics mWifiMetrics;
161 WifiMetrics wifiMetrics, Clock clock) { in WifiSettingsStore()
DNetworkSuggestionNominator.java63 private final WifiMetrics mWifiMetrics;
68 WifiPseudonymManager wifiPseudonymManager, WifiMetrics wifiMetrics) { in NetworkSuggestionNominator()
DDeviceConfigFacade.java41 private final WifiMetrics mWifiMetrics;
227 public DeviceConfigFacade(Context context, Handler handler, WifiMetrics wifiMetrics) { in DeviceConfigFacade()
DAvailableNetworkNotifier.java129 private final WifiMetrics mWifiMetrics;
168 WifiMetrics wifiMetrics, in AvailableNetworkNotifier()
DWifiNetworkSuggestionsManager.java169 private final WifiMetrics mWifiMetrics;
666 WifiMetrics wifiMetrics, WifiCarrierInfoManager wifiCarrierInfoManager, in WifiNetworkSuggestionsManager()
2250 if (failureCode == WifiMetrics.ConnectionEvent.FAILURE_NONE) { in handleConnectionAttemptEnded()
2297 case WifiMetrics.ConnectionEvent.FAILURE_ASSOCIATION_REJECTION: in internalConnectionEventToSuggestionFailureCode()
2298 case WifiMetrics.ConnectionEvent.FAILURE_ASSOCIATION_TIMED_OUT: in internalConnectionEventToSuggestionFailureCode()
2300 case WifiMetrics.ConnectionEvent.FAILURE_SSID_TEMP_DISABLED: in internalConnectionEventToSuggestionFailureCode()
2301 case WifiMetrics.ConnectionEvent.FAILURE_AUTHENTICATION_FAILURE: in internalConnectionEventToSuggestionFailureCode()
2303 case WifiMetrics.ConnectionEvent.FAILURE_DHCP: in internalConnectionEventToSuggestionFailureCode()
DWifiDataStall.java64 private final WifiMetrics mWifiMetrics;
150 public WifiDataStall(WifiMetrics wifiMetrics, Context context, in WifiDataStall()
DScanRequestProxy.java101 private final WifiMetrics mWifiMetrics;
239 WifiPermissionsUtil wifiPermissionUtil, WifiMetrics wifiMetrics, Clock clock, in ScanRequestProxy()
DWifiLastResortWatchdog.java125 private final WifiMetrics mWifiMetrics;
142 WifiMetrics wifiMetrics, in WifiLastResortWatchdog()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointObjectFactory.java27 import com.android.server.wifi.WifiMetrics;
131 PasspointManager passpointManager, WifiMetrics wifiMetrics) { in makePasspointProvisioner()
DPasspointProvisioner.java43 import com.android.server.wifi.WifiMetrics;
96 private final WifiMetrics mWifiMetrics;
101 WifiMetrics wifiMetrics) { in PasspointProvisioner()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pNativeInterfaceManagementTest.java45 import com.android.server.wifi.WifiMetrics;
76 @Mock private WifiMetrics mWifiMetrics;
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pNative.java41 import com.android.server.wifi.WifiMetrics;
59 private final WifiMetrics mWifiMetrics;
132 WifiMetrics wifiMetrics, in WifiP2pNative()
/packages/modules/Wifi/service/java/com/android/server/wifi/scanner/
DWifiScanningServiceImpl.java72 import com.android.server.wifi.WifiMetrics;
685 private final WifiMetrics mWifiMetrics;
1334 WifiMetrics.ScanMetrics.SCAN_TYPE_SINGLE); in processMessage()
1560 WifiMetrics.ScanMetrics.SCAN_TYPE_SINGLE); in tryToStartNewScan()
1575 WifiMetrics.ScanMetrics.SCAN_TYPE_SINGLE); in tryToStartNewScan()
1663 WifiMetrics.ScanMetrics.SCAN_TYPE_SINGLE, results.getResults().length); in handleScanResults()
1934 WifiMetrics.ScanMetrics.SCAN_TYPE_BACKGROUND, in processMessage()
1947 WifiMetrics.ScanMetrics.SCAN_TYPE_BACKGROUND); in processMessage()
2086 WifiMetrics.ScanMetrics.SCAN_TYPE_BACKGROUND); in updateSchedule()
2101 WifiMetrics.ScanMetrics.SCAN_TYPE_BACKGROUND); in updateSchedule()
[all …]

1234