/packages/modules/Wifi/tests/hostsidetests/multidevices/com.google.snippet.wifi/aware/ |
D | WifiAwareSnippet.java | 133 List<byte[]> matchFilter = new ArrayList<>(); in subscribe() local 134 matchFilter.add(MATCH_FILTER_BYTES); in subscribe() 139 .setMatchFilter(matchFilter) in subscribe() 200 if (callbackData.matchFilter.size() != 1 in subscribe() 201 || !Arrays.equals(MATCH_FILTER_BYTES, callbackData.matchFilter.get(0))) { in subscribe() 203 sb.append("size=").append(callbackData.matchFilter.size()); in subscribe() 204 for (byte[] mf : callbackData.matchFilter) { in subscribe() 247 List<byte[]> matchFilter = new ArrayList<>(); in publish() local 248 matchFilter.add(MATCH_FILTER_BYTES); in publish() 253 .setMatchFilter(matchFilter) in publish()
|
D | CallbackUtils.java | 208 public List<byte[]> matchFilter; field in CallbackUtils.DiscoveryCb.CallbackData 350 PeerHandle peerHandle, byte[] serviceSpecificInfo, List<byte[]> matchFilter) { in onServiceDiscovered() argument 354 callbackData.matchFilter = matchFilter; in onServiceDiscovered() 363 callbackData.matchFilter = info.getMatchFilters(); in onServiceDiscovered() 375 List<byte[]> matchFilter, in onServiceDiscoveredWithinRange() argument 381 callbackData.matchFilter = matchFilter; in onServiceDiscoveredWithinRange()
|
/packages/modules/Wifi/framework/java/android/net/wifi/aware/ |
D | SubscribeConfig.java | 119 public SubscribeConfig(byte[] serviceName, byte[] serviceSpecificInfo, byte[] matchFilter, in SubscribeConfig() argument 127 mMatchFilter = matchFilter; in SubscribeConfig() 201 byte[] matchFilter = in.createByteArray(); 216 return new SubscribeConfig(serviceName, ssi, matchFilter, subscribeType, ttlSec, 487 public Builder setMatchFilter(@Nullable List<byte[]> matchFilter) { in setMatchFilter() argument 489 matchFilter).getArray(); in setMatchFilter()
|
D | PublishConfig.java | 115 public PublishConfig(byte[] serviceName, byte[] serviceSpecificInfo, byte[] matchFilter, in PublishConfig() argument 123 mMatchFilter = matchFilter; in PublishConfig() 191 byte[] matchFilter = in.createByteArray(); 205 return new PublishConfig(serviceName, ssi, matchFilter, publishType, ttlSec, 463 public Builder setMatchFilter(@Nullable List<byte[]> matchFilter) { in setMatchFilter() argument 465 matchFilter).getArray(); in setMatchFilter()
|
D | IWifiAwareDiscoverySessionCallback.aidl | 38 void onMatch(int peerId, in byte[] serviceSpecificInfo, in byte[] matchFilter, in onMatch() argument 41 void onMatchWithDistance(int peerId, in byte[] serviceSpecificInfo, in byte[] matchFilter, in onMatchWithDistance() argument
|
D | DiscoverySessionCallback.java | 172 byte[] serviceSpecificInfo, List<byte[]> matchFilter) { in onServiceDiscovered() argument 222 byte[] serviceSpecificInfo, List<byte[]> matchFilter, int distanceMm) { in onServiceDiscoveredWithinRange() argument
|
D | ServiceDiscoveryInfo.java | 54 @NonNull List<byte[]> matchFilter, @Nullable byte[] scid, String pairingAlias, in ServiceDiscoveryInfo() argument 57 mMatchFilters = matchFilter; in ServiceDiscoveryInfo()
|
D | WifiAwareManager.java | 1107 public void onMatch(int peerId, byte[] serviceSpecificInfo, byte[] matchFilter, in onMatch() argument 1113 List<byte[]> matchFilterList = getMatchFilterList(matchFilter); in onMatch() 1123 private List<byte[]> getMatchFilterList(byte[] matchFilter) { in getMatchFilterList() argument 1126 matchFilterList = new TlvBufferUtils.TlvIterable(0, 1, matchFilter).toList(); in getMatchFilterList() 1130 + new String(HexEncoding.encode(matchFilter)) in getMatchFilterList() 1137 public void onMatchWithDistance(int peerId, byte[] serviceSpecificInfo, byte[] matchFilter, in onMatchWithDistance() argument 1144 List<byte[]> matchFilterList = getMatchFilterList(matchFilter); in onMatchWithDistance()
|
/packages/modules/NeuralNetworks/runtime/test/fuzzing/ |
D | OperationManager.cpp | 36 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()
|
D | OperationManager.h | 93 bool matchFilter(const OperationFilter& filter);
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hal/ |
D | WifiNanIfaceCallbackHidlImpl.java | 337 convertArrayListToNativeByteArray(event.matchFilter)) + ", mf.size()=" + ( in eventMatch() 338 event.matchFilter == null ? 0 : event.matchFilter.size()) in eventMatch() 344 convertArrayListToNativeByteArray(event.matchFilter), in eventMatch() 360 convertArrayListToNativeByteArray(event.matchFilter)) + ", mf.size()=" + ( in eventMatch_1_6() 361 event.matchFilter == null ? 0 : event.matchFilter.size()) in eventMatch_1_6() 368 convertArrayListToNativeByteArray(event.matchFilter), in eventMatch_1_6()
|
D | WifiNanIfaceCallbackAidlImpl.java | 421 + Arrays.toString(event.matchFilter) in eventMatch() 423 + (event.matchFilter == null ? 0 : event.matchFilter.length) in eventMatch() 439 event.matchFilter, in eventMatch()
|
D | WifiNanIface.java | 748 byte[] serviceSpecificInfo, byte[] matchFilter, int rangingIndicationType, in eventMatch() argument
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/aware/ |
D | WifiAwareManagerTest.java | 345 final byte[] matchFilter = { 1, 12, 2, 31, 32 }; in testPublishFlow() 386 sessionProxyCallback.getValue().onMatch(peerHandle.peerId, string1.getBytes(), matchFilter, in testPublishFlow() 401 List<byte[]> parsedMatchFilter = new TlvBufferUtils.TlvIterable(0, 1, matchFilter).toList(); in testPublishFlow() 506 final byte[] matchFilter = { 1, 12, 3, 31, 32 }; // bad data! in testSubscribeFlow() 546 sessionProxyCallback.getValue().onMatch(peerHandle.peerId, string1.getBytes(), matchFilter, in testSubscribeFlow() 549 matchFilter, distanceMm, 0, new byte[0], null, null, vendorData); in testSubscribeFlow() 853 final byte[] matchFilter = { 1, 16, 1, 22 }; in testSubscribeConfigBuilder() 864 new TlvBufferUtils.TlvIterable(0, 1, matchFilter).toList()) in testSubscribeConfigBuilder() 879 collector.checkThat("mMatchFilter", matchFilter, equalTo(subscribeConfig.mMatchFilter)); in testSubscribeConfigBuilder() 899 final byte[] matchFilter = { 1, 16, 1, 22 }; in testSubscribeConfigParcel() [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareDiscoverySessionState.java | 590 byte[] matchFilter, int rangingIndication, int rangeMm, int peerCipherSuite, in onMatch() argument 602 mCallback.onMatch(peerId, serviceSpecificInfo, matchFilter, peerCipherSuite, scid, in onMatch() 605 mCallback.onMatchWithDistance(peerId, serviceSpecificInfo, matchFilter, rangeMm, in onMatch()
|
D | WifiAwareNativeCallback.java | 340 byte[] serviceSpecificInfo, byte[] matchFilter, int rangingIndicationType, in eventMatch() argument 345 addr, serviceSpecificInfo, matchFilter, rangingIndicationType, in eventMatch()
|
D | WifiAwareStateManager.java | 1976 byte[] serviceSpecificInfo, byte[] matchFilter, int rangingIndication, int rangeMm, in onMatchNotification() argument 1985 msg.getData().putByteArray(MESSAGE_BUNDLE_KEY_FILTER_DATA, matchFilter); in onMatchNotification() 2630 byte[] matchFilter = msg.getData().getByteArray(MESSAGE_BUNDLE_KEY_FILTER_DATA); in processNotification() 2643 matchFilter, rangingIndication, rangeMm, cipherSuite, scid, nonce, tag, in processNotification() 5200 byte[] serviceSpecificInfo, byte[] matchFilter, int rangingIndication, int rangeMm, in onMatchLocal() argument 5208 + ", matchFilter=" + Arrays.toString(matchFilter) in onMatchLocal() 5225 matchFilter, rangingIndication, rangeMm, cipherSuite, scid, pairingAlias, in onMatchLocal()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/ |
D | WifiAwareServiceImplTest.java | 1060 private void doBadPublishConfiguration(String serviceName, byte[] ssi, byte[] matchFilter) in doBadPublishConfiguration() argument 1065 PublishConfig publishConfig = new PublishConfig(serviceName.getBytes(), ssi, matchFilter, in doBadPublishConfiguration() 1077 private void doBadSubscribeConfiguration(String serviceName, byte[] ssi, byte[] matchFilter) in doBadSubscribeConfiguration() argument 1083 matchFilter, SubscribeConfig.SUBSCRIBE_TYPE_PASSIVE, 0, true, false, 0, false, 0, in doBadSubscribeConfiguration()
|