Home
last modified time | relevance | path

Searched refs:serviceSpecificInfo (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/wifi/java/android/net/wifi/aware/
DIWifiAwareDiscoverySessionCallback.aidl31 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
DDiscoverySessionCallback.java115 byte[] serviceSpecificInfo, List<byte[]> matchFilter) { in onServiceDiscovered() argument
147 byte[] serviceSpecificInfo, List<byte[]> matchFilter, int distanceMm) { in onServiceDiscoveredWithinRange() argument
DPublishConfig.java88 public PublishConfig(byte[] serviceName, byte[] serviceSpecificInfo, byte[] matchFilter, in PublishConfig() argument
92 mServiceSpecificInfo = serviceSpecificInfo; in PublishConfig()
277 public Builder setServiceSpecificInfo(@Nullable byte[] serviceSpecificInfo) { in setServiceSpecificInfo() argument
278 mServiceSpecificInfo = serviceSpecificInfo; in setServiceSpecificInfo()
DSubscribeConfig.java95 public SubscribeConfig(byte[] serviceName, byte[] serviceSpecificInfo, byte[] matchFilter, in SubscribeConfig() argument
100 mServiceSpecificInfo = serviceSpecificInfo; in SubscribeConfig()
334 public Builder setServiceSpecificInfo(@Nullable byte[] serviceSpecificInfo) { in setServiceSpecificInfo() argument
335 mServiceSpecificInfo = serviceSpecificInfo; in setServiceSpecificInfo()
DWifiAwareManager.java709 private void onMatchCommon(int messageType, int peerId, byte[] serviceSpecificInfo, in onMatchCommon() argument
712 data.putByteArray(MESSAGE_BUNDLE_KEY_MESSAGE, serviceSpecificInfo); in onMatchCommon()
723 public void onMatch(int peerId, byte[] serviceSpecificInfo, byte[] matchFilter) { in onMatch() argument
726 onMatchCommon(CALLBACK_MATCH, peerId, serviceSpecificInfo, matchFilter, 0); in onMatch()
730 public void onMatchWithDistance(int peerId, byte[] serviceSpecificInfo, byte[] matchFilter, in onMatchWithDistance() argument
736 onMatchCommon(CALLBACK_MATCH_WITH_DISTANCE, peerId, serviceSpecificInfo, matchFilter, in onMatchWithDistance()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareNativeCallback.java408 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()
DWifiAwareDiscoverySessionState.java257 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()
DWifiAwareNativeApi.java571 req.baseConfigs.serviceSpecificInfo); in publish()
637 req.baseConfigs.serviceSpecificInfo); in subscribe()
720 convertNativeByteArrayToArrayList(message, req.serviceSpecificInfo); in sendMessage()
DWifiAwareStateManager.java1053 byte[] serviceSpecificInfo, byte[] matchFilter, int rangingIndication, int rangeMm) { in onMatchNotification() argument
1059 msg.getData().putByteArray(MESSAGE_BUNDLE_KEY_SSI_DATA, serviceSpecificInfo); in onMatchNotification()
1379 byte[] serviceSpecificInfo = msg.getData() in processNotification()
1385 onMatchLocal(pubSubId, requestorInstanceId, peerMac, serviceSpecificInfo, in processNotification()
2982 byte[] serviceSpecificInfo, byte[] matchFilter, int rangingIndication, int rangeMm) { in onMatchLocal() argument
2987 + ", serviceSpecificInfo=" + Arrays.toString(serviceSpecificInfo) in onMatchLocal()
3002 data.second.onMatch(requestorInstanceId, peerMac, serviceSpecificInfo, matchFilter, in onMatchLocal()
/frameworks/base/wifi/tests/src/android/net/wifi/aware/
DWifiAwareManagerTest.java741 final String serviceSpecificInfo = "long arbitrary string with some info"; in testSubscribeConfigBuilder() local
750 .setServiceSpecificInfo(serviceSpecificInfo.getBytes()).setMatchFilter( in testSubscribeConfigBuilder()
761 serviceSpecificInfo.getBytes(), equalTo(subscribeConfig.mServiceSpecificInfo)); in testSubscribeConfigBuilder()
777 final String serviceSpecificInfo = "long arbitrary string with some info"; in testSubscribeConfigParcel() local
786 .setServiceSpecificInfo(serviceSpecificInfo.getBytes()).setMatchFilter( in testSubscribeConfigParcel()
841 final String serviceSpecificInfo = "long arbitrary string with some info"; in testPublishConfigBuilder() local
849 .setServiceSpecificInfo(serviceSpecificInfo.getBytes()).setMatchFilter( in testPublishConfigBuilder()
859 serviceSpecificInfo.getBytes(), equalTo(publishConfig.mServiceSpecificInfo)); in testPublishConfigBuilder()
871 final String serviceSpecificInfo = "long arbitrary string with some info"; in testPublishConfigParcel() local
879 .setServiceSpecificInfo(serviceSpecificInfo.getBytes()).setMatchFilter( in testPublishConfigParcel()