Lines Matching refs:device

27  * A class representing a Wi-Fi p2p device
36 * The device name is a user friendly string to identify a Wi-Fi p2p device
41 * The device MAC address uniquely identifies a Wi-Fi p2p device
46 * Primary device type identifies the type of device. For example, an application
49 * for the full list of standard device types supported.
54 * Secondary device type is an optional attribute that can be provided by a device in
55 * addition to the primary device type.
113 /** Detailed device string pattern with WFD info
131 /** 2 token device address pattern
140 /** 3 token device address pattern
180 /* Just a device address */
238 /** Returns true if the device is capable of service discovery */
243 /** Returns true if the device is capable of invitation {@hide}*/
248 /** Returns true if the device reaches the limit. {@hide}*/
253 /** Returns true if the device is a group owner */
264 public void update(WifiP2pDevice device) {
265 if (device == null || device.deviceAddress == null) return;
266 deviceName = device.deviceName;
267 primaryDeviceType = device.primaryDeviceType;
268 secondaryDeviceType = device.secondaryDeviceType;
269 wpsConfigMethodsSupported = device.wpsConfigMethodsSupported;
270 deviceCapability = device.deviceCapability;
271 groupCapability = device.groupCapability;
272 wfdInfo = device.wfdInfo;
343 WifiP2pDevice device = new WifiP2pDevice();
344 device.deviceName = in.readString();
345 device.deviceAddress = in.readString();
346 device.primaryDeviceType = in.readString();
347 device.secondaryDeviceType = in.readString();
348 device.wpsConfigMethodsSupported = in.readInt();
349 device.deviceCapability = in.readInt();
350 device.groupCapability = in.readInt();
351 device.status = in.readInt();
353 device.wfdInfo = WifiP2pWfdInfo.CREATOR.createFromParcel(in);
355 return device;