Home
last modified time | relevance | path

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

/packages/apps/Car/Settings/src/com/android/car/settings/sound/
DAudioRouteSelectorController.java68 String newAddress = (String) newValue; in handlePreferenceChanged() local
70 if (newAddress.equals(activeDeviceAddress)) { in handlePreferenceChanged()
73 mAudioRouteItem = mAudioRoutesManager.updateAudioRoute(newAddress); in handlePreferenceChanged()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DPrivateAddressCoordinator.java196 final LinkAddress newAddress = chooseDownstreamAddress(prefixRange); in requestDownstreamAddress() local
197 if (newAddress != null) { in requestDownstreamAddress()
199 mCachedAddresses.put(addrKey, newAddress); in requestDownstreamAddress()
200 return newAddress; in requestDownstreamAddress()
/packages/modules/Connectivity/thread/tests/unit/src/com/android/server/thread/
DThreadNetworkCountryCodeTest.java173 private static Address newAddress(String countryCode) { in newAddress() method in ThreadNetworkCountryCodeTest
224 mGeocodeListenerCaptor.getValue().onGeocode(List.of(newAddress(TEST_COUNTRY_CODE_US))); in locationCountryCode_locationChanged_locationCountryCodeIsUsed()
304 mGeocodeListenerCaptor.getValue().onGeocode(List.of(newAddress(TEST_COUNTRY_CODE_US))); in telephonyCountryCode_bothTelephonyAndLocationAvailable_telephonyCodeIsUsed()
330 mGeocodeListenerCaptor.getValue().onGeocode(List.of(newAddress(TEST_COUNTRY_CODE_US))); in telephonyCountryCode_locationIsAvailable_lastKnownTelephonyCodeIsUsed()
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsSocketProvider.java273 void addOrUpdateInterfaceAddress(int ifaceIdx, @NonNull LinkAddress newAddress); in addOrUpdateInterfaceAddress() argument
285 @NonNull final LinkAddress newAddress) { in addOrUpdateInterfaceAddress() argument
293 boolean updated = linkProperties.addLinkAddress(newAddress); in addOrUpdateInterfaceAddress()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DPrivateAddressCoordinatorTest.java129 final LinkAddress newAddress = requestDownstreamAddress(mHotspotIpServer, in testRequestDownstreamAddressWithoutUsingLastAddress() local
131 final IpPrefix newHotspotPrefix = asIpPrefix(newAddress); in testRequestDownstreamAddressWithoutUsingLastAddress()
/packages/modules/Bluetooth/service/src/com/android/server/bluetooth/
DBluetoothManagerService.java551 String newAddress =
553 if (newAddress != null) {
554 Log.d(TAG, "Local address changed to …" + logAddress(newAddress));
555 storeNameAndAddress(null, newAddress);
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioZonesHelper.java999 String newAddress = address == null ? "" : address;
1001 new AudioDeviceAttributes(AudioDeviceAttributes.ROLE_OUTPUT, type, newAddress));
/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/ip/
DIpServerTest.java725 final LinkAddress newAddress = new LinkAddress("192.168.100.125/24"); in testOnNewPrefixRequest() local
727 anyBoolean())).thenReturn(newAddress); in testOnNewPrefixRequest()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DClientModeImpl.java3979 int newAddress = Inet4AddressUtils.inet4AddressToIntHTL(addr); in handleIPv4Success() local
3980 if (previousAddress != newAddress) { in handleIPv4Success()