/frameworks/base/wifi/java/android/net/wifi/nan/ |
D | WifiNanManager.java | 222 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 …]
|
D | WifiNanSubscribeSession.java | 44 public void subscribe(SubscribeData subscribeData, SubscribeSettings subscribeSettings) { in subscribe() argument 45 mManager.subscribe(mSessionId, subscribeData, subscribeSettings); in subscribe()
|
D | IWifiNanManager.aidl | 44 void subscribe(int sessionId, in SubscribeData subscribeData, in subscribe() argument
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/nan/ |
D | WifiNanManagerTest.java | 161 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 …]
|
D | WifiNanStateManagerTest.java | 344 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 …]
|
D | WifiNanHalTest.java | 701 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/ |
D | WifiNanServiceImpl.java | 192 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
|
D | WifiNanNative.java | 211 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()
|
D | WifiNanStateManager.java | 180 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()
|