Home
last modified time | relevance | path

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

/frameworks/base/docs/html/guide/topics/connectivity/
Dwifip2p.jd20 <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 defined
68 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 your
230 the currently discovered peers.</li>
263 // Call WifiP2pManager.requestPeers() to get a list of current peers
276 broadcast receiver for your application, discovering peers, connecting to a peer, and
[all …]
/frameworks/base/docs/html/training/connect-devices-wirelessly/
Dwifi-direct.jd87 // Indicates a change in the list of available peers.
220 <p>Now write the code that fetches and processes the list of peers. First
222 interface, which provides information about the peers that Wi-Fi P2P has
226 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 an
269 Log.d(WiFiDirectActivity.TAG, "P2P peers changed");
[all …]
Dnsd-wifi-direct.jd66 automatically responds to service discovery requests from peers.</p>
/frameworks/base/core/java/com/android/internal/os/
DZygoteInit.java803 ArrayList<ZygoteConnection> peers = new ArrayList<ZygoteConnection>(); in runSelectLoop() local
806 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()
/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pManager.java538 public void onPeersAvailable(WifiP2pDeviceList peers); in onPeersAvailable() argument
752 WifiP2pDeviceList peers = (WifiP2pDeviceList) message.obj; in handleMessage() local
754 ((PeerListListener) listener).onPeersAvailable(peers); in handleMessage()
/frameworks/base/docs/html/guide/topics/connectivity/nfc/
Dindex.jd23 peers; this operation mode is used by Android Beam.</li>
/frameworks/base/docs/html/work/
Doverview.jd98 with peers about issues specific to developing Android apps for
/frameworks/base/services/core/java/com/android/server/display/
DWifiDisplayController.java436 public void onPeersAvailable(WifiP2pDeviceList peers) { in requestPeers()
442 for (WifiP2pDevice device : peers.getDeviceList()) { in requestPeers()
/frameworks/base/docs/html/about/versions/
Dandroid-4.0.jd651 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 {@link
675 to the Internet, communicating to Wi-Fi P2P peers with standard java sockets requires Internet