Home
last modified time | relevance | path

Searched refs:subscribeData (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/wifi/java/android/net/wifi/nan/
DWifiNanManager.java222 public WifiNanSubscribeSession subscribe(SubscribeData subscribeData, in subscribe() argument
225 return subscribeRaw(subscribeData, subscribeSettings, listener, in subscribe()
234 public WifiNanSubscribeSession subscribeRaw(SubscribeData subscribeData, in subscribeRaw() argument
237 Log.v(TAG, "subscribe(): data='" + subscribeData + "', settings=" + subscribeSettings); in subscribeRaw()
241 && subscribeData.mRxFilterLength != 0) { in subscribeRaw()
246 && subscribeData.mTxFilterLength != 0) { in subscribeRaw()
256 mService.subscribe(sessionId, subscribeData, subscribeSettings); in subscribeRaw()
267 public void subscribe(int sessionId, SubscribeData subscribeData, in subscribe() argument
270 Log.v(TAG, "subscribe(): data='" + subscribeData + "', settings=" + subscribeSettings); in subscribe()
274 && subscribeData.mRxFilterLength != 0) { in subscribe()
[all …]
DWifiNanSubscribeSession.java44 public void subscribe(SubscribeData subscribeData, SubscribeSettings subscribeSettings) { in subscribe() argument
45 mManager.subscribe(mSessionId, subscribeData, subscribeSettings); in subscribe()
DIWifiNanManager.aidl44 void subscribe(int sessionId, in SubscribeData subscribeData, in subscribe() argument
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/nan/
DWifiNanManagerTest.java161 SubscribeData subscribeData = new SubscribeData.Builder().setServiceName(serviceName) in testSubscribeDataBuilder() local
165 collector.checkThat("mServiceName", serviceName, equalTo(subscribeData.mServiceName)); in testSubscribeDataBuilder()
166 String mServiceSpecificInfo = new String(subscribeData.mServiceSpecificInfo, 0, in testSubscribeDataBuilder()
167 subscribeData.mServiceSpecificInfoLength); in testSubscribeDataBuilder()
170 subscribeData.mServiceSpecificInfo, in testSubscribeDataBuilder()
171 subscribeData.mServiceSpecificInfoLength), in testSubscribeDataBuilder()
174 subscribeData.mTxFilter, subscribeData.mTxFilterLength), equalTo(true)); in testSubscribeDataBuilder()
176 subscribeData.mRxFilter, subscribeData.mRxFilterLength), equalTo(true)); in testSubscribeDataBuilder()
188 SubscribeData subscribeData = new SubscribeData.Builder().setServiceName(serviceName) in testSubscribeDataParcel() local
193 subscribeData.writeToParcel(parcelW, 0); in testSubscribeDataParcel()
[all …]
DWifiNanStateManagerTest.java344 SubscribeData subscribeData = new SubscribeData.Builder().setServiceName(serviceName) in testSubscribe() local
368 mDut.subscribe(uid, sessionId, subscribeData, subscribeSettings); in testSubscribe()
371 inOrder.verify(mMockNative).subscribe(transactionId.capture(), eq(0), eq(subscribeData), in testSubscribe()
381 mDut.subscribe(uid, sessionId, subscribeData, subscribeSettings); in testSubscribe()
384 inOrder.verify(mMockNative).subscribe(transactionId.capture(), eq(0), eq(subscribeData), in testSubscribe()
397 mDut.subscribe(uid, sessionId, subscribeData, subscribeSettings); in testSubscribe()
400 inOrder.verify(mMockNative).subscribe(transactionId.capture(), eq(0), eq(subscribeData), in testSubscribe()
404 mDut.subscribe(uid, sessionId, subscribeData, subscribeSettings); in testSubscribe()
409 eq(subscribeData), eq(subscribeSettings)); in testSubscribe()
424 SubscribeData subscribeData = new SubscribeData.Builder().setServiceName(serviceName) in testSubscribeNoCallbacks() local
[all …]
DWifiNanHalTest.java701 SubscribeData subscribeData = new SubscribeData.Builder().setServiceName(serviceName) in testSubscribe() local
710 mDut.subscribe(transactionId, subscribeId, subscribeData, subscribeSettings); in testSubscribe()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/nan/
DWifiNanServiceImpl.java192 public void subscribe(int sessionId, SubscribeData subscribeData, in subscribe() argument
199 + subscribeData + "', settings=" + subscribeSettings); in subscribe()
202 mStateManager.subscribe(getCallingUid(), sessionId, subscribeData, subscribeSettings); in subscribe() local
DWifiNanNative.java211 int iface, SubscribeData subscribeData, SubscribeSettings subscribeSettings); in subscribeNative() argument
213 public void subscribe(short transactionId, int subscribeId, SubscribeData subscribeData, in subscribe() argument
218 Log.d(TAG, "subscribe: transactionId=" + transactionId + ", data='" + subscribeData in subscribe()
226 WifiNative.sWlan0Index, subscribeData, subscribeSettings); in subscribe()
DWifiNanStateManager.java180 public void subscribe(int uid, int sessionId, SubscribeData subscribeData, in subscribe() argument
183 data.putParcelable(MESSAGE_BUNDLE_KEY_SUBSCRIBE_DATA, subscribeData); in subscribe()
405 SubscribeData subscribeData = (SubscribeData) data in handleMessage() local
410 Log.d(TAG, "Subscribe: data='" + subscribeData + "', settings=" in handleMessage()
414 subscribeLocal(msg.arg1, msg.arg2, subscribeData, subscribeSettings); in handleMessage()
753 private void subscribeLocal(int uid, int sessionId, SubscribeData subscribeData, in subscribeLocal() argument
757 + subscribeData + ", settings=" + subscribeSettings); in subscribeLocal()
762 info.mSession.subscribe(info.mTransactionId, subscribeData, subscribeSettings); in subscribeLocal()