Searched refs:publishId (Results 1 – 5 of 5) sorted by relevance
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/nan/ |
D | WifiNanHalTest.java | 111 final int publishId = 23; in testPublishUnsolicited() local 125 testPublish(transactionId, publishId, PublishSettings.PUBLISH_TYPE_UNSOLICITED, serviceName, in testPublishUnsolicited() 132 final int publishId = 17; in testPublishSolicited() local 146 testPublish(transactionId, publishId, PublishSettings.PUBLISH_TYPE_SOLICITED, serviceName, in testPublishSolicited() 153 final int publishId = 15; in testPublishCancel() local 155 mDut.stopPublish(transactionId, publishId); in testPublishCancel() 161 collector.checkThat("publish_id", argsData.getInt("publish_id"), equalTo(publishId)); in testPublishCancel() 351 final int publishId = 127; in testNotifyResponsePublishSuccess() local 357 args.putInt("body.publish_response.publish_id", publishId); in testNotifyResponsePublishSuccess() 362 verify(mNanStateManager).onPublishSuccess(transactionId, publishId); in testNotifyResponsePublishSuccess() [all …]
|
D | WifiNanStateManagerTest.java | 276 final int publishId = 15; in testPublishNoCallbacks() local 322 mDut.onPublishSuccess(transactionId.getValue(), publishId); in testPublishNoCallbacks() local 325 mDut.onPublishTerminated(publishId, reasonTerminate); in testPublishNoCallbacks() 574 final int publishId = 88; in testMultipleMessageSources() local 628 mDut.onPublishSuccess(transactionIdPublish, publishId); in testMultipleMessageSources() 629 mDut.onMessageReceived(publishId, peerId1, peerMac1, msgFromPeer1.getBytes(), in testMultipleMessageSources() 631 mDut.onMessageReceived(publishId, peerId2, peerMac2, msgFromPeer2.getBytes(), in testMultipleMessageSources() 646 inOrder.verify(mMockNative).sendMessage(transactionId.capture(), eq(publishId), eq(peerId2), in testMultipleMessageSources() 649 inOrder.verify(mMockNative).sendMessage(transactionId.capture(), eq(publishId), eq(peerId1), in testMultipleMessageSources() 676 final int publishId = 88; in testMessageWhilePeerChangesIdentity() local [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/nan/ |
D | WifiNanNative.java | 181 private static native int publishNative(short transactionId, int publishId, Object cls, in publishNative() argument 185 public void publish(short transactionId, int publishId, PublishData publishData, in publish() argument 197 ret = publishNative(transactionId, publishId, WifiNative.class, in publish() 591 private static void onPublishTerminated(int publishId, int status) { in onPublishTerminated() argument 592 if (VDBG) Log.v(TAG, "onPublishTerminated: publishId=" + publishId + ", status=" + status); in onPublishTerminated() 594 WifiNanStateManager.getInstance().onPublishTerminated(publishId, in onPublishTerminated()
|
D | WifiNanStateManager.java | 228 public void onPublishSuccess(short transactionId, int publishId) { in onPublishSuccess() argument 231 msg.arg2 = publishId; in onPublishSuccess() 308 public void onPublishTerminated(int publishId, int status) { in onPublishTerminated() argument 310 msg.arg1 = publishId; in onPublishTerminated() 907 private void onPublishSuccessLocal(short transactionId, int publishId) { in onPublishSuccessLocal() argument 910 + publishId); in onPublishSuccessLocal() 925 infoSession.mSession.onPublishSuccess(publishId); in onPublishSuccessLocal() 948 private void onPublishTerminatedLocal(int publishId, int status) { in onPublishTerminatedLocal() argument 950 Log.v(TAG, "onPublishTerminated: publishId=" + publishId + ", status=" + status); in onPublishTerminatedLocal() 953 WifiNanSessionState session = getNanSessionStateForPubSubId(publishId); in onPublishTerminatedLocal() [all …]
|
D | WifiNanSessionState.java | 132 public void onPublishSuccess(int publishId) { in onPublishSuccess() argument 133 mPubSubId = publishId; in onPublishSuccess()
|