Lines Matching defs:p2p

17 package android.net.wifi.p2p;
25 import android.net.wifi.p2p.nsd.WifiP2pDnsSdServiceInfo;
26 import android.net.wifi.p2p.nsd.WifiP2pDnsSdServiceResponse;
27 import android.net.wifi.p2p.nsd.WifiP2pServiceInfo;
28 import android.net.wifi.p2p.nsd.WifiP2pServiceRequest;
29 import android.net.wifi.p2p.nsd.WifiP2pServiceResponse;
30 import android.net.wifi.p2p.nsd.WifiP2pUpnpServiceInfo;
31 import android.net.wifi.p2p.nsd.WifiP2pUpnpServiceResponse;
55 * When a p2p connection is formed over wifi, the device continues to maintain the uplink
60 * {@link #initialize} before doing any p2p operation.
70 * ,forms a p2p group or there is an explicit {@link #stopPeerDiscovery}.
81 * Wi-Fi devices that do not support p2p, an app can create a group using {@link #createGroup}
88 * if the current device is a p2p group owner. A p2p client can thus communicate with
89 * the p2p group owner through a socket connection.
103 * prior to setting up a Wi-fi p2p connection with the device.
108 * to establishing a p2p connection. A call to {@link #removeLocalService} removes a local
141 * Broadcast intent action to indicate whether Wi-Fi p2p is enabled or disabled. An
148 "android.net.wifi.p2p.STATE_CHANGED";
151 * The lookup key for an int that indicates whether Wi-Fi p2p is enabled or disabled.
160 * Wi-Fi p2p is disabled.
167 * Wi-Fi p2p is enabled.
174 * Broadcast intent action indicating that the state of Wi-Fi p2p connectivity
175 * has changed. One extra {@link #EXTRA_WIFI_P2P_INFO} provides the p2p connection info in
186 "android.net.wifi.p2p.CONNECTION_STATE_CHANGE";
189 * The lookup key for a {@link android.net.wifi.p2p.WifiP2pInfo} object
196 * p2p network. Retrieve with
202 * The lookup key for a {@link android.net.wifi.p2p.WifiP2pGroup} object
203 * associated with the p2p network. Retrieve with
220 "android.net.wifi.p2p.PEERS_CHANGED";
223 * The lookup key for a {@link android.net.wifi.p2p.WifiP2pDeviceList} object representing
240 "android.net.wifi.p2p.DISCOVERY_STATE_CHANGE";
243 * The lookup key for an int that indicates whether p2p discovery has started or stopped.
252 * p2p discovery has stopped
259 * p2p discovery has started
270 "android.net.wifi.p2p.THIS_DEVICE_CHANGED";
273 * The lookup key for a {@link android.net.wifi.p2p.WifiP2pDevice} object
283 "android.net.wifi.p2p.PERSISTENT_GROUPS_CHANGED";
476 * Indicates that the operation failed because p2p is unsupported on the device.
529 * @param info Wi-Fi p2p connection info
537 * The requested p2p group info is available
538 * @param group Wi-Fi p2p group info
629 * The requested stored p2p group info list is available
630 * @param groups Wi-Fi p2p group info list
636 * A channel that connects the application to the Wifi p2p framework.
637 * Most p2p operations require a Channel as an argument. An instance of Channel is obtained
842 * must be the first to be called before any p2p operations are performed.
847 * @return Channel instance that is necessary for performing any further p2p operations
872 * a p2p group is formed. Register for {@link #WIFI_P2P_PEERS_CHANGED_ACTION} intent to
903 * Start a p2p connection to a device with the specified configuration.
913 * <p> If the current device is not part of a p2p group, a connect request initiates
916 * <p> If the current device is part of an existing p2p group or has created
917 * a p2p group with {@link #createGroup}, an invitation to join the group is sent to
931 * Cancel any ongoing p2p group negotiation
947 * Create a p2p group with the current device as the group owner. This essentially creates
948 * an access point that can accept connections from legacy clients as well as other p2p
953 * to form a p2p connection with a legacy client
972 * Remove the current p2p group.
1240 * Request p2p group info.
1251 * Set p2p device name.
1280 * <p>The persistent p2p group list stored in the system can be obtained by
1285 * @param netId he network id of the p2p group.
1295 * Request a list of all the persistent p2p groups stored in system.