Home
last modified time | relevance | path

Searched refs:P2pStatus (Results 1 – 5 of 5) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DSupplicantP2pIfaceCallback.java30 import com.android.server.wifi.p2p.WifiP2pServiceImpl.P2pStatus;
219 P2pStatus result = halStatusToP2pStatus(status); in onGoNegotiationCompleted()
221 if (result == P2pStatus.SUCCESS) { in onGoNegotiationCompleted()
515 private static P2pStatus halStatusToP2pStatus(int status) { in halStatusToP2pStatus()
516 P2pStatus result = P2pStatus.UNKNOWN; in halStatusToP2pStatus()
521 result = P2pStatus.SUCCESS; in halStatusToP2pStatus()
525 result = P2pStatus.INFORMATION_IS_CURRENTLY_UNAVAILABLE; in halStatusToP2pStatus()
529 result = P2pStatus.INCOMPATIBLE_PARAMETERS; in halStatusToP2pStatus()
533 result = P2pStatus.LIMIT_REACHED; in halStatusToP2pStatus()
537 result = P2pStatus.INVALID_PARAMETER; in halStatusToP2pStatus()
[all …]
DWifiP2pMonitor.java33 import com.android.server.wifi.p2p.WifiP2pServiceImpl.P2pStatus;
323 public void broadcastP2pGoNegotiationFailure(String iface, P2pStatus reason) { in broadcastP2pGoNegotiationFailure()
343 P2pStatus err = P2pStatus.UNKNOWN; in broadcastP2pGroupFormationFailure()
345 err = P2pStatus.NO_COMMON_CHANNEL; in broadcastP2pGroupFormationFailure()
392 public void broadcastP2pInvitationResult(String iface, P2pStatus result) { in broadcastP2pInvitationResult()
DWifiP2pServiceImpl.java282 public enum P2pStatus { enum in WifiP2pServiceImpl
329 public static P2pStatus valueOf(int error) { in valueOf()
2405 P2pStatus status = (P2pStatus) message.obj; in processMessage()
2406 if (status == P2pStatus.NO_COMMON_CHANNEL) { in processMessage()
2422 status = (P2pStatus) message.obj; in processMessage()
2423 if (status == P2pStatus.NO_COMMON_CHANNEL) { in processMessage()
2429 status = (P2pStatus) message.obj; in processMessage()
2430 if (status == P2pStatus.SUCCESS) { in processMessage()
2436 if (status == P2pStatus.UNKNOWN_P2P_GROUP) { in processMessage()
2450 } else if (status == P2pStatus.INFORMATION_IS_CURRENTLY_UNAVAILABLE) { in processMessage()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DSupplicantP2pIfaceCallbackTest.java39 import com.android.server.wifi.p2p.WifiP2pServiceImpl.P2pStatus;
562 eq(mIface), eq(P2pStatus.INFORMATION_IS_CURRENTLY_UNAVAILABLE)); in testOnGoNegotiationCompletedFailureUnavailable()
634 verify(mMonitor).broadcastP2pInvitationResult(eq(mIface), eq(P2pStatus.SUCCESS)); in testOnInvitationResult()
DWifiP2pServiceImplTest.java413 WifiP2pServiceImpl.P2pStatus status) throws Exception { in sendInvitationResultMsg()
2113 sendInvitationResultMsg(WifiP2pServiceImpl.P2pStatus.UNKNOWN); in testEndConnectionEventWhenInvitationFailure()