/frameworks/base/wifi/java/android/net/wifi/p2p/ |
D | WifiP2pDeviceList.java | 47 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 …]
|
D | WifiP2pDevice.java | 43 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 …]
|
D | WifiP2pGroupList.java | 100 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()
|
D | WifiP2pService.java | 885 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 …]
|
D | WifiP2pConfig.java | 33 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();
|
D | WifiP2pProvDiscEvent.java | 76 device.deviceAddress = tokens[1]; in WifiP2pProvDiscEvent()
|
D | WifiP2pGroup.java | 136 dev.deviceAddress = nameValue[1]; in WifiP2pGroup()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiNative.java | 558 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/ |
D | DisplayManagerGlobal.java | 264 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 …]
|
D | DisplayManager.java | 218 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()
|
D | WifiDisplay.java | 41 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/ |
D | PersistentDataStore.java | 84 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()
|
D | WifiDisplayController.java | 233 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/ |
D | WifiP2pServiceResponse.java | 206 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()
|
D | WifiP2pUpnpServiceResponse.java | 124 sbuf.append(" srcAddr:").append(mDevice.deviceAddress); in toString()
|
D | WifiP2pDnsSdServiceResponse.java | 132 sbuf.append(" srcAddr:").append(mDevice.deviceAddress); in toString()
|
/frameworks/base/docs/html/training/connect-devices-wirelessly/ |
D | nsd-wifi-direct.jd | 140 buddies.put(device.deviceAddress, record.get("buddyname")); 171 .containsKey(resourceType.deviceAddress) ? buddies 172 .get(resourceType.deviceAddress) : resourceType.deviceName;
|
D | wifi-direct.jd | 293 config.deviceAddress = device.deviceAddress;
|
/frameworks/base/docs/html/guide/topics/connectivity/ |
D | wifip2p.jd | 455 config.deviceAddress = device.deviceAddress;
|
/frameworks/base/api/ |
D | 14.txt | 12459 field public java.lang.String deviceAddress; 12480 field public java.lang.String deviceAddress;
|
D | 15.txt | 12498 field public java.lang.String deviceAddress; 12519 field public java.lang.String deviceAddress;
|
D | 16.txt | 13315 field public java.lang.String deviceAddress; 13336 field public java.lang.String deviceAddress;
|
D | 17.txt | 13525 field public java.lang.String deviceAddress; 13546 field public java.lang.String deviceAddress;
|
D | current.txt | 13525 field public java.lang.String deviceAddress; 13546 field public java.lang.String deviceAddress;
|