Home
last modified time | relevance | path

Searched refs:newAddress (Results 1 – 8 of 8) 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()
2116 String newAddress = fastPairSignalChecker.getValidAddressForModelId(currentAddress); in checkFastPairSignal() local
2117 if (TextUtils.isEmpty(newAddress)) { in checkFastPairSignal()
2119 } else if (!Ascii.equalsIgnoreCase(currentAddress, newAddress)) { in checkFastPairSignal()
2120 throw new SignalRotatedException("Address rotated", newAddress, originalException); in checkFastPairSignal()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DPrivateAddressCoordinator.java191 final LinkAddress newAddress = chooseDownstreamAddress(prefixRange); in requestDownstreamAddress() local
192 if (newAddress != null) { in requestDownstreamAddress()
194 mCachedAddresses.put(addrKey, newAddress); in requestDownstreamAddress()
195 return newAddress; in requestDownstreamAddress()
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsSocketProvider.java264 void addOrUpdateInterfaceAddress(int ifaceIdx, @NonNull LinkAddress newAddress); in addOrUpdateInterfaceAddress() argument
276 @NonNull final LinkAddress newAddress) { in addOrUpdateInterfaceAddress() argument
284 boolean updated = linkProperties.addLinkAddress(newAddress); in addOrUpdateInterfaceAddress()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DPrivateAddressCoordinatorTest.java127 final LinkAddress newAddress = requestDownstreamAddress(mHotspotIpServer, in testRequestDownstreamAddressWithoutUsingLastAddress() local
129 final IpPrefix testDupRequest = asIpPrefix(newAddress); in testRequestDownstreamAddressWithoutUsingLastAddress()
/packages/modules/Bluetooth/service/src/com/android/server/bluetooth/
DBluetoothManagerService.java552 String newAddress = intent.getStringExtra(BluetoothAdapter.EXTRA_BLUETOOTH_ADDRESS);
553 if (newAddress != null) {
555 Log.d(TAG, "Bluetooth Adapter address changed to " + newAddress);
557 storeNameAndAddress(null, newAddress);
/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/ip/
DIpServerTest.java788 final LinkAddress newAddress = new LinkAddress("192.168.100.125/24"); in testOnNewPrefixRequest() local
790 anyBoolean())).thenReturn(newAddress); in testOnNewPrefixRequest()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DClientModeImpl.java3794 int newAddress = Inet4AddressUtils.inet4AddressToIntHTL(addr); in handleIPv4Success() local
3795 if (previousAddress != newAddress) { in handleIPv4Success()