/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/ |
D | WifiP2pMonitorTest.java | 45 private WifiP2pMonitor mWifiP2pMonitor; 52 mWifiP2pMonitor = new WifiP2pMonitor(); in setUp() 65 P2P_IFACE_NAME, WifiP2pMonitor.SUP_DISCONNECTION_EVENT, mHandlerSpy); in testBroadcastSupplicantDisconnectionEvent() 71 assertEquals(WifiP2pMonitor.SUP_DISCONNECTION_EVENT, messageCaptor.getValue().what); in testBroadcastSupplicantDisconnectionEvent() 79 P2P_IFACE_NAME, WifiP2pMonitor.SUP_CONNECTION_EVENT, mHandlerSpy); in testBroadcastEventToTwoHandlers() 81 P2P_IFACE_NAME, WifiP2pMonitor.SUP_CONNECTION_EVENT, mSecondHandlerSpy); in testBroadcastEventToTwoHandlers() 87 assertEquals(WifiP2pMonitor.SUP_CONNECTION_EVENT, messageCaptor.getValue().what); in testBroadcastEventToTwoHandlers() 89 assertEquals(WifiP2pMonitor.SUP_CONNECTION_EVENT, messageCaptor.getValue().what); in testBroadcastEventToTwoHandlers() 97 P2P_IFACE_NAME, WifiP2pMonitor.SUP_DISCONNECTION_EVENT, mHandlerSpy); in testBroadcastEventWhenIfaceIsNull() 103 assertEquals(WifiP2pMonitor.SUP_DISCONNECTION_EVENT, messageCaptor.getValue().what); in testBroadcastEventWhenIfaceIsNull() [all …]
|
D | SupplicantP2pIfaceCallbackHidlImplTest.java | 67 private WifiP2pMonitor mMonitor; 85 SupplicantP2pIfaceHalHidlImpl ifaceHal, String iface, WifiP2pMonitor monitor) { in SupplicantP2pIfaceCallbackImplSpy() 93 mMonitor = mock(WifiP2pMonitor.class); in setUp() 502 WifiP2pMonitor.PROV_DISC_STATUS_TIMEOUT); in testOnProvisionDiscoveryTimeout() 512 WifiP2pMonitor.PROV_DISC_STATUS_REJECTED); in testOnProvisionDiscoveryRejection() 522 WifiP2pMonitor.PROV_DISC_STATUS_TIMEOUT_JOIN); in testOnProvisionDiscoveryJoinTimeout() 532 WifiP2pMonitor.PROV_DISC_STATUS_INFO_UNAVAILABLE); in testOnProvisionDiscoveryInfoUnavailable()
|
D | SupplicantP2pIfaceCallbackAidlImplTest.java | 82 private WifiP2pMonitor mMonitor; 105 SupplicantP2pIfaceCallbackImplSpy(String iface, WifiP2pMonitor monitor, in SupplicantP2pIfaceCallbackImplSpy() 114 mMonitor = mock(WifiP2pMonitor.class); in setUp() 893 WifiP2pMonitor.PROV_DISC_STATUS_TIMEOUT); in testOnProvisionDiscoveryTimeout() 903 WifiP2pMonitor.PROV_DISC_STATUS_REJECTED); in testOnProvisionDiscoveryRejection() 913 WifiP2pMonitor.PROV_DISC_STATUS_TIMEOUT_JOIN); in testOnProvisionDiscoveryJoinTimeout() 923 WifiP2pMonitor.PROV_DISC_STATUS_INFO_UNAVAILABLE); in testOnProvisionDiscoveryInfoUnavailable()
|
D | MockWifiP2pMonitor.java | 33 public class MockWifiP2pMonitor extends WifiP2pMonitor {
|
D | WifiP2pServiceImplTest.java | 595 msg.what = WifiP2pMonitor.P2P_GO_NEGOTIATION_REQUEST_EVENT; in sendNegotiationRequestEvent() 646 msg.what = WifiP2pMonitor.P2P_GROUP_STARTED_EVENT; in sendGroupStartedMsg() 657 msg.what = WifiP2pMonitor.P2P_GROUP_REMOVED_EVENT; in sendGroupRemovedMsg() 669 msg.what = WifiP2pMonitor.P2P_DEVICE_FOUND_EVENT; in sendDeviceFoundEventMsg() 683 msg.what = WifiP2pMonitor.P2P_INVITATION_RESULT_EVENT; in sendInvitationResultMsg() 696 msg.what = WifiP2pMonitor.P2P_INVITATION_RECEIVED_EVENT; in sendInvitationReceivedMsg() 709 msg.what = WifiP2pMonitor.AP_STA_CONNECTED_EVENT; in sendApStaConnectedEvent() 722 msg.what = WifiP2pMonitor.AP_STA_DISCONNECTED_EVENT; in sendApStaDisConnectedEvent() 1012 msg.what = WifiP2pMonitor.P2P_GO_NEGOTIATION_FAILURE_EVENT; in sendGoNegotiationFailureEvent() 1604 sendP2pStateMachineMessage(WifiP2pMonitor.SUP_DISCONNECTION_EVENT); in mockEnterDisabledState() [all …]
|
D | SupplicantP2pIfaceHalTest.java | 64 private @Mock WifiP2pMonitor mMonitor;
|
D | SupplicantP2pIfaceHalAidlImplTest.java | 110 private @Mock WifiP2pMonitor mWifiMonitor;
|
D | SupplicantP2pIfaceHalHidlImplTest.java | 96 private @Mock WifiP2pMonitor mWifiMonitor;
|
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/ |
D | WifiP2pServiceImpl.java | 1402 private final WifiP2pMonitor mWifiMonitor = mWifiInjector.getWifiP2pMonitor(); 1611 case WifiP2pMonitor.P2P_DEVICE_FOUND_EVENT: in recordLogRec() 1612 case WifiP2pMonitor.P2P_DEVICE_LOST_EVENT: in recordLogRec() 1756 case WifiP2pMonitor.AP_STA_CONNECTED_EVENT: in getWhatToString() 1758 case WifiP2pMonitor.AP_STA_DISCONNECTED_EVENT: in getWhatToString() 1760 case WifiP2pMonitor.P2P_DEVICE_FOUND_EVENT: in getWhatToString() 1762 case WifiP2pMonitor.P2P_DEVICE_LOST_EVENT: in getWhatToString() 1764 case WifiP2pMonitor.P2P_FIND_STOPPED_EVENT: in getWhatToString() 1766 case WifiP2pMonitor.P2P_GO_NEGOTIATION_FAILURE_EVENT: in getWhatToString() 1768 case WifiP2pMonitor.P2P_GO_NEGOTIATION_REQUEST_EVENT: in getWhatToString() [all …]
|
D | SupplicantP2pIfaceCallbackHidlImpl.java | 49 private final WifiP2pMonitor mMonitor; 53 @NonNull String iface, @NonNull WifiP2pMonitor monitor) { in SupplicantP2pIfaceCallbackHidlImpl() 386 private @WifiP2pMonitor.P2pProvDiscStatus int convertHalProvDiscStatusToFrameworkStatus( in convertHalProvDiscStatusToFrameworkStatus() 390 return WifiP2pMonitor.PROV_DISC_STATUS_SUCCESS; in convertHalProvDiscStatusToFrameworkStatus() 392 return WifiP2pMonitor.PROV_DISC_STATUS_TIMEOUT; in convertHalProvDiscStatusToFrameworkStatus() 394 return WifiP2pMonitor.PROV_DISC_STATUS_REJECTED; in convertHalProvDiscStatusToFrameworkStatus() 396 return WifiP2pMonitor.PROV_DISC_STATUS_TIMEOUT_JOIN; in convertHalProvDiscStatusToFrameworkStatus() 398 return WifiP2pMonitor.PROV_DISC_STATUS_INFO_UNAVAILABLE; in convertHalProvDiscStatusToFrameworkStatus() 400 return WifiP2pMonitor.PROV_DISC_STATUS_UNKNOWN; in convertHalProvDiscStatusToFrameworkStatus()
|
D | SupplicantP2pIfaceCallbackAidlImpl.java | 68 private final WifiP2pMonitor mMonitor; 72 @NonNull String iface, @NonNull WifiP2pMonitor monitor, int serviceVersion) { in SupplicantP2pIfaceCallbackAidlImpl() 477 private @WifiP2pMonitor.P2pProvDiscStatus int convertHalProvDiscStatusToFrameworkStatus( in convertHalProvDiscStatusToFrameworkStatus() 481 return WifiP2pMonitor.PROV_DISC_STATUS_SUCCESS; in convertHalProvDiscStatusToFrameworkStatus() 483 return WifiP2pMonitor.PROV_DISC_STATUS_TIMEOUT; in convertHalProvDiscStatusToFrameworkStatus() 485 return WifiP2pMonitor.PROV_DISC_STATUS_REJECTED; in convertHalProvDiscStatusToFrameworkStatus() 487 return WifiP2pMonitor.PROV_DISC_STATUS_TIMEOUT_JOIN; in convertHalProvDiscStatusToFrameworkStatus() 489 return WifiP2pMonitor.PROV_DISC_STATUS_INFO_UNAVAILABLE; in convertHalProvDiscStatusToFrameworkStatus() 491 return WifiP2pMonitor.PROV_DISC_STATUS_UNKNOWN; in convertHalProvDiscStatusToFrameworkStatus()
|
D | SupplicantP2pIfaceCallbackHidlV1_4Impl.java | 39 private final WifiP2pMonitor mMonitor; 44 @NonNull String iface, @NonNull WifiP2pMonitor monitor) { in SupplicantP2pIfaceCallbackHidlV1_4Impl()
|
D | SupplicantP2pIfaceHal.java | 45 private final WifiP2pMonitor mMonitor; 52 public SupplicantP2pIfaceHal(WifiP2pMonitor monitor, WifiGlobals wifiGlobals, in SupplicantP2pIfaceHal()
|
D | WifiP2pMonitor.java | 47 public class WifiP2pMonitor { class
|
D | SupplicantP2pIfaceHalAidlImpl.java | 114 private final WifiP2pMonitor mMonitor; 119 public SupplicantP2pIfaceHalAidlImpl(WifiP2pMonitor monitor, WifiInjector wifiInjector) { in SupplicantP2pIfaceHalAidlImpl()
|
D | SupplicantP2pIfaceHalHidlImpl.java | 122 private final WifiP2pMonitor mMonitor; 125 public SupplicantP2pIfaceHalHidlImpl(WifiP2pMonitor monitor) { in SupplicantP2pIfaceHalHidlImpl()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiInjector.java | 66 import com.android.server.wifi.p2p.WifiP2pMonitor; 169 private final WifiP2pMonitor mWifiP2pMonitor; 356 mWifiP2pMonitor = new WifiP2pMonitor(); in WifiInjector() 1034 public WifiP2pMonitor getWifiP2pMonitor() { in getWifiP2pMonitor()
|
/packages/modules/Wifi/service/tests/wifitests/ |
D | Android.bp | 1121 "com.android.server.wifi.p2p.WifiP2pMonitor", 1122 "com.android.server.wifi.p2p.WifiP2pMonitor$*", 1123 "com.android.server.wifi.p2p.WifiP2pMonitor.**",
|