Home
last modified time | relevance | path

Searched refs:updatedServiceInfo (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DMdnsServiceTypeClientTests.java850 MdnsServiceInfo updatedServiceInfo = serviceInfoCaptor.getAllValues().get(2); in processIPv4Response_completeResponseForNewServiceInstance() local
851 assertEquals(updatedServiceInfo.getServiceInstanceName(), "service-instance-1"); in processIPv4Response_completeResponseForNewServiceInstance()
852 assertEquals(updatedServiceInfo.getIpv4Address(), ipV4Address); in processIPv4Response_completeResponseForNewServiceInstance()
853 assertEquals(updatedServiceInfo.getPort(), 5354); in processIPv4Response_completeResponseForNewServiceInstance()
854 assertTrue(updatedServiceInfo.hasSubtypes()); in processIPv4Response_completeResponseForNewServiceInstance()
855 assertEquals(updatedServiceInfo.getSubtypes(), Collections.singletonList(SUBTYPE)); in processIPv4Response_completeResponseForNewServiceInstance()
856 assertEquals(updatedServiceInfo.getAttributeByKey("key"), "value"); in processIPv4Response_completeResponseForNewServiceInstance()
857 assertEquals(socketKey.getInterfaceIndex(), updatedServiceInfo.getInterfaceIndex()); in processIPv4Response_completeResponseForNewServiceInstance()
858 assertEquals(socketKey.getNetwork(), updatedServiceInfo.getNetwork()); in processIPv4Response_completeResponseForNewServiceInstance()
904 MdnsServiceInfo updatedServiceInfo = serviceInfoCaptor.getAllValues().get(2); in processIPv6Response_getCorrectServiceInfo() local
[all …]
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DNsdServiceTest.java1051 final MdnsServiceInfo updatedServiceInfo = new MdnsServiceInfo( in testRegisterAndUnregisterServiceInfoCallback() local
1066 listener.onServiceUpdated(updatedServiceInfo); in testRegisterAndUnregisterServiceInfoCallback()
1075 listener.onServiceRemoved(updatedServiceInfo); in testRegisterAndUnregisterServiceInfoCallback()
1076 listener.onServiceFound(updatedServiceInfo, false /* isServiceFromCache */); in testRegisterAndUnregisterServiceInfoCallback()