/frameworks/base/wifi/java/android/net/wifi/aware/ |
D | IWifiAwareDiscoverySessionCallback.aidl | 31 void onMatch(int peerId, in byte[] serviceSpecificInfo, in byte[] matchFilter); in onMatch() argument 32 void onMatchWithDistance(int peerId, in byte[] serviceSpecificInfo, in byte[] matchFilter, in onMatchWithDistance() argument
|
D | DiscoverySessionCallback.java | 115 byte[] serviceSpecificInfo, List<byte[]> matchFilter) { in onServiceDiscovered() argument 147 byte[] serviceSpecificInfo, List<byte[]> matchFilter, int distanceMm) { in onServiceDiscoveredWithinRange() argument
|
D | PublishConfig.java | 88 public PublishConfig(byte[] serviceName, byte[] serviceSpecificInfo, byte[] matchFilter, in PublishConfig() argument 92 mServiceSpecificInfo = serviceSpecificInfo; in PublishConfig() 276 public Builder setServiceSpecificInfo(@Nullable byte[] serviceSpecificInfo) { in setServiceSpecificInfo() argument 277 mServiceSpecificInfo = serviceSpecificInfo; in setServiceSpecificInfo()
|
D | SubscribeConfig.java | 95 public SubscribeConfig(byte[] serviceName, byte[] serviceSpecificInfo, byte[] matchFilter, in SubscribeConfig() argument 100 mServiceSpecificInfo = serviceSpecificInfo; in SubscribeConfig() 332 public Builder setServiceSpecificInfo(@Nullable byte[] serviceSpecificInfo) { in setServiceSpecificInfo() argument 333 mServiceSpecificInfo = serviceSpecificInfo; in setServiceSpecificInfo()
|
D | WifiAwareManager.java | 711 private void onMatchCommon(int messageType, int peerId, byte[] serviceSpecificInfo, in onMatchCommon() argument 714 data.putByteArray(MESSAGE_BUNDLE_KEY_MESSAGE, serviceSpecificInfo); in onMatchCommon() 725 public void onMatch(int peerId, byte[] serviceSpecificInfo, byte[] matchFilter) { in onMatch() argument 728 onMatchCommon(CALLBACK_MATCH, peerId, serviceSpecificInfo, matchFilter, 0); in onMatch() 732 public void onMatchWithDistance(int peerId, byte[] serviceSpecificInfo, byte[] matchFilter, in onMatchWithDistance() argument 738 onMatchCommon(CALLBACK_MATCH_WITH_DISTANCE, peerId, serviceSpecificInfo, matchFilter, in onMatchWithDistance()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareNativeCallback.java | 408 convertArrayListToNativeByteArray(event.serviceSpecificInfo)) + ", ssi.size()=" in eventMatch() 409 + (event.serviceSpecificInfo == null ? 0 : event.serviceSpecificInfo.size()) in eventMatch() 420 event.addr, convertArrayListToNativeByteArray(event.serviceSpecificInfo), in eventMatch() 442 convertArrayListToNativeByteArray(event.serviceSpecificInfo)) + ", ssi.size()=" in eventFollowupReceived() 443 + (event.serviceSpecificInfo == null ? 0 : event.serviceSpecificInfo.size())); in eventFollowupReceived() 448 event.addr, convertArrayListToNativeByteArray(event.serviceSpecificInfo)); in eventFollowupReceived()
|
D | WifiAwareDiscoverySessionState.java | 257 public void onMatch(int requestorInstanceId, byte[] peerMac, byte[] serviceSpecificInfo, in onMatch() argument 263 mCallback.onMatch(peerId, serviceSpecificInfo, matchFilter); in onMatch() 265 mCallback.onMatchWithDistance(peerId, serviceSpecificInfo, matchFilter, rangeMm); in onMatch()
|
D | WifiAwareNativeApi.java | 567 req.baseConfigs.serviceSpecificInfo); in publish() 633 req.baseConfigs.serviceSpecificInfo); in subscribe() 716 convertNativeByteArrayToArrayList(message, req.serviceSpecificInfo); in sendMessage()
|
D | WifiAwareStateManager.java | 1046 byte[] serviceSpecificInfo, byte[] matchFilter, int rangingIndication, int rangeMm) { in onMatchNotification() argument 1052 msg.getData().putByteArray(MESSAGE_BUNDLE_KEY_SSI_DATA, serviceSpecificInfo); in onMatchNotification() 1371 byte[] serviceSpecificInfo = msg.getData() in processNotification() 1377 onMatchLocal(pubSubId, requestorInstanceId, peerMac, serviceSpecificInfo, in processNotification() 2968 byte[] serviceSpecificInfo, byte[] matchFilter, int rangingIndication, int rangeMm) { in onMatchLocal() argument 2973 + ", serviceSpecificInfo=" + Arrays.toString(serviceSpecificInfo) in onMatchLocal() 2988 data.second.onMatch(requestorInstanceId, peerMac, serviceSpecificInfo, matchFilter, in onMatchLocal()
|
/frameworks/base/wifi/tests/src/android/net/wifi/aware/ |
D | WifiAwareManagerTest.java | 733 final String serviceSpecificInfo = "long arbitrary string with some info"; in testSubscribeConfigBuilder() local 742 .setServiceSpecificInfo(serviceSpecificInfo.getBytes()).setMatchFilter( in testSubscribeConfigBuilder() 753 serviceSpecificInfo.getBytes(), equalTo(subscribeConfig.mServiceSpecificInfo)); in testSubscribeConfigBuilder() 769 final String serviceSpecificInfo = "long arbitrary string with some info"; in testSubscribeConfigParcel() local 778 .setServiceSpecificInfo(serviceSpecificInfo.getBytes()).setMatchFilter( in testSubscribeConfigParcel() 832 final String serviceSpecificInfo = "long arbitrary string with some info"; in testPublishConfigBuilder() local 840 .setServiceSpecificInfo(serviceSpecificInfo.getBytes()).setMatchFilter( in testPublishConfigBuilder() 850 serviceSpecificInfo.getBytes(), equalTo(publishConfig.mServiceSpecificInfo)); in testPublishConfigBuilder() 862 final String serviceSpecificInfo = "long arbitrary string with some info"; in testPublishConfigParcel() local 870 .setServiceSpecificInfo(serviceSpecificInfo.getBytes()).setMatchFilter( in testPublishConfigParcel()
|