/packages/modules/Wifi/framework/java/android/net/wifi/aware/ |
D | PublishConfig.java | 87 public PublishConfig(byte[] serviceName, byte[] serviceSpecificInfo, byte[] matchFilter, in PublishConfig() argument 92 mMatchFilter = matchFilter; in PublishConfig() 141 byte[] matchFilter = in.createByteArray(); 147 return new PublishConfig(serviceName, ssi, matchFilter, publishType, 296 public Builder setMatchFilter(@Nullable List<byte[]> matchFilter) { in setMatchFilter() argument 298 matchFilter).getArray(); in setMatchFilter()
|
D | WifiAwareManager.java | 753 List<byte[]> matchFilter = null; in WifiAwareDiscoverySessionCallbackProxy() 756 matchFilter = new TlvBufferUtils.TlvIterable(0, 1, arg).toList(); in WifiAwareDiscoverySessionCallbackProxy() 758 matchFilter = null; in WifiAwareDiscoverySessionCallbackProxy() 766 matchFilter); in WifiAwareDiscoverySessionCallbackProxy() 771 matchFilter, msg.arg2); in WifiAwareDiscoverySessionCallbackProxy() 831 byte[] matchFilter, int distanceMm) { in onMatchCommon() argument 834 data.putByteArray(MESSAGE_BUNDLE_KEY_MESSAGE2, matchFilter); 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 [all …]
|
D | SubscribeConfig.java | 94 public SubscribeConfig(byte[] serviceName, byte[] serviceSpecificInfo, byte[] matchFilter, in SubscribeConfig() argument 100 mMatchFilter = matchFilter; in SubscribeConfig() 158 byte[] matchFilter = in.createByteArray(); 167 return new SubscribeConfig(serviceName, ssi, matchFilter, subscribeType, ttlSec, 350 public Builder setMatchFilter(@Nullable List<byte[]> matchFilter) { in setMatchFilter() argument 352 matchFilter).getArray(); in setMatchFilter()
|
D | IWifiAwareDiscoverySessionCallback.aidl | 31 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
|
D | DiscoverySessionCallback.java | 115 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/ |
D | WifiAwareManagerTest.java | 324 final byte[] matchFilter = { 1, 12, 2, 31, 32 }; in testPublishFlow() 363 sessionProxyCallback.getValue().onMatch(peerHandle.peerId, string1.getBytes(), matchFilter); in testPublishFlow() 376 List<byte[]> parsedMatchFilter = new TlvBufferUtils.TlvIterable(0, 1, matchFilter).toList(); in testPublishFlow() 481 final byte[] matchFilter = { 1, 12, 3, 31, 32 }; // bad data! in testSubscribeFlow() 519 sessionProxyCallback.getValue().onMatch(peerHandle.peerId, string1.getBytes(), matchFilter); in testSubscribeFlow() 521 matchFilter, distanceMm); in testSubscribeFlow() 807 final byte[] matchFilter = { 1, 16, 1, 22 }; in testSubscribeConfigBuilder() 816 new TlvBufferUtils.TlvIterable(0, 1, matchFilter).toList()) in testSubscribeConfigBuilder() 827 collector.checkThat("mMatchFilter", matchFilter, equalTo(subscribeConfig.mMatchFilter)); in testSubscribeConfigBuilder() 843 final byte[] matchFilter = { 1, 16, 1, 22 }; in testSubscribeConfigParcel() [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareDiscoverySessionState.java | 273 byte[] matchFilter, int rangingIndication, int rangeMm) { in onMatch() argument 278 mCallback.onMatch(peerId, serviceSpecificInfo, matchFilter); in onMatch() 280 mCallback.onMatchWithDistance(peerId, serviceSpecificInfo, matchFilter, rangeMm); in onMatch()
|
D | WifiAwareNativeCallback.java | 470 convertArrayListToNativeByteArray(event.matchFilter)) + ", mf.size()=" + ( in eventMatch() 471 event.matchFilter == null ? 0 : event.matchFilter.size()) in eventMatch() 480 convertArrayListToNativeByteArray(event.matchFilter), event.rangingIndicationType, in eventMatch()
|
D | WifiAwareStateManager.java | 1200 byte[] serviceSpecificInfo, byte[] matchFilter, int rangingIndication, int rangeMm) { in onMatchNotification() argument 1207 msg.getData().putByteArray(MESSAGE_BUNDLE_KEY_FILTER_DATA, matchFilter); in onMatchNotification() 1540 byte[] matchFilter = msg.getData().getByteArray(MESSAGE_BUNDLE_KEY_FILTER_DATA); in processNotification() 1545 matchFilter, rangingIndication, rangeMm); in processNotification() 3225 byte[] serviceSpecificInfo, byte[] matchFilter, int rangingIndication, int rangeMm) { in onMatchLocal() argument 3231 + ", matchFilter=" + Arrays.toString(matchFilter) in onMatchLocal() 3245 data.second.onMatch(requestorInstanceId, peerMac, serviceSpecificInfo, matchFilter, in onMatchLocal()
|
/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/tests/wifitests/src/com/android/server/wifi/aware/ |
D | WifiAwareServiceImplTest.java | 702 private void doBadPublishConfiguration(String serviceName, byte[] ssi, byte[] matchFilter) in doBadPublishConfiguration() argument 707 PublishConfig publishConfig = new PublishConfig(serviceName.getBytes(), ssi, matchFilter, in doBadPublishConfiguration() 718 private void doBadSubscribeConfiguration(String serviceName, byte[] ssi, byte[] matchFilter) in doBadSubscribeConfiguration() argument 724 matchFilter, SubscribeConfig.SUBSCRIBE_TYPE_PASSIVE, 0, true, false, 0, false, 0); in doBadSubscribeConfiguration()
|