Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/nan/
DWifiNanHalTest.java167 final int subscribeId = 17; in testSubscribePassive() local
181 testSubscribe(transactionId, subscribeId, SubscribeSettings.SUBSCRIBE_TYPE_PASSIVE, in testSubscribePassive()
188 final int subscribeId = 17; in testSubscribeActive() local
202 testSubscribe(transactionId, subscribeId, SubscribeSettings.SUBSCRIBE_TYPE_ACTIVE, in testSubscribeActive()
209 final int subscribeId = 15; in testSubscribeCancel() local
211 mDut.stopSubscribe(transactionId, subscribeId); in testSubscribeCancel()
217 collector.checkThat("subscribe_id", argsData.getInt("subscribe_id"), equalTo(subscribeId)); in testSubscribeCancel()
402 final int subscribeId = 198; in testNotifyResponseSubscribeSuccess() local
408 args.putInt("body.subscribe_response.subscribe_id", subscribeId); in testNotifyResponseSubscribeSuccess()
413 verify(mNanStateManager).onSubscribeSuccess(transactionId, subscribeId); in testNotifyResponseSubscribeSuccess()
[all …]
DWifiNanStateManagerTest.java422 final int subscribeId = 15; in testSubscribeNoCallbacks() local
468 mDut.onSubscribeSuccess(transactionId.getValue(), subscribeId); in testSubscribeNoCallbacks() local
471 mDut.onSubscribeTerminated(subscribeId, reasonTerminate); in testSubscribeNoCallbacks()
486 final int subscribeId = 15; in testMatchAndMessages() local
522 mDut.onSubscribeSuccess(transactionId.getValue(), subscribeId); in testMatchAndMessages() local
523 mDut.onMatch(subscribeId, requestorId, peerMac, peerSsi.getBytes(), peerSsi.length(), in testMatchAndMessages()
525 mDut.onMessageReceived(subscribeId, requestorId, peerMac, peerMsg.getBytes(), in testMatchAndMessages()
538 inOrder.verify(mMockNative).sendMessage(transactionId.capture(), eq(subscribeId), in testMatchAndMessages()
550 inOrder.verify(mMockNative).sendMessage(transactionId.capture(), eq(subscribeId), in testMatchAndMessages()
983 final int subscribeId = 55; in testDestroySessionWithPendingTransactions() local
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/nan/
DWifiNanNative.java210 private static native int subscribeNative(short transactionId, int subscribeId, Object cls, in subscribeNative() argument
213 public void subscribe(short transactionId, int subscribeId, SubscribeData subscribeData, in subscribe() argument
225 ret = subscribeNative(transactionId, subscribeId, WifiNative.class, in subscribe()
599 private static void onSubscribeTerminated(int subscribeId, int status) { in onSubscribeTerminated() argument
601 Log.v(TAG, "onSubscribeTerminated: subscribeId=" + subscribeId + ", status=" + status); in onSubscribeTerminated()
604 WifiNanStateManager.getInstance().onSubscribeTerminated(subscribeId, in onSubscribeTerminated()
DWifiNanStateManager.java255 public void onSubscribeSuccess(short transactionId, int subscribeId) { in onSubscribeSuccess() argument
258 msg.arg2 = subscribeId; in onSubscribeSuccess()
315 public void onSubscribeTerminated(int subscribeId, int status) { in onSubscribeTerminated() argument
317 msg.arg1 = subscribeId; in onSubscribeTerminated()
962 private void onSubscribeSuccessLocal(short transactionId, int subscribeId) { in onSubscribeSuccessLocal() argument
965 + subscribeId); in onSubscribeSuccessLocal()
981 infoSession.mSession.onSubscribeSuccess(subscribeId); in onSubscribeSuccessLocal()
1004 private void onSubscribeTerminatedLocal(int subscribeId, int status) { in onSubscribeTerminatedLocal() argument
1006 Log.v(TAG, "onPublishTerminated: subscribeId=" + subscribeId + ", status=" + status); in onSubscribeTerminatedLocal()
1009 WifiNanSessionState session = getNanSessionStateForPubSubId(subscribeId); in onSubscribeTerminatedLocal()
[all …]
DWifiNanSessionState.java160 public void onSubscribeSuccess(int subscribeId) { in onSubscribeSuccess() argument
161 mPubSubId = subscribeId; in onSubscribeSuccess()