Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
DWifiAwareNativeCallback.java467 convertArrayListToNativeByteArray(event.serviceSpecificInfo)) + ", ssi.size()=" in eventMatch()
468 + (event.serviceSpecificInfo == null ? 0 : event.serviceSpecificInfo.size()) in eventMatch()
479 event.addr, convertArrayListToNativeByteArray(event.serviceSpecificInfo), in eventMatch()
500 convertArrayListToNativeByteArray(event.serviceSpecificInfo)) + ", ssi.size()=" in eventFollowupReceived()
501 + (event.serviceSpecificInfo == null ? 0 : event.serviceSpecificInfo.size())); in eventFollowupReceived()
506 event.addr, convertArrayListToNativeByteArray(event.serviceSpecificInfo)); in eventFollowupReceived()
DWifiAwareDiscoverySessionState.java272 public void onMatch(int requestorInstanceId, byte[] peerMac, byte[] serviceSpecificInfo, in onMatch() argument
278 mCallback.onMatch(peerId, serviceSpecificInfo, matchFilter); in onMatch()
280 mCallback.onMatchWithDistance(peerId, serviceSpecificInfo, matchFilter, rangeMm); in onMatch()
DWifiAwareStateManager.java1200 byte[] serviceSpecificInfo, byte[] matchFilter, int rangingIndication, int rangeMm) { in onMatchNotification() argument
1206 msg.getData().putByteArray(MESSAGE_BUNDLE_KEY_SSI_DATA, serviceSpecificInfo); in onMatchNotification()
1538 byte[] serviceSpecificInfo = msg.getData() in processNotification()
1544 onMatchLocal(pubSubId, requestorInstanceId, peerMac, serviceSpecificInfo, in processNotification()
3225 byte[] serviceSpecificInfo, byte[] matchFilter, int rangingIndication, int rangeMm) { in onMatchLocal() argument
3230 + ", serviceSpecificInfo=" + Arrays.toString(serviceSpecificInfo) in onMatchLocal()
3245 data.second.onMatch(requestorInstanceId, peerMac, serviceSpecificInfo, matchFilter, in onMatchLocal()
DWifiAwareNativeApi.java712 req.baseConfigs.serviceSpecificInfo); in publish()
778 req.baseConfigs.serviceSpecificInfo); in subscribe()
861 convertNativeByteArrayToArrayList(message, req.serviceSpecificInfo); in sendMessage()
/packages/modules/Wifi/framework/java/android/net/wifi/aware/
DPublishConfig.java87 public PublishConfig(byte[] serviceName, byte[] serviceSpecificInfo, byte[] matchFilter, in PublishConfig() argument
91 mServiceSpecificInfo = serviceSpecificInfo; in PublishConfig()
279 public Builder setServiceSpecificInfo(@Nullable byte[] serviceSpecificInfo) { in setServiceSpecificInfo() argument
280 mServiceSpecificInfo = serviceSpecificInfo; in setServiceSpecificInfo()
DSubscribeConfig.java94 public SubscribeConfig(byte[] serviceName, byte[] serviceSpecificInfo, byte[] matchFilter, in SubscribeConfig() argument
99 mServiceSpecificInfo = serviceSpecificInfo; in SubscribeConfig()
333 public Builder setServiceSpecificInfo(@Nullable byte[] serviceSpecificInfo) { in setServiceSpecificInfo() argument
334 mServiceSpecificInfo = serviceSpecificInfo; in setServiceSpecificInfo()
DWifiAwareManager.java830 private void onMatchCommon(int messageType, int peerId, byte[] serviceSpecificInfo, in onMatchCommon() argument
833 data.putByteArray(MESSAGE_BUNDLE_KEY_MESSAGE, serviceSpecificInfo); in onMatchCommon()
844 public void onMatch(int peerId, byte[] serviceSpecificInfo, byte[] matchFilter) { in onMatch() argument
847 onMatchCommon(CALLBACK_MATCH, peerId, serviceSpecificInfo, matchFilter, 0); in onMatch()
851 public void onMatchWithDistance(int peerId, byte[] serviceSpecificInfo, byte[] matchFilter, in onMatchWithDistance() argument
857 onMatchCommon(CALLBACK_MATCH_WITH_DISTANCE, peerId, serviceSpecificInfo, matchFilter, in onMatchWithDistance()
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
/packages/modules/Wifi/framework/tests/src/android/net/wifi/aware/
DWifiAwareManagerTest.java806 final String serviceSpecificInfo = "long arbitrary string with some info"; in testSubscribeConfigBuilder() local
815 .setServiceSpecificInfo(serviceSpecificInfo.getBytes()).setMatchFilter( in testSubscribeConfigBuilder()
826 serviceSpecificInfo.getBytes(), equalTo(subscribeConfig.mServiceSpecificInfo)); in testSubscribeConfigBuilder()
842 final String serviceSpecificInfo = "long arbitrary string with some info"; in testSubscribeConfigParcel() local
851 .setServiceSpecificInfo(serviceSpecificInfo.getBytes()).setMatchFilter( in testSubscribeConfigParcel()
906 final String serviceSpecificInfo = "long arbitrary string with some info"; in testPublishConfigBuilder() local
914 .setServiceSpecificInfo(serviceSpecificInfo.getBytes()).setMatchFilter( in testPublishConfigBuilder()
924 serviceSpecificInfo.getBytes(), equalTo(publishConfig.mServiceSpecificInfo)); in testPublishConfigBuilder()
936 final String serviceSpecificInfo = "long arbitrary string with some info"; in testPublishConfigParcel() local
944 .setServiceSpecificInfo(serviceSpecificInfo.getBytes()).setMatchFilter( in testPublishConfigParcel()