Home
last modified time | relevance | path

Searched refs:wnmData (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiMonitor.java386 public void broadcastWnmEvent(String iface, WnmData wnmData) { in broadcastWnmEvent() argument
387 if (mVerboseLoggingEnabled) Log.d(TAG, "WNM-Notification " + wnmData.getEventType()); in broadcastWnmEvent()
388 switch (wnmData.getEventType()) { in broadcastWnmEvent()
390 sendMessage(iface, HS20_REMEDIATION_EVENT, wnmData); in broadcastWnmEvent()
394 sendMessage(iface, HS20_DEAUTH_IMMINENT_EVENT, wnmData); in broadcastWnmEvent()
398 sendMessage(iface, HS20_TERMS_AND_CONDITIONS_ACCEPTANCE_REQUIRED_EVENT, wnmData); in broadcastWnmEvent()
403 + wnmData.getEventType()); in broadcastWnmEvent()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiMonitorTest.java640 WnmData wnmData = WnmData.createRemediationEvent(BSSID_LONG, PASSPOINT_URL, 0); in testBroadcastPasspointRemediationEvent() local
641 mWifiMonitor.broadcastWnmEvent(WLAN_IFACE_NAME, wnmData); in testBroadcastPasspointRemediationEvent()
648 assertTrue(wnmData.equals(messageCaptor.getValue().obj)); in testBroadcastPasspointRemediationEvent()
658 WnmData wnmData = WnmData.createDeauthImminentEvent(BSSID_LONG, PASSPOINT_URL, true, 10); in testBroadcastPasspointDeauthImminentEvent() local
659 mWifiMonitor.broadcastWnmEvent(WLAN_IFACE_NAME, wnmData); in testBroadcastPasspointDeauthImminentEvent()
666 assertTrue(wnmData.equals(messageCaptor.getValue().obj)); in testBroadcastPasspointDeauthImminentEvent()
677 WnmData wnmData = in testBroadcastPasspointTermsAndConditionsRequiredEvent() local
679 mWifiMonitor.broadcastWnmEvent(WLAN_IFACE_NAME, wnmData); in testBroadcastPasspointTermsAndConditionsRequiredEvent()
687 assertTrue(wnmData.equals(messageCaptor.getValue().obj)); in testBroadcastPasspointTermsAndConditionsRequiredEvent()
DClientModeImplTest.java4266 WnmData wnmData = WnmData.createTermsAndConditionsAccetanceRequiredEvent(TEST_BSSID, in testTermsAndConditionsClearUrlAfterNetworkValidation() local
4268 when(mPasspointManager.handleTermsAndConditionsEvent(eq(wnmData), in testTermsAndConditionsClearUrlAfterNetworkValidation()
4270 connect(wnmData); in testTermsAndConditionsClearUrlAfterNetworkValidation()
5971 WnmData wnmData = WnmData.createDeauthImminentEvent(TEST_BSSID, "", false, in testHandlePasspointDeauthImminentWnmNotification() local
5973 mCmi.sendMessage(WifiMonitor.HS20_DEAUTH_IMMINENT_EVENT, 0, 0, wnmData); in testHandlePasspointDeauthImminentWnmNotification()
5975 verify(mPasspointManager).handleDeauthImminentEvent(eq(wnmData), in testHandlePasspointDeauthImminentWnmNotification()
6021 WnmData wnmData = WnmData.createTermsAndConditionsAccetanceRequiredEvent(TEST_BSSID, in testVenueAndTCUrlsUpdateForPasspointNetworks() local
6023 when(mPasspointManager.handleTermsAndConditionsEvent(eq(wnmData), in testVenueAndTCUrlsUpdateForPasspointNetworks()
6026 0, 0, wnmData); in testVenueAndTCUrlsUpdateForPasspointNetworks()
6058 WnmData wnmData = WnmData.createTermsAndConditionsAccetanceRequiredEvent(TEST_BSSID, in testHandlePasspointTermsAndConditionsWnmNotification() local
[all …]