Home
last modified time | relevance | path

Searched refs:otherInstance (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DMdnsServiceTypeClientTests.java1427 final String otherInstance = "instance2"; in testProcessResponse_ResolveExcludesOtherServices() local
1447 otherInstance, ipV4Address, 5353, SERVICE_TYPE_LABELS, in testProcessResponse_ResolveExcludesOtherServices()
1453 otherInstance, ipV6Address, 5353, SERVICE_TYPE_LABELS, in testProcessResponse_ResolveExcludesOtherServices()
1458 otherInstance, ipV6Address, 5353, SERVICE_TYPE_LABELS, in testProcessResponse_ResolveExcludesOtherServices()
1469 matchServiceName(otherInstance), anyBoolean()); in testProcessResponse_ResolveExcludesOtherServices()
1471 matchServiceName(otherInstance), anyBoolean()); in testProcessResponse_ResolveExcludesOtherServices()
1472 verify(mockListenerOne, never()).onServiceUpdated(matchServiceName(otherInstance)); in testProcessResponse_ResolveExcludesOtherServices()
1473 verify(mockListenerOne, never()).onServiceRemoved(matchServiceName(otherInstance)); in testProcessResponse_ResolveExcludesOtherServices()
1483 matchServiceName(otherInstance), eq(false) /* isServiceFromCache */); in testProcessResponse_ResolveExcludesOtherServices()
1485 matchServiceName(otherInstance), eq(false) /* isServiceFromCache */); in testProcessResponse_ResolveExcludesOtherServices()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/cobalt/
DAppNameApiErrorLoggerTest.java77 AppNameApiErrorLogger otherInstance = AppNameApiErrorLogger.getInstance(); in testGetInstance() local
78 assertThat(otherInstance).isSameInstanceAs(instance); in testGetInstance()
DMeasurementCobaltLoggerTest.java109 MeasurementCobaltLogger otherInstance = MeasurementCobaltLogger.getInstance(); in testGetInstance() local
110 assertThat(otherInstance).isSameInstanceAs(instance); in testGetInstance()