Searched refs:wnmData (Results 1 – 3 of 3) sorted by relevance
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiMonitor.java | 430 public void broadcastWnmEvent(String iface, WnmData wnmData) { in broadcastWnmEvent() argument 431 if (mVerboseLoggingEnabled) Log.d(TAG, "WNM-Notification " + wnmData.getEventType()); in broadcastWnmEvent() 432 switch (wnmData.getEventType()) { in broadcastWnmEvent() 434 sendMessage(iface, HS20_REMEDIATION_EVENT, wnmData); in broadcastWnmEvent() 438 sendMessage(iface, HS20_DEAUTH_IMMINENT_EVENT, wnmData); in broadcastWnmEvent() 442 sendMessage(iface, HS20_TERMS_AND_CONDITIONS_ACCEPTANCE_REQUIRED_EVENT, wnmData); in broadcastWnmEvent() 447 + wnmData.getEventType()); in broadcastWnmEvent()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiMonitorTest.java | 686 WnmData wnmData = WnmData.createRemediationEvent(BSSID_LONG, PASSPOINT_URL, 0); in testBroadcastPasspointRemediationEvent() local 687 mWifiMonitor.broadcastWnmEvent(WLAN_IFACE_NAME, wnmData); in testBroadcastPasspointRemediationEvent() 694 assertTrue(wnmData.equals(messageCaptor.getValue().obj)); in testBroadcastPasspointRemediationEvent() 704 WnmData wnmData = WnmData.createDeauthImminentEvent(BSSID_LONG, PASSPOINT_URL, true, 10); in testBroadcastPasspointDeauthImminentEvent() local 705 mWifiMonitor.broadcastWnmEvent(WLAN_IFACE_NAME, wnmData); in testBroadcastPasspointDeauthImminentEvent() 712 assertTrue(wnmData.equals(messageCaptor.getValue().obj)); in testBroadcastPasspointDeauthImminentEvent() 723 WnmData wnmData = in testBroadcastPasspointTermsAndConditionsRequiredEvent() local 725 mWifiMonitor.broadcastWnmEvent(WLAN_IFACE_NAME, wnmData); in testBroadcastPasspointTermsAndConditionsRequiredEvent() 733 assertTrue(wnmData.equals(messageCaptor.getValue().obj)); in testBroadcastPasspointTermsAndConditionsRequiredEvent()
|
D | ClientModeImplTest.java | 5746 WnmData wnmData = WnmData.createTermsAndConditionsAccetanceRequiredEvent(TEST_BSSID, in testTermsAndConditionsClearUrlAfterNetworkValidation() local 5748 when(mPasspointManager.handleTermsAndConditionsEvent(eq(wnmData), in testTermsAndConditionsClearUrlAfterNetworkValidation() 5750 connect(wnmData); in testTermsAndConditionsClearUrlAfterNetworkValidation() 8275 WnmData wnmData = WnmData.createDeauthImminentEvent(TEST_BSSID, "", false, in testHandlePasspointDeauthImminentWnmNotification() local 8277 mCmi.sendMessage(WifiMonitor.HS20_DEAUTH_IMMINENT_EVENT, 0, 0, wnmData); in testHandlePasspointDeauthImminentWnmNotification() 8279 verify(mPasspointManager).handleDeauthImminentEvent(eq(wnmData), in testHandlePasspointDeauthImminentWnmNotification() 8328 WnmData wnmData = WnmData.createTermsAndConditionsAccetanceRequiredEvent(TEST_BSSID, in testVenueAndTCUrlsUpdateForPasspointNetworks() local 8330 when(mPasspointManager.handleTermsAndConditionsEvent(eq(wnmData), in testVenueAndTCUrlsUpdateForPasspointNetworks() 8333 0, 0, wnmData); in testVenueAndTCUrlsUpdateForPasspointNetworks() 8365 WnmData wnmData = WnmData.createTermsAndConditionsAccetanceRequiredEvent(TEST_BSSID, in testHandlePasspointTermsAndConditionsWnmNotification() local [all …]
|