Home
last modified time | relevance | path

Searched refs:ConnectionEvent (Results 1 – 17 of 17) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiMetricsTest.java266 "RED", WifiMetricsProto.ConnectionEvent.ROAM_ENTERPRISE); in startAndEndConnectionEventSucceeds()
268 WifiMetrics.ConnectionEvent.FAILURE_AUTHENTICATION_FAILURE, in startAndEndConnectionEventSucceeds()
269 WifiMetricsProto.ConnectionEvent.HLF_DHCP, in startAndEndConnectionEventSucceeds()
270 WifiMetricsProto.ConnectionEvent.FAILURE_REASON_UNKNOWN, 0); in startAndEndConnectionEventSucceeds()
273 WifiMetrics.ConnectionEvent.FAILURE_AUTHENTICATION_FAILURE, in startAndEndConnectionEventSucceeds()
274 WifiMetricsProto.ConnectionEvent.HLF_DHCP, in startAndEndConnectionEventSucceeds()
275 WifiMetricsProto.ConnectionEvent.FAILURE_REASON_UNKNOWN, 0); in startAndEndConnectionEventSucceeds()
278 "BLUE", WifiMetricsProto.ConnectionEvent.ROAM_ENTERPRISE); in startAndEndConnectionEventSucceeds()
280 "GREEN", WifiMetricsProto.ConnectionEvent.ROAM_ENTERPRISE); in startAndEndConnectionEventSucceeds()
1809 WifiMetricsProto.ConnectionEvent.NOMINATOR_MANUAL); in setupNetworkAndVerify()
[all …]
DWifiNetworkFactoryTest.java597 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()
1286 eq(WifiMetricsProto.ConnectionEvent.NOMINATOR_SPECIFIER)); in testNetworkSpecifierHandleUserSelectionConnectToNetwork()
1440 eq(WifiMetricsProto.ConnectionEvent.NOMINATOR_SPECIFIER)); in testNetworkSpecifierHandleUserSelectionConnectToNetworkUsingLiteralSsidAndBssidMatch()
1491 eq(WifiMetricsProto.ConnectionEvent.NOMINATOR_SPECIFIER)); in testNetworkSpecifierHandleUserSelectionConnectToNetworkMultipleBssidMatches()
1552 eq(WifiMetricsProto.ConnectionEvent.NOMINATOR_SPECIFIER)); in testNetworkSpecifierHandleUserSelectionConnectToNetworkMissingBssidInLatest()
1619 eq(WifiMetricsProto.ConnectionEvent.NOMINATOR_SPECIFIER)); in testNetworkSpecifierHandleUserSelectionConnectToNetworkStaleMissingBssidInLatest()
1727 WifiMetrics.ConnectionEvent.FAILURE_DHCP, mSelectedNetwork, TEST_BSSID_1); in testNetworkSpecifierHandleConnectionFailure()
1759 WifiMetrics.ConnectionEvent.FAILURE_DHCP, connectedNetwork, TEST_BSSID_1); in testNetworkSpecifierHandleConnectionFailureToWrongNetwork()
[all …]
DWifiNetworkSuggestionsManagerTest.java1419 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()
1878 WifiMetrics.ConnectionEvent.FAILURE_NONE, connectNetwork, TEST_BSSID); in testOnNetworkConnectionWhenIsAppInteractionRequiredNotSet()
[all …]
DClientModeImplTest.java1844 any(), eq(WifiMetrics.ConnectionEvent.FAILURE_NETWORK_DISCONNECTION), in connectWhileObtainingIp()
1913 WifiMetricsProto.ConnectionEvent.NOMINATOR_MANUAL); in testManualConnectNominator()
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 …]
DWifiNetworkSelectorTest.java865 assertEquals(WifiMetricsProto.ConnectionEvent.NOMINATOR_UNKNOWN, in userConnectChoiceOverridesNetworkNominators()
888 assertEquals(WifiMetricsProto.ConnectionEvent.NOMINATOR_SAVED_USER_CONNECT_CHOICE, in userConnectChoiceOverridesNetworkNominators()
1054 WifiMetricsProto.ConnectionEvent.NOMINATOR_UNKNOWN, in testMultipleNominatorsSetsNominatorIdCorrectly()
1055 WifiMetricsProto.ConnectionEvent.NOMINATOR_EXTERNAL_SCORED, in testMultipleNominatorsSetsNominatorIdCorrectly()
1056 WifiMetricsProto.ConnectionEvent.NOMINATOR_SAVED))); in testMultipleNominatorsSetsNominatorIdCorrectly()
DWifiConnectivityManagerTest.java1599 WifiMetrics.ConnectionEvent.FAILURE_ASSOCIATION_REJECTION, CANDIDATE_BSSID, in testRetryConnectionOnFailure()
1613 WifiMetrics.ConnectionEvent.FAILURE_ASSOCIATION_REJECTION, CANDIDATE_BSSID_2, in testRetryConnectionOnFailure()
1666 WifiMetrics.ConnectionEvent.FAILURE_ASSOCIATION_REJECTION, CANDIDATE_BSSID, in testRetryConnectionOnFailureCacheTimeout()
1712 WifiMetrics.ConnectionEvent.FAILURE_ASSOCIATION_REJECTION, CANDIDATE_BSSID, in testRetryConnectionIgnoresDisabledNetworks()
1832 WifiMetrics.ConnectionEvent.FAILURE_NONE, CANDIDATE_BSSID, CANDIDATE_SSID); in wifiConnected_openNetworkNotifierHandlesConnection()
1863 WifiMetrics.ConnectionEvent.FAILURE_CONNECT_NETWORK_FAILED, CANDIDATE_BSSID, in wifiConnectionEndsWithFailure_openNetworkNotifierHandlesConnectionFailure()
1880 WifiMetrics.ConnectionEvent.FAILURE_NONE, CANDIDATE_BSSID, CANDIDATE_SSID); in wifiConnectionEndsWithSuccess_openNetworkNotifierDoesNotHandleConnectionFailure()
DOpenNetworkNotifierTest.java699 WifiMetricsProto.ConnectionEvent.NOMINATOR_OPEN_NETWORK_AVAILABLE); in connectionFailedCallback_postsFailedToConnectNotification()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DClientModeImpl.java1134 WifiMetricsProto.ConnectionEvent.NOMINATOR_MANUAL); in connectToUserSelectNetwork()
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
2868 != WifiMetricsProto.ConnectionEvent.AUTH_FAILURE_NONE) {
2876 == WifiMetrics.ConnectionEvent.FAILURE_ASSOCIATION_REJECTION;
2878 == WifiMetrics.ConnectionEvent.FAILURE_AUTHENTICATION_FAILURE
2879 && level2FailureReason != WifiMetricsProto.ConnectionEvent.AUTH_FAILURE_WRONG_PSWD;
[all …]
DWifiMetrics.java299 private final Deque<ConnectionEvent> mConnectionEventList = new ArrayDeque<>();
303 private final Map<String, ConnectionEvent> mCurrentConnectionEventPerIface = new ArrayMap<>();
1027 class ConnectionEvent { class in WifiMetrics
1028 final WifiMetricsProto.ConnectionEvent mConnectionEvent;
1072 private ConnectionEvent() { in ConnectionEvent() method in WifiMetrics.ConnectionEvent
1073 mConnectionEvent = new WifiMetricsProto.ConnectionEvent(); in ConnectionEvent()
1162 case WifiMetricsProto.ConnectionEvent.HLF_NONE: in toString()
1165 case WifiMetricsProto.ConnectionEvent.HLF_DHCP: in toString()
1168 case WifiMetricsProto.ConnectionEvent.HLF_NO_INTERNET: in toString()
1171 case WifiMetricsProto.ConnectionEvent.HLF_UNWANTED: in toString()
[all …]
DWifiNetworkSelector.java653 WifiMetricsProto.ConnectionEvent.NOMINATOR_SAVED_USER_CONNECT_CHOICE); in overrideCandidateWithUserConnectChoice()
1132 return WifiMetricsProto.ConnectionEvent.NOMINATOR_SAVED; in toProtoNominatorId()
1134 return WifiMetricsProto.ConnectionEvent.NOMINATOR_SUGGESTION; in toProtoNominatorId()
1136 return WifiMetricsProto.ConnectionEvent.NOMINATOR_EXTERNAL_SCORED; in toProtoNominatorId()
1139 return WifiMetricsProto.ConnectionEvent.NOMINATOR_UNKNOWN; in toProtoNominatorId()
1142 return WifiMetricsProto.ConnectionEvent.NOMINATOR_UNKNOWN; in toProtoNominatorId()
DOpenNetworkNotifier.java50 WifiMetricsProto.ConnectionEvent.NOMINATOR_OPEN_NETWORK_AVAILABLE, in OpenNetworkNotifier()
DWifiNetworkSuggestionsManager.java2099 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()
DWifiNetworkFactory.java969 WifiMetricsProto.ConnectionEvent.NOMINATOR_SPECIFIER); in connectToNetwork()
1065 if (failureCode == WifiMetrics.ConnectionEvent.FAILURE_NONE) { in handleConnectionAttemptEnded()
DWifiConnectivityManager.java2291 if (failureCode == WifiMetrics.ConnectionEvent.FAILURE_NONE) { in handleConnectionAttemptEnded()
/packages/modules/adb/client/pairing/tests/
Dpairing_server.cpp88 using ConnectionEvent = std::variant<NewConnectionEvent, ConnectionFinishedEvent>; typedef in adbwifi::pairing::__anon0bb7e88c0111::PairingServerImpl
91 std::deque<ConnectionEvent> conn_write_queue_ GUARDED_BY(conn_mutex_);
92 std::deque<ConnectionEvent> conn_read_queue_;
/packages/modules/adb/pairing_connection/
Dpairing_server.cpp96 using ConnectionEvent = std::variant<NewConnectionEvent, ConnectionFinishedEvent>; typedef
99 std::deque<ConnectionEvent> conn_write_queue_ GUARDED_BY(conn_mutex_);
100 std::deque<ConnectionEvent> conn_read_queue_;
/packages/modules/Wifi/service/proto/src/
Dmetrics.proto29 repeated ConnectionEvent connection_event = 1;
973 message ConnectionEvent { message
1180 // ConnectionEvent belongs to when multiple interfaces are active concurrently.