Home
last modified time | relevance | path

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

/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/common/bluetooth/fastpair/
DSignalRotatedException.java23 SignalRotatedException(String message, String newAddress, Exception e) { in SignalRotatedException() argument
25 this.mNewAddress = newAddress; in SignalRotatedException()
DFastPairDualConnection.java833 private void setBleAddress(String newAddress) { in setBleAddress() argument
834 if (TextUtils.isEmpty(newAddress) || Ascii.equalsIgnoreCase(newAddress, mBleAddress)) { in setBleAddress()
838 mBleAddress = newAddress; in setBleAddress()
2115 String newAddress = fastPairSignalChecker.getValidAddressForModelId(currentAddress); in checkFastPairSignal() local
2116 if (TextUtils.isEmpty(newAddress)) { in checkFastPairSignal()
2118 } else if (!Ascii.equalsIgnoreCase(currentAddress, newAddress)) { in checkFastPairSignal()
2119 throw new SignalRotatedException("Address rotated", newAddress, originalException); in checkFastPairSignal()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DPrivateAddressCoordinator.java183 final LinkAddress newAddress = chooseDownstreamAddress(prefixRange); in requestDownstreamAddress() local
184 if (newAddress != null) { in requestDownstreamAddress()
186 mCachedAddresses.put(ipServer.interfaceType(), newAddress); in requestDownstreamAddress() local
187 return newAddress; in requestDownstreamAddress()
/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/Bluetooth/service/java/com/android/server/bluetooth/
DBluetoothManagerService.java457 String newAddress = intent.getStringExtra(BluetoothAdapter.EXTRA_BLUETOOTH_ADDRESS);
458 if (newAddress != null) {
460 Log.d(TAG, "Bluetooth Adapter address changed to " + newAddress);
462 storeNameAndAddress(null, newAddress);
/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/ip/
DIpServerTest.java758 final LinkAddress newAddress = new LinkAddress("192.168.100.125/24"); in testOnNewPrefixRequest() local
760 newAddress); in testOnNewPrefixRequest()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DClientModeImpl.java3307 int newAddress = Inet4AddressUtils.inet4AddressToIntHTL(addr);
3308 if (previousAddress != newAddress) {