Home
last modified time | relevance | path

Searched refs:WifiP2pProvDiscEvent (Results 1 – 11 of 11) sorted by relevance

/packages/modules/Wifi/framework/tests/src/android/net/wifi/p2p/
DWifiP2pProvDiscEventTest.java44 WifiP2pProvDiscEvent event = in testPbcReqEvent()
45 new WifiP2pProvDiscEvent(EVENT_PBC_REQ_STRING + " " + DEVICE_ADDRESS); in testPbcReqEvent()
46 assertEquals(WifiP2pProvDiscEvent.PBC_REQ, event.event); in testPbcReqEvent()
56 WifiP2pProvDiscEvent event = in testPbcRespEvent()
57 new WifiP2pProvDiscEvent(EVENT_PBC_RSP_STRING + " " + DEVICE_ADDRESS); in testPbcRespEvent()
58 assertEquals(WifiP2pProvDiscEvent.PBC_RSP, event.event); in testPbcRespEvent()
67 WifiP2pProvDiscEvent event = in testEnterPinEvent()
68 new WifiP2pProvDiscEvent(EVENT_ENTER_PIN_STRING + " " + DEVICE_ADDRESS); in testEnterPinEvent()
69 assertEquals(WifiP2pProvDiscEvent.ENTER_PIN, event.event); in testEnterPinEvent()
78 WifiP2pProvDiscEvent event = in testShowPinEvent()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DSupplicantP2pIfaceCallbackHidlImpl.java27 import android.net.wifi.p2p.WifiP2pProvDiscEvent;
420 WifiP2pProvDiscEvent event = new WifiP2pProvDiscEvent(); in onProvisionDiscoveryCompleted()
441 event.event = WifiP2pProvDiscEvent.PBC_REQ; in onProvisionDiscoveryCompleted()
444 event.event = WifiP2pProvDiscEvent.PBC_RSP; in onProvisionDiscoveryCompleted()
448 event.event = WifiP2pProvDiscEvent.SHOW_PIN; in onProvisionDiscoveryCompleted()
452 event.event = WifiP2pProvDiscEvent.ENTER_PIN; in onProvisionDiscoveryCompleted()
456 event.event = WifiP2pProvDiscEvent.SHOW_PIN; in onProvisionDiscoveryCompleted()
460 event.event = WifiP2pProvDiscEvent.ENTER_PIN; in onProvisionDiscoveryCompleted()
DWifiP2pMonitor.java24 import android.net.wifi.p2p.WifiP2pProvDiscEvent;
398 public void broadcastP2pProvisionDiscoveryPbcRequest(String iface, WifiP2pProvDiscEvent event) { in broadcastP2pProvisionDiscoveryPbcRequest()
411 String iface, WifiP2pProvDiscEvent event) { in broadcastP2pProvisionDiscoveryPbcResponse()
423 public void broadcastP2pProvisionDiscoveryEnterPin(String iface, WifiP2pProvDiscEvent event) { in broadcastP2pProvisionDiscoveryEnterPin()
435 public void broadcastP2pProvisionDiscoveryShowPin(String iface, WifiP2pProvDiscEvent event) { in broadcastP2pProvisionDiscoveryShowPin()
449 @P2pProvDiscStatus int status, @NonNull WifiP2pProvDiscEvent event) { in broadcastP2pProvisionDiscoveryFailure()
DSupplicantP2pIfaceCallbackAidlImpl.java43 import android.net.wifi.p2p.WifiP2pProvDiscEvent;
554 WifiP2pProvDiscEvent event = new WifiP2pProvDiscEvent(); in handleProvisionDiscoveryCompletedEvent()
579 event.event = WifiP2pProvDiscEvent.PBC_REQ; in handleProvisionDiscoveryCompletedEvent()
582 event.event = WifiP2pProvDiscEvent.PBC_RSP; in handleProvisionDiscoveryCompletedEvent()
586 event.event = WifiP2pProvDiscEvent.SHOW_PIN; in handleProvisionDiscoveryCompletedEvent()
590 event.event = WifiP2pProvDiscEvent.ENTER_PIN; in handleProvisionDiscoveryCompletedEvent()
594 event.event = WifiP2pProvDiscEvent.SHOW_PIN; in handleProvisionDiscoveryCompletedEvent()
598 event.event = WifiP2pProvDiscEvent.ENTER_PIN; in handleProvisionDiscoveryCompletedEvent()
DWifiP2pServiceImpl.java81 import android.net.wifi.p2p.WifiP2pProvDiscEvent;
3758 WifiP2pProvDiscEvent provDisc = (WifiP2pProvDiscEvent) message.obj; in processMessageImpl()
4459 WifiP2pProvDiscEvent provDisc = null; in processMessageImpl()
4467 provDisc = (WifiP2pProvDiscEvent) message.obj; in processMessageImpl()
4486 provDisc = (WifiP2pProvDiscEvent) message.obj; in processMessageImpl()
4517 provDisc = (WifiP2pProvDiscEvent) message.obj; in processMessageImpl()
4541 (WifiP2pProvDiscEvent) message.obj, false)) { in processMessageImpl()
5378 WifiP2pProvDiscEvent provDisc = (WifiP2pProvDiscEvent) message.obj; in processMessageImpl()
5479 handleProvDiscFailure((WifiP2pProvDiscEvent) message.obj, true); in processMessageImpl()
5543 (WifiP2pProvDiscEvent) message.obj, true)) { in processMessageImpl()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DSupplicantP2pIfaceCallbackAidlImplTest.java53 import android.net.wifi.p2p.WifiP2pProvDiscEvent;
734 ArgumentCaptor<WifiP2pProvDiscEvent> discEventCaptor = in testOnProvisionDiscoveryCompleted()
735 ArgumentCaptor.forClass(WifiP2pProvDiscEvent.class); in testOnProvisionDiscoveryCompleted()
740 assertEquals(WifiP2pProvDiscEvent.ENTER_PIN, discEventCaptor.getValue().event); in testOnProvisionDiscoveryCompleted()
747 assertEquals(WifiP2pProvDiscEvent.SHOW_PIN, discEventCaptor.getValue().event); in testOnProvisionDiscoveryCompleted()
756 assertEquals(WifiP2pProvDiscEvent.ENTER_PIN, discEventCaptor.getValue().event); in testOnProvisionDiscoveryCompleted()
763 assertEquals(WifiP2pProvDiscEvent.SHOW_PIN, discEventCaptor.getValue().event); in testOnProvisionDiscoveryCompleted()
772 assertEquals(WifiP2pProvDiscEvent.PBC_RSP, discEventCaptor.getValue().event); in testOnProvisionDiscoveryCompleted()
779 assertEquals(WifiP2pProvDiscEvent.PBC_REQ, discEventCaptor.getValue().event); in testOnProvisionDiscoveryCompleted()
796 ArgumentCaptor<WifiP2pProvDiscEvent> discEventCaptor = in testOnProvisionDiscoveryCompletedEvent()
[all …]
DWifiP2pMonitorTest.java24 import android.net.wifi.p2p.WifiP2pProvDiscEvent;
143 WifiP2pMonitor.PROV_DISC_STATUS_UNKNOWN, new WifiP2pProvDiscEvent()); in testBroadcastP2pProvisionDiscoveryFailure()
158 WifiP2pProvDiscEvent event = new WifiP2pProvDiscEvent(); in testBroadcastP2pProvisionDiscoveryRejection()
169 ((WifiP2pProvDiscEvent) messageCaptor.getValue().obj).device.deviceAddress); in testBroadcastP2pProvisionDiscoveryRejection()
DSupplicantP2pIfaceCallbackHidlImplTest.java39 import android.net.wifi.p2p.WifiP2pProvDiscEvent;
429 ArgumentCaptor<WifiP2pProvDiscEvent> discEventCaptor = in testOnProvisionDiscoveryCompleted()
430 ArgumentCaptor.forClass(WifiP2pProvDiscEvent.class); in testOnProvisionDiscoveryCompleted()
435 assertEquals(WifiP2pProvDiscEvent.ENTER_PIN, discEventCaptor.getValue().event); in testOnProvisionDiscoveryCompleted()
442 assertEquals(WifiP2pProvDiscEvent.SHOW_PIN, discEventCaptor.getValue().event); in testOnProvisionDiscoveryCompleted()
451 assertEquals(WifiP2pProvDiscEvent.ENTER_PIN, discEventCaptor.getValue().event); in testOnProvisionDiscoveryCompleted()
458 assertEquals(WifiP2pProvDiscEvent.SHOW_PIN, discEventCaptor.getValue().event); in testOnProvisionDiscoveryCompleted()
467 assertEquals(WifiP2pProvDiscEvent.PBC_RSP, discEventCaptor.getValue().event); in testOnProvisionDiscoveryCompleted()
474 assertEquals(WifiP2pProvDiscEvent.PBC_REQ, discEventCaptor.getValue().event); in testOnProvisionDiscoveryCompleted()
485 ArgumentCaptor<WifiP2pProvDiscEvent> discEventCaptor = in verifyProvisionDiscoveryFailureEvent()
[all …]
DWifiP2pServiceImplTest.java106 import android.net.wifi.p2p.WifiP2pProvDiscEvent;
3821 WifiP2pProvDiscEvent pdEvent = new WifiP2pProvDiscEvent(); in testEndConnectionEventWhenProvDiscFailure()
3932 WifiP2pProvDiscEvent pdEvent = new WifiP2pProvDiscEvent(); in testEndConnectionEventWhenPeerRejectTheConnectRequestInNegotiationFlow()
6241 WifiP2pProvDiscEvent pdEvent = new WifiP2pProvDiscEvent(); in verifyGroupOwnerIntentSelection()
6325 WifiP2pProvDiscEvent pdEvent = new WifiP2pProvDiscEvent(); in testProvisionDiscoveryShowPinEventLaunchesInvitationSentDialog()
6355 WifiP2pProvDiscEvent pdEvent = new WifiP2pProvDiscEvent(); in testProvisionDiscoveryShowPinEventInactiveStateLaunchesInvitationReceivedDialog()
7471 WifiP2pProvDiscEvent pdEvent = new WifiP2pProvDiscEvent(); in testProvDiscRejectEventForProvDisc()
7494 WifiP2pProvDiscEvent pdEvent = new WifiP2pProvDiscEvent(); in testSendP2pRejectWhenCancelRequest()
7542 WifiP2pProvDiscEvent pdEvent = new WifiP2pProvDiscEvent(); in testDismissDialogOnReceiveProvDiscFailureEvent()
7558 WifiP2pProvDiscEvent pdEvent = new WifiP2pProvDiscEvent(); in testDismissDialogOnReceiveProvDiscFailureEventPreT()
[all …]
/packages/modules/Wifi/framework/java/android/net/wifi/p2p/
DWifiP2pProvDiscEvent.java37 public class WifiP2pProvDiscEvent { class
76 public WifiP2pProvDiscEvent() { in WifiP2pProvDiscEvent() method in WifiP2pProvDiscEvent
110 public WifiP2pProvDiscEvent(String string) throws IllegalArgumentException { in WifiP2pProvDiscEvent() method in WifiP2pProvDiscEvent
/packages/modules/Wifi/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt1328 Landroid/net/wifi/p2p/WifiP2pProvDiscEvent;-><init>(Ljava/lang/String;)V
1329 Landroid/net/wifi/p2p/WifiP2pProvDiscEvent;->ENTER_PIN:I
1330 Landroid/net/wifi/p2p/WifiP2pProvDiscEvent;->PBC_REQ:I
1331 Landroid/net/wifi/p2p/WifiP2pProvDiscEvent;->PBC_RSP:I
1332 Landroid/net/wifi/p2p/WifiP2pProvDiscEvent;->SHOW_PIN:I
1333 Landroid/net/wifi/p2p/WifiP2pProvDiscEvent;->TAG:Ljava/lang/String;