Home
last modified time | relevance | path

Searched refs:getAddress (Results 1 – 25 of 113) sorted by relevance

12345

/frameworks/base/core/java/android/bluetooth/
DBluetoothGatt.java160 mService.clientConnect(mClientIf, mDevice.getAddress(),
175 if (!address.equals(mDevice.getAddress())) {
209 if (!address.equals(mDevice.getAddress())) {
256 if (!address.equals(mDevice.getAddress())) {
302 if (!address.equals(mDevice.getAddress())) {
344 if (!address.equals(mDevice.getAddress())) {
367 if (!address.equals(mDevice.getAddress())) {
408 if (!address.equals(mDevice.getAddress())) {
449 if (!address.equals(mDevice.getAddress())) {
471 if (!address.equals(mDevice.getAddress())) {
[all …]
DBluetoothGattServer.java438 … if (DBG) Log.d(TAG, "connect() - device: " + device.getAddress() + ", auto: " + autoConnect); in connect()
442 mService.serverConnect(mServerIf, device.getAddress(), in connect()
461 if (DBG) Log.d(TAG, "cancelConnection() - device: " + device.getAddress()); in cancelConnection()
465 mService.serverDisconnect(mServerIf, device.getAddress()); in cancelConnection()
494 if (VDBG) Log.d(TAG, "sendResponse() - device: " + device.getAddress()); in sendResponse()
498 mService.sendResponse(mServerIf, device.getAddress(), requestId, in sendResponse()
527 if (VDBG) Log.d(TAG, "notifyCharacteristicChanged() - device: " + device.getAddress()); in notifyCharacteristicChanged()
539 mService.sendNotification(mServerIf, device.getAddress(), in notifyCharacteristicChanged()
DBluetoothDevice.java659 return mAddress.equals(((BluetoothDevice)o).getAddress()); in equals()
705 public String getAddress() { in getAddress() method in BluetoothDevice
827 Log.i(TAG, "createBond() for device " + getAddress() + in createBond()
861 Log.i(TAG, "createBond() for device " + getAddress() + in createBond()
930 Log.i(TAG, "cancelBondProcess() for device " + getAddress() + in cancelBondProcess()
954 Log.i(TAG, "removeBond() for device " + getAddress() + in removeBond()
985 getAddress()+")", npe); in getBondState()
DIBluetoothManager.aidl45 String getAddress(); in getAddress() method
/frameworks/base/core/java/android/net/
DRouteInfo.java139 if (destination.getAddress() instanceof Inet4Address) { in RouteInfo()
147 if ((destination.getAddress() instanceof Inet4Address && in RouteInfo()
149 (destination.getAddress() instanceof Inet6Address && in RouteInfo()
172 new IpPrefix(destination.getAddress(), destination.getPrefixLength()), in RouteInfo()
262 return (mDestination.getAddress() instanceof Inet4Address && in isHost()
264 (mDestination.getAddress() instanceof Inet6Address && in isHost()
282 return new LinkAddress(mDestination.getAddress(), mDestination.getPrefixLength()); in getDestinationLinkAddress()
329 return isDefaultRoute() && mDestination.getAddress() instanceof Inet4Address; in isIPv4Default()
337 return isDefaultRoute() && mDestination.getAddress() instanceof Inet6Address; in isIPv6Default()
388 if (NetworkUtils.addressTypeMatches(route.mDestination.getAddress(), dest)) { in selectBestRoute()
[all …]
DIpPrefix.java86 this.address = address.getAddress(); in IpPrefix()
106 this.address = ipAndMask.first.getAddress(); in IpPrefix()
143 public InetAddress getAddress() { in getAddress() method in IpPrefix
179 byte[] addrBytes = (address == null) ? null : address.getAddress(); in contains()
DLinkAddress.java105 byte[] bytes = address.getAddress(); in isIPv6ULA()
162 this(interfaceAddress.getAddress(), in LinkAddress()
248 public InetAddress getAddress() { in getAddress() method in LinkAddress
310 dest.writeByteArray(address.getAddress()); in writeToParcel()
DNetworkUtils.java132 byte [] addr = inetAddr.getAddress(); in inetAddressToInt()
197 byte[] addressArray = (address != null) ? address.getAddress() : null; in parcelInetAddress()
246 byte[] array = address.getAddress(); in getNetworkPart()
262 int firstByte = address.getAddress()[0] & 0xff; // Convert to an unsigned value. in getImplicitNetmask()
DInterfaceConfiguration.java109 for (byte b : mAddr.getAddress().getAddress()) { in isActive()
DLinkProperties.java216 addresses.add(linkAddress.getAddress()); in getAddresses()
228 addresses.add(linkAddress.getAddress()); in getAllAddresses()
661 if (address.getAddress() instanceof Inet4Address) { in hasIPv4Address()
688 if (address.getAddress() instanceof Inet6Address && address.isGlobalPreferred()) { in hasGlobalIPv6Address()
1125 dest.writeByteArray(d.getAddress()); in writeToParcel()
/frameworks/base/core/tests/coretests/src/android/net/
DLinkAddressTest.java73 assertEquals(V4_ADDRESS, address.getAddress()); in testConstructors()
79 assertEquals(V6_ADDRESS, address.getAddress()); in testConstructors()
86 assertEquals(V6_ADDRESS, address.getAddress()); in testConstructors()
92 assertEquals(V4_ADDRESS, address.getAddress()); in testConstructors()
103 if (addrs.get(0).getAddress() instanceof Inet4Address) { in testConstructors()
111 assertEquals(NetworkUtils.numericToInetAddress("127.0.0.1"), ipv4Loopback.getAddress()); in testConstructors()
114 assertEquals(NetworkUtils.numericToInetAddress("::1"), ipv6Loopback.getAddress()); in testConstructors()
275 byte[] ipv4Bytes = l1.getAddress().getAddress(); in testEqualsAndSameAddressAs()
276 byte[] l2FirstIPv6Bytes = Arrays.copyOf(l2.getAddress().getAddress(), 4); in testEqualsAndSameAddressAs()
277 byte[] l3LastIPv6Bytes = Arrays.copyOfRange(l3.getAddress().getAddress(), 12, 16); in testEqualsAndSameAddressAs()
DSntpClientTest.java66 assertTrue(mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500)); in testBasicWorkingSntpClientQuery()
77 assertFalse(mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500)); in testTimeoutFailure()
86 assertFalse(mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500)); in testIgnoreLeapNoSync()
98 final boolean rval = mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500); in testAcceptOnlyServerAndBroadcastModes()
122 final boolean rval = mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500); in testAcceptableStrataOnly()
137 assertFalse(mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500)); in testZeroTransmitTime()
217 public InetAddress getAddress() { return mAddress; } in getAddress() method in SntpClientTest.SntpTestServer
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
DBluetoothInstrumentation.java72 getAddress(); in onStart()
103 public void getAddress() { in getAddress() method in BluetoothInstrumentation
104 String name = getBluetoothAdapter().getAddress(); in getAddress()
113 mSuccessResult.putString(String.format("device-%02d", i), device.getAddress()); in getBondedDevices()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DCachedBluetoothDevice.java386 mName = mDevice.getAddress(); in setNewName()
412 mName = mDevice.getAddress(); in fetchName()
637 return mDevice.getAddress().hashCode(); in hashCode()
694 if (!preferences.contains(mDevice.getAddress())) { in migratePhonebookPermissionChoice()
699 int oldPermission = preferences.getInt(mDevice.getAddress(), ACCESS_UNKNOWN); in migratePhonebookPermissionChoice()
708 editor.remove(mDevice.getAddress()); in migratePhonebookPermissionChoice()
757 if (!preferences.contains(mDevice.getAddress())) { in migrateMessagePermissionChoice()
762 int oldPermission = preferences.getInt(mDevice.getAddress(), ACCESS_UNKNOWN); in migrateMessagePermissionChoice()
771 editor.remove(mDevice.getAddress()); in migrateMessagePermissionChoice()
789 mMessageRejectionCount = preference.getInt(mDevice.getAddress(), 0); in fetchMessageRejectionCount()
[all …]
/frameworks/ex/common/java/com/android/common/
DRfc822Validator.java100 matcher(tokens[0].getAddress()).matches(); in isValid()
158 String text = tokens[i].getAddress(); in fixText()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DGsmCdmaCallTracker.java302 if ( mPendingMO.getAddress() == null || mPendingMO.getAddress().length() == 0 in dial()
303 || mPendingMO.getAddress().indexOf(PhoneNumberUtils.WILD) >= 0) { in dial()
314 mCi.dial(mPendingMO.getAddress(), clirMode, uusInfo, obtainCompleteMessage()); in dial()
413 if ( mPendingMO.getAddress() == null || mPendingMO.getAddress().length() == 0 in dial()
414 || mPendingMO.getAddress().indexOf(PhoneNumberUtils.WILD) >= 0 ) { in dial()
430 mCi.dial(mPendingMO.getAddress(), clirMode, obtainCompleteMessage()); in dial()
465 mCi.sendCDMAFeatureCode(mPendingMO.getAddress(), in dialThreeWay()
1425 … mCi.dial(mPendingMO.getAddress(), mPendingCallClirMode, obtainCompleteMessage()); in handleMessage()
1470 mCi.sendCDMAFeatureCode(mPendingMO.getAddress(), in handleMessage()
DCallTracker.java99 if (hoConn.getAddress() != null && hoConn.getAddress().contains(dc.number)) { in getHoConnection()
/frameworks/base/services/core/java/com/android/server/connectivity/
DKeepalivePacketData.java124 buf.put(srcAddress.getAddress()); in nattKeepalivePacket()
125 buf.put(dstAddress.getAddress()); in nattKeepalivePacket()
/frameworks/base/services/net/java/android/net/dhcp/
DDhcpPacket.java356 byte[] destIpArray = destIp.getAddress(); in fillInPacket()
357 byte[] srcIpArray = srcIp.getAddress(); in fillInPacket()
419 buf.put(mClientIp.getAddress()); in fillInPacket()
420 buf.put(mYourIp.getAddress()); in fillInPacket()
421 buf.put(mNextIp.getAddress()); in fillInPacket()
422 buf.put(mRelayIp.getAddress()); in fillInPacket()
549 addTlv(buf, type, addr.getAddress()); in addTlv()
569 buf.put(addr.getAddress()); in addTlv()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsExternalCallTracker.java59 mCallPuller.pullExternalCall(connection.getAddress(), connection.getVideoState()); in onPullExternalCall()
171 state.getAddress().getSchemeSpecificPart() /* phone number */, in createExternalConnection()
/frameworks/opt/net/voip/src/java/android/net/sip/
DSimpleSessionDescription.java149 public String getAddress() { in getAddress() method in SimpleSessionDescription
150 return mFields.getAddress(); in getAddress()
401 public String getAddress() { in getAddress() method in SimpleSessionDescription.Fields
/frameworks/base/core/java/com/android/internal/net/
DVpnConfig.java123 updateAllowedFamilies(info.getDestination().getAddress()); in addLegacyRoutes()
136 updateAllowedFamilies(addr.getAddress()); in addLegacyAddresses()
/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pInfo.java73 dest.writeByteArray(groupOwnerAddress.getAddress()); in writeToParcel()
/frameworks/base/core/java/android/hardware/usb/
DUsbEndpoint.java59 public int getAddress() { in getAddress() method in UsbEndpoint
/frameworks/base/services/net/java/android/net/netlink/
DRtNetlinkNeighborMessage.java208 StructNlAttr.NLA_HEADERLEN + mDestination.getAddress().length); in getRequiredSpace()
232 packNlAttr(NDA_DST, mDestination.getAddress(), byteBuffer); in pack()

12345