Home
last modified time | relevance | path

Searched refs:newAddress (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DPrivateAddressCoordinator.java186 final LinkAddress newAddress = chooseDownstreamAddress(prefixRange); in requestDownstreamAddress() local
187 if (newAddress != null) { in requestDownstreamAddress()
189 mCachedAddresses.put(ipServer.interfaceType(), newAddress); in requestDownstreamAddress() local
190 return newAddress; in requestDownstreamAddress()
/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/
DContact.java368 PostalAddress newAddress = PostalAddress.fromCursor(cursor); in addPostalAddress() local
370 if (!mPostalAddresses.contains(newAddress)) { in addPostalAddress()
371 mPostalAddresses.add(newAddress); in addPostalAddress()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DPrivateAddressCoordinatorTest.java122 final LinkAddress newAddress = requestDownstreamAddress(mHotspotIpServer, in testRequestDownstreamAddressWithoutUsingLastAddress() local
124 final IpPrefix testDupRequest = asIpPrefix(newAddress); in testRequestDownstreamAddressWithoutUsingLastAddress()
/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/ip/
DIpServerTest.java734 final LinkAddress newAddress = new LinkAddress("192.168.100.125/24"); in testOnNewPrefixRequest() local
736 newAddress); in testOnNewPrefixRequest()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DClientModeImpl.java2980 int newAddress = Inet4AddressUtils.inet4AddressToIntHTL(addr);
2981 if (previousAddress != newAddress) {