Home
last modified time | relevance | path

Searched refs:matchFilter (Results 1 – 12 of 12) sorted by relevance

/frameworks/support/compat/src/main/java/androidx/core/text/util/
DLinkifyCompat.java229 @Nullable String scheme, @Nullable MatchFilter matchFilter, in addLinks() argument
232 Linkify.addLinks(text, pattern, scheme, matchFilter, transformFilter); in addLinks()
235 addLinks(text, pattern, scheme, null, matchFilter, transformFilter); in addLinks()
258 @Nullable MatchFilter matchFilter, @Nullable TransformFilter transformFilter) { in addLinks() argument
260 Linkify.addLinks(text, pattern, defaultScheme, schemes, matchFilter, transformFilter); in addLinks()
265 boolean linksAdded = addLinks(spannable, pattern, defaultScheme, schemes, matchFilter, in addLinks()
306 @Nullable String scheme, @Nullable MatchFilter matchFilter, in addLinks() argument
309 return Linkify.addLinks(spannable, pattern, scheme, matchFilter, transformFilter); in addLinks()
311 return addLinks(spannable, pattern, scheme, null, matchFilter, in addLinks()
334 @Nullable MatchFilter matchFilter, @Nullable TransformFilter transformFilter) { in addLinks() argument
[all …]
/frameworks/base/wifi/java/android/net/wifi/aware/
DPublishConfig.java88 public PublishConfig(byte[] serviceName, byte[] serviceSpecificInfo, byte[] matchFilter, in PublishConfig() argument
93 mMatchFilter = matchFilter; in PublishConfig()
142 byte[] matchFilter = in.createByteArray();
148 return new PublishConfig(serviceName, ssi, matchFilter, publishType,
293 public Builder setMatchFilter(@Nullable List<byte[]> matchFilter) { in setMatchFilter() argument
295 matchFilter).getArray(); in setMatchFilter()
DSubscribeConfig.java95 public SubscribeConfig(byte[] serviceName, byte[] serviceSpecificInfo, byte[] matchFilter, in SubscribeConfig() argument
101 mMatchFilter = matchFilter; in SubscribeConfig()
159 byte[] matchFilter = in.createByteArray();
168 return new SubscribeConfig(serviceName, ssi, matchFilter, subscribeType, ttlSec,
349 public Builder setMatchFilter(@Nullable List<byte[]> matchFilter) { in setMatchFilter() argument
351 matchFilter).getArray(); in setMatchFilter()
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
DWifiAwareManager.java639 List<byte[]> matchFilter = null; in WifiAwareDiscoverySessionCallbackProxy()
642 matchFilter = new TlvBufferUtils.TlvIterable(0, 1, arg).toList(); in WifiAwareDiscoverySessionCallbackProxy()
644 matchFilter = null; in WifiAwareDiscoverySessionCallbackProxy()
652 matchFilter); in WifiAwareDiscoverySessionCallbackProxy()
657 matchFilter, msg.arg2); in WifiAwareDiscoverySessionCallbackProxy()
712 byte[] matchFilter, int distanceMm) { in onMatchCommon() argument
715 data.putByteArray(MESSAGE_BUNDLE_KEY_MESSAGE2, matchFilter); 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
[all …]
DDiscoverySessionCallback.java115 byte[] serviceSpecificInfo, List<byte[]> matchFilter) { in onServiceDiscovered() argument
147 byte[] serviceSpecificInfo, List<byte[]> matchFilter, int distanceMm) { in onServiceDiscoveredWithinRange() argument
/frameworks/base/core/java/android/text/util/
DLinkify.java374 @Nullable String scheme, @Nullable MatchFilter matchFilter, in addLinks() argument
376 addLinks(text, pattern, scheme, null, matchFilter, transformFilter); in addLinks()
398 @Nullable MatchFilter matchFilter, @Nullable TransformFilter transformFilter) { in addLinks() argument
401 boolean linksAdded = addLinks(spannable, pattern, defaultScheme, schemes, matchFilter, in addLinks()
439 @Nullable String scheme, @Nullable MatchFilter matchFilter, in addLinks() argument
441 return addLinks(spannable, pattern, scheme, null, matchFilter, in addLinks()
463 @Nullable MatchFilter matchFilter, @Nullable TransformFilter transformFilter) { in addLinks() argument
485 if (matchFilter != null) { in addLinks()
486 allowed = matchFilter.acceptMatch(spannable, start, end); in addLinks()
766 MatchFilter matchFilter, TransformFilter transformFilter) { in gatherLinks() argument
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareDiscoverySessionState.java258 byte[] matchFilter, int rangingIndication, int rangeMm) { in onMatch() argument
263 mCallback.onMatch(peerId, serviceSpecificInfo, matchFilter); in onMatch()
265 mCallback.onMatchWithDistance(peerId, serviceSpecificInfo, matchFilter, rangeMm); in onMatch()
DWifiAwareNativeCallback.java411 convertArrayListToNativeByteArray(event.matchFilter)) + ", mf.size()=" + ( in eventMatch()
412 event.matchFilter == null ? 0 : event.matchFilter.size()) in eventMatch()
421 convertArrayListToNativeByteArray(event.matchFilter), event.rangingIndicationType, in eventMatch()
DWifiAwareStateManager.java1046 byte[] serviceSpecificInfo, byte[] matchFilter, int rangingIndication, int rangeMm) { in onMatchNotification() argument
1053 msg.getData().putByteArray(MESSAGE_BUNDLE_KEY_FILTER_DATA, matchFilter); in onMatchNotification()
1373 byte[] matchFilter = msg.getData().getByteArray(MESSAGE_BUNDLE_KEY_FILTER_DATA); in processNotification()
1378 matchFilter, rangingIndication, rangeMm); in processNotification()
2968 byte[] serviceSpecificInfo, byte[] matchFilter, int rangingIndication, int rangeMm) { in onMatchLocal() argument
2974 + ", matchFilter=" + Arrays.toString(matchFilter) in onMatchLocal()
2988 data.second.onMatch(requestorInstanceId, peerMac, serviceSpecificInfo, matchFilter, in onMatchLocal()
/frameworks/base/wifi/tests/src/android/net/wifi/aware/
DWifiAwareManagerTest.java280 final byte[] matchFilter = { 1, 12, 2, 31, 32 }; in testPublishFlow()
319 sessionProxyCallback.getValue().onMatch(peerHandle.peerId, string1.getBytes(), matchFilter); in testPublishFlow()
332 List<byte[]> parsedMatchFilter = new TlvBufferUtils.TlvIterable(0, 1, matchFilter).toList(); in testPublishFlow()
430 final byte[] matchFilter = { 1, 12, 3, 31, 32 }; // bad data! in testSubscribeFlow()
468 sessionProxyCallback.getValue().onMatch(peerHandle.peerId, string1.getBytes(), matchFilter); in testSubscribeFlow()
470 matchFilter, distanceMm); in testSubscribeFlow()
734 final byte[] matchFilter = { 1, 16, 1, 22 }; in testSubscribeConfigBuilder()
743 new TlvBufferUtils.TlvIterable(0, 1, matchFilter).toList()) in testSubscribeConfigBuilder()
754 collector.checkThat("mMatchFilter", matchFilter, equalTo(subscribeConfig.mMatchFilter)); in testSubscribeConfigBuilder()
770 final byte[] matchFilter = { 1, 16, 1, 22 }; in testSubscribeConfigParcel()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareServiceImplTest.java631 private void doBadPublishConfiguration(String serviceName, byte[] ssi, byte[] matchFilter) in doBadPublishConfiguration() argument
636 PublishConfig publishConfig = new PublishConfig(serviceName.getBytes(), ssi, matchFilter, in doBadPublishConfiguration()
647 private void doBadSubscribeConfiguration(String serviceName, byte[] ssi, byte[] matchFilter) in doBadSubscribeConfiguration() argument
653 matchFilter, SubscribeConfig.SUBSCRIBE_TYPE_PASSIVE, 0, true, false, 0, false, 0); in doBadSubscribeConfiguration()