Lines Matching defs:dev
936 WifiP2pDevice dev =
938 resp.setSrcDevice(dev);
2050 WifiP2pDevice dev = mPeers.get(config.deviceAddress);
2051 if (dev == null) {
2056 boolean join = dev.isGroupOwner();
2057 String ssid = mWifiNative.p2pGetSsid(dev.deviceAddress);
2060 if (join && dev.isGroupLimit()) {
2067 int netId = mGroups.getNetworkId(dev.deviceAddress, ssid);
2077 if (!join && dev.isDeviceLimit()) {
2082 if (!join && tryInvocation && dev.isInvitationCapable()) {
2089 netId = mGroups.getNetworkId(dev.deviceAddress);
2092 netId = getNetworkIdFromClientList(dev.deviceAddress);
2094 if (DBG) logd("netId related with " + dev.deviceAddress + " = " + netId);
2097 if (mWifiNative.p2pReinvoke(netId, dev.deviceAddress)) {
2224 WifiP2pDevice dev = mPeers.get(config.deviceAddress);
2225 if (dev == null) {
2230 String pin = mWifiNative.p2pConnect(config, dev.isGroupOwner());
2707 * @param dev source device
2711 private boolean sendConnectNoticeToApp(WifiP2pDevice dev, WifiP2pConfig config) {
2712 if (dev == null) {
2713 dev = new WifiP2pDevice(config.deviceAddress);
2725 bundle.putParcelable(WifiP2pManager.P2P_DEV_BUNDLE_KEY, dev);