Home
last modified time | relevance | path

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

/packages/modules/Connectivity/tests/unit/java/com/android/server/
DNsdServiceTest.java175 private static final int IFACE_IDX_ANY = 0; field in NsdServiceTest
364 eq(2), eq(SERVICE_NAME), eq(SERVICE_TYPE), eq(PORT), any(), eq(IFACE_IDX_ANY)); in testClientRequestsAreGCedAtDisconnection()
370 verify(mMockMDnsM).discover(3 /* id */, SERVICE_TYPE, IFACE_IDX_ANY); in testClientRequestsAreGCedAtDisconnection()
377 4 /* id */, SERVICE_NAME, SERVICE_TYPE, "local." /* domain */, IFACE_IDX_ANY); in testClientRequestsAreGCedAtDisconnection()
405 eq(2), eq(SERVICE_NAME), eq(SERVICE_TYPE), eq(PORT), any(), eq(IFACE_IDX_ANY)); in testCleanupDelayNoRequestActive()
622 eq(SERVICE_NAME), eq(SERVICE_TYPE), eq(PORT), any(), eq(IFACE_IDX_ANY)); in testServiceRegistrationSuccessfulAndFailed()
633 IFACE_IDX_ANY); in testServiceRegistrationSuccessfulAndFailed()
654 IFACE_IDX_ANY); in testServiceRegistrationSuccessfulAndFailed()
674 verify(mMockMDnsM).discover(discIdCaptor.capture(), eq(SERVICE_TYPE), eq(IFACE_IDX_ANY)); in testServiceDiscoveryFailed()
686 IFACE_IDX_ANY, in testServiceDiscoveryFailed()
[all …]
/packages/modules/Connectivity/service-t/src/com/android/server/
DNsdService.java197 private static final int IFACE_IDX_ANY = 0; field in NsdService
2463 if (service.getNetwork() != null && registerInterface == IFACE_IDX_ANY) { in registerService()
2487 if (discoveryRequest.getNetwork() != null && discoverInterface == IFACE_IDX_ANY) { in discoverServices()
2510 if (service.getNetwork() != null && resolveInterface == IFACE_IDX_ANY) { in resolveService()
2535 return IFACE_IDX_ANY; in getNetworkInterfaceIndex()
2547 return IFACE_IDX_ANY; in getNetworkInterfaceIndex()
2559 return IFACE_IDX_ANY; in getNetworkInterfaceIndex()
2587 return IFACE_IDX_ANY; in getNetworkInterfaceIndexByName()
2592 return IFACE_IDX_ANY; in getNetworkInterfaceIndexByName()