Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/text/util/
DLinkify.java442 @Nullable String scheme, @Nullable MatchFilter matchFilter, in addLinks() argument
444 addLinks(text, pattern, scheme, null, matchFilter, transformFilter); in addLinks()
466 @Nullable MatchFilter matchFilter, @Nullable TransformFilter transformFilter) { in addLinks() argument
469 boolean linksAdded = addLinks(spannable, pattern, defaultScheme, schemes, matchFilter, in addLinks()
509 @Nullable String scheme, @Nullable MatchFilter matchFilter, in addLinks() argument
511 return addLinks(spannable, pattern, scheme, null, matchFilter, in addLinks()
535 @Nullable MatchFilter matchFilter, @Nullable TransformFilter transformFilter) { in addLinks() argument
536 return addLinks(spannable, pattern, defaultScheme, schemes, matchFilter, transformFilter, in addLinks()
560 @Nullable MatchFilter matchFilter, @Nullable TransformFilter transformFilter, in addLinks() argument
588 if (matchFilter != null) { in addLinks()
[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,
294 public Builder setMatchFilter(@Nullable List<byte[]> matchFilter) { in setMatchFilter() argument
296 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,
351 public Builder setMatchFilter(@Nullable List<byte[]> matchFilter) { in setMatchFilter() argument
353 matchFilter).getArray(); in setMatchFilter()
DWifiAwareManager.java637 List<byte[]> matchFilter = null; in WifiAwareDiscoverySessionCallbackProxy()
640 matchFilter = new TlvBufferUtils.TlvIterable(0, 1, arg).toList(); in WifiAwareDiscoverySessionCallbackProxy()
642 matchFilter = null; in WifiAwareDiscoverySessionCallbackProxy()
650 matchFilter); in WifiAwareDiscoverySessionCallbackProxy()
655 matchFilter, msg.arg2); in WifiAwareDiscoverySessionCallbackProxy()
710 byte[] matchFilter, int distanceMm) { in onMatchCommon() argument
713 data.putByteArray(MESSAGE_BUNDLE_KEY_MESSAGE2, matchFilter); 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
[all …]
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
/frameworks/ml/nn/runtime/test/fuzzing/
DOperationManager.cpp36 bool OperationSignature::matchFilter(const OperationFilter& filter) { in matchFilter() function in android::nn::fuzzing_test::OperationSignature
72 if (!mFilteredSignatures.back().matchFilter(filter)) mFilteredSignatures.pop_back(); in applyFilter()
DOperationManager.h93 bool matchFilter(const OperationFilter& filter);
/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.java1053 byte[] serviceSpecificInfo, byte[] matchFilter, int rangingIndication, int rangeMm) { in onMatchNotification() argument
1060 msg.getData().putByteArray(MESSAGE_BUNDLE_KEY_FILTER_DATA, matchFilter); in onMatchNotification()
1381 byte[] matchFilter = msg.getData().getByteArray(MESSAGE_BUNDLE_KEY_FILTER_DATA); in processNotification()
1386 matchFilter, rangingIndication, rangeMm); in processNotification()
2982 byte[] serviceSpecificInfo, byte[] matchFilter, int rangingIndication, int rangeMm) { in onMatchLocal() argument
2988 + ", matchFilter=" + Arrays.toString(matchFilter) in onMatchLocal()
3002 data.second.onMatch(requestorInstanceId, peerMac, serviceSpecificInfo, matchFilter, in onMatchLocal()
/frameworks/base/wifi/tests/src/android/net/wifi/aware/
DWifiAwareManagerTest.java287 final byte[] matchFilter = { 1, 12, 2, 31, 32 }; in testPublishFlow()
326 sessionProxyCallback.getValue().onMatch(peerHandle.peerId, string1.getBytes(), matchFilter); in testPublishFlow()
339 List<byte[]> parsedMatchFilter = new TlvBufferUtils.TlvIterable(0, 1, matchFilter).toList(); in testPublishFlow()
437 final byte[] matchFilter = { 1, 12, 3, 31, 32 }; // bad data! in testSubscribeFlow()
475 sessionProxyCallback.getValue().onMatch(peerHandle.peerId, string1.getBytes(), matchFilter); in testSubscribeFlow()
477 matchFilter, distanceMm); in testSubscribeFlow()
742 final byte[] matchFilter = { 1, 16, 1, 22 }; in testSubscribeConfigBuilder()
751 new TlvBufferUtils.TlvIterable(0, 1, matchFilter).toList()) in testSubscribeConfigBuilder()
762 collector.checkThat("mMatchFilter", matchFilter, equalTo(subscribeConfig.mMatchFilter)); in testSubscribeConfigBuilder()
778 final byte[] matchFilter = { 1, 16, 1, 22 }; in testSubscribeConfigParcel()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareServiceImplTest.java633 private void doBadPublishConfiguration(String serviceName, byte[] ssi, byte[] matchFilter) in doBadPublishConfiguration() argument
638 PublishConfig publishConfig = new PublishConfig(serviceName.getBytes(), ssi, matchFilter, in doBadPublishConfiguration()
649 private void doBadSubscribeConfiguration(String serviceName, byte[] ssi, byte[] matchFilter) in doBadSubscribeConfiguration() argument
655 matchFilter, SubscribeConfig.SUBSCRIBE_TYPE_PASSIVE, 0, true, false, 0, false, 0); in doBadSubscribeConfiguration()