Lines Matching refs:peers
87 // 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");
291 WifiP2pDevice device = peers.get(0);