Home
last modified time | relevance | path

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

/development/samples/VirtualDeviceManager/common/src/com/example/android/vdmdemo/common/
DConnectionManager.java267 PeerHandle peerHandle, byte[] serviceSpecificInfo, List<byte[]> matchFilter) { in onServiceDiscovered() argument
269 sendLocalEndpointId(peerHandle); in onServiceDiscovered()
281 void sendLocalEndpointId(PeerHandle peerHandle) { in sendLocalEndpointId() argument
282 mDiscoverySession.sendMessage(peerHandle, 0, getLocalEndpointId().getBytes()); in sendLocalEndpointId()
286 public void onMessageReceived(PeerHandle peerHandle, byte[] message) { in onMessageReceived() argument
292 establishConnection(peerHandle); in onMessageReceived()
295 protected abstract void establishConnection(PeerHandle peerHandle); in establishConnection() argument
298 PeerHandle peerHandle, Optional<Integer> port, NetworkCallback networkCallback) { in requestNetwork() argument
301 new WifiAwareNetworkSpecifier.Builder(mDiscoverySession, peerHandle) in requestNetwork()
322 protected void establishConnection(PeerHandle peerHandle) { in establishConnection() argument
[all …]