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.java46 mDevices.put(d.deviceAddress, new WifiP2pDevice(d)); in WifiP2pDeviceList()
54 if (device.deviceAddress != null) { in WifiP2pDeviceList()
55 mDevices.put(device.deviceAddress, new WifiP2pDevice(device)); in WifiP2pDeviceList()
62 if (TextUtils.isEmpty(device.deviceAddress)) { in validateDevice()
67 private void validateDeviceAddress(String deviceAddress) { in validateDeviceAddress() argument
68 if (TextUtils.isEmpty(deviceAddress)) { in validateDeviceAddress()
88 mDevices.get(device.deviceAddress).status = device.status; in update()
94 WifiP2pDevice d = mDevices.get(device.deviceAddress); in updateSupplicantDetails()
106 mDevices.put(device.deviceAddress, device); in updateSupplicantDetails()
110 public void updateGroupCapability(String deviceAddress, int groupCapab) { in updateGroupCapability() argument
[all …]
DWifiP2pDevice.java44 public String deviceAddress = ""; field in WifiP2pDevice
182 deviceAddress = string; in WifiP2pDevice()
189 deviceAddress = match.group(2); in WifiP2pDevice()
196 deviceAddress = match.group(1); in WifiP2pDevice()
204 deviceAddress = match.group(3); in WifiP2pDevice()
281 if (device.deviceAddress == null) { in updateSupplicantDetails()
284 if (!deviceAddress.equals(device.deviceAddress)) { in updateSupplicantDetails()
302 if (other == null || other.deviceAddress == null) { in equals()
303 return (deviceAddress == null); in equals()
305 return other.deviceAddress.equals(deviceAddress); in equals()
[all …]
DWifiP2pGroupList.java104 void remove(String deviceAddress) { in remove() argument
105 remove(getNetworkId(deviceAddress)); in remove()
130 public int getNetworkId(String deviceAddress) { in getNetworkId() argument
131 if (deviceAddress == null) return -1; in getNetworkId()
135 if (deviceAddress.equalsIgnoreCase(grp.getOwner().deviceAddress)) { in getNetworkId()
153 public int getNetworkId(String deviceAddress, String ssid) { in getNetworkId() argument
154 if (deviceAddress == null || ssid == null) { in getNetworkId()
160 if (deviceAddress.equalsIgnoreCase(grp.getOwner().deviceAddress) && in getNetworkId()
181 return grp.getOwner().deviceAddress; in getOwnerAddr()
DWifiP2pConfig.java33 public String deviceAddress = ""; field in WifiP2pConfig
65 deviceAddress = ""; in invalidate()
76 deviceAddress = tokens[1]; in WifiP2pConfig()
110 sbuf.append("\n address: ").append(deviceAddress); in toString()
125 deviceAddress = source.deviceAddress; in WifiP2pConfig()
134 dest.writeString(deviceAddress); in writeToParcel()
145 config.deviceAddress = in.readString();
DWifiP2pProvDiscEvent.java72 device.deviceAddress = tokens[1]; in WifiP2pProvDiscEvent()
DWifiP2pGroup.java138 dev.deviceAddress = nameValue[1]; in WifiP2pGroup()
DWifiP2pManager.java871 if (TextUtils.isEmpty(c.deviceAddress)) { in checkP2pConfig()
/frameworks/base/services/core/java/com/android/server/display/
DPersistentDataStore.java84 public WifiDisplay getRememberedWifiDisplay(String deviceAddress) { in getRememberedWifiDisplay() argument
86 int index = findRememberedWifiDisplay(deviceAddress); in getRememberedWifiDisplay()
150 public boolean forgetWifiDisplay(String deviceAddress) { in forgetWifiDisplay() argument
151 int index = findRememberedWifiDisplay(deviceAddress); in forgetWifiDisplay()
160 private int findRememberedWifiDisplay(String deviceAddress) { in findRememberedWifiDisplay() argument
163 if (mRememberedWifiDisplays.get(i).getDeviceAddress().equals(deviceAddress)) { in findRememberedWifiDisplay()
250 String deviceAddress = parser.getAttributeValue(null, "deviceAddress"); in loadRememberedWifiDisplaysFromXml() local
253 if (deviceAddress == null || deviceName == null) { in loadRememberedWifiDisplaysFromXml()
257 if (findRememberedWifiDisplay(deviceAddress) >= 0) { in loadRememberedWifiDisplaysFromXml()
263 new WifiDisplay(deviceAddress, deviceName, deviceAlias, in loadRememberedWifiDisplaysFromXml()
DWifiDisplayController.java257 if (device.deviceAddress.equals(address)) { in requestConnect()
497 final String address = device.deviceAddress; in updateDesiredDevice()
498 if (mDesiredDevice != null && mDesiredDevice.deviceAddress.equals(address)) { in updateDesiredDevice()
513 && !mDesiredDevice.deviceAddress.equals(device.deviceAddress)) { in connect()
522 && !mConnectedDevice.deviceAddress.equals(device.deviceAddress) in connect()
687 config.deviceAddress = mConnectingDevice.deviceAddress; in updateConnection()
794 !info.getOwner().deviceAddress.equals(mThisDevice.deviceAddress), in getSessionInfo()
796 info.getOwner().deviceAddress + " " + info.getNetworkName(), in getSessionInfo()
842 boolean owner = info.getOwner().deviceAddress in handleConnectionChanged()
843 .equals(mThisDevice.deviceAddress); in handleConnectionChanged()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java1068 if (mThisDevice.deviceAddress.equals(device.deviceAddress)) break; in processMessage()
1075 device = mPeers.remove(device.deviceAddress); in processMessage()
1124 mPeers.get(resp.getSrcDevice().deviceAddress); in processMessage()
1234 mPeers.updateStatus(mSavedPeerConfig.deviceAddress, WifiP2pDevice.INVITED); in processMessage()
1271 config.deviceAddress = group.getOwner().deviceAddress; in processMessage()
1281 if ((owner = mPeers.get(owner.deviceAddress)) != null) { in processMessage()
1309 netId = mGroups.getNetworkId(mThisDevice.deviceAddress); in processMessage()
1432 if (!mSavedPeerConfig.deviceAddress.equals(device.deviceAddress)) { in processMessage()
1434 logd("mSavedPeerConfig " + mSavedPeerConfig.deviceAddress + in processMessage()
1435 "device " + device.deviceAddress); in processMessage()
[all …]
/frameworks/base/core/java/android/hardware/display/
DWifiDisplay.java44 String deviceAddress = in.readString();
50 return new WifiDisplay(deviceAddress, deviceName, deviceAlias,
59 public WifiDisplay(String deviceAddress, String deviceName, String deviceAlias, in WifiDisplay() argument
61 if (deviceAddress == null) { in WifiDisplay()
68 mDeviceAddress = deviceAddress; in WifiDisplay()
DDisplayManagerGlobal.java303 public void connectWifiDisplay(String deviceAddress) { in connectWifiDisplay() argument
304 if (deviceAddress == null) { in connectWifiDisplay()
309 mDm.connectWifiDisplay(deviceAddress); in connectWifiDisplay()
311 Log.e(TAG, "Failed to connect to Wifi display " + deviceAddress + ".", ex); in connectWifiDisplay()
339 public void renameWifiDisplay(String deviceAddress, String alias) { in renameWifiDisplay() argument
340 if (deviceAddress == null) { in renameWifiDisplay()
345 mDm.renameWifiDisplay(deviceAddress, alias); in renameWifiDisplay()
347 Log.e(TAG, "Failed to rename Wifi display " + deviceAddress in renameWifiDisplay()
352 public void forgetWifiDisplay(String deviceAddress) { in forgetWifiDisplay() argument
353 if (deviceAddress == null) { in forgetWifiDisplay()
[all …]
DDisplayManager.java403 public void connectWifiDisplay(String deviceAddress) { in connectWifiDisplay() argument
404 mGlobal.connectWifiDisplay(deviceAddress); in connectWifiDisplay()
441 public void renameWifiDisplay(String deviceAddress, String alias) { in renameWifiDisplay() argument
442 mGlobal.renameWifiDisplay(deviceAddress, alias); in renameWifiDisplay()
456 public void forgetWifiDisplay(String deviceAddress) { in forgetWifiDisplay() argument
457 mGlobal.forgetWifiDisplay(deviceAddress); in forgetWifiDisplay()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiNative.java857 args.add(config.deviceAddress); in p2pConnect()
913 return doBooleanCommand("P2P_PROV_DISC " + config.deviceAddress + " pbc"); in p2pProvisionDiscovery()
916 return doBooleanCommand("P2P_PROV_DISC " + config.deviceAddress + " keypad"); in p2pProvisionDiscovery()
919 return doBooleanCommand("P2P_PROV_DISC " + config.deviceAddress + " display"); in p2pProvisionDiscovery()
944 public boolean p2pReject(String deviceAddress) { in p2pReject() argument
945 return doBooleanCommand("P2P_REJECT " + deviceAddress); in p2pReject()
949 public boolean p2pInvite(WifiP2pGroup group, String deviceAddress) { in p2pInvite() argument
950 if (TextUtils.isEmpty(deviceAddress)) return false; in p2pInvite()
953 return doBooleanCommand("P2P_INVITE peer=" + deviceAddress); in p2pInvite()
956 + " peer=" + deviceAddress + " go_dev_addr=" + group.getOwner().deviceAddress); in p2pInvite()
[all …]
/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/core/java/android/bluetooth/le/
DScanFilter.java71 private ScanFilter(String name, String deviceAddress, ParcelUuid uuid, in ScanFilter() argument
78 mDeviceAddress = deviceAddress; in ScanFilter()
447 public Builder setDeviceAddress(String deviceAddress) { in setDeviceAddress() argument
448 if (deviceAddress != null && !BluetoothAdapter.checkBluetoothAddress(deviceAddress)) { in setDeviceAddress()
449 throw new IllegalArgumentException("invalid device address " + deviceAddress); in setDeviceAddress()
451 mDeviceAddress = deviceAddress; in setDeviceAddress()
/frameworks/base/docs/html/training/connect-devices-wirelessly/
Dnsd-wifi-direct.jd137 buddies.put(device.deviceAddress, record.get("buddyname"));
168 .containsKey(resourceType.deviceAddress) ? buddies
169 .get(resourceType.deviceAddress) : resourceType.deviceName;
Dwifi-direct.jd294 config.deviceAddress = device.deviceAddress;
/frameworks/base/docs/html/guide/topics/connectivity/
Dwifip2p.jd459 config.deviceAddress = device.deviceAddress;
/frameworks/base/media/java/android/media/
DMediaRouter.java1436 private static WifiDisplay findWifiDisplay(WifiDisplay[] displays, String deviceAddress) { in findWifiDisplay() argument
1439 if (d.getDeviceAddress().equals(deviceAddress)) { in findWifiDisplay()
/frameworks/base/api/
Dsystem-current.txt19714 field public java.lang.String deviceAddress;
19735 field public java.lang.String deviceAddress;
Dcurrent.txt18147 field public java.lang.String deviceAddress;
18168 field public java.lang.String deviceAddress;