/packages/modules/Wifi/tests/hostsidetests/multidevices/com.google.snippet.wifi/aware/ |
D | CallbackUtils.java | 206 public PeerHandle peerHandle; field in CallbackUtils.DiscoveryCb.CallbackData 350 PeerHandle peerHandle, byte[] serviceSpecificInfo, List<byte[]> matchFilter) { in onServiceDiscovered() argument 352 callbackData.peerHandle = peerHandle; in onServiceDiscovered() 361 callbackData.peerHandle = info.getPeerHandle(); in onServiceDiscovered() 373 PeerHandle peerHandle, in onServiceDiscoveredWithinRange() argument 379 callbackData.peerHandle = peerHandle; in onServiceDiscoveredWithinRange() 401 public void onMessageReceived(PeerHandle peerHandle, byte[] message) { in onMessageReceived() argument 403 callbackData.peerHandle = peerHandle; in onMessageReceived() 409 public void onPairingSetupRequestReceived(PeerHandle peerHandle, int requestId) { in onPairingSetupRequestReceived() argument 411 callbackData.peerHandle = peerHandle; in onPairingSetupRequestReceived() [all …]
|
D | WifiAwareSnippet.java | 186 mPeerHandle = callbackData.peerHandle; in subscribe() 377 mPeerHandle = callbackData.peerHandle; in respondToPairingSetup() 444 mPeerHandle = callbackData.peerHandle; in receiveMessage()
|
/packages/modules/Wifi/framework/java/android/net/wifi/aware/ |
D | DiscoverySessionCallback.java | 171 public void onServiceDiscovered(PeerHandle peerHandle, in onServiceDiscovered() argument 221 public void onServiceDiscoveredWithinRange(PeerHandle peerHandle, in onServiceDiscoveredWithinRange() argument 289 public void onMessageReceived(PeerHandle peerHandle, byte[] message) { in onMessageReceived() argument 304 public void onServiceLost(@NonNull PeerHandle peerHandle, in onServiceLost() argument 315 public void onPairingSetupRequestReceived(@NonNull PeerHandle peerHandle, int requestId) { in onPairingSetupRequestReceived() argument 328 public void onPairingSetupSucceeded(@NonNull PeerHandle peerHandle, in onPairingSetupSucceeded() argument 338 public void onPairingSetupFailed(@NonNull PeerHandle peerHandle) { in onPairingSetupFailed() argument 351 public void onPairingVerificationSucceed(@NonNull PeerHandle peerHandle, in onPairingVerificationSucceed() argument 361 public void onPairingVerificationFailed(@NonNull PeerHandle peerHandle) { in onPairingVerificationFailed() argument 372 public void onBootstrappingSucceeded(@NonNull PeerHandle peerHandle, in onBootstrappingSucceeded() argument [all …]
|
D | DiscoverySession.java | 216 public void sendMessage(@NonNull PeerHandle peerHandle, int messageId, in sendMessage() argument 229 mgr.sendMessage(mClientId, mSessionId, peerHandle, message, messageId, retryCount); in sendMessage() 259 public void sendMessage(@NonNull PeerHandle peerHandle, int messageId, in sendMessage() argument 261 sendMessage(peerHandle, messageId, message, 0); in sendMessage() 287 public void initiatePairingRequest(@NonNull PeerHandle peerHandle, in initiatePairingRequest() argument 299 mgr.initiateNanPairingSetupRequest(mClientId, mSessionId, peerHandle, password, in initiatePairingRequest() 327 public void acceptPairingRequest(int requestId, @NonNull PeerHandle peerHandle, in acceptPairingRequest() argument 339 mgr.responseNanPairingSetupRequest(mClientId, mSessionId, peerHandle, requestId, password, in acceptPairingRequest() 360 public void rejectPairingRequest(int requestId, @NonNull PeerHandle peerHandle) { in rejectPairingRequest() argument 369 mgr.responseNanPairingSetupRequest(mClientId, mSessionId, peerHandle, requestId, null, in rejectPairingRequest() [all …]
|
D | WifiAwareManager.java | 736 public void sendMessage(int clientId, int sessionId, PeerHandle peerHandle, byte[] message, in sendMessage() argument 738 if (peerHandle == null) { in sendMessage() 745 + ", peerHandle=" + peerHandle.peerId + ", messageId=" in sendMessage() 750 mService.sendMessage(clientId, sessionId, peerHandle.peerId, message, messageId, in sendMessage() 760 public void initiateNanPairingSetupRequest(int clientId, int sessionId, PeerHandle peerHandle, in initiateNanPairingSetupRequest() argument 762 if (peerHandle == null) { in initiateNanPairingSetupRequest() 768 + ", sessionId=" + sessionId + ", peerHandle=" + peerHandle.peerId); in initiateNanPairingSetupRequest() 771 mService.initiateNanPairingSetupRequest(clientId, sessionId, peerHandle.peerId, in initiateNanPairingSetupRequest() 781 public void responseNanPairingSetupRequest(int clientId, int sessionId, PeerHandle peerHandle, in responseNanPairingSetupRequest() argument 784 if (peerHandle == null) { in responseNanPairingSetupRequest() [all …]
|
D | ParcelablePeerHandle.java | 33 public ParcelablePeerHandle(@NonNull PeerHandle peerHandle) { in ParcelablePeerHandle() argument 34 super(peerHandle.peerId); in ParcelablePeerHandle() 56 int peerHandle = in.readInt(); 57 return new ParcelablePeerHandle(new PeerHandle(peerHandle));
|
D | ServiceDiscoveryInfo.java | 52 public ServiceDiscoveryInfo(PeerHandle peerHandle, int peerCipherSuite, in ServiceDiscoveryInfo() argument 60 mPeerHandle = peerHandle; in ServiceDiscoveryInfo()
|
D | WifiAwareNetworkSpecifier.java | 392 public Builder(@NonNull DiscoverySession discoverySession, @NonNull PeerHandle peerHandle) { in Builder() argument 396 if (peerHandle == null) { in Builder() 400 mPeerHandle = peerHandle; in Builder()
|
/packages/modules/Wifi/framework/java/android/net/wifi/rtt/ |
D | ResponderConfig.java | 203 @Nullable public final PeerHandle peerHandle; field in ResponderConfig 279 this.peerHandle = builder.mPeerHandle; in ResponderConfig() 324 this.peerHandle = null; in ResponderConfig() 360 public ResponderConfig(@NonNull PeerHandle peerHandle, @ResponderType int responderType, in ResponderConfig() argument 364 this.peerHandle = peerHandle; in ResponderConfig() 403 public ResponderConfig(@NonNull MacAddress macAddress, @NonNull PeerHandle peerHandle, in ResponderConfig() argument 408 this.peerHandle = peerHandle; in ResponderConfig() 519 @NonNull PeerHandle peerHandle) { in fromWifiAwarePeerHandleWithDefaults() 526 .setPeerHandle(peerHandle) in fromWifiAwarePeerHandleWithDefaults() 554 if (macAddress == null && peerHandle == null || macAddress != null && peerHandle != null) { in isValid() [all …]
|
D | RangingRequest.java | 495 public Builder addWifiAwarePeer(@NonNull PeerHandle peerHandle) { in addWifiAwarePeer() argument 496 if (peerHandle == null) { in addWifiAwarePeer() 500 return addResponder(ResponderConfig.fromWifiAwarePeerHandleWithDefaults(peerHandle)); in addWifiAwarePeer()
|
D | RangingResult.java | 184 public Builder setPeerHandle(@Nullable PeerHandle peerHandle) { in setPeerHandle() argument 185 mPeerHandle = peerHandle; in setPeerHandle()
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/aware/ |
D | WifiAwareManagerTest.java | 343 final PeerHandle peerHandle = new PeerHandle(873); in testPublishFlow() local 385 publishSession.getValue().sendMessage(peerHandle, messageId, string1.getBytes()); in testPublishFlow() 386 sessionProxyCallback.getValue().onMatch(peerHandle.peerId, string1.getBytes(), matchFilter, in testPublishFlow() 388 sessionProxyCallback.getValue().onMessageReceived(peerHandle.peerId, string1.getBytes()); in testPublishFlow() 394 eq(peerHandle.peerId), eq(string1.getBytes()), eq(messageId), eq(0)); in testPublishFlow() 409 assertEquals(peerIdCaptor.getValue().peerId, peerHandle.peerId); in testPublishFlow() 412 assertEquals(peerIdCaptor.getValue().peerId, peerHandle.peerId); in testPublishFlow() 425 sessionProxyCallback.getValue().onMatchExpired(peerHandle.peerId); in testPublishFlow() 429 assertEquals(peerHandle.peerId, peerIdCaptor.getValue().peerId); in testPublishFlow() 504 final PeerHandle peerHandle = new PeerHandle(873); in testSubscribeFlow() local [all …]
|
/packages/modules/Connectivity/tests/common/java/android/net/ |
D | MatchAllNetworkSpecifierTest.kt | 45 private val peerHandle = Mockito.mock(PeerHandle::class.java) constant 47 peerHandle).build()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/rtt/ |
D | RttServiceImpl.java | 1128 if (rttPeer.peerHandle != null && rttPeer.macAddress == null) { in processAwarePeerHandles() 1129 peerIdsNeedingTranslation.add(rttPeer.peerHandle.peerId); in processAwarePeerHandles() 1181 if (rttPeer.peerHandle != null && rttPeer.macAddress == null) { in processReceivedAwarePeerMacAddresses() 1184 if (mapping.peerId == rttPeer.peerHandle.peerId) { in processReceivedAwarePeerMacAddresses() 1191 + "address for peerId=" + rttPeer.peerHandle.peerId); in processReceivedAwarePeerMacAddresses() 1202 .setPeerHandle(rttPeer.peerHandle) in processReceivedAwarePeerMacAddresses() 1314 if (peer.peerHandle == null) { in postProcessResults() 1317 builder.setPeerHandle(peer.peerHandle); in postProcessResults() 1363 if (peer.peerHandle == null) { in postProcessResults() 1366 builder.setPeerHandle(peer.peerHandle); in postProcessResults()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/rtt/ |
D | RttTestUtils.java | 154 if (peer.peerHandle == null) { in getDummyRangingResults() 157 builder.setPeerHandle(peer.peerHandle); in getDummyRangingResults()
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/rtt/ |
D | WifiRttManagerTest.java | 453 PeerHandle peerHandle = new PeerHandle(10); in testRangingResultsParcel() local 497 .setPeerHandle(peerHandle) in testRangingResultsParcel() 529 PeerHandle peerHandle = new PeerHandle(10); in testRangingResultsEqualityLciLcr() local
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/ |
D | WifiAwareDataPathStateManagerTest.java | 2019 PeerHandle peerHandle, byte[] pmk, String passphrase, boolean doPublish, int requestId) in getSessionNetworkRequest() argument 2021 return getSessionNetworkRequestMore(clientId, sessionId, peerHandle, pmk, passphrase, in getSessionNetworkRequest() 2026 PeerHandle peerHandle, byte[] pmk, String passphrase, boolean doPublish, int requestId, in getSessionNetworkRequestMore() argument 2083 peerHandle, null, null, port, transportProtocol); in getSessionNetworkRequestMore() 2088 peerHandle, pmk, null, port, transportProtocol); in getSessionNetworkRequestMore() 2093 peerHandle, null, passphrase, port, transportProtocol); in getSessionNetworkRequestMore() 2282 PeerHandle peerHandle, byte[] pmk, String passphrase, int port, int transportProtocol) { in createNetworkSpecifier() argument 2284 (peerHandle == null) ? WifiAwareNetworkSpecifier.NETWORK_SPECIFIER_TYPE_IB_ANY_PEER in createNetworkSpecifier() 2289 peerHandle != null ? peerHandle.peerId : 0, // 0 is an invalid peer ID in createNetworkSpecifier()
|
/packages/modules/Wifi/framework/api/ |
D | system-current.txt | 1710 field @Nullable public final android.net.wifi.aware.PeerHandle peerHandle;
|