Home
last modified time | relevance | path

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

12

/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.java85 public WifiDisplay getRememberedWifiDisplay(String deviceAddress) { in getRememberedWifiDisplay() argument
87 int index = findRememberedWifiDisplay(deviceAddress); in getRememberedWifiDisplay()
151 public boolean forgetWifiDisplay(String deviceAddress) { in forgetWifiDisplay() argument
152 int index = findRememberedWifiDisplay(deviceAddress); in forgetWifiDisplay()
161 private int findRememberedWifiDisplay(String deviceAddress) { in findRememberedWifiDisplay() argument
164 if (mRememberedWifiDisplays.get(i).getDeviceAddress().equals(deviceAddress)) { in findRememberedWifiDisplay()
251 String deviceAddress = parser.getAttributeValue(null, "deviceAddress"); in loadRememberedWifiDisplaysFromXml() local
254 if (deviceAddress == null || deviceName == null) { in loadRememberedWifiDisplaysFromXml()
258 if (findRememberedWifiDisplay(deviceAddress) >= 0) { in loadRememberedWifiDisplaysFromXml()
264 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.java1176 if (mThisDevice.deviceAddress.equals(device.deviceAddress)) break; in processMessage()
1183 device = mPeers.remove(device.deviceAddress); in processMessage()
1232 mPeers.get(resp.getSrcDevice().deviceAddress); in processMessage()
1330 mPeers.updateStatus(mSavedPeerConfig.deviceAddress, WifiP2pDevice.INVITED); in processMessage()
1367 config.deviceAddress = group.getOwner().deviceAddress; in processMessage()
1377 if ((owner = mPeers.get(owner.deviceAddress)) != null) { in processMessage()
1405 netId = mGroups.getNetworkId(mThisDevice.deviceAddress); in processMessage()
1528 if (!mSavedPeerConfig.deviceAddress.equals(device.deviceAddress)) { in processMessage()
1530 logd("mSavedPeerConfig " + mSavedPeerConfig.deviceAddress + in processMessage()
1531 "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()
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()
DDisplayManagerGlobal.java289 public void connectWifiDisplay(String deviceAddress) { in connectWifiDisplay() argument
290 if (deviceAddress == null) { in connectWifiDisplay()
295 mDm.connectWifiDisplay(deviceAddress); in connectWifiDisplay()
325 public void renameWifiDisplay(String deviceAddress, String alias) { in renameWifiDisplay() argument
326 if (deviceAddress == null) { in renameWifiDisplay()
331 mDm.renameWifiDisplay(deviceAddress, alias); in renameWifiDisplay()
337 public void forgetWifiDisplay(String deviceAddress) { in forgetWifiDisplay() argument
338 if (deviceAddress == null) { in forgetWifiDisplay()
343 mDm.forgetWifiDisplay(deviceAddress); in forgetWifiDisplay()
/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.java73 private ScanFilter(String name, String deviceAddress, ParcelUuid uuid, in ScanFilter() argument
80 mDeviceAddress = deviceAddress; in ScanFilter()
461 public Builder setDeviceAddress(String deviceAddress) { in setDeviceAddress() argument
462 if (deviceAddress != null && !BluetoothAdapter.checkBluetoothAddress(deviceAddress)) { in setDeviceAddress()
463 throw new IllegalArgumentException("invalid device address " + deviceAddress); in setDeviceAddress()
465 mDeviceAddress = deviceAddress; in setDeviceAddress()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiNative.java1219 args.add(config.deviceAddress); in p2pConnect()
1275 return doBooleanCommand("P2P_PROV_DISC " + config.deviceAddress + " pbc"); in p2pProvisionDiscovery()
1278 return doBooleanCommand("P2P_PROV_DISC " + config.deviceAddress + " keypad"); in p2pProvisionDiscovery()
1281 return doBooleanCommand("P2P_PROV_DISC " + config.deviceAddress + " display"); in p2pProvisionDiscovery()
1306 public boolean p2pReject(String deviceAddress) { in p2pReject() argument
1307 return doBooleanCommand("P2P_REJECT " + deviceAddress); in p2pReject()
1311 public boolean p2pInvite(WifiP2pGroup group, String deviceAddress) { in p2pInvite() argument
1312 if (TextUtils.isEmpty(deviceAddress)) return false; in p2pInvite()
1315 return doBooleanCommand("P2P_INVITE peer=" + deviceAddress); in p2pInvite()
1318 + " peer=" + deviceAddress + " go_dev_addr=" + group.getOwner().deviceAddress); in p2pInvite()
[all …]
/frameworks/base/media/java/android/media/audiopolicy/
DAudioMix.java53 int deviceType, String deviceAddress) { in AudioMix() argument
60 mDeviceAddress = (deviceAddress == null) ? new String("") : deviceAddress; in AudioMix()
/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.java1454 private static WifiDisplay findWifiDisplay(WifiDisplay[] displays, String deviceAddress) { in findWifiDisplay() argument
1457 if (d.getDeviceAddress().equals(deviceAddress)) { in findWifiDisplay()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java414 public DeviceListSpec(int deviceType, String deviceName, String deviceAddress) { in DeviceListSpec() argument
417 mDeviceAddress = deviceAddress; in DeviceListSpec()
428 private String makeDeviceListKey(int device, String deviceAddress) { in makeDeviceListKey() argument
429 return "0x" + Integer.toHexString(device) + ":" + deviceAddress; in makeDeviceListKey()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt18145 field public java.lang.String deviceAddress;
18166 field public java.lang.String deviceAddress;

12