HomeSort by relevance Sort by last modified time
    Searched refs:deviceAddress (Results 1 - 25 of 52) sorted by null

1 2 3

  /frameworks/base/wifi/java/android/net/wifi/p2p/
WifiP2pDeviceList.java 46 mDevices.put(d.deviceAddress, new WifiP2pDevice(d));
54 if (device.deviceAddress != null) {
55 mDevices.put(device.deviceAddress, new WifiP2pDevice(device));
62 if (TextUtils.isEmpty(device.deviceAddress)) {
63 throw new IllegalArgumentException("Empty deviceAddress");
67 private void validateDeviceAddress(String deviceAddress) {
68 if (TextUtils.isEmpty(deviceAddress)) {
69 throw new IllegalArgumentException("Empty deviceAddress");
88 mDevices.get(device.deviceAddress).status = device.status;
94 WifiP2pDevice d = mDevices.get(device.deviceAddress);
    [all...]
WifiP2pConfig.java 33 public String deviceAddress = "";
65 deviceAddress = "";
76 deviceAddress = tokens[1];
110 sbuf.append("\n address: ").append(deviceAddress);
125 deviceAddress = source.deviceAddress;
134 dest.writeString(deviceAddress);
145 config.deviceAddress = in.readString();
WifiP2pGroupList.java 102 * @param deviceAddress
104 void remove(String deviceAddress) {
105 remove(getNetworkId(deviceAddress));
126 * @param deviceAddress p2p device address.
130 public int getNetworkId(String deviceAddress) {
131 if (deviceAddress == null) return -1;
135 if (deviceAddress.equalsIgnoreCase(grp.getOwner().deviceAddress)) {
148 * @param deviceAddress p2p device address.
153 public int getNetworkId(String deviceAddress, String ssid)
    [all...]
WifiP2pDevice.java 44 public String deviceAddress = "";
182 deviceAddress = string;
189 deviceAddress = match.group(2);
196 deviceAddress = match.group(1);
204 deviceAddress = match.group(3);
281 if (device.deviceAddress == null) {
282 throw new IllegalArgumentException("deviceAddress is null");
284 if (!deviceAddress.equals(device.deviceAddress)) {
285 throw new IllegalArgumentException("deviceAddress does not match")
    [all...]
WifiP2pProvDiscEvent.java 72 device.deviceAddress = tokens[1];
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
BluetoothAccessoryActivity.java 34 String deviceAddress = null;
39 deviceAddress = bundle.getString(EXTRA_ACCESSORY_ADDRESS);
47 return SettingsFragment.newInstance(deviceAddress, deviceName, deviceImgId);
52 public static SettingsFragment newInstance(String deviceAddress, String deviceName,
55 b.putString(EXTRA_ACCESSORY_ADDRESS, deviceAddress);
66 String deviceAddress = args.getString(EXTRA_ACCESSORY_ADDRESS);
70 BluetoothAccessoryFragment.newInstance(deviceAddress, deviceName, deviceImgId));
  /frameworks/base/core/java/android/hardware/display/
WifiDisplay.java 44 String deviceAddress = in.readString();
50 return new WifiDisplay(deviceAddress, deviceName, deviceAlias,
59 public WifiDisplay(String deviceAddress, String deviceName, String deviceAlias,
61 if (deviceAddress == null) {
62 throw new IllegalArgumentException("deviceAddress must not be null");
68 mDeviceAddress = deviceAddress;
DisplayManager.java 400 * @param deviceAddress The MAC address of the device to which we should connect.
403 public void connectWifiDisplay(String deviceAddress) {
404 mGlobal.connectWifiDisplay(deviceAddress);
436 * @param deviceAddress The MAC address of the device to rename.
441 public void renameWifiDisplay(String deviceAddress, String alias) {
442 mGlobal.renameWifiDisplay(deviceAddress, alias);
453 * @param deviceAddress The MAC address of the device to forget.
456 public void forgetWifiDisplay(String deviceAddress) {
457 mGlobal.forgetWifiDisplay(deviceAddress);
DisplayManagerGlobal.java 289 public void connectWifiDisplay(String deviceAddress) {
290 if (deviceAddress == null) {
291 throw new IllegalArgumentException("deviceAddress must not be null");
295 mDm.connectWifiDisplay(deviceAddress);
325 public void renameWifiDisplay(String deviceAddress, String alias) {
326 if (deviceAddress == null) {
327 throw new IllegalArgumentException("deviceAddress must not be null");
331 mDm.renameWifiDisplay(deviceAddress, alias);
337 public void forgetWifiDisplay(String deviceAddress) {
338 if (deviceAddress == null)
    [all...]
  /packages/apps/Settings/src/com/android/settings/wifi/p2p/
WifiP2pPeer.java 44 setTitle(device.deviceAddress);
82 return device.deviceAddress.compareToIgnoreCase(other.device.deviceAddress);
  /packages/apps/Settings/src/com/android/settings/bluetooth/
LocalBluetoothPreferences.java 66 String deviceAddress, String deviceName) {
106 if (deviceAddress != null) {
110 if (deviceAddress.equals(lastSelectedDevice)) {
135 static void persistSelectedDeviceInPicker(Context context, String deviceAddress) {
138 deviceAddress);
BluetoothPairingRequest.java 67 String deviceAddress = device != null ? device.getAddress() : null;
70 context, deviceAddress, deviceName);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/
UPnPServiceResponseListenerTest.java 60 Log.d(TAG, uniqueServiceNames + " received from " + srcDevice.deviceAddress);
66 if (srcDevice.deviceAddress.equalsIgnoreCase(mTargetAddr)) {
P2pBroadcastReceiverTest.java 82 if (dev.deviceAddress.equals(targetAddr)) {
128 if (dev.deviceAddress.equals(targetAddr)) {
159 if (dev.deviceAddress.equals(targetAddr)) {
DnsSdResponseListenerTest.java 64 " received from " + srcDevice.deviceAddress);
70 if (srcDevice.deviceAddress.equalsIgnoreCase(mTargetAddr)) {
DnsSdTxtRecordListenerTest.java 66 + srcDevice.deviceAddress);
72 if (srcDevice.deviceAddress.equalsIgnoreCase(mTargetAddr)) {
ConnectReqTestCase.java 126 config.deviceAddress = dev.deviceAddress;
  /frameworks/base/wifi/java/android/net/wifi/p2p/nsd/
WifiP2pServiceResponse.java 206 dev.deviceAddress = srcAddr;
298 sbuf.append(" srcAddr:").append(mDevice.deviceAddress);
316 equals(req.mDevice.deviceAddress, mDevice.deviceAddress) &&
335 result = 31 * result + (mDevice.deviceAddress == null ?
336 0 : mDevice.deviceAddress.hashCode());
  /frameworks/base/services/core/java/com/android/server/display/
PersistentDataStore.java 56 * <wifi-display deviceAddress="00:00:00:00:00:00" deviceName="XXXX" deviceAlias="YYYY" />
98 public WifiDisplay getRememberedWifiDisplay(String deviceAddress) {
100 int index = findRememberedWifiDisplay(deviceAddress);
164 public boolean forgetWifiDisplay(String deviceAddress) {
165 int index = findRememberedWifiDisplay(deviceAddress);
174 private int findRememberedWifiDisplay(String deviceAddress) {
177 if (mRememberedWifiDisplays.get(i).getDeviceAddress().equals(deviceAddress)) {
301 String deviceAddress = parser.getAttributeValue(null, "deviceAddress");
304 if (deviceAddress == null || deviceName == null)
    [all...]
WifiDisplayController.java 257 if (device.deviceAddress.equals(address)) {
497 final String address = device.deviceAddress;
498 if (mDesiredDevice != null && mDesiredDevice.deviceAddress.equals(address)) {
513 && !mDesiredDevice.deviceAddress.equals(device.deviceAddress)) {
522 && !mConnectedDevice.deviceAddress.equals(device.deviceAddress)
687 config.deviceAddress = mConnectingDevice.deviceAddress;
794 !info.getOwner().deviceAddress.equals(mThisDevice.deviceAddress)
    [all...]
  /frameworks/base/media/java/android/media/audiopolicy/
AudioMix.java 53 int deviceType, String deviceAddress) {
60 mDeviceAddress = (deviceAddress == null) ? new String("") : deviceAddress;
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
WifiP2pServiceImpl.java 574 // The deviceAddress will be an empty string when the device is inactive
    [all...]
  /frameworks/base/core/java/android/bluetooth/le/
ScanFilter.java 73 private ScanFilter(String name, String deviceAddress, ParcelUuid uuid,
80 mDeviceAddress = deviceAddress;
456 * @param deviceAddress The device Bluetooth address for the filter. It needs to be in the
459 * @throws IllegalArgumentException If the {@code deviceAddress} is invalid.
461 public Builder setDeviceAddress(String deviceAddress) {
462 if (deviceAddress != null && !BluetoothAdapter.checkBluetoothAddress(deviceAddress)) {
463 throw new IllegalArgumentException("invalid device address " + deviceAddress);
465 mDeviceAddress = deviceAddress;
  /developers/samples/android/connectivity/wifidirect/DirectP2P/Application/src/main/java/com/example/android/wifidirectp2p/
DeviceDetailFragment.java 74 config.deviceAddress = device.deviceAddress;
80 "Connecting to :" + device.deviceAddress, true, true
184 view.setText(device.deviceAddress);
  /development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/
DeviceDetailFragment.java 75 config.deviceAddress = device.deviceAddress;
81 "Connecting to :" + device.deviceAddress, true, true
183 view.setText(device.deviceAddress);

Completed in 764 milliseconds

1 2 3