Searched refs:peers (Results 1 – 9 of 9) sorted by relevance
20 <li><a href="#discovering">Discovering peers</a></li>22 <li><a href="#connecting">Connecting to peers</a></li>48 <li>Methods that allow you to discover, request, and connect to peers are defined68 method discovers that the peers list has changed.</p>73 …the Wi-Fi hardware on your device to do things like discover and connect to peers. The following a…126 <td>Requests the current list of discovered peers.</td>195 requestPeers()} to get an updated list of peers if you handle this intent in your230 the currently discovered peers.</li>263 // Call WifiP2pManager.requestPeers() to get a list of current peers276 broadcast receiver for your application, discovering peers, connecting to a peer, and[all …]
87 // Indicates a change in the list of available peers.220 <p>Now write the code that fetches and processes the list of peers. First222 interface, which provides information about the peers that Wi-Fi P2P has226 private List<WifiP2pDevice> peers = new ArrayList<WifiP2pDevice>();234 peers.clear();235 peers.addAll(peerList.getDeviceList());239 // peers, trigger an update.241 if (peers.size() == 0) {263 // Request available peers from the wifi p2p manager. This is an269 Log.d(WiFiDirectActivity.TAG, "P2P peers changed");[all …]
66 automatically responds to service discovery requests from peers.</p>
803 ArrayList<ZygoteConnection> peers = new ArrayList<ZygoteConnection>(); in runSelectLoop() local806 peers.add(null); in runSelectLoop()826 peers.add(newPeer); in runSelectLoop()829 boolean done = peers.get(i).runOnce(); in runSelectLoop()831 peers.remove(i); in runSelectLoop()
538 public void onPeersAvailable(WifiP2pDeviceList peers); in onPeersAvailable() argument752 WifiP2pDeviceList peers = (WifiP2pDeviceList) message.obj; in handleMessage() local754 ((PeerListListener) listener).onPeersAvailable(peers); in handleMessage()
23 peers; this operation mode is used by Android Beam.</li>
98 with peers about issues specific to developing Android apps for
436 public void onPeersAvailable(WifiP2pDeviceList peers) { in requestPeers()442 for (WifiP2pDevice device : peers.getDeviceList()) { in requestPeers()
651 callbacks when an operation such as discovering peers or connecting to them succeeds or fails.</li>654 information about discovered peers. The callback provides a {@link675 to the Internet, communicating to Wi-Fi P2P peers with standard java sockets requires Internet