Home
last modified time | relevance | path

Searched refs:deviceAddress (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pDeviceList.java47 mDevices.put(d.deviceAddress, d); in WifiP2pDeviceList()
55 if (device.deviceAddress != null) { in WifiP2pDeviceList()
56 mDevices.put(device.deviceAddress, device); in WifiP2pDeviceList()
70 if (device == null || device.deviceAddress == null) return; in update()
71 WifiP2pDevice d = mDevices.get(device.deviceAddress); in update()
83 mDevices.put(device.deviceAddress, device); in update()
87 public void updateGroupCapability(String deviceAddress, int groupCapab) { in updateGroupCapability() argument
88 if (TextUtils.isEmpty(deviceAddress)) return; in updateGroupCapability()
89 WifiP2pDevice d = mDevices.get(deviceAddress); in updateGroupCapability()
96 public void updateStatus(String deviceAddress, int status) { in updateStatus() argument
[all …]
DWifiP2pDevice.java43 public String deviceAddress = ""; field in WifiP2pDevice
181 deviceAddress = string; in WifiP2pDevice()
188 deviceAddress = match.group(2); in WifiP2pDevice()
195 deviceAddress = match.group(1); in WifiP2pDevice()
203 deviceAddress = match.group(3); in WifiP2pDevice()
265 if (device == null || device.deviceAddress == null) return; in update()
281 if (other == null || other.deviceAddress == null) { in equals()
282 return (deviceAddress == null); in equals()
284 return other.deviceAddress.equals(deviceAddress); in equals()
290 sbuf.append("\n deviceAddress: ").append(deviceAddress); in toString()
[all …]
DWifiP2pGroupList.java100 void remove(String deviceAddress) { in remove() argument
101 remove(getNetworkId(deviceAddress)); in remove()
124 int getNetworkId(String deviceAddress) { in getNetworkId() argument
125 if (deviceAddress == null) return -1; in getNetworkId()
129 if (deviceAddress.equalsIgnoreCase(grp.getOwner().deviceAddress)) { in getNetworkId()
146 int getNetworkId(String deviceAddress, String ssid) { in getNetworkId() argument
147 if (deviceAddress == null || ssid == null) { in getNetworkId()
153 if (deviceAddress.equalsIgnoreCase(grp.getOwner().deviceAddress) && in getNetworkId()
173 return grp.getOwner().deviceAddress; in getOwnerAddr()
DWifiP2pService.java885 if (mThisDevice.deviceAddress.equals(device.deviceAddress)) break; in processMessage()
937 mPeers.get(resp.getSrcDevice().deviceAddress); in processMessage()
979 int gc = mWifiNative.getGroupCapability(config.deviceAddress); in processMessage()
980 mPeers.updateGroupCapability(config.deviceAddress, gc); in processMessage()
986 mPeers.updateStatus(mSavedPeerConfig.deviceAddress, WifiP2pDevice.INVITED); in processMessage()
1012 if (!sendConnectNoticeToApp(mPeers.get(mSavedPeerConfig.deviceAddress), in processMessage()
1027 mSavedPeerConfig.deviceAddress = group.getOwner().deviceAddress; in processMessage()
1031 if ((owner = mPeers.get(owner.deviceAddress)) != null) { in processMessage()
1044 if (!sendConnectNoticeToApp(mPeers.get(mSavedPeerConfig.deviceAddress), in processMessage()
1063 netId = mGroups.getNetworkId(mThisDevice.deviceAddress); in processMessage()
[all …]
DWifiP2pConfig.java33 public String deviceAddress; field in WifiP2pConfig
71 deviceAddress = tokens[1]; in WifiP2pConfig()
105 sbuf.append("\n address: ").append(deviceAddress); in toString()
120 deviceAddress = source.deviceAddress; in WifiP2pConfig()
129 dest.writeString(deviceAddress); in writeToParcel()
140 config.deviceAddress = in.readString();
DWifiP2pProvDiscEvent.java76 device.deviceAddress = tokens[1]; in WifiP2pProvDiscEvent()
DWifiP2pGroup.java136 dev.deviceAddress = nameValue[1]; in WifiP2pGroup()
/frameworks/base/wifi/java/android/net/wifi/
DWifiNative.java558 args.add(config.deviceAddress); in p2pConnect()
614 return doBooleanCommand("P2P_PROV_DISC " + config.deviceAddress + " pbc"); in p2pProvisionDiscovery()
617 return doBooleanCommand("P2P_PROV_DISC " + config.deviceAddress + " keypad"); in p2pProvisionDiscovery()
620 return doBooleanCommand("P2P_PROV_DISC " + config.deviceAddress + " display"); in p2pProvisionDiscovery()
643 public boolean p2pReject(String deviceAddress) { in p2pReject() argument
644 return doBooleanCommand("P2P_REJECT " + deviceAddress); in p2pReject()
648 public boolean p2pInvite(WifiP2pGroup group, String deviceAddress) { in p2pInvite() argument
649 if (TextUtils.isEmpty(deviceAddress)) return false; in p2pInvite()
652 return doBooleanCommand("P2P_INVITE peer=" + deviceAddress); in p2pInvite()
655 + " peer=" + deviceAddress + " go_dev_addr=" + group.getOwner().deviceAddress); in p2pInvite()
[all …]
/frameworks/base/core/java/android/hardware/display/
DDisplayManagerGlobal.java264 public void connectWifiDisplay(String deviceAddress) { in connectWifiDisplay() argument
265 if (deviceAddress == null) { in connectWifiDisplay()
270 mDm.connectWifiDisplay(deviceAddress); in connectWifiDisplay()
272 Log.e(TAG, "Failed to connect to Wifi display " + deviceAddress + ".", ex); in connectWifiDisplay()
284 public void renameWifiDisplay(String deviceAddress, String alias) { in renameWifiDisplay() argument
285 if (deviceAddress == null) { in renameWifiDisplay()
290 mDm.renameWifiDisplay(deviceAddress, alias); in renameWifiDisplay()
292 Log.e(TAG, "Failed to rename Wifi display " + deviceAddress in renameWifiDisplay()
297 public void forgetWifiDisplay(String deviceAddress) { in forgetWifiDisplay() argument
298 if (deviceAddress == null) { in forgetWifiDisplay()
[all …]
DDisplayManager.java218 public void connectWifiDisplay(String deviceAddress) { in connectWifiDisplay() argument
219 mGlobal.connectWifiDisplay(deviceAddress); in connectWifiDisplay()
246 public void renameWifiDisplay(String deviceAddress, String alias) { in renameWifiDisplay() argument
247 mGlobal.renameWifiDisplay(deviceAddress, alias); in renameWifiDisplay()
261 public void forgetWifiDisplay(String deviceAddress) { in forgetWifiDisplay() argument
262 mGlobal.forgetWifiDisplay(deviceAddress); in forgetWifiDisplay()
DWifiDisplay.java41 String deviceAddress = in.readString();
44 return new WifiDisplay(deviceAddress, deviceName, deviceAlias);
52 public WifiDisplay(String deviceAddress, String deviceName, String deviceAlias) { in WifiDisplay() argument
53 if (deviceAddress == null) { in WifiDisplay()
60 mDeviceAddress = deviceAddress; in WifiDisplay()
/frameworks/base/services/java/com/android/server/display/
DPersistentDataStore.java84 public WifiDisplay getRememberedWifiDisplay(String deviceAddress) { in getRememberedWifiDisplay() argument
86 int index = findRememberedWifiDisplay(deviceAddress); in getRememberedWifiDisplay()
149 public boolean forgetWifiDisplay(String deviceAddress) { in forgetWifiDisplay() argument
150 int index = findRememberedWifiDisplay(deviceAddress); in forgetWifiDisplay()
159 private int findRememberedWifiDisplay(String deviceAddress) { in findRememberedWifiDisplay() argument
162 if (mRememberedWifiDisplays.get(i).getDeviceAddress().equals(deviceAddress)) { in findRememberedWifiDisplay()
249 String deviceAddress = parser.getAttributeValue(null, "deviceAddress"); in loadRememberedWifiDisplaysFromXml() local
252 if (deviceAddress == null || deviceName == null) { in loadRememberedWifiDisplaysFromXml()
256 if (findRememberedWifiDisplay(deviceAddress) >= 0) { in loadRememberedWifiDisplaysFromXml()
262 new WifiDisplay(deviceAddress, deviceName, deviceAlias)); in loadRememberedWifiDisplaysFromXml()
DWifiDisplayController.java233 if (device.deviceAddress.equals(address)) { in requestConnect()
413 final String address = device.deviceAddress; in updateDesiredDevice()
414 if (mDesiredDevice != null && mDesiredDevice.deviceAddress.equals(address)) { in updateDesiredDevice()
429 && !mDesiredDevice.deviceAddress.equals(device.deviceAddress)) { in connect()
438 && !mConnectedDevice.deviceAddress.equals(device.deviceAddress) in connect()
586 config.deviceAddress = mConnectingDevice.deviceAddress; in updateConnection()
898 return new WifiDisplay(device.deviceAddress, device.deviceName, null); in createWifiDisplay()
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/
DWifiP2pServiceResponse.java206 dev.deviceAddress = srcAddr; in newInstance()
298 sbuf.append(" srcAddr:").append(mDevice.deviceAddress); in toString()
316 equals(req.mDevice.deviceAddress, mDevice.deviceAddress) && in equals()
335 result = 31 * result + (mDevice.deviceAddress == null ? in hashCode()
336 0 : mDevice.deviceAddress.hashCode()); in hashCode()
DWifiP2pUpnpServiceResponse.java124 sbuf.append(" srcAddr:").append(mDevice.deviceAddress); in toString()
DWifiP2pDnsSdServiceResponse.java132 sbuf.append(" srcAddr:").append(mDevice.deviceAddress); in toString()
/frameworks/base/docs/html/training/connect-devices-wirelessly/
Dnsd-wifi-direct.jd140 buddies.put(device.deviceAddress, record.get("buddyname"));
171 .containsKey(resourceType.deviceAddress) ? buddies
172 .get(resourceType.deviceAddress) : resourceType.deviceName;
Dwifi-direct.jd293 config.deviceAddress = device.deviceAddress;
/frameworks/base/docs/html/guide/topics/connectivity/
Dwifip2p.jd455 config.deviceAddress = device.deviceAddress;
/frameworks/base/api/
D14.txt12459 field public java.lang.String deviceAddress;
12480 field public java.lang.String deviceAddress;
D15.txt12498 field public java.lang.String deviceAddress;
12519 field public java.lang.String deviceAddress;
D16.txt13315 field public java.lang.String deviceAddress;
13336 field public java.lang.String deviceAddress;
D17.txt13525 field public java.lang.String deviceAddress;
13546 field public java.lang.String deviceAddress;
Dcurrent.txt13525 field public java.lang.String deviceAddress;
13546 field public java.lang.String deviceAddress;