Searched refs:WifiNanSessionListener (Results 1 – 6 of 6) sorted by relevance
37 import android.net.wifi.nan.WifiNanSessionListener;90 final int reason = WifiNanSessionListener.FAIL_REASON_NO_RESOURCES; in testNanEventsDelivered()147 final int reason = WifiNanSessionListener.FAIL_REASON_NO_RESOURCES; in testNanEventsNotDelivered()193 final int reasonFail = WifiNanSessionListener.FAIL_REASON_NO_RESOURCES; in testPublish()194 final int reasonTerminate = WifiNanSessionListener.TERMINATE_REASON_DONE; in testPublish()209 int allEvents = WifiNanSessionListener.LISTEN_PUBLISH_FAIL in testPublish()210 | WifiNanSessionListener.LISTEN_PUBLISH_TERMINATED in testPublish()211 | WifiNanSessionListener.LISTEN_SUBSCRIBE_FAIL in testPublish()212 | WifiNanSessionListener.LISTEN_SUBSCRIBE_TERMINATED in testPublish()213 | WifiNanSessionListener.LISTEN_MATCH in testPublish()[all …]
30 import android.net.wifi.nan.WifiNanSessionListener;345 WifiNanSessionListener.FAIL_REASON_INVALID_ARGS); in testNotifyResponseConfigFail()380 WifiNanSessionListener.FAIL_REASON_NO_RESOURCES); in testNotifyResponsePublishFail()431 WifiNanSessionListener.FAIL_REASON_OTHER); in testNotifyResponseSubscribeFail()478 WifiNanSessionListener.FAIL_REASON_OTHER); in testNotifyResponseTransmitFollowupFail()492 WifiNanSessionListener.TERMINATE_REASON_DONE); in testPublishTerminatedDone()506 WifiNanSessionListener.TERMINATE_REASON_FAIL); in testSubscribeTerminatedFail()587 verify(mNanStateManager).onNanDown(WifiNanSessionListener.FAIL_REASON_OTHER); in testDisabled()
44 public class WifiNanSessionListener { class177 public WifiNanSessionListener() { in WifiNanSessionListener() method in WifiNanSessionListener187 public WifiNanSessionListener(Looper looper) { in WifiNanSessionListener() method in WifiNanSessionListener195 WifiNanSessionListener.this.onPublishFail(msg.arg1); in WifiNanSessionListener()198 WifiNanSessionListener.this.onPublishTerminated(msg.arg1); in WifiNanSessionListener()201 WifiNanSessionListener.this.onSubscribeFail(msg.arg1); in WifiNanSessionListener()204 WifiNanSessionListener.this.onSubscribeTerminated(msg.arg1); in WifiNanSessionListener()207 WifiNanSessionListener.this.onMatch( in WifiNanSessionListener()213 WifiNanSessionListener.this.onMessageSendSuccess(msg.arg1); in WifiNanSessionListener()216 WifiNanSessionListener.this.onMessageSendFail(msg.arg1, msg.arg2); in WifiNanSessionListener()[all …]
141 WifiNanSessionListener listener, int events) { in publish()143 events | WifiNanSessionListener.LISTEN_HIDDEN_FLAGS); in publish()152 PublishSettings publishSettings, WifiNanSessionListener listener, int events) { in publishRaw()224 WifiNanSessionListener listener, int events) { in subscribe()226 events | WifiNanSessionListener.LISTEN_HIDDEN_FLAGS); in subscribe()235 SubscribeSettings subscribeSettings, WifiNanSessionListener listener, int events) { in subscribeRaw()
24 import android.net.wifi.nan.WifiNanSessionListener;101 onMessageSendFail(messageId, WifiNanSessionListener.FAIL_REASON_NO_MATCH_SESSION); in sendMessage()109 onMessageSendFail(messageId, WifiNanSessionListener.FAIL_REASON_NO_MATCH_SESSION); in sendMessage()140 if (mListener != null && (mEvents & WifiNanSessionListener.LISTEN_PUBLISH_FAIL) != 0) { in onPublishFail()152 && (mEvents & WifiNanSessionListener.LISTEN_PUBLISH_TERMINATED) != 0) { in onPublishTerminated()169 && (mEvents & WifiNanSessionListener.LISTEN_SUBSCRIBE_FAIL) != 0) { in onSubscribeFail()181 && (mEvents & WifiNanSessionListener.LISTEN_SUBSCRIBE_TERMINATED) != 0) { in onSubscribeTerminated()192 && (mEvents & WifiNanSessionListener.LISTEN_MESSAGE_SEND_SUCCESS) != 0) { in onMessageSendSuccess()203 && (mEvents & WifiNanSessionListener.LISTEN_MESSAGE_SEND_FAIL) != 0) { in onMessageSendFail()219 if (mListener != null && (mEvents & WifiNanSessionListener.LISTEN_MATCH) != 0) { in onMatch()[all …]
24 import android.net.wifi.nan.WifiNanSessionListener;393 return WifiNanSessionListener.FAIL_REASON_NO_RESOURCES; in translateHalStatusToPublicStatus()398 return WifiNanSessionListener.FAIL_REASON_OTHER; in translateHalStatusToPublicStatus()437 return WifiNanSessionListener.FAIL_REASON_INVALID_ARGS; in translateHalStatusToPublicStatus()443 return WifiNanSessionListener.TERMINATE_REASON_DONE; in translateHalStatusToPublicStatus()452 return WifiNanSessionListener.TERMINATE_REASON_FAIL; in translateHalStatusToPublicStatus()455 return WifiNanSessionListener.FAIL_REASON_OTHER; in translateHalStatusToPublicStatus()