Lines Matching refs:group

30  * A class representing a Wi-Fi P2p group. A p2p group consists of a single group
31 * owner and one or more clients. In the case of a group with only two devices, one
32 * will be the group owner and the other will be a group client.
54 /** Device is group owner */
68 /** P2P group started string pattern */
115 mNetworkName = match.group(1);
117 //int freq = Integer.parseInt(match.group(2));
118 //String psk = match.group(3);
119 mPassphrase = match.group(4);
120 mOwner = new WifiP2pDevice(match.group(5));
121 if (match.group(6) != null) {
165 * Get the network name (SSID) of the group. Legacy Wi-Fi clients will discover
166 * the p2p group using the network name.
177 /** Check whether this device is the group owner of the created p2p group */
187 /** Get the details of the group owner as a {@link WifiP2pDevice} object */
220 /** @hide Returns {@code true} if the device is part of the group */
226 /** Get the list of clients currently part of the p2p group */
237 * Get the passphrase of the group. This function will return a valid passphrase only
238 * at the group owner. Legacy Wi-Fi clients will need this passphrase alongside
239 * network name obtained from {@link #getNetworkName()} to join the group
250 /** Get the interface name on which the group is created */
314 WifiP2pGroup group = new WifiP2pGroup();
315 group.setNetworkName(in.readString());
316 group.setOwner((WifiP2pDevice)in.readParcelable(null));
317 group.setIsGroupOwner(in.readByte() == (byte)1);
320 group.addClient((WifiP2pDevice) in.readParcelable(null));
322 group.setPassphrase(in.readString());
323 group.setInterface(in.readString());
324 group.setNetworkId(in.readInt());
325 return group;