/frameworks/base/wifi/java/android/net/wifi/nan/ |
D | WifiNanManager.java | 140 public WifiNanPublishSession publish(PublishData publishData, PublishSettings publishSettings, in publish() argument 142 return publishRaw(publishData, publishSettings, listener, in publish() 151 public WifiNanPublishSession publishRaw(PublishData publishData, in publishRaw() argument 153 if (VDBG) Log.v(TAG, "publish(): data='" + publishData + "', settings=" + publishSettings); in publishRaw() 156 && publishData.mRxFilterLength != 0) { in publishRaw() 161 && publishData.mTxFilterLength != 0) { in publishRaw() 174 mService.publish(sessionId, publishData, publishSettings); in publishRaw() 185 public void publish(int sessionId, PublishData publishData, PublishSettings publishSettings) { in publish() argument 186 if (VDBG) Log.v(TAG, "publish(): data='" + publishData + "', settings=" + publishSettings); in publish() 189 && publishData.mRxFilterLength != 0) { in publish() [all …]
|
D | WifiNanPublishSession.java | 44 public void publish(PublishData publishData, PublishSettings publishSettings) { in publish() argument 45 mManager.publish(mSessionId, publishData, publishSettings); in publish()
|
D | IWifiNanManager.aidl | 43 void publish(int sessionId, in PublishData publishData, in PublishSettings publishSettings); in publish() argument
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/nan/ |
D | WifiNanManagerTest.java | 281 PublishData publishData = new PublishData.Builder().setServiceName(serviceName) in testPublishDataBuilder() local 285 collector.checkThat("mServiceName", serviceName, equalTo(publishData.mServiceName)); in testPublishDataBuilder() 286 String mServiceSpecificInfo = new String(publishData.mServiceSpecificInfo, 0, in testPublishDataBuilder() 287 publishData.mServiceSpecificInfoLength); in testPublishDataBuilder() 290 publishData.mServiceSpecificInfo, publishData.mServiceSpecificInfoLength), in testPublishDataBuilder() 293 publishData.mTxFilter, publishData.mTxFilterLength), equalTo(true)); in testPublishDataBuilder() 295 publishData.mRxFilter, publishData.mRxFilterLength), equalTo(true)); in testPublishDataBuilder() 307 PublishData publishData = new PublishData.Builder().setServiceName(serviceName) in testPublishDataParcel() local 312 publishData.writeToParcel(parcelW, 0); in testPublishDataParcel() 321 assertEquals(publishData, rereadPublishData); in testPublishDataParcel()
|
D | WifiNanStateManagerTest.java | 198 PublishData publishData = new PublishData.Builder().setServiceName(serviceName) in testPublish() local 222 mDut.publish(uid, sessionId, publishData, publishSettings); in testPublish() 225 inOrder.verify(mMockNative).publish(transactionId.capture(), eq(0), eq(publishData), in testPublish() 235 mDut.publish(uid, sessionId, publishData, publishSettings); in testPublish() 238 inOrder.verify(mMockNative).publish(transactionId.capture(), eq(0), eq(publishData), in testPublish() 251 mDut.publish(uid, sessionId, publishData, publishSettings); in testPublish() 254 inOrder.verify(mMockNative).publish(transactionId.capture(), eq(0), eq(publishData), in testPublish() 258 mDut.publish(uid, sessionId, publishData, publishSettings); in testPublish() 263 eq(publishData), eq(publishSettings)); in testPublish() 278 PublishData publishData = new PublishData.Builder().setServiceName(serviceName) in testPublishNoCallbacks() local [all …]
|
D | WifiNanHalTest.java | 653 PublishData publishData = new PublishData.Builder().setServiceName(serviceName) in testPublish() local 661 mDut.publish(transactionId, publishId, publishData, publishSettings); in testPublish()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/nan/ |
D | WifiNanServiceImpl.java | 179 public void publish(int sessionId, PublishData publishData, PublishSettings publishSettings) { in publish() argument 185 + publishData + "', settings=" + publishSettings); in publish() 188 mStateManager.publish(getCallingUid(), sessionId, publishData, publishSettings); in publish() local
|
D | WifiNanNative.java | 183 PublishData publishData, PublishSettings publishSettings); in publishNative() argument 185 public void publish(short transactionId, int publishId, PublishData publishData, in publish() argument 190 Log.d(TAG, "publish: transactionId=" + transactionId + ",data='" + publishData in publish() 198 WifiNative.sWlan0Index, publishData, publishSettings); in publish()
|
D | WifiNanStateManager.java | 167 public void publish(int uid, int sessionId, PublishData publishData, in publish() argument 170 data.putParcelable(MESSAGE_BUNDLE_KEY_PUBLISH_DATA, publishData); in publish() 391 PublishData publishData = (PublishData) data in handleMessage() local 397 "Publish: data='" + publishData + "', settings=" + publishSettings); in handleMessage() 400 publishLocal(msg.arg1, msg.arg2, publishData, publishSettings); in handleMessage() 741 private void publishLocal(int uid, int sessionId, PublishData publishData, in publishLocal() argument 745 + publishData + ", settings=" + publishSettings); in publishLocal() 750 info.mSession.publish(info.mTransactionId, publishData, publishSettings); in publishLocal()
|