Lines Matching defs:p2p

17 package android.net.wifi.p2p;
24 import android.net.wifi.p2p.nsd.WifiP2pDnsSdServiceInfo;
25 import android.net.wifi.p2p.nsd.WifiP2pDnsSdServiceResponse;
26 import android.net.wifi.p2p.nsd.WifiP2pServiceInfo;
27 import android.net.wifi.p2p.nsd.WifiP2pServiceRequest;
28 import android.net.wifi.p2p.nsd.WifiP2pServiceResponse;
29 import android.net.wifi.p2p.nsd.WifiP2pUpnpServiceInfo;
30 import android.net.wifi.p2p.nsd.WifiP2pUpnpServiceResponse;
50 * When a p2p connection is formed over wifi, the device continues to maintain the uplink
55 * {@link #initialize} before doing any p2p operation.
65 * ,forms a p2p group or there is an explicit {@link #stopPeerDiscovery}.
76 * Wi-Fi devices that do not support p2p, an app can create a group using {@link #createGroup}
83 * if the current device is a p2p group owner. A p2p client can thus communicate with
84 * the p2p group owner through a socket connection.
98 * prior to setting up a Wi-fi p2p connection with the device.
103 * to establishing a p2p connection. A call to {@link #removeLocalService} removes a local
134 * Broadcast intent action to indicate whether Wi-Fi p2p is enabled or disabled. An
141 "android.net.wifi.p2p.STATE_CHANGED";
144 * The lookup key for an int that indicates whether Wi-Fi p2p is enabled or disabled.
153 * Wi-Fi p2p is disabled.
160 * Wi-Fi p2p is enabled.
167 * Broadcast intent action indicating that the state of Wi-Fi p2p connectivity
168 * has changed. One extra {@link #EXTRA_WIFI_P2P_INFO} provides the p2p connection info in
179 "android.net.wifi.p2p.CONNECTION_STATE_CHANGE";
182 * The lookup key for a {@link android.net.wifi.p2p.WifiP2pInfo} object
189 * p2p network. Retrieve with
195 * The lookup key for a {@link android.net.wifi.p2p.WifiP2pGroup} object
196 * associated with the p2p network. Retrieve with
213 "android.net.wifi.p2p.PEERS_CHANGED";
216 * The lookup key for a {@link android.net.wifi.p2p.WifiP2pDeviceList} object representing
233 "android.net.wifi.p2p.DISCOVERY_STATE_CHANGE";
236 * The lookup key for an int that indicates whether p2p discovery has started or stopped.
245 * p2p discovery has stopped
252 * p2p discovery has started
263 "android.net.wifi.p2p.THIS_DEVICE_CHANGED";
266 * The lookup key for a {@link android.net.wifi.p2p.WifiP2pDevice} object
276 "android.net.wifi.p2p.PERSISTENT_GROUPS_CHANGED";
283 "android.net.wifi.p2p.EXTRA_HANDOVER_MESSAGE";
290 "android.net.wifi.p2p.CALLING_PACKAGE";
498 * Indicates that the operation failed because p2p is unsupported on the device.
551 * @param info Wi-Fi p2p connection info
559 * The requested p2p group info is available
560 * @param group Wi-Fi p2p group info
651 * The requested stored p2p group info list is available
652 * @param groups Wi-Fi p2p group info list
666 * A channel that connects the application to the Wifi p2p framework.
667 * Most p2p operations require a Channel as an argument. An instance of Channel is obtained
884 * must be the first to be called before any p2p operations are performed.
889 * @return Channel instance that is necessary for performing any further p2p operations
927 * a p2p group is formed. Register for {@link #WIFI_P2P_PEERS_CHANGED_ACTION} intent to
958 * Start a p2p connection to a device with the specified configuration.
968 * <p> If the current device is not part of a p2p group, a connect request initiates
971 * <p> If the current device is part of an existing p2p group or has created
972 * a p2p group with {@link #createGroup}, an invitation to join the group is sent to
986 * Cancel any ongoing p2p group negotiation
1002 * Create a p2p group with the current device as the group owner. This essentially creates
1003 * an access point that can accept connections from legacy clients as well as other p2p
1008 * to form a p2p connection with a legacy client
1027 * Remove the current p2p group.
1298 * Request p2p group info.
1309 * Set p2p device name.
1343 * <p>The persistent p2p group list stored in the system can be obtained by
1348 * @param netId he network id of the p2p group.
1358 * Request a list of all the persistent p2p groups stored in system.